Geo secondary help users not waste time on impossible operations.
Description
When someone is browsing the web interface of a secondary Geo node, after some time they would learn to ignore the banner on top and forget that they are on a read-only node and start doing a time intensive edit of a file or comment.
Additionally, the banner is not present on all pages.
They could create a lengthy issue and only realize that it was all for nothing when they try to press save at the end.
PLAN
-
Zeroth step. THIS ISSUE: Fix the banners so they appear on all pages. %10.2 -
First step. Grey out or remove the buttons that would let a user start the creation process on MR's, File edits, Issues, etc. These should include a tooltip that reads "Switch to the primary node to make changes" (later) https://gitlab.com/gitlab-org/gitlab-ee/issues/3763 -
Long term awesome. Let the user create the thing, and then when they press submit it uses an API call to the primary to perform the action. (much later) https://gitlab.com/gitlab-org/gitlab-ee/issues/3764
Edited by Ernst van Nierop