Skip to content

refactor(10/1): harmonization #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 73 commits into from
Mar 29, 2025
Merged
Show file tree
Hide file tree
Changes from 67 commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
534a60b
feat: add structure for config module
DosKobold Feb 13, 2025
3abdc37
refactor: update structs for config
DefinitelyNotSimon13 Feb 15, 2025
2e5cbb7
fix: use module level result instead of trait level error
DefinitelyNotSimon13 Feb 15, 2025
12a3fc8
feat: add "File" trait implementation for config
DefinitelyNotSimon13 Feb 15, 2025
eed8914
feat: update config and config_handler
DefinitelyNotSimon13 Feb 15, 2025
77a7280
feat: add embedded migration and creation from config
DefinitelyNotSimon13 Feb 15, 2025
af271eb
fix: correct path variable name for windows
DefinitelyNotSimon13 Feb 15, 2025
863b5d9
feat: integrate config into cli
DefinitelyNotSimon13 Feb 15, 2025
7862cc0
fix: change Vec to HashSet to avoid duplicate entries
DefinitelyNotSimon13 Feb 15, 2025
54742d8
feat: add baseline for MetadataHandler
DefinitelyNotSimon13 Feb 15, 2025
7e9311d
fix: update doc comment
DefinitelyNotSimon13 Feb 15, 2025
f69e45b
test: add basic test for creating database
DefinitelyNotSimon13 Feb 15, 2025
e4b97c2
feat: add structure for config module
DosKobold Feb 13, 2025
9689b14
refactor: update structs for config
DefinitelyNotSimon13 Feb 15, 2025
f645755
fix: use module level result instead of trait level error
DefinitelyNotSimon13 Feb 15, 2025
b054912
feat: add "File" trait implementation for config
DefinitelyNotSimon13 Feb 15, 2025
08e0a9d
feat: update config and config_handler
DefinitelyNotSimon13 Feb 15, 2025
99fbbc5
feat: add embedded migration and creation from config
DefinitelyNotSimon13 Feb 15, 2025
fdf5a2d
fix: correct path variable name for windows
DefinitelyNotSimon13 Feb 15, 2025
5139ba0
feat: integrate config into cli
DefinitelyNotSimon13 Feb 15, 2025
1d15e47
fix: change Vec to HashSet to avoid duplicate entries
DefinitelyNotSimon13 Feb 15, 2025
3bbe5f7
feat: add baseline for MetadataHandler
DefinitelyNotSimon13 Feb 15, 2025
3342c77
fix: update doc comment
DefinitelyNotSimon13 Feb 15, 2025
922c5bf
test: add basic test for creating database
DefinitelyNotSimon13 Feb 15, 2025
25dfe2a
feat: add remove functions in Config
DosKobold Feb 16, 2025
de8dce1
chore: change repository url
DefinitelyNotSimon13 Feb 17, 2025
f1dee46
chore: improve dependecies for workspace
DefinitelyNotSimon13 Feb 17, 2025
2948cb3
ci: update workflow titles
DefinitelyNotSimon13 Feb 17, 2025
bd67b24
docs: add documentation for config module
DefinitelyNotSimon13 Feb 17, 2025
e35856d
Merge branch 'feat/8-3-config-module' of https://github.com/SoftwareE…
DefinitelyNotSimon13 Feb 20, 2025
f963da4
chore(WIP): work on config [skip ci]
DefinitelyNotSimon13 Feb 24, 2025
392448e
feat: add api to recursively search directory for manifests
DefinitelyNotSimon13 Feb 25, 2025
b113b01
feat: add checksum and validation to cache
DefinitelyNotSimon13 Feb 25, 2025
1fbc87a
chore: add attribution
DefinitelyNotSimon13 Mar 1, 2025
ef2f8f4
Merge branch 'main' into feat/8-3-config-module
DefinitelyNotSimon13 Mar 3, 2025
2d4f02d
feat: add statistics module
DosKobold Mar 10, 2025
24183fe
docs: add doc comments
DosKobold Mar 10, 2025
7d2fd12
feat: add card based list to frontend
DefinitelyNotSimon13 Mar 13, 2025
d23f1a9
feat: integrate zod
DefinitelyNotSimon13 Mar 13, 2025
53f29ae
test: add first db tests
DefinitelyNotSimon13 Mar 15, 2025
49599b0
Merge remote-tracking branch 'origin/main' into feat/9-5-command_fund…
DefinitelyNotSimon13 Mar 17, 2025
d73b110
feat: pick files and directories to load metadata
DefinitelyNotSimon13 Mar 17, 2025
f036813
refactor: improve config api
DefinitelyNotSimon13 Mar 17, 2025
58870f4
style: fix linting errors
DefinitelyNotSimon13 Mar 17, 2025
2f56747
chore: WIP
DefinitelyNotSimon13 Mar 17, 2025
83e0c5c
[Actions] style: improve formatting [skip ci]
Mar 17, 2025
f5d3a09
feat: integrate superforms and fieldset
DefinitelyNotSimon13 Mar 17, 2025
a27af0f
[Actions] style: improve formatting [skip ci]
Mar 17, 2025
10a8ae7
chore: add input for categories
DefinitelyNotSimon13 Mar 17, 2025
fbf1da9
Merge branch 'refactor/10-1-harmonization' of https://github.com/Soft…
DefinitelyNotSimon13 Mar 17, 2025
bb4f295
feat(WIP): edit projects from app
DefinitelyNotSimon13 Mar 17, 2025
5109ca6
[Actions] style: improve formatting [skip ci]
Mar 17, 2025
e515ddd
fix: create entry for metadata if not in cache
DefinitelyNotSimon13 Mar 19, 2025
f4ee31c
refactor: rewrite retrieval of metadata
DefinitelyNotSimon13 Mar 19, 2025
89629c6
refactor: create modules for different models
DefinitelyNotSimon13 Mar 19, 2025
ddf9e11
fix: avoid error on parallel writes
DefinitelyNotSimon13 Mar 19, 2025
620b8fb
feat: add working forms
DefinitelyNotSimon13 Mar 19, 2025
199d50f
[Actions] style: improve formatting [skip ci]
Mar 19, 2025
9a84613
fix: change preffered to preferred
DefinitelyNotSimon13 Mar 20, 2025
cd2bd93
chore: change style
DefinitelyNotSimon13 Mar 28, 2025
6fbb0ae
feat: improve ui and ux
DefinitelyNotSimon13 Mar 28, 2025
c7a8c1c
[Actions] style: improve formatting [skip ci]
Mar 28, 2025
1c5aa71
feat: improve creation form
DefinitelyNotSimon13 Mar 28, 2025
8a6f352
Merge branch 'refactor/10-1-harmonization' of https://github.com/Soft…
DefinitelyNotSimon13 Mar 28, 2025
9b06399
Merge remote-tracking branch 'origin/refactor/10-1-harmonization' int…
DosKobold Mar 28, 2025
84ea22b
[Actions] style: improve formatting [skip ci]
Mar 28, 2025
7287b3c
feat: merge statistics
DefinitelyNotSimon13 Mar 29, 2025
9d3d197
feat: integrate stats into frontend
DefinitelyNotSimon13 Mar 29, 2025
578decf
[Actions] style: improve formatting [skip ci]
Mar 29, 2025
f999aae
feat: implement more functionality and improve ui/ux
DefinitelyNotSimon13 Mar 29, 2025
517fa53
[Actions] style: improve formatting [skip ci]
Mar 29, 2025
80bacf9
chore: update tests and satisfy lints
DefinitelyNotSimon13 Mar 29, 2025
b73d7ac
[Actions] style: improve formatting [skip ci]
Mar 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ use flake

export DATABASE_URL=sqlite://episko.db
export RUSTUP_TOOLCHAIN=stable
export PATH="$PATH:/home/simon/2_Uni/se/episko/target/debug"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Replace hardcoded path with a relative path

The current path contains a hardcoded username and directory structure that is specific to your local environment. This will cause issues for other developers who clone the repository.

Consider replacing it with a relative path:

-export PATH="$PATH:/home/simon/2_Uni/se/episko/target/debug"
+export PATH="$PATH:$PWD/target/debug"

This ensures the script works across different development environments.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
export PATH="$PATH:/home/simon/2_Uni/se/episko/target/debug"
export PATH="$PATH:$PWD/target/debug"

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Consider using a relative path instead of hardcoded absolute path

The current PATH addition contains a hardcoded absolute path with a specific username (/home/simon/2_Uni/se/episko/target/debug), which won't work for other developers or in different environments.

-export PATH="$PATH:/home/simon/2_Uni/se/episko/target/debug"
+export PATH="$PATH:$(pwd)/target/debug"

This change makes the path relative to the current directory, ensuring it works for all developers regardless of where they cloned the repository.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
export PATH="$PATH:/home/simon/2_Uni/se/episko/target/debug"
export PATH="$PATH:$(pwd)/target/debug"

49 changes: 49 additions & 0 deletions .github/workflows/build-application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build Gui Application

on:
push:
branches:
- main
- alpha
- beta
- next
pull_request:
workflow_dispatch:

concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true

jobs:
build-tauri:
permissions:
contents: write
strategy:
fail-fast: true

runs-on: 'ubuntu-24.04'
steps:
- uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun i

- name: install Rust stable
uses: dtolnay/rust-toolchain@stable

- name: Rust Cache
uses: Swatinem/rust-cache@v2

- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf

- name: Build Tauri
run: bun tauri build

- name: Build Cli
run: cargo build -p episko_cli
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install frontend dependencies
run: bun i

- name: Format frontend
- name: Format frontend
run: bun format:ci

- name: Format backend
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
maxColorRange: 3
invertColorRange: true


- name: Validate frontend linting
run: bun check

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ node_modules
/.svelte-kit
/build
coverage
utils/fake-data*

# OS
.DS_Store
Expand Down
Loading
Loading