#674 URL is constantly growing
Closed: Fixed None Opened 13 years ago by dpal.

The UI is keeping the state but it seems that the URL is constantly growing as you navigate from screen to screen so at some point it becomes very long. I do not know what implications it has but I think it can easily run out of the room.


No, running out of room is not a real concern, although there might be other issues.

He JQuery.UI code Themeroller goes much further than we do, and the URL works fine.

We can always erase a portion of the URL during a trnsiotion, we just need to determine what the right rule is for that.

Another option is to change the navigation system so that the URL will only keep the state of the current tab and the others will be stored in a JavaScript variable. This way the URL will remain short but it will still work like before. When the UI is reopened from bookmark, it will have enough info to show the bookmarked page, but the states of the other tabs will be gone.

This also opens a way to convert the URL into a path like: /ipa/ui/user/admin/details.

Correction, in order to remain as a single page app the path would have to be something like: /ipa/ui/#path=user/admin/details

I think that the JS variable approach makes a lot of sense, and will simplify bookmarking.

Metadata Update from @dpal:
- Issue assigned to admiyo
- Issue set to the milestone: FreeIPA 2.1 - 2011/07

7 years ago

Login to comment on this ticket.

Metadata