Skip to content

🐛 Bug - Slow loading when viewing edited rules fetched from GitHub #2468

@KahaMason

Description

@KahaMason

Requested by: @KahaMason via YakShaver.ai 🦬
cc: @jakebayliss, @Aibono1225, @adamcogan, @joshbermanssw, @KahaMason, @Marxoz, @PothieuG, @Freego1783, @tiagov8

Hi Team!

  🟥  Watch the video (1 min 59 sec)

  Url from screen share: https://www.ssw.com.au/rules/user/author-kaha-mason

This issue is a follow-on from a previous YakShave: #2358

This previous YakShave was completed by both @Aibono1225 & @PothieuG

Pain

Users experience a long load time (~18 seconds) when viewing their edited rules in Rules V3 (TinaCMS). The page shows a 'fetching data from GitHub' loading state for an extended period before rendering the updated rules. This negatively impacts usability and indicates a potential performance issue in data fetching and/or processing.

Acceptance Criteria

  1. Viewing edited rules completes loading significantly faster than current behaviour.
  2. Target load time for the rules page is ≤ 5 seconds under normal conditions.
  3. Loading indicator accurately reflects progress and does not block rendering longer than necessary.
  4. Rules data displayed after loading is complete and accurate.
  5. No regression in functionality when fetching and processing rules from GitHub.

Reproduce Steps

  1. Log in to Rules V3 (TinaCMS).
  2. Navigate to the list of rules you have edited.
  3. Observe the 'fetching data from GitHub' loading screen.
  4. Measure the time taken until all updated rules are displayed.
  5. Note that the load time is approximately 18 seconds.

Screenshot

Screenshot
Figure: Rules page exhibits prolonged loading time

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions