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

A search from within GAMA opens the website on the 1.9.2 version #172

Open
AlexisDrogoul opened this issue Apr 28, 2023 · 1 comment
Open

Comments

@AlexisDrogoul
Copy link
Member

Describe the bug
Again a problem related to the management of doc versions : when searching for a term from within GAMA (upper right search field) and opening the doc in the internal web browser, the version displayed is 1.9.2 (again with the emojis, etc.).

To Reproduce
Steps to reproduce the behavior:

  1. Run a search from within GAMA
  2. Click on any result
  3. see the result on the web page (and the next one when clicking on the result.

Image 2023-04-28 13-34-25

ws2 -  - Gama 2023-04-28 13-35-00

Expected behavior
That GAMA opens the version of the doc corresponding to its version or that the default version returned when searching is the latest stable one

Additional context
This coexistence, on the same site, of several versions of the doc generates in my opinion more problems than solutions to the problems it is supposed to solve. It is even more confusing when someone enters from the internal "welcome page" in GAMA and arrives (correctly) in ... GAMA 1.9.1.

ws2 -  - Gama 2023-04-28 13-41-26

I would (again) strongly suggest to completely separate the different versions of the doc in completely different subsites with their own search engine, etc. so that the "normal" one always corresponds to the current stable version and the other sites to the old and future ones. The switch from one to the other should not be so simple.

@RoiArthurB
Copy link
Collaborator

I think your issue comes from cookies.

You probably already visited the website before and left it on the "in development" (currently 1.9.2, previously 1.9.1) version. Then Eclipse/GAMA browser kept that info saved in cookies (local storage) and so you been on this version again now that you retried to connect.
For the welcome page, we force the url and there's no possibility else than reaching the latest version ("problem" for users from previous version connecting to 1.9.1 regardless their gama).

The normal behavior for new users or people never been on the search page is to be on the latest doc (1.9.1)

To try my cookie theory, you can try to:

  1. Go on the website within gama
  2. Pick any version you like
  3. Close the browser tab
  4. Search something
  5. See if the search page is indeed on the version you picked on point 2

I'll search on my sife to see if it's possible to force the search version 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants