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

Display browsers as list #91

Merged
merged 3 commits into from Feb 24, 2016
Merged

Conversation

tomitm
Copy link
Contributor

@tomitm tomitm commented Feb 1, 2016

See #90.

image

TODO:

  • Display browsers as list
  • Look into identifying canary/dev separately
  • Fix issue with overflow if the window height is smaller than the list
  • browser-launcher uses browser name, instead of path?

browser.name = 'Internet Explorer';
} else if (browser.type === 'chrome' && /SxS/.test(browser.command)) {
browser.name = 'Chrome Canary';
} else if (browser.type === 'firefox' && /Developer Edition/i.test(browser.command)) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Using browser.command might not work if the user changed their installation path, but the design still provides a fallback to the version number, so the user can differentiate between the two installations even if their names are the same.

@tomitm
Copy link
Contributor Author

tomitm commented Feb 11, 2016

Two notes on this:

  • Absolute positioning is giving me trouble with the layout right now (don't want to implement a height workaround with JS on this..)
  • browser-launcher2 uses the browser name as a launch option? That's.. odd. Need to look into that.

@tomitm
Copy link
Contributor Author

tomitm commented Feb 24, 2016

Fixed the overflow issue!

Although I noticed that browser-launcher uses the browser name to launch the browser...

Even though launch.detect includes a command property, doesn't appear that you can use it.
@tomitm tomitm changed the title [WIP] Display browsers as list Display browsers as list Feb 24, 2016
@tomitm
Copy link
Contributor Author

tomitm commented Feb 24, 2016

Looks like I can pass the name and version, so that's set! 🎉

@mitchhentges or @nerdbeere can you have a look and merge?

@mitchhentges
Copy link
Member

👍

mitchhentges added a commit that referenced this pull request Feb 24, 2016
@mitchhentges mitchhentges merged commit 70c9fc0 into james-proxy:master Feb 24, 2016
@tomitm tomitm deleted the browser-list branch May 22, 2016 23:44
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.

None yet

2 participants