-
Notifications
You must be signed in to change notification settings - Fork 937
Conversation
Mateus, I agree with Shlomi on the size of the button/display. I'd suggest:
Shlomi I'd rather see a smaller icon on the top bar. If recoveries are disabled you really want this to be visible in all views. My preferred location would be sort of between the orchestrator text and the home button but to have an icon which is small and red (disabled) or green (enabled). The exact type of icon or spare probably doesn't matter that much,I'd favour a single light traffic light icon, and a mouse over would give the full text "Recoveries disabled globally" or "Recoveries enabled globally". |
Hello thanks for the feedback! @sjmudd I'm adding "global" to the name as this button is shown in all contexts, it's not aware if either the page is looking at a cluster or looking at all of them. @shlomi-noach, I was thinking the directions of the "read-only" icon when someone is using orchestrator without modification privileges. I could think of using a more clear a icon or maybe use a mouse-over text to explain what it means.
❤️
💔
|
The [broken] heart icon is I think confusing but icon size and placement is better. |
Heart (full/empty) icon is definitely much better, and consistent with sidebar icons. I'm OK to go with that. |
I've pushed the code with the heart icon now, and added a alert when the user clicks the button to add some security, since this can be a very dangerous action. |
In the future, and to reduce friction, please submit a PR not from your |
#654 resubmits this PR and is merged |
A Pull Request should be associated with an Issue.
Related issue: #645
Description
Add a button on the interface to show and change the global-recovery status:
gofmt
(please avoidgoimports
)./build.sh
go test ./go/...