Skip to content

chore: 🤖 show deprecation warning for deprecated fields#811

Merged
punkbit merged 19 commits intomainfrom
chore/show-deprecation-warning
Feb 11, 2026
Merged

chore: 🤖 show deprecation warning for deprecated fields#811
punkbit merged 19 commits intomainfrom
chore/show-deprecation-warning

Conversation

@punkbit
Copy link
Collaborator

@punkbit punkbit commented Feb 6, 2026

Why?

Shows a deprecation warning for deprecated fields for the property side or align in the context menu. Ideally, the changelog managed by changeset would inform the user, but since these are yet to be used in the release workflow (see #774), it will show a warning message in the console.

Ideally, we should have the CHANGELOG.md along the package version, which clearly shows the information to the consumer.

Until then, it'll also show https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html#deprecated along a console warning. It only provides LSP warnings.

⚠️ WARNING: Depends on #812 which should go first

How?

  • Use typescript deprecated
  • Show console warning

Preview?

Runtime

Screenshot 2026-02-06 at 10 10 51

@vercel
Copy link

vercel bot commented Feb 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
click-ui Ready Ready Preview, Comment Feb 11, 2026 6:33pm

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Feb 6, 2026

⚠️ No Changeset found

Latest commit: 5d4ae08

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

@punkbit punkbit changed the base branch from main to chore/show-deprecation-warning-lint February 6, 2026 10:48
@punkbit punkbit marked this pull request as ready for review February 6, 2026 10:49
Base automatically changed from chore/show-deprecation-warning-lint to main February 6, 2026 19:09
@punkbit punkbit merged commit a5c6cd6 into main Feb 11, 2026
6 checks passed
@punkbit punkbit deleted the chore/show-deprecation-warning branch February 11, 2026 18:37
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