-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[HOLD for Payment [2024-05-16][$250] Feature Request: Desktop app: Clicking on update
button shouldn't lead to re download it
#39526
Comments
Triggered auto assignment to @Christinadobrzyn ( |
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Feature Request: Desktop app: Clicking on update button shouldn't lead to re download it What is the root cause of that problem?Currently we only open desktop app download link:
What changes do you think we should make in order to solve the problem?We should replace the above by:
We already handle the update event in electron: Line 211 in d22957d
By this, the app would restart to install the update automatically. We also need to update the prompt text accordingly. What alternative solutions did you explore? (Optional)NA |
I think this can be external |
Job added to Upwork: https://www.upwork.com/jobs/~01c264c5555e17f971 |
update
button shouldn't lead to re download itupdate
button shouldn't lead to re download it
Triggered auto assignment to Contributor-plus team member for initial proposal review - @DylanDylann ( |
📣 @ordinall! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@gijoe0295 Your proposal looks promising, but how you can verify that it works well? When testing your proposal, I see that |
Updated proposalPlease re-state the problem that we are trying to solve in this issue.Feature Request: Desktop app: Clicking on update button shouldn't lead to re download it What is the root cause of that problem?Currently we only open desktop app download link:
What changes do you think we should make in order to solve the problem?
We need to create a custom event for this and handle it appropriately following the instruction: Lines 39 to 44 in d22957d
window.electron.send(ELECTRON_EVENTS.MANUALLY_CHECK_FOR_UPDATE);
Line 131 in d22957d
ipcMain.on(ELECTRON_EVENTS.MANUALLY_CHECK_FOR_UPDATE, () => {
manuallyCheckForUpdates(undefined, browserWindow);
});
By this, when user press We also need to update the prompt text accordingly. What alternative solutions did you explore? (Optional)NA |
@DylanDylann I updated my proposal. We can follow this instruction to test this functionality locally but that's quite complicated and we could do it in implementation phase. For now we can hard-code some places to make it work. |
@gijoe0295 After testing I see that ipcMain.on(ELECTRON_EVENTS.MANUALLY_CHECK_FOR_UPDATE, ....) isn't triggered after we call |
@DylanDylann Note that Line 148 in 468ee2f
|
@gijoe0295 Ohh, cool. It works for me. |
@gijoe0295's proposal looks good to me 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @Beamanator, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @gijoe0295 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@gijoe0295 Any update here? |
@gijoe0295 Please prioritize this PR instead of proposing new issues |
@DylanDylann I do not propose any new 😄 I'm actively working on it as you could see in PR commit history. The code change and testing are good on my side but I'm looking for a way for you and QA team to test easily. I need to purchase a paid Apple Developer account for that. |
You proposed 2 hours ago #40316 (comment) |
Hi @DylanDylann could you provide an updated when you have a moment! Thank you! |
Waiting for reviewing from @Beamanator |
sorry for the delay, just merged! |
monitoring PR - #40253 |
update
button shouldn't lead to re download itupdate
button shouldn't lead to re download it
update
button shouldn't lead to re download itupdate
button shouldn't lead to re download it
getting ready for payment... Payouts due:
Upwork job is here. Do we need a regression test for this? |
@DylanDylann Could you check ^? |
Regression Test Proposal Precondition: The desktop app's outdated version and there is new update version
Do we agree 👍 or 👎 |
Created regression test - https://github.com/Expensify/Expensify/issues/396639 Paid out based on this payment summary - #39526 (comment) I think we're good to close! |
@Christinadobrzyn Apology for catching up late here, this issue was created from April 3 (prior to the base price change), as such according to this announcement, it should remain as $500. So this payment summary needs adjustment. Could you help to handle it (maybe as a bonus to the existing job), thanks! |
HI @DylanDylann so sorry I didn't see this comment. Thanks, @gijoe0295, for reaching out! I just added a $250 bonus to each of the Upwork job payments to account for the $500 price. Let me know if there's anything else! |
@Christinadobrzyn No problem at all. Thanks for stepping in! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Problem:
on the Mac Desktop app, have this "update" button update the current app directly, instead of leading you to re-download it.
Solution:
User should be able to update without downloading again
Context/Examples/Screenshots/Notes:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @puneetlath
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1712096487518269
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: