Skip to content

Add hooks for storage URL synchronization and improve simulation debugging#14

Closed
Timidan wants to merge 4 commits into
masterfrom
feat/tasks
Closed

Add hooks for storage URL synchronization and improve simulation debugging#14
Timidan wants to merge 4 commits into
masterfrom
feat/tasks

Conversation

@Timidan
Copy link
Copy Markdown
Owner

@Timidan Timidan commented Apr 22, 2026

Introduce hooks for synchronizing storage URLs and looking up event signatures. Update simulation debugging actions and history loader to enhance type handling.

Copilot AI review requested due to automatic review settings April 22, 2026 20:38
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
web3-toolkit Ready Ready Preview, Comment May 26, 2026 3:20pm

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: 6b663c2915

ℹ️ 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 +126 to +127
const current = queue.shift();
if (!current || typeof current !== 'object') continue;
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 Preserve top-level string errors in revert data extraction

findRevertDataInError now skips any queue item that is not an object, so plain string errors are never scanned for embedded revert hex. This regresses cases where upstream code throws/rejects with a string payload (for example, "... data:0x08c379a0..."): extractRevertDetails will lose encodedData/signature decoding even though the revert bytes are present, which degrades revert diagnostics shown to users.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

@copilot apply this fix

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

`getActiveSubTabId` was returning the first sub-tab's id when the URL
landed on a route-based tool's parent path with no segment (e.g.
`/integrations` with no `/integrations/<sub>`). That made
`handleSubTabClick` short-circuit on `sub.id === activeSubId` for the
first sub-tab, so clicking it never produced a navigate() and the user
was stranded on a parent path with no body.

Returning null when the segment is empty lets the click proceed and
navigate to the concrete sub-route on the first interaction.
Copilot AI review requested due to automatic review settings May 26, 2026 10:54
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

…m other routes

PersistentTools keeps every visited tool panel mounted (within a TTL)
so cross-tool switches don't unmount + re-fetch state. That means after
the user visits /integrations, the IntegrationsHub component stays
mounted while they navigate to /database, /builder, etc.

IntegrationsHub's redirect logic assumed `pathname` was always under
/integrations: it computed `segment` as the part of the URL after
`/integrations/`, found it empty (because the URL was now `/database`
which doesn't start with `/integrations`), and rendered
`<Navigate to="/integrations/lifi-earn" replace />` — silently
bouncing the user back. No console error, no broken click handler;
just a phantom redirect.

Early-return null when the URL isn't under /integrations so the
mounted-but-inactive hub is a no-op.
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.

2 participants