Skip to content

AO3-7106 Refactor UsersController/ProfileController#5339

Merged
brianjaustin merged 2 commits intootwcode:masterfrom
WelpThatWorked:AO3-7106
Oct 11, 2025
Merged

AO3-7106 Refactor UsersController/ProfileController#5339
brianjaustin merged 2 commits intootwcode:masterfrom
WelpThatWorked:AO3-7106

Conversation

@WelpThatWorked
Copy link
Copy Markdown
Contributor

@WelpThatWorked WelpThatWorked commented Aug 29, 2025

Issue

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

Purpose

- Move #edit and #update from UsersController to ProfileController
- Merge edit_header_navigation and unused edit_user_navigation. Now displays Edit My Profile or Edit Profile where appropriate.
 - Site title and header text are still inconsistent, always displaying Edit Profile and Edit My Profile respectively.
- Move UserController related tests from profile_edit.feature to user_edit.feature, rewrite to not navigate through the profile page.

Credit

WelpThatWorked

@WelpThatWorked WelpThatWorked force-pushed the AO3-7106 branch 3 times, most recently from 15c66fb to 698d699 Compare August 29, 2025 17:11
@brianjaustin brianjaustin self-requested a review September 22, 2025 07:30
Copy link
Copy Markdown
Contributor

@Hamham6 Hamham6 left a comment

Choose a reason for hiding this comment

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

Nonblocking, but since you're already here I think people've been cleaning up this particular mismatch as they come across it?

Separate profiles and users more, move profile edit paths to the profile controller, and user edit tests out of the profile test file.
@brianjaustin brianjaustin merged commit c931e0a into otwcode:master Oct 11, 2025
29 checks passed
Cubostar pushed a commit to Cubostar/otwarchive that referenced this pull request Oct 14, 2025
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.

4 participants