Skip to content

New version picker for stable #151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

bdbch
Copy link
Member

@bdbch bdbch commented Apr 15, 2025

No description provided.

Copy link

vercel bot commented Apr 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tiptap-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2025 1:33pm

@bdbch
Copy link
Member Author

bdbch commented Apr 15, 2025

Don't merge yet as we're still need to adjust 1-2 env variables for the NEXT deployment.

import { VERSIONS, CURRENT_VERSION } from '@/utils/constants'
import type { VersionData } from '@/types'

const getItemLabel = ({ version }: { version: VersionData }) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe the argument can be simplified to (version: VersionData)

@arnaugomez
Copy link
Contributor

Screenshot 2025-04-16 at 09 32 59 When the selector is open, the area on top of "2x" has a styling of cursor: normal instead of cursor: pointer (this is a nitpick, you can ignore it).

@bdbch
Copy link
Member Author

bdbch commented Apr 16, 2025

When the selector is open, the area on top of "2x" has a styling of cursor: normal instead of cursor: pointer (this is a nitpick, you can ignore it).

I think it's actually correct as the menu disabled any interaction with everything not the menu.
Comes from the radix menu component I think.

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.

3 participants