mashlib icon indicating copy to clipboard operation
mashlib copied to clipboard

Customizable "Sign Up" button

Open renyuneyun opened this issue 2 years ago • 3 comments

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?)

renyuneyun avatar Jul 17 '23 21:07 renyuneyun

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.

angelo-v avatar Jul 19 '23 17:07 angelo-v

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.

renyuneyun avatar Jul 23 '23 22:07 renyuneyun

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

angelo-v avatar Jul 24 '23 08:07 angelo-v