Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

[C-401] Add Linear-style patch updates for web assets for the desktop app#1544

Merged
Kyle-Shanks merged 1 commit into
mainfrom
kj-Add-web-patch-update-for-desktop-app
Jul 5, 2022
Merged

[C-401] Add Linear-style patch updates for web assets for the desktop app#1544
Kyle-Shanks merged 1 commit into
mainfrom
kj-Add-web-patch-update-for-desktop-app

Conversation

@Kyle-Shanks

@Kyle-Shanks Kyle-Shanks commented Jul 1, 2022

Copy link
Copy Markdown
Contributor

Description

  • Add a few functions to electron.js to watch for patch updates to the web asset, download them in the background, notify the user of the update, and handle the update and reload of the app
  • Add node-tar package to handle the untarring to the build

Dragons

If there are any edge cases or errors within this that might pop up that should be covered, let me know 🙏

How Has This Been Tested?

Lots of manual testing

How will this change be monitored?

Will do more testing on the actual desktop app when this hits prod

Feature Flags

N/A

@audius-infra

Copy link
Copy Markdown
Collaborator

@sliptype sliptype left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Amazing! Looks great, had a couple nits

Comment thread packages/web/package.json Outdated
left: 0;

z-index: 1;
z-index: 14;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could we add this to zIndex.ts?

Comment thread packages/web/src/components/banner/UpdateWebAppBanner.js Outdated
Comment thread packages/web/src/electron.js Outdated
Comment thread packages/web/src/electron.js Outdated
@Kyle-Shanks Kyle-Shanks force-pushed the kj-Add-web-patch-update-for-desktop-app branch from 99f25cb to 00fcc1c Compare July 1, 2022 22:14

@raymondjacobson raymondjacobson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is gold

Comment thread packages/web/src/electron.js Outdated
@audius-infra

Copy link
Copy Markdown
Collaborator

@Kyle-Shanks Kyle-Shanks force-pushed the kj-Add-web-patch-update-for-desktop-app branch from 00fcc1c to 840632c Compare July 5, 2022 15:28
@audius-infra

Copy link
Copy Markdown
Collaborator

@Kyle-Shanks Kyle-Shanks merged commit 6132466 into main Jul 5, 2022
@Kyle-Shanks Kyle-Shanks deleted the kj-Add-web-patch-update-for-desktop-app branch July 5, 2022 15:49
@raymondjacobson raymondjacobson mentioned this pull request Jul 6, 2022
@AudiusProject AudiusProject deleted a comment from linear Bot Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants