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

Add headers to shipment method and tracking number #2169

Merged
merged 3 commits into from
Aug 21, 2017

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Aug 18, 2017

Without headers it is hard to guess what "UPS same day" on a order shiments
table actually means.

Even more important, when in edit mode a form label is displayed in top of
the form field what leads to jumpy and confusing UI.

By adding headers to all view states this table row can have, we get a more
consistent UI.

Before

shipping-edit-before

After

shipping-edit-after

Since the new table style we do not have a `border-bottom` anymore. So, it does not makes sense to style the border of table rows for `prism.js` `before-highlight` class.
Table row action color highlighting only worked for table cells. This expands the styles to table headers as well.
@tvdeyen tvdeyen added changelog:solidus_backend Changes to the solidus_backend gem UI labels Aug 18, 2017
@tvdeyen
Copy link
Member Author

tvdeyen commented Aug 18, 2017

Please excuse the poor GIF quality on the second image. The background is actually not gray ;)

Without headers it is hard to guess what "UPS same day" on a order shiments table actually means.

Even more important, when in edit mode a form label is displayed in top of the form field what leads to jumpy and confusing UI.

By adding headers to all view states this table row can have, we get a more consistent UI.
@tvdeyen tvdeyen force-pushed the headers-for-order-shipment-table branch from b79520d to e74f1b7 Compare August 18, 2017 10:58
Copy link
Contributor

@cbrunsdon cbrunsdon left a comment

Choose a reason for hiding this comment

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

Looks like a good change to me, thanks.

@jhawthorn jhawthorn merged commit c6d9246 into solidusio:master Aug 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_backend Changes to the solidus_backend gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants