Skip to content

Feature/better logs page#206

Merged
LucHeart merged 8 commits into
developfrom
feature/better-logs-page
May 31, 2026
Merged

Feature/better logs page#206
LucHeart merged 8 commits into
developfrom
feature/better-logs-page

Conversation

@LucHeart
Copy link
Copy Markdown
Member

No description provided.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 31, 2026

Deploying openshockapp with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7f79d8d
Status: ✅  Deploy successful!
Preview URL: https://c08108c1.openshockapp.pages.dev
Branch Preview URL: https://feature-better-logs-page.openshockapp.pages.dev

View logs

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9cb4d08180

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +114 to +118
.then((res) => {
logs = res.items;
page = res.page;
total = res.totalCount;
})
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Ignore stale log responses

When the table height is measured or the user changes filters/sorting/page while a previous shockerGetAllShockerLogs call is still in flight, both requests can resolve out of order and this handler unconditionally overwrites logs, page, and total with whichever response finishes last. In that scenario the UI can show all-shocker or old-page results while the current controls and URL indicate a different filter/page; add a request token/cancellation guard before applying the response.

Useful? React with 👍 / 👎.

@LucHeart LucHeart merged commit 080044d into develop May 31, 2026
11 checks passed
@LucHeart LucHeart deleted the feature/better-logs-page branch May 31, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Shocker Logs - Better Timeline (e.g. load more button)

1 participant