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

Live Preview Desktop first draft #1261

Merged
merged 13 commits into from
Jan 5, 2024
Merged

Live Preview Desktop first draft #1261

merged 13 commits into from
Jan 5, 2024

Conversation

abose
Copy link
Member

@abose abose commented Jan 2, 2024

Externally opened tabs will now show a live preview warning. This is so that if a live preview has the same url as phcode.dev and it may mislead the user if the live preview tries to show off itself as phcode.dev when user opens an untrusted project.

So on evry project switch/new tab open, we will show the trust live preview dialog. This is only an issue in browser as in desktop, live previews will be loaded from loaclhost instead of virtual server at phcode.dev.
image

@phoenixide
Copy link
Member

Thank You for making this pull request.

@phoenixide
Copy link
Member

Thank You for making this pull request.

@phoenixide
Copy link
Member

Thank You for making this pull request.

src/live-preview.html Fixed Show fixed Hide fixed
src/live-preview.html Fixed Show fixed Hide fixed
src/live-preview.html Fixed Show fixed Hide fixed
src/live-preview.html Fixed Show fixed Hide fixed
src/live-preview.html Fixed Show fixed Hide fixed
src/live-preview.html Fixed Show fixed Hide fixed
@phoenixide
Copy link
Member

Thank You for making this pull request.

src/live-preview-loader.html Fixed Show fixed Hide fixed
src/live-preview-loader.html Fixed Show fixed Hide fixed
src/live-preview-loader.html Fixed Show fixed Hide fixed
src/live-preview-loader.html Fixed Show fixed Hide fixed
src/live-preview-loader.html Fixed Show fixed Hide fixed
src/live-preview-loader.html Fixed Show fixed Hide fixed
@phoenixide
Copy link
Member

Thank You for making this pull request.

src/live-preview-loader.html Fixed Show fixed Hide fixed
src/live-preview-loader.html Fixed Show fixed Hide fixed
src/live-preview-loader.html Fixed Show fixed Hide fixed
src/live-preview-loader.html Fixed Show fixed Hide fixed
@phoenixide
Copy link
Member

Thank You for making this pull request.

src/live-preview-loader.html Fixed Show fixed Hide fixed
src/live-preview-loader.html Fixed Show fixed Hide fixed
src/live-preview-loader.html Fixed Show fixed Hide fixed
src/live-preview-loader.html Fixed Show fixed Hide fixed
@phoenixide
Copy link
Member

Thank You for making this pull request.

@phoenixide
Copy link
Member

Thank You for making this pull request.

@phoenixide
Copy link
Member

Thank You for making this pull request.

@phoenixide
Copy link
Member

Thank You for making this pull request.

Copy link

sonarcloud bot commented Jan 5, 2024

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

11 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

src/live-preview-loader.html Dismissed Show dismissed Hide dismissed
src/live-preview-loader.html Dismissed Show dismissed Hide dismissed
src/live-preview-loader.html Dismissed Show dismissed Hide dismissed
src/live-preview-loader.html Dismissed Show dismissed Hide dismissed
src/live-preview-loader.html Dismissed Show dismissed Hide dismissed
src/live-preview-loader.html Dismissed Show dismissed Hide dismissed
src/live-preview-loader.html Dismissed Show dismissed Hide dismissed
src/live-preview-loader.html Dismissed Show dismissed Hide dismissed
@abose abose merged commit c532975 into main Jan 5, 2024
17 checks passed
@abose abose deleted the live branch January 5, 2024 11:31
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.

2 participants