Skip to content

Conversation

@bukinoshita
Copy link
Contributor

@bukinoshita bukinoshita commented Jun 2, 2022

  • Use a meaningful title for the pull request. Include the name of the package modified.
  • Test the change in your own code.
  • Include the URL where we can test the change in the body of your PR.

This pull request:

  • Fixes a bug
  • Adds additional features/functionality
  • Updates documentation or example code
  • Other

@vercel
Copy link

vercel bot commented Jun 2, 2022

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

Name Status Preview Updated
radix-website ✅ Ready (Inspect) Visit Preview Jun 15, 2022 at 7:25AM (UTC)

@benoitgrelard
Copy link
Contributor

Hey @bukinoshita, just some quick early feedback on this:

  • it's looking awesome!
  • for those who are describing the value (non-discrete ones like "present when…") we should have them as text rather than code

@vladmoroz
Copy link
Contributor

Have a few suggestions:

  • I think we need to remove the space between the prop and data attribute tables so it doesn't feel disjointed.
  • Our tables need a consistent layout, which is especially noticeable with props table and data attribute tables close to each other. I used width: 40% on the first column and width: 30% on the second and third columns in the examples below.

Before/after
Screenshot 2022-06-07 at 19 24 11
Screenshot 2022-06-07 at 19 25 08

@bukinoshita
Copy link
Contributor Author

Have a few suggestions:

  • I think we need to remove the space between the prop and data attribute tables so it doesn't feel disjointed.
  • Our tables need a consistent layout, which is especially noticeable with props table and data attribute tables close to each other. I used width: 40% on the first column and width: 30% on the second and third columns in the examples below.

Before/after Screenshot 2022-06-07 at 19 24 11 Screenshot 2022-06-07 at 19 25 08

Nice, this looks so much better!

@bukinoshita
Copy link
Contributor Author

@benoitgrelard @vladmoroz Just updated!
screenshot 2022-06-07 at 16 23 43@2x

@bukinoshita bukinoshita marked this pull request as ready for review June 7, 2022 19:30
@benoitgrelard
Copy link
Contributor

This is awesome @bukinoshita, I noticed there are a few missing that are burried a bit inside the abstractions, hence why you might have missed them:

  • all components using Popper also get data-side, data-align on Content
  • all components using Menu gets the underlying data-state too on most parts

I can help go through together if you want.

Also I think your branch should target release instead as the base as there has been lots of changes in the docs since (probably new created versions, new parts on menus, etc)

Again, maybe easier if we go through together.

@bukinoshita
Copy link
Contributor Author

This is awesome @bukinoshita, I noticed there are a few missing that are burried a bit inside the abstractions, hence why you might have missed them:

  • all components using Popper also get data-side, data-align on Content
  • all components using Menu gets the underlying data-state too on most parts

I can help go through together if you want.

Also I think your branch should target release instead as the base as there has been lots of changes in the docs since (probably new created versions, new parts on menus, etc)

Again, maybe easier if we go through together.

Yeah, let's go together in the remaining parts.

Copy link
Contributor

@vladmoroz vladmoroz left a comment

Choose a reason for hiding this comment

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

Approved pending Benoît's comments

]}
/>

<DataAttributesTable
Copy link
Contributor

Choose a reason for hiding this comment

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

This now exists since I've added it in a recent PR.

<PackageRelease name="Alert Dialog" version="0.0.20" major />

- [**Breaking**] Remove `AlertDialog.Content` `onPointerDownOutside` prop <PRLink id={700} />
- [**Breaking**] Remove `AlertDialog.Content` `onPointerDownOutside` prop <PRLink id={700} />
Copy link
Contributor

Choose a reason for hiding this comment

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

What happened with this file? Looks like you have a different config maybe for spaces or something? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be honest, I don't know. I getting a few changes locally after running yarn prettier on the files that I didn't change.
screenshot 2022-06-14 at 11 00 45@2x

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok maybe some rogue changes then.

@benoitgrelard benoitgrelard merged commit 5e6ce61 into radix-ui:release Jun 15, 2022
benoitgrelard added a commit that referenced this pull request Jun 15, 2022
* Setup base PR

* Initial documentation updates (#369)

Catching up with merged features/fixes

* Document `data-*` attributes

* Document `data-*`

* Fix spaces and render

* Fix data

* Document `data-*` attributes

* Document `data-*` attributes

* Add missing data attributes

* Fix minor tweaks

* Fix minor tweaks

* Fix minor tweaks

Co-authored-by: Benoît Grélard <benoit.grelard@gmail.com>
@bukinoshita bukinoshita deleted the document-data-attributes branch June 15, 2022 14:32
benoitgrelard added a commit that referenced this pull request Jul 8, 2022
* Setup base PR

* Initial documentation updates (#369)

Catching up with merged features/fixes

* Document `data-*` attributes

* Document `data-*`

* Fix spaces and render

* Fix data

* Document `data-*` attributes

* Document `data-*` attributes

* Add missing data attributes

* Fix minor tweaks

* Fix minor tweaks

* Fix minor tweaks

Co-authored-by: Benoît Grélard <benoit.grelard@gmail.com>
andy-hook pushed a commit that referenced this pull request Jul 18, 2022
* Setup base PR

* Initial documentation updates (#369)

Catching up with merged features/fixes

* Document `data-*` attributes

* Document `data-*`

* Fix spaces and render

* Fix data

* Document `data-*` attributes

* Document `data-*` attributes

* Add missing data attributes

* Fix minor tweaks

* Fix minor tweaks

* Fix minor tweaks

Co-authored-by: Benoît Grélard <benoit.grelard@gmail.com>
benoitgrelard added a commit that referenced this pull request Jul 20, 2022
* Setup base PR

* Initial documentation updates (#369)

Catching up with merged features/fixes

* Update release note for React 18 (#371)

* Update release note for React 18

* Update data/primitives/overview/releases.mdx

Co-authored-by: Benoît Grélard <benoit.grelard@gmail.com>

Co-authored-by: Benoît Grélard <benoit.grelard@gmail.com>

* Primitives 1344 documentation (#376)

* Add new version pages

* Remove references to `forwards` in new versions

* Document NavigationMenu close on click 1347 (#380)

* Document Select fix (#381)

* Update `NavigationMenu` docs (#385)

* Document Slot fix (#386)

* Document Slot fix

* PR feedback

* Document latest menu/select updates (#387)

* Document latest menu/select updates

* Update 0.1.2.mdx

* Update 0.1.2.mdx

* Update 0.1.2.mdx

* Add context menu note to release (#388)

* Fix release note (#389)

* Document ScrollArea animatable Thumb change (#390)

* Remove enter key as per #393

* Document DismissableLayer fixes (#394)

* Catchup on demo updates (#396)

* Catchup on demo updates

* Update data/primitives/components/select/0.1.2.mdx

Co-authored-by: Andy Hook <hello@andyhook.dev>

* PR feedback

Co-authored-by: Andy Hook <hello@andyhook.dev>

* Document tabs animation (#397)

* Update file version/s

* Update doc

* Document submenu api change, `allowPinchZoom` prop move (#395)

* Document submenu changes

* Document `allowPinchZoom` prop change

* Feedback

* Document latest select fix (#398)

* Document latest select fix

* Update data/primitives/overview/releases.mdx

Co-authored-by: Andy Hook <hello@andyhook.dev>

Co-authored-by: Andy Hook <hello@andyhook.dev>

* Document latest RadioGroup change (#399)

* Document latest DismissableLayer change

radix-ui/primitives#1423

* Sync files with recent changes (#412)

* Document new Portal parts (#413)

* Document new Portal parts

* Document changes

* Update demos

* Update DeveloperExperienceSection.tsx

* Document latest ContextMenu changes (#414)

* Document latest Select changes (#415)

* Document latest Select changes

radix-ui/primitives#1459

* Add missing prop

* Document latest Portal changes (#416)

radix-ui/primitives#1463

* Parity in release branch from #417 (#419)

#417

* Document `data-*` attributes (#407)

* Setup base PR

* Initial documentation updates (#369)

Catching up with merged features/fixes

* Document `data-*` attributes

* Document `data-*`

* Fix spaces and render

* Fix data

* Document `data-*` attributes

* Document `data-*` attributes

* Add missing data attributes

* Fix minor tweaks

* Fix minor tweaks

* Fix minor tweaks

Co-authored-by: Benoît Grélard <benoit.grelard@gmail.com>

* Parity with #421 (#422)

* Document toast animation improvements (#423)

* Update release note

* Label required, update package version

* Document CSS variables (#426)

* Document CSS variables

* Change `Tooltip` CSS variable description

* remove from slider

* Fix `Accordion` CSS variable

* Remove `ScrollArea` CSS variables

* Update `transform-origin` description

* Add `Toast` CSS variables better description

* Fix `PropsTable` width

* Fix minor tweaks

* Fix minor tweaks

* Apply copy suggestions

* Fix minor tweaks

* Fix minor tweaks

* Fix minor tweaks

* Update data/primitives/components/tooltip/0.1.8.mdx

Co-authored-by: Andy Hook <hello@andyhook.dev>

Co-authored-by: Benoît Grélard <benoit.grelard@gmail.com>
Co-authored-by: Andy Hook <hello@andyhook.dev>

* Document tooltip hover changes (#431)

* Parity with #430 (#432)

* Document `allowPinchZoom` changes (#433)

* Document `allowPinchZoom` changes

* Feedback

* Release docs adjustments

* Updating versions in log to v1 (for all hands purpose)

* Copy change

* Fix typo in `onSelect` desc and release note

* Document popper changes (#437)

* Update changelog

* Document prop changes

* Update demos with props

* Update live demos

* Add missing portals

* Update deps

* Revert "Update live demos"

This reverts commit 981d20a.

* Update deps

* Update codesandbox css

* Remove portal in marketing hero demos

* Document new boundary prop

* Missing changelog + add portal back on subs

* PR feedback

* PR feedback

* Update stats (#438)

* Update release to use 1.0.0 filenames (#439)

* Shift breaking to first in change log

* Move files to 1.0.0

* Upgrade DS version (#440)

* Release refinement (#441)

* Revert announce filename and deprecate

* Update data-highlighted description

* Release date consistency

* Revert "Update data-highlighted description"

This reverts commit 30b3ae1.

* Tweak realease note order

* Update release tags to major

* Upgrade DS and primitives (#442)

Co-authored-by: Andy Hook <hello@andyhook.dev>
Co-authored-by: Bu Kinoshita <bukinoshita@gmail.com>
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