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

Use chrome in app mode if present, else use the user's default browser #18

Merged

Conversation

tobyWorland
Copy link
Contributor

This pull request addresses the concern of a user not having chrome installed.

If chrome can be found, then we default to using it in application mode to display graphs. Otherwise, we default to using the user's regular browser.

Chrome can also be selected to run in non-application mode, for the use case that came up in issue #14 without having to make chrome your default browser.

Browser specifier type was added to ensure an invalid option is not passed. The types are:

  • :chrome-app-mode (a separate chrome instance in application mode)
  • :chrome (will open in new tab)
  • :firefox (will open in new tab)
  • :default (user's default browser)

There is no option to put Firefox in application mode as support for this has been dropped by Firefox.

@tobyWorland tobyWorland force-pushed the improvement/browser-defaulting branch from 0f0bc57 to b7d104b Compare January 1, 2023 02:09
@Symbolics
Copy link
Contributor

@tobyWorland is this ready for review and merge? I see it's marked work in progress and am not sure whether that's because it's not reviewed or because it still needs some more work.

@tobyWorland
Copy link
Contributor Author

Not ready just yet. I got a little too eager making this pull request. I did have some more changes locally, but did not like how they turned out.

I will have something soon.

@tobyWorland tobyWorland force-pushed the improvement/browser-defaulting branch from a126e31 to 0c28f26 Compare January 13, 2023 19:18
@tobyWorland tobyWorland marked this pull request as ready for review January 13, 2023 19:57
@tobyWorland
Copy link
Contributor Author

Ready for review.

@Symbolics Symbolics merged commit e6598b7 into Lisp-Stat:master Jan 16, 2023
@tobyWorland tobyWorland deleted the improvement/browser-defaulting branch January 19, 2023 16:05
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