Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation bug: persisting action parameter after searching is blocking the following page browsing #29

Open
plutonik-a opened this issue Oct 9, 2020 · 1 comment

Comments

@plutonik-a
Copy link
Contributor

plutonik-a commented Oct 9, 2020

Problem:
When clicking a link from a search result, the action parameter is persisting, so that you're unable to browse to the subchapter afterwards.

Must-have:
When clicking on a link, the action parameter should be deleted, as the actual search has been completed from a user's point of view..

Steps to reproduce:

  1. Perform a search for keyword "behaviours"
  2. Click on the first search result -> last link in the breadcrumb

Screenshot 2020-10-09 at 16 07 27

3. What you see on the right side is the expected chapter "behaviours", but you are unable to browse any subchapters like "available behaviours", as you're still having the "action" parameter in the URL. Click on the parent chapter "Processing Model Syntax" in the sidebar (I knew where to look, but this isn't obvious for first time visitors)

Screenshot 2020-10-09 at 16 07 55

4. Now the sidebar will display the containing subchapter. But clicking on it won't do anything, you will stay on the previously searched "behaviours" chapter.

Screenshot 2020-10-09 at 16 07 06

5. Delete the "action=search&" part off the URL and normal browsing the content will work again.

Screenshot 2020-10-09 at 16 28 21


Also, problem with browser navigation, see comment below: #29 (comment)

@plutonik-a plutonik-a changed the title Navigation bug: persisting action parameter after searching is blocking the following page browsing (seen in the documentation) Navigation bug: persisting action parameter after searching is blocking the following page browsing Oct 9, 2020
@plutonik-a
Copy link
Contributor Author

Found another case:

  1. When browsing to page https://teipublisher.com/exist/apps/tei-publisher/doc/documentation.xml?id=docker the correct page about "docker" opens.
  2. If you then browse to any other chapter by clicking in the table of contents on the left sidebar (i.e. chapter "installation", https://teipublisher.com/exist/apps/tei-publisher/doc/documentation.xml?id=docker&root=2.7.6), the id="docker" parameter will persist in the url.
  3. If you now try to browse back via the back button of your browser, you are not able to open chapter "docker", as it doesn't seem to be stored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant