You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
While testing openwisp-controller#1339, I found a separate issue that appears to be independent from the remove/re-add inline bug.
For a new indoor location, the Indoor coordinates UI behaves inconsistently:
Floorplan selection defaults to New
trying to switch it to Existing does not expose a clear usable existing-floorplan flow
the UI effectively remains on the New path, which makes the intended behavior unclear
I am opening this as a separate issue because it seems distinct from #1339.
Steps To Reproduce
Steps to reproduce the behavior:
Go to the device admin add form in the local django-loci test app
In Geographic information, keep Location selection = New
Change Type to Indoor
Scroll down to the Indoor coordinates section
Try changing Floorplan selection from New to Existing
Observe that the UI does not expose a clear usable existing-floorplan flow and effectively remains on the New path
Expected behavior
I am not fully sure what the intended behavior should be here, so I am reporting this mainly as a reproducible UI issue and asking for clarification.
From a UI perspective, I would expect one of these to happen consistently:
if Existing is valid here, the UI should expose a usable existing-floorplan flow
if Existing is not valid when Location selection = New, the UI should make that explicit instead of presenting a confusing selector state
Screenshots
I am attaching a short video showing the behavior.
indoor_UI_bug.mp4
System Information:
OS: macOS 15.7.7
Python Version: Python 3.12.13
Django Version: Django 5.2.14
Browser and Browser Version (if applicable): Google Chrome 148.0.7778.179
Describe the bug
While testing
openwisp-controller#1339, I found a separate issue that appears to be independent from the remove/re-add inline bug.For a new indoor location, the
Indoor coordinatesUI behaves inconsistently:Floorplan selectiondefaults toNewExistingdoes not expose a clear usable existing-floorplan flowNewpath, which makes the intended behavior unclearI am opening this as a separate issue because it seems distinct from
#1339.Steps To Reproduce
Steps to reproduce the behavior:
django-locitest appGeographic information, keepLocation selection = NewTypetoIndoorIndoor coordinatessectionFloorplan selectionfromNewtoExistingNewpathExpected behavior
I am not fully sure what the intended behavior should be here, so I am reporting this mainly as a reproducible UI issue and asking for clarification.
From a UI perspective, I would expect one of these to happen consistently:
Existingis valid here, the UI should expose a usable existing-floorplan flowExistingis not valid whenLocation selection = New, the UI should make that explicit instead of presenting a confusing selector stateScreenshots
I am attaching a short video showing the behavior.
indoor_UI_bug.mp4
System Information: