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

Bring authentication and account pages into back office #4380

Open
4 tasks done
joemull opened this issue Aug 30, 2024 · 1 comment · May be fixed by #4491
Open
4 tasks done

Bring authentication and account pages into back office #4380

joemull opened this issue Aug 30, 2024 · 1 comment · May be fixed by #4491
Assignees
Labels
new feature A new thing that doesn't exist yet priority-high High priority size XL Extra large

Comments

@joemull
Copy link
Member

joemull commented Aug 30, 2024

Stories

As a designer and developer, I would like to improve the interfaces around authentication and account management without the overhead of updating and maintaining three separate sets of templates that each use different CSS frameworks and methodologies. The current setup is especially expensive if you think about the fact that we usually use frontend theme CSS for presentational and content-focused things, but the account pages are interactive, so we need to create interactive components and pages that handle forms including patterns like selection, confirmation, deletion, etc. An example is the work I am doing for #3168.

As any Janeway user, I would like to navigate things like registering, resetting my password, and editing my profile without being confused about where I am, or about how to get back to where I was before. Basically, I shouldn't have to deal with repeated switching between theme layers, and at the end I should be redirected to where I was, or a clear button that lets me get back to the homepage (if I was on the public-facing site) or the manager or dashboard (if I was in the back office).

As a theme designer for Janeway journal sites and articles, I do not want to have to redesign interaction-heavy pages to get a consistent look and feel. It would be nice if the themes were lighter and easier to cover with fewer templates and CSS components, and I could delegate the interactive pages to a single back office theme.

Proposed solution

  • Create or update back-office templates for each of these views:
    - user_login
    - user_login_orcid - not needed as no template used
    - user_logout - not needed as no template used
    - get_reset_token
    - reset_password
    - register
    - orcid_registration
    - activate_account
    - edit_profile
  • Deprecate the corresponding templates in the theme template directories
  • Write view tests to check that each of these views finds the correct back-office template
  • Manually test the new interfaces, perhaps with some user testing by people who have never used Janeway

Other context

In addition to user testing after the change, I think it would be beneficial to do some rapid UX research beforehand on this one. Methods that might work well:

  • First click test, to see if casual users know how to get between the front and back offices
  • User journey mapping, to pin down the exact routes users take that bring them through the auth and account pages
@joemull joemull added the new feature A new thing that doesn't exist yet label Aug 30, 2024
@mauromsl mauromsl added the size XL Extra large label Sep 26, 2024
@mauromsl
Copy link
Member

we should not delete the theme templates as they might be in use by self-hosted Janeway users

@mauromsl mauromsl added priority-medium Medium priority priority-high High priority and removed priority-medium Medium priority labels Sep 26, 2024
@joemull joemull self-assigned this Sep 27, 2024
joemull added a commit that referenced this issue Oct 15, 2024
joemull added a commit that referenced this issue Nov 15, 2024
joemull added a commit that referenced this issue Nov 15, 2024
joemull added a commit that referenced this issue Nov 15, 2024
joemull added a commit to openlibhums/hourglass that referenced this issue Nov 18, 2024
joemull added a commit that referenced this issue Nov 21, 2024
joemull added a commit that referenced this issue Nov 21, 2024
joemull added a commit to openlibhums/hourglass that referenced this issue Nov 21, 2024
ajrbyers pushed a commit to openlibhums/hourglass that referenced this issue Nov 21, 2024
ajrbyers pushed a commit to openlibhums/hourglass that referenced this issue Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature A new thing that doesn't exist yet priority-high High priority size XL Extra large
Projects
None yet
2 participants