Skip to content

Conversation

@jog1t
Copy link
Contributor

@jog1t jog1t commented Apr 24, 2025

Closes FRONT-684

Changes

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Apr 24, 2025

Deploying rivet-studio with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3e59112
Status: ✅  Deploy successful!
Preview URL: https://90e46b05.rivet-studio.pages.dev
Branch Preview URL: https://04-24-fix-make-copy-buttons.rivet-studio.pages.dev

View logs

Copy link
Contributor Author

jog1t commented Apr 24, 2025


How to use the Graphite Merge Queue

Add the label merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@linear
Copy link

linear bot commented Apr 24, 2025

@jog1t jog1t force-pushed the 04-24-fix_make_copy_buttons_copy_again branch from 3e59112 to 02ea955 Compare April 24, 2025 15:51
@jog1t jog1t marked this pull request as ready for review April 24, 2025 15:51
@graphite-app
Copy link
Contributor

graphite-app bot commented Apr 24, 2025

Merge activity

  • Apr 24, 11:51 AM EDT: jog1t added this pull request to the Graphite merge queue.
  • Apr 24, 11:52 AM EDT: CI is running for this pull request on a draft pull request (#2380) due to your merge queue CI optimization settings.
  • Apr 24, 11:53 AM EDT: Merged by the Graphite merge queue via draft PR: #2380.

graphite-app bot pushed a commit that referenced this pull request Apr 24, 2025
<!-- Please make sure there is an issue that this PR is correlated to. -->

Closes FRONT-684

## Changes

<!-- If there are frontend changes, please include screenshots. -->
Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Fixed code copying functionality in MDX components by improving the selection and handling of code blocks in both grouped and non-grouped contexts.

  • Added data-code-group attribute to CodeGroup and pre components for proper code block identification
  • Enhanced CopyCodeTrigger to first check for active tab's code within groups before falling back to standalone code blocks
  • Improved file display styling by converting plain text to Badge component with icon
  • Optimized margins and spacing for better visual hierarchy in code groups

2 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile

@cloudflare-workers-and-pages
Copy link

Deploying rivet-hub with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3e59112
Status: ✅  Deploy successful!
Preview URL: https://ce96ad87.rivet-hub-7jb.pages.dev
Branch Preview URL: https://04-24-fix-make-copy-buttons.rivet-hub-7jb.pages.dev

View logs

@graphite-app graphite-app bot closed this Apr 24, 2025
@graphite-app graphite-app bot deleted the 04-24-fix_make_copy_buttons_copy_again branch April 24, 2025 15:53
@graphite-app
Copy link
Contributor

graphite-app bot commented Apr 24, 2025

Graphite Automations

"Test" took an action on this PR • (04/24/25)

1 assignee was added to this PR based on Kacper Wojciechowski's automation.

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.

2 participants