react-spectrum icon indicating copy to clipboard operation
react-spectrum copied to clipboard

Add Edit this page button to docs

Open snowystinger opened this issue 5 years ago โ€ข 10 comments

This should make it easier for people to contribute doc fixes I pass the filepath through and store it in a meta tag in a data attribute, so it shouldn't conflict with anything now or in the future We could limit the pages that it appears on, but I haven't done that right now

Closes

โœ… Pull Request Checklist:

  • [ ] Included link to corresponding React Spectrum GitHub Issue.
  • [ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • [ ] Filled out test instructions.
  • [ ] Updated documentation (if it already exists for this component).
  • [ ] Looked at the Accessibility Practices for this feature - Aria Practices

๐Ÿ“ Test Instructions:

๐Ÿงข Your Project:

snowystinger avatar Jul 14 '20 04:07 snowystinger

Build successful! ๐ŸŽ‰

adobe-bot avatar Jul 14 '20 21:07 adobe-bot

Build successful! ๐ŸŽ‰

adobe-bot avatar Jul 24 '20 21:07 adobe-bot

Build successful! ๐ŸŽ‰

adobe-bot avatar Aug 10 '20 18:08 adobe-bot

hey -- do we want to get this in? seems like a good change.

my only question -- what do we think about moving this to the bottom right? Like more inline with the TOC - but at the bottom. Feels like it will be less intrusive.

ross-pfahler avatar Sep 25 '20 02:09 ross-pfahler

Build successful! ๐ŸŽ‰

adobe-bot avatar Oct 01 '20 21:10 adobe-bot

Build successful! ๐ŸŽ‰

adobe-bot avatar May 03 '21 19:05 adobe-bot

Build successful! ๐ŸŽ‰

adobe-bot avatar May 03 '21 20:05 adobe-bot

But... why?

devongovett avatar Sep 23 '21 20:09 devongovett

Build successful! ๐ŸŽ‰

adobe-bot avatar Oct 24 '21 22:10 adobe-bot

Build successful! ๐ŸŽ‰

adobe-bot avatar Feb 01 '22 19:02 adobe-bot

as seen at the bottom of parcel docs https://parceljs.org/features/development/

snowystinger avatar Jan 19 '23 18:01 snowystinger

Still looks good. Do we want the url to end with?plain=1 so it's "raw" mode which feels more like an edit mode?

Going to just follow the parcel example for now.

snowystinger avatar Jan 20 '23 19:01 snowystinger

couple of conflicts on this PR, but looks fine to me in its current state. Did you also want to go ahead and change the button to an <a> with button css?

LFDanLu avatar Apr 14 '23 23:04 LFDanLu

## API Changes

unknown top level export { type: 'identifier', name: 'Column' } unknown top level export { type: 'identifier', name: 'Column' } unknown type { type: 'link' } unknown type { type: 'link' } unknown type { type: 'link' } unknown type { type: 'link' } unknown type { type: 'link' } unknown type { type: 'link' }

rspbot avatar Jun 14 '23 22:06 rspbot