samvera / hyrax

Hyrax is a Ruby on Rails Engine built by the Samvera community. Hyrax provides a foundation for creating many different digital repository applications.
http://hyrax.samvera.org/
Apache License 2.0
184 stars 124 forks source link

Share My Work redirects to dashboard after login #1092

Closed ghost closed 7 years ago

ghost commented 7 years ago

Descriptive summary

If a user is not logged in, Share My Work redirects them to login (Good) but then takes them to the dashboard. From here it is not obvious how to create a new work.

Rationale

As a user when I click on 'Share My Work' I want it to be obvious how to create a new work after login.

mjgiarlo commented 7 years ago

I would like input from @samvera/hyrax-ui-ux-advisors on this one.

atz commented 7 years ago

100% Agree. Also, once logged in, if you return to the page where there once was an enticingly simple "Share My Work" button... it's no longer there AND there is nothing comparably shiny and simple telling you how to do the thing you were promised.

newmanld commented 7 years ago

Seems that the "Share My Work" button - after login - should go to the same place as where "Share My Work" takes you if already logged in. Currently that is the list where work types are chosen. (In our app (screenshot attached) we have made this a separate page.)

Consistency is desirable. The choices are the Work Type selection screen or the Dashboard. New contributors might be intimidated by the Dashboard?

Our app is currently on the last version of Sufia but we are rapidly changing to Hyrax. We are in a beta test period - I've asked our product owners if they have an opinion on this but no response as yet. Pretty confident that they will echo the need for consistency, and 80% confident they will prefer our "What are you uploading?" page where work types are selected rather than the Dashboard.

image

hannahfrost commented 7 years ago

Hyrax uses a modal, not a full page like yours, @newmanld , for kicking off the work type selection and subsequent creation flow,

Is it possible to direct the user to the Works screen on the dashboard after login?

newmanld commented 7 years ago

@hannahfrost - Yes we are aware of the modal. Our product owners had a strong preference for a full page so that is one of our local overrides.

Our local feedback has confirmed both that the behavior should be consistent - whether logged in or not - and that the destination should be the screen where users select a Work for upload (in our case a page rather than a modal), not the Dashboard.

In the vanilla version of Hyrax 1.x we have locally implemented, if already logged in, and I return to the home page and select "Share Your Work", I see the modal (overlaying the home page). But if not logged in, I will be sent to the Dashboard after logging in.

hannahfrost commented 7 years ago

@mjgiarlo Did you intend to ping the ux-advisors group for input on this ticket?

mjgiarlo commented 7 years ago

@hannahfrost Yep. Updated my comment above (which broke when Hyrax was promoted from the -labs organization). Thanks!

julesies commented 7 years ago

Wondering if this might be resolved in the 2.0 milestone.

mjgiarlo commented 7 years ago

@julesies Possibly! I'm not sure there's a clear direction yet for what to do here, so the ticket as is may not be actionable.

mjgiarlo commented 7 years ago

For now, I am making a small change that redirects users to the My Works page (where they can create works) instead of the Dashboard. Hope that's a "good enough" small change for the time being, so we can get it into the 2.0.0 release.

mjgiarlo commented 7 years ago

https://github.com/samvera/hyrax/pull/1635