Khartis
Khartis copied to clipboard
with "locationType" var set to "hash" the "Details" Button in warning/error messages has wrong target
When clicking on the "Details" button (under the following circumstances) the user is thrown out of the visualization dialog (step2) and straight back to the frontpage of Khartis (step 1). Which is a bit unfortunate.
This seems only to be the case when Khartis was built with the following environment variable:
locationType: 'hash'
To reproduce, for example, click on the "Details" button in warning/error message which is shown when you choose the "Category > Area" visualization option for a layer but you have too many categories.
This locationType
seemed necessary to adjust for me because I wanted (a) that deep links into the application remain functional and (b) Khartis is deployed through simply dropping the contents of the dist
folder into an Apache (a document root served via a barebone Apache HTML configuration). In this case, it may be that there are other button affected but I haven't found one.
In a Khartis version built where locationType
is set auto
the very same "Details" button (mentioned above) seems to have no further functionality at all. If that is not by mistake we may want to remove it entirely, no?
Thanks for your support!