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

On-demand dashboard updates #35

Closed
1 of 4 tasks
jacobtread opened this issue Aug 30, 2023 · 1 comment · Fixed by #39
Closed
1 of 4 tasks

On-demand dashboard updates #35

jacobtread opened this issue Aug 30, 2023 · 1 comment · Fixed by #39
Assignees
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@jacobtread
Copy link
Member

jacobtread commented Aug 30, 2023

Issue

Currently for the server to get upstream changes for the dashboard they have to be compiled into a new server release. This solution works well for ensuring the server always has access to a dashboard regardless of internet connection however this means new releases have to be made every time the dashboard changes.

Proposed Solution

Leave the current solution as-is where the dashboard is compiled into the server but also extend this functionality to at server startup to request the dashboard GitHub to see if there is a new dashboard version released (Include associated information in the releases so that the server can determine whether its compatible with the new dashboard version) and if everything is compatible the server could download the new dashboard and save it in the server data folder to serve to clients instead

Checklist

  • Dashboard releases are created and downloading them programmatically is implemented
  • Server can determine compatibility with the dashboard versions
  • Server can download a new dashboard version
  • Server will serve locally stored dashboard files from the data folder if they are present
@jacobtread jacobtread added the enhancement New feature or request label Aug 30, 2023
@jacobtread jacobtread self-assigned this Aug 30, 2023
@jacobtread
Copy link
Member Author

Implementation for "Automatic updates" is being delayed as a possible future update, (Likely to be canceled) serving files from file system has been implemented which allows users to manually update their dashboard by downloading the new sources from the dashboard this should be documented as the solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant