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

cleanup show order and add search #253

Merged
merged 6 commits into from
Jan 29, 2014

Conversation

wvengen
Copy link
Member

@wvengen wvengen commented Jan 17, 2014

An attempt to make the show order screen a bit cleaner. Search works in default, groups and articles view (listjs).
cleaned_up_show_order

p.s. Multiple tfoots in in one table are not allowed, so I moved these intermediate headings into the body, which had a nice side effect that listjs search showed the whole tbody when a row matched - exactly what I wanted.

Conflicts:
	app/assets/stylesheets/bootstrap_and_overrides.css.less
	app/views/orders/_articles.html.haml
	app/views/orders/show.html.haml
Conflicts:
	app/helpers/orders_helper.rb
Conflicts:
	app/assets/stylesheets/bootstrap_and_overrides.css.less
@wvengen
Copy link
Member Author

wvengen commented Jan 27, 2014

This is the first of some larger user-interface changes. Since it's been 10 days now, I'd like to starting merging this. Let me know if this would or would not be an improvement for your coop. Or else, we'll find out in practice!

@JuliusR
Copy link
Contributor

JuliusR commented Jan 27, 2014

Sorry I currently do not find the time to check it out. As far as I can see, nice changes. Have you made sure that the search input breaks nicely to the next line on smaller screens?


respond_to do |format|
@partial = case @view
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this affect the rendering of the PDF now? The PDF is crucial for our workflow. If nothing has changed, it is fine.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll move that to outside respond_to - don't know how it ended up there :o This does not change the PDF (@partial is used in html and js now).

@wvengen
Copy link
Member Author

wvengen commented Jan 27, 2014

Better would be the bottom in the gray box. But I'd like it to float, and consider this sufficient for now.
orders_input_overflow

@JuliusR
Copy link
Contributor

JuliusR commented Jan 27, 2014

Ah, that is fine. I have seen things like this being inaccessible on small screens due to bad clearing.

Thanks for the screenshot!

wvengen added a commit that referenced this pull request Jan 29, 2014
@wvengen wvengen merged commit 3f12627 into foodcoops:master Jan 29, 2014
@wvengen wvengen deleted the feature-cleaner_order_details branch September 29, 2014 11:48
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