Skip to content

docs(cli): rename misleading DateInput "Date Range" example#3185

Merged
cixzhang merged 1 commit into
facebook:mainfrom
durvesh1992:fix/dateinput-example-rename
Jun 27, 2026
Merged

docs(cli): rename misleading DateInput "Date Range" example#3185
cixzhang merged 1 commit into
facebook:mainfrom
durvesh1992:fix/dateinput-example-rename

Conversation

@durvesh1992

Copy link
Copy Markdown
Contributor

Summary

Closes #2692.

The DateInput example titled "Date Range" reads like a date-range picker, but it actually demos a single DateInput constrained to a min/max window. Renamed to "Min/Max Constraints" so the name matches the example (the description already says "constrained to a min/max window").

packages/cli/templates/blocks/components/DateInput/DateInputDateRange.doc.mjsname + displayName only.

Changeset

Included (@astryxdesign/cli patch, docs) — the example ships in cli/templates.

Closes facebook#2692.

The example titled 'DateInput — Date Range' actually demos a single
DateInput constrained to a min/max window, not a date-range picker.
Rename to 'DateInput — Min/Max Constraints' to match what it shows (the
description already says 'constrained to a min/max window').
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 26, 2026
@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
astryx Ready Ready Preview, Comment Jun 26, 2026 10:08pm

Request Review

@cixzhang cixzhang merged commit 691693c into facebook:main Jun 27, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] [bug-bash] DateInput: 'Date Range' example name is misleading (it's a constrained single input, not a range picker)

2 participants