Skip to content
This repository was archived by the owner on Jun 12, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include "Parent Location" selector when creating a new location Feature: Tree View for Location/Item based viewer.

3 participants