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 "no results" messages pointing to new voucher system #707

Merged
merged 7 commits into from
Dec 3, 2024

Conversation

Splines
Copy link
Member

@Splines Splines commented Nov 23, 2024

Via #670 and #671, users (e.g. teachers) can no longer search other users in the whole MaMpf database in order to assign them as tutors, speakers, teachers and editors. Instead, they now have to use the new voucher system, i.e. generate a voucher that users can redeem to obtain the "tutor status". The teacher can then assign them as tutor. All of this is to be GDPR-compliant.

This PR improves the No results message in search boxes that previously allowed to search for arbitrary users. This is to avoid confusion and to give guidance on what to do now. For example:

image

fosterfarrell9
fosterfarrell9 previously approved these changes Nov 25, 2024
Copy link
Collaborator

@fosterfarrell9 fosterfarrell9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link

codecov bot commented Nov 26, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (dev@8196e38). Learn more about missing BASE report.

Files with missing lines Patch % Lines
app/helpers/talks_helper.rb 0.00% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##             dev     #707   +/-   ##
======================================
  Coverage       ?   54.29%           
======================================
  Files          ?      170           
  Lines          ?     7349           
  Branches       ?        0           
======================================
  Hits           ?     3990           
  Misses         ?     3359           
  Partials       ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@fosterfarrell9 fosterfarrell9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Splines Splines merged commit 79cb0b3 into dev Dec 3, 2024
4 checks passed
@Splines Splines deleted the feature/voucher-warning branch December 3, 2024 23:26
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.

2 participants