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

Create agreement step (2d) #19

Open
1 task
htpvu opened this issue Oct 28, 2019 · 2 comments
Open
1 task

Create agreement step (2d) #19

htpvu opened this issue Oct 28, 2019 · 2 comments

Comments

@htpvu
Copy link

htpvu commented Oct 28, 2019

  • Add display area for agreement text, with interaction to “agree” checkbox (?)
@jabrah
Copy link
Contributor

jabrah commented Nov 1, 2019

  • Be able to cycle through multiple agreements, each with separate elements to indicate agreement

@jabrah jabrah changed the title Create agreement step Create agreement step (2d) Nov 1, 2019
@jabrah
Copy link
Contributor

jabrah commented Nov 15, 2019

For now, we can keep agreement text in static files. We currently don't have details on agreements, so we can have a few placeholders.

How should agreement state be saved, so this step can be initialized? Is it enough to simply have a list of agreement keys that the user has agreed to?

submission: {
  ...
  state: {
    agreements: ['one', 'foo', 'bar']
  }
}

We should have a client side model object for state, but it should be stringified when persisted to Fedora.

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

No branches or pull requests

2 participants