#77 Show info box about staging instance
Closed 3 years ago by frantisekz. Opened 3 years ago by frantisekz.

Based on response from '/api/v1/deployment_env', we should display some information if the currently viewed instance is the testing one.

The response from that endpoint is:

{"deployment_env":"prod"}
# or
{"deployment_env":"stg"}

We shouldn't display any warning on production, but when it's staging, something like this might make sense:

  • Display warning box (yellow background, not hide-able) with something like: "This is a testing version of Fedora Packager Dashboard. You might want to use the production instance(hyperlink to the production)."
  • Change the logo in the top left corner somehow (make the icon yellow instead of fedora blue?)

Changes are in master, please close when deployed to stg.

Metadata Update from @lbrabec:
- Issue tagged with: Pending on others

3 years ago

Metadata Update from @lbrabec:
- Issue untagged with: Pending on others
- Issue tagged with: Testing in staging

3 years ago

This is already deployed in prod.

Metadata Update from @frantisekz:
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata