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 paper-toolbar in air client #2832

Merged
merged 2 commits into from
Nov 29, 2016
Merged

use paper-toolbar in air client #2832

merged 2 commits into from
Nov 29, 2016

Conversation

trevj
Copy link
Contributor

@trevj trevj commented Nov 23, 2016

This replaces the current placeholder titlebar with Polymer's paper-toolbar element:
https://elements.polymer-project.org/elements/paper-toolbar?view=demo:demo/index.html&active=paper-toolbar

I checked with UX and, background colour excepted, they're okay with the default height, etc., stylings.

paper-toolbar


This change is Reviewable

@trevj
Copy link
Contributor Author

trevj commented Nov 23, 2016

BTW, this one small part of #2815, to get me used to working on this UX stuff.

@jab jab self-assigned this Nov 28, 2016
<paper-icon-button icon="menu"></paper-icon-button>
<span class="title">uProxy</span>
</paper-toolbar>
</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the wrapping <div class='paper-header'> superfluous now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes! paper-header-panel explicitly special-cases paper-toolbar:
https://elements.polymer-project.org/elements/paper-header-panel

Removed, thanks!

@jab
Copy link
Contributor

jab commented Nov 28, 2016

one tiny comment but this looks great, merge away!

@trevj trevj merged commit a18d499 into master Nov 29, 2016
@trevj trevj deleted the trevj-air-paper-toolbar branch November 30, 2016 23:30
@fortuna
Copy link
Contributor

fortuna commented Dec 6, 2016

What goes in the menu?

@trevj
Copy link
Contributor Author

trevj commented Dec 7, 2016

Judging from the mocks, it will be the settings panel. I was also using this as an exercise to become familiar with the web components.

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.

3 participants