budibase icon indicating copy to clipboard operation
budibase copied to clipboard

"Check for Update" - Ask for confirmation before appplying Update

Open poirazis opened this issue 2 years ago • 4 comments

When you click on Check For Updates, if an Update is found, the user should be asked for Confirmation before applying the update.

Another way would be for the system to check for updates in the background, and when a new update exists alert the user with a bubble on the main menu and give him the option to apply the update.

Screenshot 2022-07-18 at 12 40 44 PM

poirazis avatar Jul 18 '22 09:07 poirazis

Hey, @shogunpurple if this issue is not taken up can I take it? Also please share the details of what flow is expected?

saksham-jain avatar Jul 20 '22 11:07 saksham-jain

Hi @saksham-jain - of course, thank you very much for the offer to contribute.

Here's a brief spec detailing how the feature should look:

Conditions of Satisfaction (COS)

  • When the update button is clicked in the update UI, present the user with a modal
  • If the user confirms the operation, continue the update as normal
  • If they cancel, close the modal

You can see some examples of how to use our Modal component here in the codebase: budibase/packages/bbui/src/Modal/Modal.svench

The Modal

  • The modal should read "Are you sure you want to update your budibase installation?"
  • There should be 2 buttons - Confirm and Cancel. (These should come as default in the Modal/ModalContent components.

Please let me know if you have any issues or questions.

shogunpurple avatar Jul 20 '22 12:07 shogunpurple

Thanks, @shogunpurple understood. You can assign this to me, I will create the PR soon.

saksham-jain avatar Jul 20 '22 13:07 saksham-jain

This issue has been automatically marked as stale because it has not had recent activity.

stale[bot] avatar Sep 21 '22 04:09 stale[bot]

Can I work on this ?

aditya-shelke99 avatar Oct 01 '22 07:10 aditya-shelke99

This issue has been automatically marked as stale because it has not had recent activity.

stale[bot] avatar Dec 04 '22 03:12 stale[bot]