Skip to content

Conversation

@liuyinglao
Copy link
Contributor

Requirements for a pull request

Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.

  • Unit tests related to the change have been updated
  • Documentation related to the change has been updated

Description of the Change

The artifact copy button doesn't copy the text. The PR is to make it work. I also added the notification banner when copy succeed to align with the behavior of other copy button (e.g. the logs)

Alternate Designs

N/A

Possible Drawbacks

N/A

Verification Process

mock data is added to browse.js for mock artifact data. and it is verified that

  • the bug can be reproduced before the changes
  • the bug is fixed after the changes
image image

Release Notes

Fixed the issue that artifact copy button doesn't copy text.

@liuyinglao liuyinglao force-pushed the fix/artifact-copy-button-not-working branch from 3ee3d50 to 9c7f187 Compare January 5, 2026 20:25
- Added position: relative and z-index: 1 to Modal container to fix z-index stacking
- Added notification feedback when artifact code is copied to clipboard
- Added mock artifacts data for testing
- Added NotificationsProvider to test wrapper for notification support
- Added unit test for copy button functionality
@liuyinglao liuyinglao force-pushed the fix/artifact-copy-button-not-working branch from 9c7f187 to b259a19 Compare January 5, 2026 20:28
@wangchy27 wangchy27 merged commit 15e8f04 into Netflix:master Jan 6, 2026
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