Skip to content

Feature/1026 emergency pause UI - #1042

Merged
Chucks1093 merged 3 commits into
accesslayerorg:devfrom
Tekprecious:feature/1026-emergency-pause-ui
Oct 2, 2026
Merged

Chucks1093 merged 3 commits into
accesslayerorg:devfrom
Tekprecious:feature/1026-emergency-pause-ui

Conversation

@Tekprecious

Copy link
Copy Markdown
Contributor

Summary

Closes #1026
Implemented a platform-wide emergency pause UI to gracefully halt trading interactions when the protocol is paused.

  • Refactored the useGlobalPause hook to poll /protocol/status every 30 seconds and globally sync the pause state via a pub/sub listener pattern.
  • Injected GlobalPauseBanner into the App root layout so the alert (with pause timestamp and status page link) is visible across all routes.
  • Disabled all buy, sell, stake, and atomic swap CTA buttons across the application when a pause is active (PortfolioHoldingRow, BuySellKeyFlow, TradeDialog, StakingRewardsSection, and AtomicSwapCreatePage).
  • Wrapped disabled trading CTAs with the UnavailableAction component to present users with a helpful tooltip ("Platform is currently paused") explaining why the action is disabled.

Testing

  • pnpm lint
  • pnpm build

Checklist

@drips-wave

drips-wave Bot commented Sep 27, 2026

Copy link
Copy Markdown

@Tekprecious Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093
Chucks1093 merged commit 2706e21 into accesslayerorg:dev Oct 2, 2026
1 check passed
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.

Build platform-wide emergency pause status banner and trading halt UI

2 participants