flexmeasures icon indicating copy to clipboard operation
flexmeasures copied to clipboard

Two UX improvements on the 2FA form

Open nhoening opened this issue 3 weeks ago • 4 comments

Description

Implement two UX improvements on the 2FA form, which we found in a user test.

Closes #1761 See that issue for other suggestions which we are not tackling here.

Look & Feel

Before:

Screenshot from 2025-12-18 15-01-53

After: image

TODO

  • [x] Fix user message
  • [x] Hide form content which is only used when user has trouble
  • [ ] Added changelog item in documentation/changelog.rst

nhoening avatar Dec 18 '25 14:12 nhoening

Documentation build overview

📚 flexmeasures | 🛠️ Build #30763121 | 📁 Comparing 4c20e83e278615568c27d2eec3b2d62ed64b7402 against latest (75e05d40de5f87930caaf0e8cda99907bbdc8691)


🔍 Preview build

Show files changed (2 files in total): 📝 2 modified | ➕ 0 added | ➖ 0 deleted
File Status
changelog.html 📝 modified
api/v3_0.html 📝 modified

I have seen this page while using the live staging, but on my local, i don't actually come across this page. What can i do to get to see this page?

My local goes straight to dashboard when i login.

@nhoening @Flix6x

joshuaunity avatar Dec 19 '25 09:12 joshuaunity

Although a different approach was mentioned in the issue, I believe this design would be better. We don't have to create an extra page for the other form(as its a pretty small component), it can still be left here and can be visible on command.

@Flix6x

joshuaunity avatar Dec 19 '25 11:12 joshuaunity

Also, have you tested if this works on a mobile device? I see you used data-bs-toggle="collapse" so that is a good, stable choice and I expect it would, but let's be sure.

I tested this and it works fine

joshuaunity avatar Dec 19 '25 14:12 joshuaunity