Skip to content

fix(client): Load pages from backend when navigating backwards beyond buffer (#693) - #743

Merged
Tim020 merged 2 commits into
devfrom
fix/prev-page-navigation-693
Nov 29, 2025
Merged

fix(client): Load pages from backend when navigating backwards beyond buffer (#693)#743
Tim020 merged 2 commits into
devfrom
fix/prev-page-navigation-693

Conversation

@Tim020

@Tim020 Tim020 commented Nov 29, 2025

Copy link
Copy Markdown
Contributor

Summary

  • Modified CueEditor.vue to make decrPage() async and load target page from backend before decrementing
  • Modified ScriptEditor.vue to load pages from backend when navigating backwards if they're not in the buffer
  • Ensures pages are properly loaded from backend when navigating backwards beyond the current buffer

Test plan

  • Test navigating backwards through script pages beyond the buffer
  • Test navigating backwards through cue pages
  • Verify pages load correctly from backend
  • Verify no regression in forward navigation

🤖 Generated with Claude Code

… buffer (#693)

Fixed "Prev page" button not loading page content from backend when
navigating beyond the pre-loaded buffer in script and cue config pages.

Changes:
- ScriptEditor: Load target page from backend before copying to TMP_SCRIPT buffer
- CueEditor: Load target page from backend before decrementing current page

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added small-diff Small pull request client Pull requests changing front end code labels Nov 29, 2025
@github-actions

github-actions Bot commented Nov 29, 2025

Copy link
Copy Markdown

Test Results

31 tests   31 ✅  8s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit c667436.

♻️ This comment has been updated with latest results.

@Tim020 Tim020 linked an issue Nov 29, 2025 that may be closed by this pull request
@Tim020
Tim020 merged commit 536e7d3 into dev Nov 29, 2025
14 checks passed
@Tim020
Tim020 deleted the fix/prev-page-navigation-693 branch November 29, 2025 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client Pull requests changing front end code small-diff Small pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prev page button not loading pages

1 participant