Skip to content

feat(widget): add simple and advance modes switching#775

Draft
effie-ms wants to merge 3 commits into
mainfrom
feat/header-tabs-store
Draft

feat(widget): add simple and advance modes switching#775
effie-ms wants to merge 3 commits into
mainfrom
feat/header-tabs-store

Conversation

@effie-ms

@effie-ms effie-ms commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Which Linear task is linked to this PR?

https://linear.app/lifi-linear/issue/EMB-451/enable-simple-and-advanced-jumper-modes-on-widget

Why was it implemented this way?

TBD:

  1. Enabling vertical rail/switch for "Simple" and "Advanced" modes with tabs: storing tab "presets" as separate modes (similar to "split" with 2 tabs), or as a new config variable?
  2. Storing the vertical switch component on playground or widget side?

Implementation:
The existing SplitModeStore was transformed into more general HeaderTabsStore - to store all available and currently selected tab activeTab. Each tab has label, mode, modeOptions.

jumper-simple and jumper-advanced resolve to 3 tabs (per design), each with a corresponding mode (default, swap, bridge, etc).

NB: widget needs to be wider to store all 3 tabs.

Visual showcase (Screenshots or Videos)

TBA

Checklist before requesting a review

  • I have performed a self-review and testing of my code.
  • This pull request is focused and addresses a single problem.
  • If this PR modifies the Widget API or adds new features that require documentation, I have updated the documentation in the public-docs repository.

@changeset-bot

changeset-bot Bot commented Jun 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 30075fb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@effie-ms effie-ms self-assigned this Jun 11, 2026
@effie-ms effie-ms marked this pull request as draft June 11, 2026 07:25
@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown

E2E Examples — all passed

All examples passed in the latest run.

@effie-ms effie-ms temporarily deployed to widget-test-pr-775 June 12, 2026 13:14 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown

E2E Playground results

passed  158 passed

Details

stats  158 tests across 10 suites
duration  2 minutes, 47 seconds
commit  30075fb

📥 Download full HTML report (open the run → Artifacts → playwright-report)

@effie-ms effie-ms changed the title feat: replace SplitModeStore with unified HeaderTabsStore and add jumper modes feat: add simple and advance modes switching Jun 15, 2026
@effie-ms effie-ms changed the title feat: add simple and advance modes switching feat (widget): add simple and advance modes switching Jun 15, 2026
@effie-ms effie-ms changed the title feat (widget): add simple and advance modes switching feat(widget): add simple and advance modes switching Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant