Browse Source

doc: refactor registration message & tests

kb/add-usage-guide
Trent Larson 12 months ago
parent
commit
154fcd98a5
  1. 18
      README.md
  2. 5
      src/views/AccountViewView.vue

18
README.md

@ -60,23 +60,21 @@ For your own web-push tests, change the 'vapid' URL in App.vue, and install apps
### Manual walk-through ### Manual walk-through
- Clear the browser cache for localhost to be a new user. - Clear the browser cache for localhost for a new user.
- See that it's using the test API.
- On each page, verify the messaging. - On each page, verify the messaging.
- On the home page, see message prompting to generate an ID. - On the home page, see the feed without names, and see a message prompting to generate an ID.
- As User #0 in another browser, add a give record. (See User #0 details above.) - On the discovery page, check that they can see projects, and set a search area to see projects nearby.
- With the new user on the home page, see the feed that shows users without names. - As User #0 in another browser on the test API, add a give & a project. (See User #0 details above.)
- As the new user on the contacts page, add a contact. - With the new user on the home page, see the feed that shows User #0 in network but without the name.
- On the discovery page, check that they can see projects. - As the new user on the contacts page, add User #0 as a contact.
- Choose a search area and see items show nearby. - On the home page, see the feed that shows User #0 with a name.
- Generate an ID. - Generate an ID.
- On the home page, check that it now prompts them to get registered. - On the home page, check that it now prompts them to get registered.
- On the account page, check that they see messages on limits. - On the account page, check that they see messages on limits.
- Register the ID from User #0. - Register the ID from User #0.
- As the new user on the home page, check that they can now record a gift. - As the new user on the home page, check that they can now record a gift.
Also that they see a hint on the user name in the feed (since user #0 is visible to them).
- On the contacts page, check that they cannot register someone else yet. - On the contacts page, check that they cannot register someone else yet.
- As the new user, add User #0 to contacts.
- On the home page, see the name of user #0 info in the feed.
- Walk through the functions on each page. - Walk through the functions on each page.

5
src/views/AccountViewView.vue

@ -186,8 +186,9 @@
</p> </p>
<p> <p>
You have done {{ limits.doneRegistrationsThisMonth }} registrations You have done {{ limits.doneRegistrationsThisMonth }} registrations
out of {{ limits.maxRegistrationsPerMonth }} for this month. Your out of {{ limits.maxRegistrationsPerMonth }} for this month. (You can
registrations counter resets at register nobody on your first day, and after that only one a day in
your first month.) Your registration counter resets at
{{ readableTime(limits.nextMonthBeginDateTime) }} {{ readableTime(limits.nextMonthBeginDateTime) }}
</p> </p>
</div> </div>

Loading…
Cancel
Save