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

Add ugly hack for dashboard auto refresh #42

Merged
merged 2 commits into from
Aug 26, 2023
Merged

Add ugly hack for dashboard auto refresh #42

merged 2 commits into from
Aug 26, 2023

Commits on Aug 26, 2023

  1. Update application form

    JaneIRL committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    4c0d6db View commit details
    Browse the repository at this point in the history
  2. Add ugly hack for dashboard auto refresh

    The MarkDownRenderer is a server component as it needs direct access
    to the database for render context. A nice auto refresh would need to
    be implemented client side as only part of the page needs to be re-rendered.
    
    Switching MarkDownRenderer to be a client component is simply too much
    work that I'm not willing to commit to so I've resorted back to this
    ugly hack of server rendering a `<script>` tag that just refreshes
    the entire page every minute.
    
    Thank Sneh for all the work he did on this!
    JaneIRL committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    6875112 View commit details
    Browse the repository at this point in the history