openfoodfoundation / openfoodnetwork

Connect suppliers, distributors and consumers to trade local produce.
https://www.openfoodnetwork.org
GNU Affero General Public License v3.0
1.11k stars 723 forks source link

Missing enterprise type choice when registering a new enterprise #10007

Closed audez closed 1 year ago

audez commented 1 year ago

Description

When creating a new enterprise from the “Join” button (/register), you’re not asked what type of enterprise you want to choose (profile, hub or shop). So you end up with an alert on the Enterprises list page, and your enterprise doesn't appear on the map.

Expected Behavior

At some point in the enterprise creation process, you should be asked what type of enterprise you want to choose (profile, hub or shop).

Actual Behaviour

The choice is not there. (before, at the end of the process you landed on this following page with the choice, but I can't manage to find the way to see it anymore 🤔 Screen Shot 2022-11-17 at 00 35 34 )

Steps to Reproduce

  1. Login as a user
  2. On the homepage, click the "join" button in the main menu (on coopcircuits.fr, click "Open a shop" then "Register" then "Join now")
  3. Follow the steps
  4. In the end, you land on the homepage
  5. In the admin dashboard > Enterprises, see the red alert on your enterprise

Animated Gif/Screenshot

Screen Shot 2022-11-12 at 14 12 33

Workaround

You can choose the package afterwards

Severity

bug-s3: a feature is broken but there is a workaround

RachL commented 1 year ago

@audez "open my shop" is not an OFN feature it's a translation that was tweaked. In anyway, when I click on "join" I'm always directed to the /register page. If I complete the registration I'm always redirected at the end to the choice. So I can't reproduce this. If there is indeed a button that does not redirect to the /register page, then we need to fix this in translation. Otherwise reopen if you are sure you can reproduce it on staging, perhaps I'm missing something.

audez commented 1 year ago

I reproduced it well:

https://user-images.githubusercontent.com/28386648/202320133-06751f55-7b67-4d69-831a-c0490c853e44.mp4

But i also reproduced with landing on the choice page as you said

Actually the following happens:

i'll update this later :)

RachL commented 1 year ago

@audez

I reproduced it well:

Nope as you've used an email that already has enterprises. That case was never treated in the enterprise creation as the design assumed you would use the admin section to create the enterprise when you already have one. To see the choice of the pack you must use a fresh email with 0 enterprises.

But you can quit this page (by clicking on "Account" or "Logout" or simply closing the window, and never end the process.

Two additional info

Just to not be missunderstood: I'm not saying this is the perfect onboarding.Just that we can't fix this with a bug issue, we must either find papercuts that work with all cases or redesign our register process.

audez commented 1 year ago

thanks for the input, i've written a wishlist: https://github.com/openfoodfoundation/wishlist/issues/381