Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Warn on old Electron/Chrome (fix #556) - #1076

Merged
ronjouch merged 15 commits into
nativefier:masterfrom
matthewruzzi:master
Dec 1, 2020
Merged

ronjouch merged 15 commits into
nativefier:masterfrom
matthewruzzi:master

Conversation

@matthewruzzi

@matthewruzzi matthewruzzi commented Nov 25, 2020 •

Copy link
Copy Markdown
Contributor

Screen Shot 2020-11-25 at 11 00 52 AM

@matthewruzzi
matthewruzzi marked this pull request as ready for review November 25, 2020 19:01
@ronjouch ronjouch changed the title #556 Warn on old Electron/Chrome Warn on old Electron/Chrome (fix #556) Nov 30, 2020

@ronjouch ronjouch left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi @mattruzzi , thanks for the contribution 🙂. A few things to adjust:

Comment thread app/src/main.ts Resolved
Comment thread app/src/main.ts Resolved
Comment thread docs/api.md Resolved
Comment thread package.json Resolved
Comment thread src/cli.ts Resolved
Comment thread app/src/main.ts Resolved

@ronjouch ronjouch left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@mattruzzi thanks for the fixes! A few more things, and the discussion around whether we alert or bar.

Comment thread app/src/main.ts Resolved
Comment thread app/src/main.ts Resolved
Comment thread src/build/prepareElectronApp.ts Resolved
Comment thread app/src/main.ts Resolved
Comment thread docs/api.md Resolved
@matthewruzzi
matthewruzzi requested a review from ronjouch December 1, 2020 00:58

@ronjouch ronjouch left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great. Only a few final nits!


Regarding the bar vs. alert, you say:

A bar at the top of the main window could be confused with something from the bundled site since the space at the top of the main window that the bar takes up would normally be the site.

Hmmm no, I think it can be made clear this is a message from the Nativefier app and not the bundled webapp, via placement/color/copy. This is exactly what real browsers do. Here's an example from Firefox.

I don't think that a bundled website would be able to show the kind of alert box that this is using.

True, but that's not a goal.

Now, regardless of these, thinking about it, okay let's go with an alert and see if/how users react to it. Maybe after all the fact that it's blocking is a good thing.

Comment thread docs/api.md Resolved
Comment thread src/options/optionsMain.ts Resolved
Comment thread app/src/main.ts Resolved
Comment thread app/src/main.ts Resolved
matthewruzzi and others added 4 commits November 30, 2020 17:42
Change disableOldBuildWarningYesiknowitisinsecure to disableOldBuildWarningYesiknowitisinsecure

Co-authored-by: Ronan Jouchet <[email protected]>

@ronjouch ronjouch left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wheeee. Merging. Thanks @mattruzzi ! Will cut a new release soon.

@ronjouch
ronjouch merged commit e8d3530 into nativefier:master Dec 1, 2020
Adam777Z pushed a commit to Adam777Z/nativefier that referenced this pull request Nov 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants