Skip to content
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

feat: locations tree viewer #248

Merged
merged 21 commits into from
Jan 28, 2023
Merged

feat: locations tree viewer #248

merged 21 commits into from
Jan 28, 2023

Conversation

hay-kot
Copy link
Owner

@hay-kot hay-kot commented Jan 28, 2023

Description

This PR adds a new locations tree-like view to display locations and the associated items

Closes #240
Closes #139

Currently the entire tree is returned instead of lazy loading, this happens pretty fast for what I've tested with but this may need to be improved in the future.

Navigation Bar

CleanShot 2023-01-28 at 11 32 55

Tree View

  • Links to Item/Location Pages

CleanShot 2023-01-28 at 11 33 17

Location Selector

  • Now shows nesting of locations

CleanShot 2023-01-28 at 11 34 56

@hay-kot hay-kot merged commit 3d295b5 into main Jan 28, 2023
@hay-kot hay-kot deleted the feat/tree-api branch January 28, 2023 20:53
@Shousokon
Copy link

Looks pretty good. The only thing I'd change is that the tree view is sorted from A → Z. Then everything is perfect ^^.

@hay-kot
Copy link
Owner Author

hay-kot commented Jan 29, 2023

@Dxvxdffm - It was sorted but wasn't case sensitive, fixed in

#252

Though locations will still appear at the top before items in all cases.

OrellBuehler pushed a commit to thechosenlan/homebox that referenced this pull request Jun 24, 2023
* location tree API

* test fixes

* initial tree location elements

* locations tree page

* update meta-data

* code-gen

* store item display preferences

* introduce basic table/card view elements

* codegen

* set parent location during location creation

* add item support for tree query

* refactor tree view

* wip: location selector improvements

* type gen

* rename items -> search

* remove various log statements

* fix markdown rendering for description

* update location selectors

* fix tests

* fix currency tests

* formatting
OrellBuehler pushed a commit to thechosenlan/homebox that referenced this pull request Jun 24, 2023
* location tree API

* test fixes

* initial tree location elements

* locations tree page

* update meta-data

* code-gen

* store item display preferences

* introduce basic table/card view elements

* codegen

* set parent location during location creation

* add item support for tree query

* refactor tree view

* wip: location selector improvements

* type gen

* rename items -> search

* remove various log statements

* fix markdown rendering for description

* update location selectors

* fix tests

* fix currency tests

* formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants