No license warning is indiscernible from missing SSH key warning
Multiple flash containers seem to create some confusion as there is no clearly defined start and end of each container. We can probably find a simple CSS-only fix for this that will apply border-bottom
or similar accordingly.
Steps to reproduce
- Remove License from in your local
EE
setup - Remove
SSH
key also
Relevant Screenshot
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- username-removed-419655 added gitlab-ce~127616 ~19492 labels
added gitlab-ce~127616 ~19492 labels
- Contributor
What about adding some
margin-bottom
as well? /cc @dimitriehEdited by username-removed-535087 - Developer
- username-removed-535087 assigned to @nmrony
assigned to @nmrony
- Contributor
@dimitrieh Flash message is actually get replaced by new one. I think this here we got a notice. though I am not sure yet. Let me dig into it.
- username-removed-535087 removed assignee
removed assignee
- Contributor
@dimitrieh, @mikegreiling already got this https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8151 and like the idea a lot. Unassigning myself so that we can discuss on it.
Edited by username-removed-535087 - Developer
@nmrony so this issue should be fixed by that one correct?
- Maintainer
Not necessarily. My MR made it in almost two months ago, so the real question is why didn't it work in this case. Does it need to be fixed? What are the steps to reproduce this issue so I can investigate?
- Contributor
@mikegreiling Please remove license and ssh in your local
EE
. I also edited the issue description. - username-removed-535087 changed milestone to gitlab-ce%21
changed milestone to gitlab-ce%21
- Dimitrie Hoekstra changed milestone to gitlab-ce%29
changed milestone to gitlab-ce%29
- Jacob Schatz added gitlab-ce~17876 label
added gitlab-ce~17876 label
- Jacob Schatz changed milestone to gitlab-ce%37
changed milestone to gitlab-ce%37
- Developer
@annabeldunstone @jschatz1 what happened to this https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8151 with
Edited by Dimitrie Hoekstra - Developer
otherwise a simple white or
#e5e5e5
border at the bottom can suffice i think ;) - Dimitrie Hoekstra added gitlab-ce
2024186 and removed gitlab-ce2024184 labelsadded gitlab-ce
2024186 and removed gitlab-ce2024184 labels - Maintainer
Might have something to do with different types of flash messages. cc @mikegreiling
- Winnie Hellmann changed title from Multiple flash containers are indiscernible to Multiple warning alerts are indiscernible
changed title from Multiple flash containers are indiscernible to Multiple warning alerts are indiscernible
- Developer
This is not about
Flash
messages but about.alert-warning
s (I have adjusted the issue title).The changes of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8151 require that.alert-warning
s are wrapped in a.alert-wrapper
—which the missing SSH key / license are not. They are inside a.flash-container
.It looks like my knowledge was outdated: https://gitlab.com/gitlab-org/gitlab-ce/blob/883488e0b2adda7dad93334f17f3895f05a7c587/app/views/layouts/_page.html.haml#L15-23
I'm looking into this now.Edited by Winnie Hellmann - Winnie Hellmann assigned to @winh
assigned to @winh
- Developer
No GitLab Enterprise Edition license has been provided yet.
is not even.alert-warning
but a broadcast message: https://gitlab.com/gitlab-org/gitlab-ee/blob/master/app/views/layouts/_broadcast.html.haml#L1-4 The code is there since two years now so I am removing the gitlab-ce~17876 label. - Winnie Hellmann removed gitlab-ce~17876 label
removed gitlab-ce~17876 label
- Developer
The license is also EE-only, so I moved the issue now.
- Winnie Hellmann changed title from Multiple warning alerts are indiscernible to No license warning is indiscernible from missing SSH key warning
changed title from Multiple warning alerts are indiscernible to No license warning is indiscernible from missing SSH key warning
- Developer
- Oswaldo Ferreir marked this issue as related to #11427
marked this issue as related to #11427