FusionAuth / fusionauth-issues

FusionAuth issue submission project
https://fusionauth.io
90 stars 12 forks source link

[Category] Theming #582

Open voidmain opened 4 years ago

voidmain commented 4 years ago

Problem

Currently, the theme writing experience in the FusionAuth UI leaves a bit to be desired. As a developer, it would be nice if it was simpler and faster to create a customized theme.

Solution

The UI for editing themes could be improved in a number of ways in order to help make the overall experience better. Here are some specific pain points to address:

Related

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.

mooreds commented 4 years ago

I would also love for there to be a couple of prebuilt themes. There's just a lot going on and unless you understand everything it's easy to get overwhelmed. For instance, all I wanted to do was customize the login and logout pages, but there's so much going on that I wasn't sure exactly what I needed to change. I ended up breaking my login and having to go into the database to roll back to the standard FA theme.

Bertg commented 3 years ago

If I may, I'd like to add an other suggestion.

More and more frontend development is happening using React/Vue, as it can provide an excellent developer and user experience. It would be great if FusionAuth could provide example implementations of how the pages implemented using these technologies could look like.

Looking at the authorisation page I already see 5 IF statements. That's 32 different states this page can take (not considering the sub pages). Going into this without a proper test suite is a nightmare.

So in conclusion, my 2 suggestions:

mooreds commented 3 years ago

@Bertg thanks for the feedback. I'm not sure I quite understand.

If you are going to use react/vue for your auth screens, it might make sense to use the login api directly, rather than the hosted login pages. The major win for using the hosted login pages is that it lives on FusionAuth and the workflows are already defined.

If you want to use react/vue and just make API calls, why wouldn't you use the login api and ignore the themed login pages?

What am I missing?