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

feat: enable opening external URLs in editor #1524

Merged
merged 3 commits into from
Jan 9, 2024
Merged

Conversation

codebytere
Copy link
Member

Closes #1523.

Fixes an issue where external links did not function properly. The user can now open external links after confirming the link to open (for security purposes).

Screenshot 2024-01-05 at 6 42 48 PM

@codebytere codebytere requested a review from a team as a code owner January 5, 2024 17:42
@coveralls
Copy link

coveralls commented Jan 5, 2024

Coverage Status

coverage: 87.103% (-0.09%) from 87.191%
when pulling a767938 on enable-open-external
into ac78ad4 on main.

src/renderer/components/editor.tsx Outdated Show resolved Hide resolved
Copy link
Member

@dsanders11 dsanders11 left a comment

Choose a reason for hiding this comment

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

Do we need to add the IPC call? I think we can just use window.open in this case, see #1260.

@codebytere
Copy link
Member Author

@dsanders11 good call - changed!

Copy link
Member

@BlackHole1 BlackHole1 left a comment

Choose a reason for hiding this comment

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

LGTM

@codebytere codebytere merged commit 7f4101d into main Jan 9, 2024
9 checks passed
@codebytere codebytere deleted the enable-open-external branch January 9, 2024 11:33
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.

Follow Link does not work in console or editor
5 participants