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

Disable Invite Users button on organisation page until email address is entered #10130

Closed
TheSussex opened this issue Apr 15, 2024 · 0 comments · Fixed by #10136
Closed

Disable Invite Users button on organisation page until email address is entered #10130

TheSussex opened this issue Apr 15, 2024 · 0 comments · Fixed by #10136
Labels
🏭 Producers Platform - acquisition 🏭 Producers Platform https://wiki.openfoodfacts.org/Platform_for_producers

Comments

@TheSussex
Copy link
Contributor

What

When a producer clicks on theInvite Users button without entering any email in the form, it redirects to the home page

Steps to reproduce the behavior

  1. Go to 'https://world.pro.openfoodfacts.org/'
  2. Log in to with you producer details
  3. Click on the dropdown beside the User's name in the far right and select 'Edit your organisation profile'
  4. Click on the Invite Users button without entering any email address in the box, it will redirect you to the organisation's home page.

Here is a link to the conversation on Slack.

Expected behavior

The Invite Users button should be disabled until at least one email address has been entered.

Why

This will help improve user experience because with the current flow, the producer might not know that no action was performed.

Type of device

Browser: Google Chrome (Version 123.0.6312.87)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏭 Producers Platform - acquisition 🏭 Producers Platform https://wiki.openfoodfacts.org/Platform_for_producers
Projects
2 participants