-
Notifications
You must be signed in to change notification settings - Fork 76
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
Update gui api #1198
Update gui api #1198
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks fine besides a missing detail.
docs/public/using/gui/api.md
Outdated
The GUI will rewrite `<lang>/test/<test-id>` to `<lang>/result/<test-id>` | ||
before the result is displayed. | ||
|
||
The GUI will redirect from `<path>` to `<lang>/<path>` automatically. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be specified how <lang>
is selected for this case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have clarified this section a bit more.
docs/public/using/gui/api.md
Outdated
The GUI will redirect from `<path>` to `<lang>/<path>` automatically using the | ||
user browser language, defaulting to the default language defined in the | ||
reverse proxy configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean
The GUI will redirect from `<path>` to `<lang>/<path>` automatically using the
user browser language, if that is defined for the installation. Else using the default
language defined in the reverse proxy configuration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it does.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you spell that out to make it easier to read?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed the wording.
Purpose
Update the documentation following the introduction of language in URL.
Context
zonemaster/zonemaster-gui#377
Changes
Add in all paths.
How to test this PR
N/A