Skip to content
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

ELES-1362 share highlight preview when copying a link #787

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ibrahim-mamdouh-ft
Copy link
Contributor

@ibrahim-mamdouh-ft ibrahim-mamdouh-ft commented Oct 16, 2024

This PR adds the functionality to include the highlights when copying the link for sharing the article.
If the user chooses to not include the highlights in the shared link, we only copy the shortened link for the article.
On the other hand, if the user chooses to include the highlights, the shared text is the highlight (trimmed to 30 words) and the shortened link.

@omarbassam88 omarbassam88 force-pushed the ELES-1362-share-highlight-preview-when-copying-a-link branch from a4f0314 to bf63df4 Compare October 21, 2024 11:03
@omarbassam88 omarbassam88 marked this pull request as ready for review October 22, 2024 11:42
@omarbassam88 omarbassam88 requested a review from a team as a code owner October 22, 2024 11:42
@omarbassam88 omarbassam88 changed the title WIP: share highlight preview when copying a link ELES-1362 share highlight preview when copying a link Oct 22, 2024
@ytcleon
Copy link
Contributor

ytcleon commented Oct 25, 2024

Change request: Would be nice to update the properties section in the README

Copy link
Contributor

@ytcleon ytcleon left a comment

Choose a reason for hiding this comment

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

The changes looks good to me. Will approve after the README is updated.

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