Skip to content

instance creation errors can be hard to notice on wide displays #2403

Closed

Description

@iximeow

i tried to create a semi-bogus instance to check how conflicting disk names would get handled, and noticed this in the process..

Selection_999(340)

i'd named the boot disk conflict, configured an additional 10GiB disk named conflict, and a NIC named conflict for good measure. then scrolled down, hit "Create instance", waited for the spinner to finish spinning, then this is what i saw.

now that i know to look at the bottom right, DISK NAME ALREADY EXISTS is clear enough - but i actually found it by opening the console and seeing an error there first. it might be nice to draw the user's attention to that bottom area if we have an error that's nondescript about what precisely in the configuration is problematic, kind of like if the user has not selected a boot image:

Selection_999(341)

i'm pretty sure if there were a rectangle drawing my eyes along to the right of the page i would have seen the error immediately, at least :) it definitely didn't help that i'd been just watching the spinner, totally ignoring anything past about the middle of the page.

Activity

  1. david-crespo commented on Aug 29, 2024

    @david-crespo
    Collaborator

    Good one. It may help for us to pick a form field to attach the error to also and focus that, though that wouldn’t cover us in the case of errors we’re not specifically handling. So I agree we should make that error more in your face. One thing we can do is move it next to the buttons instead of all the way right.

  2. added this to the 11 milestone on Aug 29, 2024
  3. david-crespo commented on Sep 5, 2024

    @david-crespo
    Collaborator

    Just noticed we don't focus the instance name field when we get an error that the name is taken. @benjaminleonard besides improving logic around focusing fields on errors relevant to them, what do you think about moving the footer error next to the buttons so it's harder to miss? We could even make it responsive so it's only moved next to the buttons on screens above a certain width.

  4. benjaminleonard commented on Sep 5, 2024

    @benjaminleonard
    Contributor

    I think next to the buttons at all sizes is probably fine. Let's see it to be sure.

  5. benjaminleonard commented on Sep 6, 2024

    @benjaminleonard
    Contributor

    We could also try making the errors part right aligned to a max width of max-w-lg. But that might overflow sooner than we'd like.

  6. self-assigned this
    on Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions