SolidOS / mashlib

Solid-compatible data mashup library and Data Browser
https://solidos.github.io/mashlib/dist/browse.html
MIT License
71 stars 21 forks source link

Customizable "Sign Up" button #180

Open renyuneyun opened 1 year ago

renyuneyun commented 1 year ago

Currently, Mashlib (e.g. when used with CSS Recipe) has a "Sign Up" button in the top right corner. However, that button leads to Solid's project page. A natural user flow is to jump to the current site's sign-up page. For example, for CSS, it would be SERVER/idp/register/.

Hope Mashlib could support easy customization of the button or the button's behaviour. For example, an easy override through files, or through component.js parameters (esp. for CSS). An automatic detection would also be useful.

(This issue supersedes https://github.com/CommunitySolidServer/Recipes/issues/28 and https://github.com/SolidOS/solidos/issues/194... in the right repo?)

angelo-v commented 1 year ago

A natural user flow is to jump to the current site's sign-up page.

I do not think I agree on that. Solid is all about choice. Only because I visit some Pod this does not imply that this is my preferred provider to register myself a Pod. Also some Pods do not even allow registration.

renyuneyun commented 1 year ago

Hi @angelo-v, thanks for the comment. I understand that. Though, most decentralized systems (e.g. Email, Mastodon, HubZilla) will default to creating accounts on the site being visited; on the project's page, it will give / link to a list of providers to allow visitors to choose from. So, this is a strong rationale.

If this is indeed a concern, the sign-up button can call up a dialog, asking whether the visitor want to sign up on the "current instance" or "choose from a list of instances". This satisfies the choice and also won't make newcomers confused. In particular, for a CSS instance, there is no guidance on solidproject.org about how to sign up on that instance -- neither does "that instance" exist, nor does "where is the actual sign up page for that instance" exist.

angelo-v commented 1 year ago

Sounds like a good compromise. I think we agree that registration needs to become a lot simpler. I like the idea of giving a choice between something like "Register here" and "Explore other providers". Yet SolidOS should be able to check wether registration is available or needs a way to be configured that it does not show up on pods that don't allow registration