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

feat: notify about new version #1846

Merged
merged 2 commits into from
Nov 27, 2023
Merged

Conversation

therealemjy
Copy link
Member

Jira ticket(s)

VEN-1716

Changes

  • add autoClose property to displayNotification and updateNotification utility functions
  • add AppVersionChecker component to automatically detect a new version available and display a notification in that case
  • add getLatestAppVersion query function

Copy link

vercel bot commented Nov 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mainnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 24, 2023 1:42pm
preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 24, 2023 1:42pm
testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 24, 2023 1:42pm

Copy link
Contributor

github-actions bot commented Nov 23, 2023

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 80.21% 42235 / 52654
🔵 Statements 80.21% 42235 / 52654
🔵 Functions 72.66% 856 / 1178
🔵 Branches 82.47% 3172 / 3846
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/App/index.tsx 0% 0% 0% 0% 1-50
src/clients/api/index.ts 0% 0% 0% 0% 1-350
src/clients/api/queries/getLatestAppVersion/index.tsx 100% 100% 100% 100%
src/clients/api/queries/getLatestAppVersion/useGetLatestAppVersion.ts 0% 0% 0% 0% 1-27
src/constants/functionKey.ts 100% 100% 100% 100%
src/containers/AppVersionChecker/index.tsx 0% 0% 0% 0% 1-24
src/hooks/useSendTransaction/useTrackTransaction/index.tsx 100% 100% 100% 100%
src/packages/notifications/utilities/index.ts 100% 100% 100% 100%
src/scripts/generatePublicVersionFile.ts 0% 0% 0% 0% 1-30
Generated in workflow #6893

@therealemjy therealemjy merged commit 3d39c71 into main Nov 27, 2023
6 checks passed
@therealemjy therealemjy deleted the feat/new-version-notification branch November 27, 2023 11:49
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.

2 participants