-
-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moved impersonate message to top of the page, put it in a red box #5802
Conversation
7ac2da3
to
609d264
Compare
rspec ./spec/views/layouts/sidebar.html.erb_spec.rb:153 # layout/sidebar impersonation renders a stop impersonating link when impersonating is failing since the message was moved out of the sidebar other stuff is unrelated as you figured out |
Ahh yes, I missed a spot. This should no longer be here since the stuff has been moved. |
I think this just needs a rebased on main now. |
6482c7e
to
12390a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small request with test.
edit: Honestly we can adjust styling later if they don't like it
ce503e4
to
1f5d84c
Compare
1f5d84c
to
736f7a7
Compare
What github issue is this PR for, if any?
Resolves #5758
What changed, and why?
Moved the impersonate banner from the sidebar to the top of the page
Put it inside a red box, make it more prominent.
How is this tested? (please write tests!) 💖💪
Note: if you see a flake in your test build in github actions, please post in slack #casa "Flaky test: " :) 💪
Note: We love capybara tests! If you are writing both haml/js and ruby, please try to test your work with tests at every level including system tests like https://github.com/rubyforgood/casa/tree/main/spec/system
Screenshots please :)
Run your local server and take a screenshot of your work! Try to include the URL of the page as well as the contents of the page.
Feelings gif (optional)
What gif best describes your feeling working on this issue? https://giphy.com/
How to embed:
![alt text](https://media.giphy.com/media/1nP7ThJFes5pgXKUNf/giphy.gif)