Skip to content

Commit

Permalink
Merge pull request #68 from pitzzahh/feat/exports
Browse files Browse the repository at this point in the history
[Feat]: Abiltiy to export to excel file
  • Loading branch information
pitzzahh authored Dec 29, 2024
2 parents 6c6ccab + fa02f2d commit 6282e00
Show file tree
Hide file tree
Showing 69 changed files with 4,461 additions and 710 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: 'publish'
name: "publish"

on:
push:
tags:
- '*.*.*'
- "*.*.*"

env:
APP_NAME: 'Hierarchical Electrical Design Analyzer'
APP_NAME: "Hierarchical Electrical Design Analyzer"

jobs:
release:
Expand All @@ -16,14 +16,14 @@ jobs:
fail-fast: false
matrix:
include:
- platform: 'macos-latest' # for Arm based macs (M1 and above).
args: '--target aarch64-apple-darwin'
- platform: 'macos-latest' # for Intel based macs.
args: '--target x86_64-apple-darwin'
- platform: 'ubuntu-22.04'
args: ''
- platform: 'windows-latest'
args: ''
# - platform: 'macos-latest' # for Arm based macs (M1 and above).
# args: '--target aarch64-apple-darwin'
# - platform: 'macos-latest' # for Intel based macs.
# args: '--target x86_64-apple-darwin'
# - platform: 'ubuntu-22.04'
# args: ''
- platform: "windows-latest"
args: ""

runs-on: ${{ matrix.platform }}
steps:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: './src-tauri -> target'
workspaces: "./src-tauri -> target"

- name: Install frontend
run: |
Expand All @@ -68,7 +68,7 @@ jobs:
if: ${{ github.ref_type == 'branch' && matrix.platform == 'windows-latest' }}
uses: actions/upload-artifact@v4
with:
name: 'Windows Installers'
name: "Windows Installers"
path: |
src-tauri/target/release/bundle/msi/*.msi
src-tauri/target/release/bundle/nsis/*.exe
Expand All @@ -85,9 +85,11 @@ jobs:
env:
CI: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
with:
tagName: ${{ github.ref_name }}
releaseName: '${{ env.APP_NAME }} v__VERSION__'
releaseName: "${{ env.APP_NAME }} v__VERSION__"
releaseBody: ${{ steps.changelog_reader.outputs.changes }}
releaseDraft: false
prerelease: false
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ Thumbs.db
# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
~/.tauri/heda.key
50 changes: 37 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,43 @@
# ⚡ HEDA
<div align="center">

[![publish](https://github.com/pitzzahh/voltix/actions/workflows/publish.yml/badge.svg)](https://github.com/pitzzahh/voltix/actions/workflows/publish.yml)
# ⚡ HEDA
**Hierarchical Electrical Design Analyzer**

**HEDA** is an easy-to-use tool designed to help with essential electrical engineering tasks such as:
[![publish](https://github.com/pitzzahh/heda/actions/workflows/publish.yml/badge.svg)](https://github.com/pitzzahh/heda/actions/workflows/publish.yml)
[![Latest Release](https://img.shields.io/github/v/release/pitzzahh/heda?label=Latest%20Release&style=flat-square)](https://github.com/pitzzahh/heda/releases/latest)

- 📅 **Load Scheduling**
- 🔋 **Voltage Drop Analysis**
- 💥 **Short Circuit Calculations**
</div>

## Features
---

- Simple interface for scheduling electrical loads.
- Efficient tools for analyzing voltage drops in circuits.
- Short circuit analysis to ensure system safety.
**HEDA** is an intuitive and powerful tool designed for electrical engineers to streamline crucial design and analysis processes. Whether you're planning loads, analyzing circuits, or ensuring system safety, HEDA has you covered.

## Fonts
- Verdana
- Isocpeur
---

## **Features**

- **Load Scheduling**
Plan and organize electrical loads with ease using a user-friendly interface.

- **Voltage Drop Analysis**
Accurately analyze voltage drops across circuits to ensure efficiency and reliability.

- **Short Circuit Calculations**
Perform detailed calculations to evaluate and enhance system safety.

---

## ✒️ **Design**

- **Fonts**:
- Verdana
- Isocpeur

HEDA combines modern design principles with practical functionality, ensuring a seamless user experience for professionals.

---

## 📥 **Download**
Access the latest release of HEDA from the [**Releases Page**](https://github.com/pitzzahh/heda/releases/latest). Download, install, and start optimizing your electrical designs today!

---
Binary file modified bun.lockb
Binary file not shown.
104 changes: 76 additions & 28 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,70 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://"0.0.9"keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.26] - 2024-12-30

### Test

- Test release for in app update.

## [0.3.25] - 2024-12-29

### Add

- Exporting of panelboard schedule to excel file.
- In app updates.
- Changelog history.

### Fix

- In app updates
- Changelog history loader.


## [0.2.24] - 2024-12-27

### Fix

- In app update automation

## [0.2.23] - 2024-12-27

### Fix

- In app update

## [0.2.22] - 2024-12-26

### Add

- Add Ampere Trip overriding feature.
- Add Ampere Trip indicator on load schedule.
- Computation of EGC Size
- Computation of Conductor Size
- Computation of Conduit Size
- Refactoring Node Retrieval by ID
- Overriding Data in EGC Size, Conduit, Ampere Frames and Conductor
- Changing Insulations for EGC and Conductor
- Add default values of kAIC, pole, conduit type, and ampere frames
- Implement Adjustment Factor toggle in app settings
- In app update

## [0.1.21] - 2024-12-20

## Add
### Add

- Add Ampere Trip overriding feature.
- Add Ampere Trip indicator on load schedule.

## Fix
### Fix

- Load schedule heirarchy when deep copying a panel.
- Improve query performance.
- Fix incorrect increment and decrement button placement.

## [0.1.19] - 2024-12-16

## Fix
### Fix

- Inconsistent window title version indicator.

Expand All @@ -30,13 +78,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Update dependencies to fix security vulnerabilities.

## Add
### Add

- Heirarchy quick actions
- Quick copy panel/load actions
- Etc..

## Fix
### Fix

- Supply from when adding panel/load using the quick actions
- Quick copy of highest unit removes the whole project (fixed and should not be possible)
Expand All @@ -49,141 +97,141 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.1.16] - 2024-12-13

## Add
### Add

- Changing of load supply from to any load or highest unit.
- More bugs

## Fix
### Fix

- Horsepower rating dropdown options.

## [0.1.15] - 2024-12-12

## Add
### Add

- Alert in form when circuit number is already taken by a panel/load.

## Fix
### Fix

- Fix remove load context menu state on heirarchy.

## [0.1.14] - 2024-12-12

## Fix
### Fix

- Inconsistent icons library(sticking with lucide-svelte)
- Transformer distribution unit not being set to default value when first load.

## Add
### Add

- Panel total load to panel supplier.
- Load type varying input/options.
- Terminal temperature default value to "Standard temperature"

## [0.1.12] - 2024-12-10

## Fix
### Fix

- Fixed issue where the context menu dialog would not close after completing or canceling an action
- Remove max varies limit

## Add
### Add

- Distinguishable heirarchy icon/label
- Automatically repopulate varies/continuous/load type fields when the load description is changed on DEFAULT loads

## [0.1.11] - 2024-12-9

## Add
### Add

- Circuit number validation
- Confirmation dialog upon project/panel/load removal

## [0.1.10] - 2024-12-9

## Fix
### Fix

- Fix sidebar issue when resizing

## [0.1.9] - 2024-12-8

## Fix
### Fix

- Ui update after mutations.

## [0.1.8] - 2024-12-7

## Add
### Add

- Main description (highest unit form) when adding new panel.
- Add app icon
- Etc.

## [0.1.7] - 2024-12-7

## Fix
### Fix

- Fix deployment issue

## [0.1.6] - 2024-12-7

## Fix
### Fix

- Fix data sync issue

## Add
### Add

- Add delete heirarchy function

## [0.1.5] - 2024-12-7

## Fix
### Fix

- Fix adding loads and panels by adding rxdb update plugin

## [0.1.4] - 2024-12-7

## Fix
### Fix

- Fix adding loads and panels

## [0.1.3] - 2024-12-6

## Fix
### Fix

- Add changelog entry.
- Fix cargo lock file

## [0.1.2] - 2024-12-6

## Fix
### Fix

- Add changelog entry.
- Fix rxdb heirarchy

## [0.0.13] - 2024-12-3

## Fix
### Fix

- Fix changelog entry.
- Test cross-platform deployment.

## [0.0.11] - 2024-11-12

## Fix
### Fix

- Fix ci/cd pipeline again this time.

## [0.0.10] - 2024-11-12

### Fix
#### Fix

- Fix ci/cd pipeline again.

## [0.0.9] - 2024-11-12

### Fix
#### Fix

- Fix ci/cd pipeline

Expand Down
Loading

0 comments on commit 6282e00

Please sign in to comment.