feat: show deprecation notice (#587)

* feat: show deprecation notice

* feat: show deprecation message

* chore(deps): update snjs

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
This commit is contained in:
Johnny A
2021-07-02 11:18:06 -04:00
committed by GitHub
parent 4a07d3e7db
commit b3347b75ba
4 changed files with 24 additions and 5 deletions

View File

@@ -33,6 +33,14 @@
rel='noopener',
target='_blank'
) Help
.sn-component(ng-if='ctrl.isDeprecated && !ctrl.deprecationMessageDismissed')
.sk-app-bar.no-edges.no-top-edge.dynamic-height
.left
.sk-app-bar-item
.sk-label.warning {{ctrl.deprecationMessage || 'This extension is deprecated.'}}
.right
.sk-app-bar-item(ng-click='ctrl.dismissDeprecationMessage()')
button.sn-button.small.info Dismiss
.sn-component(ng-if="ctrl.error == 'offline-restricted'")
.sk-panel.static