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

1430: Show extend card notification only if the card is valid #1809

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

seluianova
Copy link
Contributor

@seluianova seluianova commented Dec 2, 2024

Short description

Just noticed a small issue:
After a user extends the card and activates the new one, the extend card notification is still displayed for the old (revoked) card, and this can be confusing.

Proposed changes

Change the condition to display the notification: if the card is valid (instead of not expired) and extendable

Side effects

Couldn’t think of any

Testing

If needed, please refer to the detailed testing instructions from here:
#1772
Once the extendable card has been created:

  • click ‘Pass verlängern’ in the app notification
  • submit the form
  • activate the new card
  • check that the extend card notification is not displayed anymore

Resolved issues

Follow up for #1430

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

Successfully merging this pull request may close these issues.

1 participant