Do not input Level of Location type from user - deduce it
Opened this issue · 0 comments
mahalakshme commented
Need:
The level
in Location type is confusing for the user to setup. And it is redundant considering the user has to setup Parent for each Location type.
AC:
- The UI to be displayed similar to how we add concept answers

-
Show list:
- On clicking 'Location Hierarchy' show the hierarchies
- Should be able to Edit and Delete an hierarchy
- It is okay if we lose the Export functionality doesn't work (since it was working using React admin - now we cant use it probably) -
Create:
- Location type at the top will be higher in the hierarchy(larger location type) and lower ones in the botton
- Each entry should create a location type
- Should be able to move location types up and down
- On trying to enter name of a location type, the text need to change to 'Next smaller location type'
- Should be able to select an already created location type from the drop down

Old : ignore
AC:
- Do not input
Level
when creating Location type - Determine it based on parent entered.
- Scenario: Create Location type A - level: 0
- create type B with parent A - level of B: -1
- create C, not set parent - level: 0 (whenever parent not set - level is 0)
- edit A and set C as parent - update level of C to 1 - Do not display level in
Location type
page as well
Technical analysis:
Looks like we are using level
in mobile app at many places - to find max and to determine the display order.
Inputs:
- start with something else instead of 0
- set the entire hierarchy intuituvely
- extremely low priority
- ability to do vs ease of doing - this only is ease of doing.
- edit of location hierarchy - shud be possible.
- has come quite a bit.
- Edit
- not intuitive - if higher to lower or lower to higher.