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

open internal links in the app #2124 #2385

Merged
merged 10 commits into from
Dec 19, 2023

Conversation

roienatan
Copy link
Collaborator

@roienatan roienatan commented Dec 6, 2023

  • PR title equals to the ticket name
  • I added the ticket to the Development section of this PR.

What was changed?

  • useOnInternalLinkClick hook that provides onInternalLinkClick ; use this hook in <Link /> in <TextEditor />.

Copy link

netlify bot commented Dec 6, 2023

Deploy Preview for preview-common ready!

Name Link
🔨 Latest commit 7a324d7
🔍 Latest deploy log https://app.netlify.com/sites/preview-common/deploys/6580dd759d13bd0008bb1fa3
😎 Deploy Preview https://deploy-preview-2385--preview-common.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@roienatan roienatan linked an issue Dec 6, 2023 that may be closed by this pull request
3 tasks
@roienatan roienatan marked this pull request as ready for review December 8, 2023 18:33
@elatif2020
Copy link
Collaborator

elatif2020 commented Dec 11, 2023

@roienatan The app is crashing once I try to change the link (here with copy-paste). In DEV it doesn't happen
Edit: Also once pasting some links (to this deploy preview), e.g.: https://deploy-preview-2378--preview-common.netlify.app/commons/0fac27c8-b9f1-4969-a28c-a7d5d07ce91e?item=388aa3ac-62cb-4032-bfb1-186308dd46c1

Untitled.video.-.Made.with.Clipchamp.2.mp4

@elatif2020
Copy link
Collaborator

@roienatan The app is crashing once I try to change the link (here with copy-paste). In DEV it doesn't happen Edit: Also once pasting some links (to this deploy preview), e.g.: https://deploy-preview-2378--preview-common.netlify.app/commons/0fac27c8-b9f1-4969-a28c-a7d5d07ce91e?item=388aa3ac-62cb-4032-bfb1-186308dd46c1
Untitled.video.-.Made.with.Clipchamp.2.mp4

Anyway the above issue make it hard for me to test this feature

@roienatan
Copy link
Collaborator Author

roienatan commented Dec 11, 2023

@roienatan The app is crashing once I try to change the link (here with copy-paste). In DEV it doesn't happen Edit: Also once pasting some links (to this deploy preview), e.g.: https://deploy-preview-2385--preview-common.netlify.app/commons/0fac27c8-b9f1-4969-a28c-a7d5d07ce91e?item=388aa3ac-62cb-4032-bfb1-186308dd46c1

Untitled.video.-.Made.with.Clipchamp.2.mp4

Anyway the above issue make it hard for me to test this feature

@elatif2020 okay I'll try to reproduce and fix it. Thanks.

@roienatan roienatan marked this pull request as draft December 12, 2023 02:12
@roienatan
Copy link
Collaborator Author

@roienatan The app is crashing once I try to change the link (here with copy-paste). In DEV it doesn't happen Edit: Also once pasting some links (to this deploy preview), e.g.: https://deploy-preview-2378--preview-common.netlify.app/commons/0fac27c8-b9f1-4969-a28c-a7d5d07ce91e?item=388aa3ac-62cb-4032-bfb1-186308dd46c1
Untitled.video.-.Made.with.Clipchamp.2.mp4

Anyway the above issue make it hard for me to test this feature

@elatif2020 please try now.

@roienatan roienatan marked this pull request as ready for review December 12, 2023 13:22
@elatif2020
Copy link
Collaborator

elatif2020 commented Dec 13, 2023

@roienatan The app is crashing once I try to change the link (here with copy-paste). In DEV it doesn't happen Edit: Also once pasting some links (to this deploy preview), e.g.: https://deploy-preview-2378--preview-common.netlify.app/commons/0fac27c8-b9f1-4969-a28c-a7d5d07ce91e?item=388aa3ac-62cb-4032-bfb1-186308dd46c1
Untitled.video.-.Made.with.Clipchamp.2.mp4

Anyway the above issue make it hard for me to test this feature

@elatif2020 please try now.

@roienatan
I don't have the above issue now.
But now once I click on an internal link in the content of feed card (here is the test I used) it's both:

  • Open a new tab with this link
  • navigate to this link in the previous tab

This happens for the first link below, for the second (here) it just open another tab
image

Also, I see that if the content is just the link it's not showing up on the card (but it show up once I add more text)
image

@roienatan roienatan marked this pull request as draft December 13, 2023 14:12
@elatif2020
Copy link
Collaborator

@roienatan The app is crashing once I try to change the link (here with copy-paste). In DEV it doesn't happen Edit: Also once pasting some links (to this deploy preview), e.g.: https://deploy-preview-2378--preview-common.netlify.app/commons/0fac27c8-b9f1-4969-a28c-a7d5d07ce91e?item=388aa3ac-62cb-4032-bfb1-186308dd46c1
Untitled.video.-.Made.with.Clipchamp.2.mp4

Anyway the above issue make it hard for me to test this feature

@elatif2020 please try now.

@roienatan I don't have the above issue now. But now once I click on an internal link in the content of feed card (here is the test I used) it's both:

* Open a new tab with this link

* navigate to this link in the previous tab

This happens for the first link below, for the second (here) it just open another tab image

Also, I see that if the content is just the link it's not showing up on the card (but it show up once I add more text) image

I still have these issues

@roienatan roienatan marked this pull request as ready for review December 19, 2023 11:10
@elatif2020
Copy link
Collaborator

@roienatan The app is crashing once I try to change the link (here with copy-paste). In DEV it doesn't happen Edit: Also once pasting some links (to this deploy preview), e.g.: https://deploy-preview-2378--preview-common.netlify.app/commons/0fac27c8-b9f1-4969-a28c-a7d5d07ce91e?item=388aa3ac-62cb-4032-bfb1-186308dd46c1
Untitled.video.-.Made.with.Clipchamp.2.mp4

Anyway the above issue make it hard for me to test this feature

@elatif2020 please try now.

@roienatan I don't have the above issue now. But now once I click on an internal link in the content of feed card (here is the test I used) it's both:

* Open a new tab with this link

* navigate to this link in the previous tab

This happens for the first link below, for the second (here) it just open another tab image
Also, I see that if the content is just the link it's not showing up on the card (but it show up once I add more text) image

I still have these issues

It's now good from my side 🙏

@roienatan roienatan merged commit a0a7da6 into dev Dec 19, 2023
5 checks passed
@roienatan roienatan deleted the cw-2124-open-internal-link-in-the-app branch December 19, 2023 23:24
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.

open internal links in the app
4 participants