Skip to content

feat: add loading indicator to history and templates - #6524

Open
Schwehn42 wants to merge 5 commits into
mainfrom
js/feat/history-and-template-loading-indicator
Open

feat: add loading indicator to history and templates#6524
Schwehn42 wants to merge 5 commits into
mainfrom
js/feat/history-and-template-loading-indicator

Conversation

@Schwehn42

@Schwehn42 Schwehn42 commented Aug 18, 2026

Copy link
Copy Markdown
Member

Description

Users with many templates or especially boards don't get a visual indicator while they are being fetched (not having pagination doesn't help the cause).
In fact, on the history page, the user might falsely assume they have no boards at all since the empty boards text is being displayed.

This PR not only adds a simple loading indicator to both Templates and History, but also uses a small hook to prevent flickering when the delay is marginal.

Changelog

  • Templates, History: add loading indicator while thunk fetch hasn't completed yet
  • add new hook useDelayedLoading, which essentially debounces the loading value so only after a certain loading time (200ms as of now) the indicator is actually rendered.

Checklist

  • I have performed a self-review of my own code
  • I have written and understand every part of this contribution myself - if AI tools were used, I have thoroughly reviewed and verified all changes
  • I have commented my code, particularly in hard-to-understand areas
  • The light- and dark-theme are both supported and tested
  • The design was implemented and is responsive for all devices and screen sizes
  • The application was tested in the most commonly used browsers (e.g. Chrome, Firefox, Safari)

@Schwehn42 Schwehn42 self-assigned this Aug 18, 2026
@github-actions

Copy link
Copy Markdown

The deployment to the dev cluster was successful. You can find the deployment here: https://6524.development.scrumlr.fra.ics.inovex.io
This deployment is only for testing purposes and will be deleted after 1 week.
To redeploy rerun the workflow.
DO NOT STORE IMPORTANT DATA ON THIS DEPLOYMENT

Deployed Images
  • ghcr.io/inovex/scrumlr.io/scrumlr-frontend:sha-7c90369

  • ghcr.io/inovex/scrumlr.io/scrumlr-server:sha-7c90369

@Schwehn42 Schwehn42 added Review Needed This pull request is ready for review feat This pull request or issue adds a new feature Frontend At least some of this PR changes stuff in the frontend code labels Aug 18, 2026
@Schwehn42
Schwehn42 marked this pull request as ready for review August 18, 2026 15:27
@Schwehn42 Schwehn42 moved this from Todo to Review in scrumlr.io Aug 19, 2026

@Planlos5000 Planlos5000 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat This pull request or issue adds a new feature Frontend At least some of this PR changes stuff in the frontend code Review Needed This pull request is ready for review

Projects

Status: Review

Development

Successfully merging this pull request may close these issues.

2 participants