Skip to content

Conversation

@yacchin1205
Copy link

This PR is a simplified alternative to #841.

  • Ticket: []
  • Feature flag: disable_share_social_media

Purpose

Add ability to control social media sharing visibility via feature flag, and add a "Copy Link" option to the share menu.

This PR is based on discussions from COS-NII meetings.

Summary of Changes

Screenshot(s)

disable_share_social_media flag disabled (default - social sharing enabled):

osf-enable-social-2026-01-22

disable_share_social_media flag enabled (social sharing disabled):

osf-disable-social-2026-01-22

Side Effects

None expected. The feature flag defaults to disabled (social sharing visible).

QA Notes

  • Test file context menu Share submenu on file list page
  • Test Share dropdown on file detail page
  • Verify "Copy Link" copies the file URL to clipboard
  • With disable_share_social_media flag enabled: only Email and Copy Link should appear
  • With flag disabled: Email, X, Facebook, and Copy Link should all appear

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.

1 participant