-
Notifications
You must be signed in to change notification settings - Fork 552
Add Policies FAQ to links and restructure links to make them more obvious #23689
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
Conversation
8934c3b
to
4a67ec2
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
4a67ec2
to
f71d8ec
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
4013fb2
to
c0b237e
Compare
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.
code review r+wc
- I'll check it out for a test once Frantz has okayed the copy, etc.
This comment was marked as resolved.
This comment was marked as resolved.
2a2fc4d
to
0fac43b
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
e435e05
to
4992a3b
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
4992a3b
to
4f6be1e
Compare
970fd59
to
856ad85
Compare
0b37410
to
e055d4c
Compare
…ge in template - Replaced hardcoded URLs in the `docs` view with helper functions for better maintainability. - Updated the agreement message in the `agreement.html` template to include a link to the FAQ and improved wording. - Adjusted test case to reflect the change in the URL structure for the policies documentation. Refactor URL generation in `docs` view and enhance test assertions - Introduced a helper function `get_url` to streamline URL construction in the `docs` view. - Updated test cases to assert the presence of the `utm_referrer=amo` query parameter for 301 redirects. - Improved readability of the test case by unpacking the URL and status code directly in the loop. Update src/olympia/devhub/templates/devhub/includes/agreement.html Co-authored-by: Copilot <[email protected]> TMP: better name for argument
e055d4c
to
a489a00
Compare
…erenced links to the docs link test
a489a00
to
c3dc9e9
Compare
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 think this is working as expected, from reading the back and forth - the testing instructions and video relate to an earlier iteration.
The video I updated last night and the solution we ended up going with is having the FAQ link in the form description and keeping all of the other links the same. I'll double check the test instructions to make sure they match. |
…ious (#23689) * Refactor documentation URLs in `docs` view and update agreement message in template - Replaced hardcoded URLs in the `docs` view with helper functions for better maintainability. - Updated the agreement message in the `agreement.html` template to include a link to the FAQ and improved wording. - Adjusted test case to reflect the change in the URL structure for the policies documentation. Refactor URL generation in `docs` view and enhance test assertions - Introduced a helper function `get_url` to streamline URL construction in the `docs` view. - Updated test cases to assert the presence of the `utm_referrer=amo` query parameter for 301 redirects. - Improved readability of the test case by unpacking the URL and status code directly in the loop. Update src/olympia/devhub/templates/devhub/includes/agreement.html Co-authored-by: Copilot <[email protected]> TMP: better name for argument * TMP: fix broken link rendering false positives by adding actually referenced links to the docs link test * TMP: fix broken test
Fixes: mozilla/addons#15681
Description
Refactor documentation links and update agreement form layout
docs
view with helper functions for better maintainability.Context
We need to add another link to an already confusing html structure and we mention the "exact" same words in the paragraph above explaining the context. We can just ad the links there instead of confusingly adding them (and then mulitiple sibling links) inside the html form.
Testing
utm_referrer=amo
parameter.Screen.Recording.2025-07-24.at.01.04.07.mov
Checklist
#ISSUENUM
at the top of your PR to an existing open issue in the mozilla/addons repository.