ansible / azure-aap-deployment-driver

Apache License 2.0
2 stars 13 forks source link

Display banner informing users about their SW subscription #83

Closed tznamena closed 11 months ago

tznamena commented 11 months ago

This PR removes the pop-up modal shown to the users when they first log in to the deployment driver and replaces it with a permanent alert/banner across the top of the UI. Based on number of SW subscriptions, the user will see different text in the banner however in each different banner the user is always presented with a link to the RH console.

Jira item: https://issues.redhat.com/browse/AAP-15157

Screenshots

Below are screenshots of the possible cases. The screenshots were updated to show state with latest commit.:

No SW subscription yet (probably the most common case)

Screenshot from 2023-11-16 12-27-21

Existing SW subscription

Screenshot from 2023-11-16 12-27-52

Error scenario (when the RH API does not respond)

Screenshot from 2023-11-16 12-28-23

bhavenst commented 11 months ago

Can you add: Werkzeug>=2.0.0,<3.0.0

to requirements.txt? It's picking up 3.x.y, which is not compatible.