Skip to content

Conversation

@priyaleedman-imm
Copy link
Contributor

@priyaleedman-imm priyaleedman-imm commented Sep 26, 2025

Jira: https://immutable.atlassian.net/browse/GFI-1195

Default
Screenshot 2025-09-26 at 4 05 11 pm

Header removed
Screenshot 2025-09-26 at 4 06 10 pm


Note

Adds optional showHeader to Swap widget config to hide/show the header (defaults to shown) and wires it through root -> widget -> view.

  • Swap widget configuration:
    • Add showHeader?: boolean to SwapWidgetConfiguration (packages/checkout/sdk/.../swap.ts).
  • Widget wiring and behavior:
    • Pass showHeader from SwapWidgetRoot to SwapWidget to SwapCoins.
    • Render header only when !autoProceed && showHeader; default to true when undefined.
    • Minor prop cleanup: header fallback changed from empty string to undefined.
  • Sample app:
    • Add commented example showing SWAP: { showHeader: true } in widget config.

Written by Cursor Bugbot for commit c521963. This will update automatically on new commits. Configure here.

@priyaleedman-imm priyaleedman-imm requested a review from a team as a code owner September 26, 2025 06:06
@nx-cloud
Copy link

nx-cloud bot commented Sep 26, 2025

View your CI Pipeline Execution ↗ for commit c521963

Command Status Duration Result
nx affected -t build,lint,test ✅ Succeeded 2m 26s View ↗
nx run-many -p @imtbl/sdk,@imtbl/checkout-widge... ✅ Succeeded 1m 13s View ↗

☁️ Nx Cloud last updated this comment at 2025-09-30 00:30:29 UTC

keithbro-imx
keithbro-imx previously approved these changes Sep 26, 2025
@priyaleedman-imm priyaleedman-imm added this pull request to the merge queue Sep 30, 2025
Merged via the queue into main with commit f6b8daa Sep 30, 2025
13 checks passed
@priyaleedman-imm priyaleedman-imm deleted the task/GFI-1195-allow-hide-header-on-swap-widget branch September 30, 2025 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants