Skip to content

refactor!: mobile nav to web-pkg#2007

Merged
JammingBen merged 3 commits intomainfrom
refactor/mobile-nav-to-pkg
Feb 20, 2026
Merged

refactor!: mobile nav to web-pkg#2007
JammingBen merged 3 commits intomainfrom
refactor/mobile-nav-to-pkg

Conversation

@JammingBen
Copy link
Member

@JammingBen JammingBen commented Feb 19, 2026

Breaking change

Apps must now directly use the MobileNav component from web-pkg instead of using a portal.

I needed to move a few some helpers from the runtime to web-pkg so they can be used globally.

refs #1936

@JammingBen JammingBen self-assigned this Feb 19, 2026
@JammingBen JammingBen added Type:Maintenance E.g. technical debt, packaging, etc. Type:Breaking-Change labels Feb 19, 2026
@JammingBen JammingBen changed the title refactor!: mobile nav to pkg refactor!: mobile nav to web-pkg Feb 19, 2026
This allows us to get rid of the `portal` usage. Apps can now directly use the `MobileNav` component.

I needed to move a few more helpers from the runtime to web-pkg so they can be used globally.
@JammingBen JammingBen force-pushed the refactor/mobile-nav-to-pkg branch from 1f11ef3 to db19b8e Compare February 19, 2026 12:54
Comment on lines -24 to -33
it('initially sets the highlighter to the active nav item', async () => {
const { wrapper } = getWrapper()
await wrapper.vm.$nextTick()
expect(wrapper.vm.highlighterAttrs).toEqual({
style: {
transform: 'translateY(0px)',
'transition-duration': '0.2s'
}
})
})
Copy link
Member Author

Choose a reason for hiding this comment

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

The highlighter will be removed anyways with the redesign, no need to spend time on fixing this test now.

@JammingBen JammingBen force-pushed the refactor/mobile-nav-to-pkg branch from db19b8e to 3133b87 Compare February 19, 2026 12:58
@JammingBen JammingBen marked this pull request as ready for review February 19, 2026 13:24
@AlexAndBear
Copy link
Member

👍

@JammingBen JammingBen merged commit 2c4b9b7 into main Feb 20, 2026
28 checks passed
@JammingBen JammingBen deleted the refactor/mobile-nav-to-pkg branch February 20, 2026 06:20
@openclouders openclouders mentioned this pull request Feb 20, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type:Breaking-Change Type:Maintenance E.g. technical debt, packaging, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments