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

AO3-6768 update browser page title in drafts page #4915

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

mystyrust
Copy link

@mystyrust mystyrust commented Sep 17, 2024

Pull Request Checklist

Issue

https://otwarchive.atlassian.net/browse/AO3-6768

Purpose

fixes the browser title to be consistent with other pages in the users profile

Testing Instructions

follow instructions as listed in jira ticket

References

similar to #4916 (may have merge conflict with this pr since both edit the same en.yml file)

Credit

mystyrust, she/her

update page subtitle in the drafts page
@brianjaustin
Copy link
Member

Thank you for the PR @mystyrust! Someone should be along to review it soon. In the meantime, I have assigned the Jira ticket to your user and marked it as "In Review" so no one else picks it up by accident. I've also given your Jira user some basic permissions, including the ability to assign yourself to tickets in the future.

Copy link
Contributor

@Bilka2 Bilka2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contributing!

The code works, but it would be nice to get it internationalized (i18n). Furthermore, it would be nice to have a test for this change - the I should see the page title "..." cucumber step should fit into one of the scenarios in /features/works/work_drafts.feature.

app/controllers/works_controller.rb Outdated Show resolved Hide resolved
i18n format, reference in cucumber test, single quotes
features/works/work_drafts.feature Outdated Show resolved Hide resolved
config/locales/controllers/en.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@Bilka2 Bilka2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

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

Successfully merging this pull request may close these issues.

3 participants