Skip to content
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

Application alerts management: whole explorer, staking dapp #3714

Merged
merged 1 commit into from Mar 17, 2021

Conversation

vbaranov
Copy link
Member

@vbaranov vbaranov commented Mar 17, 2021

Closes #1609

Motivation

Manage Blockskout alerts

Changelog

Enables explorer alert managing through ENV variables:

Screenshot 2021-03-17 at 11 28 59

SHOW_MAINTENANCE_ALERT - true/false enables announcement at the top of explorer
MAINTENANCE_ALERT_MESSAGE - Message text of the alert

Enables staking dapp alert managing through ENV variables:

Screenshot 2021-03-17 at 11 31 30

SHOW_STAKING_WARNING - true/false enables announcement inside Staking Dapp
STAKING_WARNING_MESSAGE - Message text of the alert

Chore:

Add env var ENABLE_POS_STAKING_IN_MENU for management of enabling/disabling of Staking Dapp in the menu

Checklist for your Pull Request (PR)

@coveralls
Copy link

coveralls commented Mar 17, 2021

Pull Request Test Coverage Report for Build 53ffb62abe43bfcbc285decdda97e3f53f99e4f4-PR-3714

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.007%) to 64.424%

Totals Coverage Status
Change from base Build 3684f6603d6197e54de1d0f982a9d1fb8bc9b4f4: 0.007%
Covered Lines: 2097
Relevant Lines: 3255

💛 - Coveralls

@vbaranov vbaranov merged commit ae03f94 into master Mar 17, 2021
@vbaranov vbaranov deleted the vb-staking-alert branch March 17, 2021 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENV var for announcement msg
2 participants