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

Add series model attribute "pri_handle" as form input on the series form #49

Open
4 tasks
kevinreiss opened this issue Feb 1, 2022 · 0 comments
Open
4 tasks

Comments

@kevinreiss
Copy link
Member

kevinreiss commented Feb 1, 2022

User story

As a repec admin, I want to be able to update the pri_handle of a series, so that it can have a new URL is updated.

Acceptance criteria

  • As an admin, I can edit the pri_handle of a series
  • After I have edited the pri_handle of a series, the URL for the series RDF file has changed to reflect the change
  • I can successfully use this field with Voice Over in Safari.
  • I have checked this feature using one of the following browser extensions and confirmed that it does not add any level A or level AA issues:
    • axe dev tools
    • Lighthouse
    • Wave

Concrete example

To access this form locally:

  1. Start the application locally
  2. In bundle exec rails c, create an admin account for yourself with: User.create(uid: 'my_netid', provider: 'cas', role:'admin')
  3. In your browser, press the "Add New Series" link. Note that there is a handle field (this is different!), but no pri handle field
  4. Fill out the form and submit it.
  5. Edit that Series again. Note that there is no pri handle field here either.

Notes

This field is part of the model and the database table just not in the form.

@kevinreiss kevinreiss changed the title Add attribute "pri_handle" as form input on the series form Add series model attribute "pri_handle" as form input on the series form Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants