Content-Length: 264588 | pFad | http://github.com/Sefaria/Sefaria-Project/pull/2433

BE Remove share settings from new editor. by YishaiGlasner · Pull Request #2433 · Sefaria/Sefaria-Project · GitHub
Skip to content

Remove share settings from new editor. #2433

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

Merged

Conversation

YishaiGlasner
Copy link
Contributor

Code Changes

Removes jsx for sharing settings from ShareBox in ConnectionsPanel.jsx.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the share settings UI elements from the ShareBox component in the new editor.

  • Removed the JSX block that displayed share options allowing users to change collaboration settings.
  • The removal simplifies the UI by eliminating unused share settings for non-applicable contexts.
Comments suppressed due to low confidence (1)

static/js/ConnectionsPanel.jsx:1453

  • Since the share settings UI is removed, the updateShareOptions method (and any related code) appears to be unused. Consider removing this dead code to keep the component lean.
{this.state.sheet && Sefaria._uid === this.state.sheet.owner ?

@yitzhakc yitzhakc added this pull request to the merge queue May 6, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 6, 2025
@akiva10b akiva10b merged commit 14e0b3a into master May 6, 2025
17 checks passed
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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Sefaria/Sefaria-Project/pull/2433

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy