[BB-3615] Improve deployment toolbar
Created by: spokerman12
We're fulfilling the following user story:
"As a OCIM User, I want the deployment status to be clear so that there is less confusion"
JIRA tickets: BB-3615
Dependencies: None
Screenshots: See Jira ticket
Merge deadline: "None"
Testing instructions:
- Pull this branch to your OCIM local environment.
- Override parameters as necessary to access the console. My suggestion on how to do this is to set
lmsUrl = 'testurl';
on/frontend/src/ui/components/Header/Header.tsx
- Create a test account (To do so, put a return on top of
registration/models.py:validate_available_subdomain
so it bypasses domain validation) - Set a
false && (_loading_...
in line 69 to enable the button so you can test the Toast notification that pops up when clicking Publish. It has a timeout of 4 seconds (for now, the deployment reload timer messes with this).
Author notes and concerns:
- Snapshots were updated
- Testing the tooltip text requires considering
enzyme
, which will be done later.
Reviewers