Skip to content

Improve the buttons on the Tables View (and throughout the UI) #629

Closed

Description

@mglukhovsky

We need to clean up some of the button styles and add behavior to the Tables View:

  • Add two-step confirmation to the Delete database button. The confirmation should require typing the name of the database before allowing deletion (to prevent accidental one-click deletes). This has been done well in several systems: Github's Delete repository modal is the first that comes to mind.
  • Add icons to buttons. We should use the same set that we used for the Data Explorer's new buttons. This will make individual buttons far more distinct.
  • Fix the awful "selected" style in the Operations dropdown button on the Table View. It should have an inset style when selected (and when the dropdown is showing). We should consider adding icons to the dropdown items as well.

Activity

  1. ghost assigned on Apr 9, 2013
  2. neumino commented on Apr 16, 2013

    @neumino
    Member

    Two questions:

    • Are we moving the "Add table" button in database?
    • Are we moving delete selected table in database? (This one is _really_ tricky to move)
  3. coffeemug commented on Apr 16, 2013

    @coffeemug
    Contributor

    When I talked to @mglukhovsky about it, I believe the idea was to not move any buttons at all and just force people to type the database name in the "delete database" confirmation dialog to avoid accidental (but catastrophic) deletions.

  4. mglukhovsky commented on Apr 16, 2013

    @mglukhovsky
    MemberAuthor

    Confirmed, we're not moving any buttons. Just see my opening statement in the issue for the actual changes to be made.

  5. neumino commented on Apr 24, 2013

    @neumino
    Member

    The third point (the bug) is fixed in michel_629_bug
    Commit 46cfaa2
    Code review 430

    I'll close this issue when the code review is done and split the remaining two points in two different issues.

  6. neumino commented on Apr 25, 2013

    @neumino
    Member

    Merge in commit f8e2ad7
    Closing this issue. I'll create two other issues for the first two bullet points.

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