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

Fix version detection #3425

Merged
merged 3 commits into from
Oct 1, 2021
Merged

Fix version detection #3425

merged 3 commits into from
Oct 1, 2021

Conversation

skovhus
Copy link
Contributor

@skovhus skovhus commented Oct 1, 2021

The new version detection always used the version from the web/package.json file (which is fixed). It also only did a check if the is a new version when the web app started up (it should do that continuously).

While doing this I migrated from Redux to https://swr.vercel.app/ (great little library, that we should start using a lot more).

Preview

Screenshot 2021-10-01 at 10 33 57

Screenshot 2021-10-01 at 10 35 37

The package.json version never changes...
This also introduces checking if there is a new version every hour
Copy link
Member

@corradio corradio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@skovhus skovhus merged commit 7f547d4 into master Oct 1, 2021
@skovhus skovhus deleted the ks/new-version branch October 1, 2021 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants