Skip to content

feat: use check updates modal for update available in navbar#1042

Merged
Siumauricio merged 4 commits intoDokploy:canaryfrom
szwabodev:feat/newUpdateModalInNavbar
Jan 2, 2025
Merged

feat: use check updates modal for update available in navbar#1042
Siumauricio merged 4 commits intoDokploy:canaryfrom
szwabodev:feat/newUpdateModalInNavbar

Conversation

@szwabodev
Copy link
Contributor

@szwabodev szwabodev commented Dec 31, 2024

  • added /api/health endpoint for frontend app
  • changed docker service restart command not to be awaited during server update
  • navbar will now open the updates modal (with version information, releases link, etc.) intead of directly asking for confirmation of update
  • refactored updates modal to allow using updateData which is already fetched
  • updated confirm update modal to inform that using the panel is not possible during update
  • updated confirm update modal to not allow closing the modal, and inform about update being done
  • fixed checking if server update finished by using health endpoint instead of waiting for docker service restart command which doesn't properly finish due to restart of the whole app causing an error to be thrown instead
  • removed ping icon from "new version available" section (I think 2 pinging icons in same visible component is too much :D)

Clicking "Update available" in navbar opens this modal now:
image

Added information about not being able to use panel during update:
image

Closing the modal is blocked until server update is finished:
image

Server update success:
image

@szwabodev szwabodev marked this pull request as ready for review December 31, 2024 10:27
@Siumauricio Siumauricio merged commit f042cb7 into Dokploy:canary Jan 2, 2025
@Siumauricio Siumauricio mentioned this pull request Jan 13, 2025
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