Skip to content
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

Details improvements #917

Merged
merged 7 commits into from
May 31, 2024
Merged

Details improvements #917

merged 7 commits into from
May 31, 2024

Conversation

brianrourkeboll
Copy link
Member

@brianrourkeboll brianrourkeboll commented May 24, 2024

Fixes (part of) #916.

  • Auto-expand the details of the selected member, including when linked directly to (via the fragment portion of the URL).

    scroll_to_and_expand.mp4
  • Keep member name aligned to the top left, i.e., don't shift around when details are expanded. This was the original behavior in Memberdocs #818.

    stay.mp4
  • Put the details marker back before the summary. (This is how it was before and how details normally works... The arrow on its own line as it is in main looks very odd to me.)

    image

  • Make the table readable on mobile by wrapping rows when the screen is too narrow.

    wrap.mp4
  • Align copy icons, etc., to flex-start instead of center to match member name alignment

    Before

    image

    After

    image

* Keep member name aligned to the top left (i.e., don't shift around
  when details are expanded).

* Put marker back before the summary.

* Make the table readable on mobile by wrapping rows when too narrow.
@nhirschey
Copy link
Collaborator

Visually looks great to me.

Put the details marker back before the summary.

Thanks! I had noticed that regression as well but was too lazy to fix.

@nojaf
Copy link
Collaborator

nojaf commented May 25, 2024

Thanks for doing this! I'll try and review this when I can. It might take me a couple of days as I'm travelling.

Copy link
Collaborator

@nojaf nojaf left a comment

Choose a reason for hiding this comment

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

Sorry for the delay, this looks good! Thank you!

@nojaf nojaf merged commit 56b856b into fsprojects:main May 31, 2024
3 checks passed
@brianrourkeboll brianrourkeboll deleted the deets branch June 5, 2024 12:11
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