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

Filter page update/fixes #67

Conversation

digital-gnome
Copy link

Filters in javascript for a more responsive page. Also fixes form resubmit back button weirdness.

Clicking filter from anywhere should pass any appropriate filter terms including limit and sort. Limit and sort from filter page work again.

Filter page centered and compressed. Date/Time picker added. I'm not sure why jscalendar wasn't included. I used an addon for jquery-ui, MIT licensed. I believe that is all ok with Debian. We already had the jquery-ui js file, this adds the css and image files from it.

I think I tested every combination but I'm not sure. This needs some testing I think. Also limit defaults to 100 but prior to this it did not work so I'm not sure if we want that limit to apply. 1.31.1 does not have a default limit.

@digital-gnome
Copy link
Author

Just had a chance to see the chosen update. Will have to look at that some, probably shouldn't have different kinds of date pickers in different places. Would still appreciate some testing to be sure I didn't miss any filter cases in the javascript.

@connortechnology
Copy link
Owner

chosen just does dropdowns so shouldn't interfere with date.

@digital-gnome
Copy link
Author

Actually it's the datepicker. Never realized you'd added one to montagereview.

@connortechnology
Copy link
Owner

Well that's just an html5 datetime input... and it is not well implemented in all browsers surprisingly.

@connortechnology
Copy link
Owner

What's with the ui icons? We already have the ones that come with bootstrap

@digital-gnome
Copy link
Author

2 reasons. It's part of jquery-ui and the addon was complaining about missing icons. The main reason is I didn't know we had any icons with bootstrap. I can't find them, guess I'll have to research bootstrap some.

@digital-gnome
Copy link
Author

I changed it to use the bootstrap icons in the picker.

Added chosen to most of the dropdowns, I can't get it to work well with the bracket boxes. Either they're too small and confusing due to wrapping or I have to explicitly set a width large enough for everything to fit. I'll either have to set the width inline with javascipt or just leave them as regular dropdowns. Chosen isn't really needed for those but I hate that it doesn't look consistent.

@connortechnology
Copy link
Owner

connortechnology commented Dec 17, 2017 via email

@digital-gnome
Copy link
Author

Removed chosen from conjuction and brackets. Restyled dropdowns to match chosen on filters page.

Overrides bootstrap input colors for dark theme and more chosen
@connortechnology connortechnology merged commit be017d5 into connortechnology:storageareas Dec 18, 2017
@connortechnology
Copy link
Owner

#72

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