Skip to content

Implementing #63#73

Merged
iu2frl merged 29 commits intodevfrom
organize-devices-in-folders
Apr 29, 2026
Merged

Implementing #63#73
iu2frl merged 29 commits intodevfrom
organize-devices-in-folders

Conversation

@iu2frl
Copy link
Copy Markdown
Owner

@iu2frl iu2frl commented Apr 29, 2026

No description provided.

dependabot Bot and others added 29 commits March 26, 2026 14:08
Bumps the npm_and_yarn group with 2 updates in the /frontend directory: [flatted](https://github.com/WebReflection/flatted) and [picomatch](https://github.com/micromatch/picomatch).


Updates `flatted` from 3.3.3 to 3.4.2
- [Commits](WebReflection/flatted@v3.3.3...v3.4.2)

Updates `picomatch` from 4.0.3 to 4.0.4
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@4.0.3...4.0.4)

Updates `picomatch` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@4.0.3...4.0.4)

---
updated-dependencies:
- dependency-name: flatted
  dependency-version: 3.4.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: picomatch
  dependency-version: 4.0.4
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
…pm_and_yarn-a62411c4bd

Bump the npm_and_yarn group across 1 directory with 2 updates
Bumps the pip group with 1 update in the / directory: [cryptography](https://github.com/pyca/cryptography).


Updates `cryptography` from 46.0.5 to 46.0.6
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@46.0.5...46.0.6)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.6
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
Bump cryptography from 46.0.5 to 46.0.6 in the pip group across 1 directory
Bumps the pip group with 1 update in the / directory: [cryptography](https://github.com/pyca/cryptography).


Updates `cryptography` from 46.0.6 to 46.0.7
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@46.0.6...46.0.7)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.7
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Comment out the main branch in CI workflow trigger.
Bumps the pip group with 1 update in the / directory: [python-multipart](https://github.com/Kludex/python-multipart).


Updates `python-multipart` from 0.0.22 to 0.0.26
- [Release notes](https://github.com/Kludex/python-multipart/releases)
- [Changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md)
- [Commits](Kludex/python-multipart@0.0.22...0.0.26)

---
updated-dependencies:
- dependency-name: python-multipart
  dependency-version: 0.0.26
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Implemented folder selection in DeviceForm component.
- Created DeviceListWithFolders component to display devices organized by folders.
- Added FolderModal for creating and editing folders.
- Introduced FolderTreeItem for rendering folder structure with devices.
- Updated Dashboard to integrate folder management.
- Added tests for folder creation, deletion, and device-folder associations.
@iu2frl iu2frl self-assigned this Apr 29, 2026
@iu2frl iu2frl added the enhancement New feature or request label Apr 29, 2026
@iu2frl iu2frl marked this pull request as ready for review April 29, 2026 15:50
@github-actions
Copy link
Copy Markdown

Frontend Test Results (Node 20)

385 tests  +94   385 ✅ +94   13s ⏱️ +4s
 27 suites + 8     0 💤 ± 0 
  2 files   ± 0     0 ❌ ± 0 

Results for commit 841d51a. ± Comparison against base commit ddfa078.

@github-actions
Copy link
Copy Markdown

Unit Test Results (Python 3.12)

679 tests  +23   679 ✅ +23   7m 6s ⏱️ -5s
  1 suites ± 0     0 💤 ± 0 
  1 files   ± 0     0 ❌ ± 0 

Results for commit 841d51a. ± Comparison against base commit ddfa078.

@iu2frl iu2frl merged commit 8c6d823 into dev Apr 29, 2026
14 checks passed
@iu2frl iu2frl deleted the organize-devices-in-folders branch April 29, 2026 16:01
iu2frl added a commit that referenced this pull request Apr 29, 2026
* Bump the npm_and_yarn group across 1 directory with 2 updates

Bumps the npm_and_yarn group with 2 updates in the /frontend directory: [flatted](https://github.com/WebReflection/flatted) and [picomatch](https://github.com/micromatch/picomatch).


Updates `flatted` from 3.3.3 to 3.4.2
- [Commits](WebReflection/flatted@v3.3.3...v3.4.2)

Updates `picomatch` from 4.0.3 to 4.0.4
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@4.0.3...4.0.4)

Updates `picomatch` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@4.0.3...4.0.4)

---
updated-dependencies:
- dependency-name: flatted
  dependency-version: 3.4.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: picomatch
  dependency-version: 4.0.4
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...



* Bump cryptography in the pip group across 1 directory

Bumps the pip group with 1 update in the / directory: [cryptography](https://github.com/pyca/cryptography).


Updates `cryptography` from 46.0.5 to 46.0.6
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@46.0.5...46.0.6)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.6
  dependency-type: direct:production
  dependency-group: pip
...



* Bump vite in /frontend in the npm_and_yarn group across 1 directory (#68)

* Bump cryptography in the pip group across 1 directory (#69)

Bumps the pip group with 1 update in the / directory: [cryptography](https://github.com/pyca/cryptography).


Updates `cryptography` from 46.0.6 to 46.0.7
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@46.0.6...46.0.7)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.7
  dependency-type: direct:production
  dependency-group: pip
...




* Update CI workflow to comment out main branch (#72)

Comment out the main branch in CI workflow trigger.

* Bump python-multipart in the pip group across 1 directory (#71)

Bumps the pip group with 1 update in the / directory: [python-multipart](https://github.com/Kludex/python-multipart).


Updates `python-multipart` from 0.0.22 to 0.0.26
- [Release notes](https://github.com/Kludex/python-multipart/releases)
- [Changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md)
- [Commits](Kludex/python-multipart@0.0.22...0.0.26)

---
updated-dependencies:
- dependency-name: python-multipart
  dependency-version: 0.0.26
  dependency-type: direct:production
  dependency-group: pip
...




* feat: add folder management functionality for devices

- Implemented folder selection in DeviceForm component.
- Created DeviceListWithFolders component to display devices organized by folders.
- Added FolderModal for creating and editing folders.
- Introduced FolderTreeItem for rendering folder structure with devices.
- Updated Dashboard to integrate folder management.
- Added tests for folder creation, deletion, and device-folder associations.

* fix: update folder relationship to include foreign keys and remove cascade option

* update test functions to use auth_client for authentication

* optimize folder retrieval by including children and devices in queries

* enhance folder loading by including nested children and devices in queries

* enable foreign key constraints in test database setup

* remove cascade option from folder-device relationship and update folder retrieval logic

* Fixing UI tests

* add move device functionality with modal for folder selection

* Adding support for subfolders

* Getting subfolders

* Showing collapse icon on folders

* Adding rename and delete buttons to folders

* Implementing folders deletion

* Deleting a device moves it to the parent folder

* Updating folders dropdown

* Properly updating devices tree

* Updating tests

* Adding login tests

* Fixing folders deletion

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luca IU2FRL <luca.ubuntu@iu2frl.it>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant