-
Notifications
You must be signed in to change notification settings - Fork 441
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
Waitlist: Subevent-Picker, Subevent starttime #2009
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2009 +/- ##
==========================================
- Coverage 79.30% 79.25% -0.05%
==========================================
Files 333 333
Lines 41579 41636 +57
==========================================
+ Hits 32974 33000 +26
- Misses 8605 8636 +31
|
I added some col-classes around the filter-elements similar to the order overview page. Is that what you were after? Sadly the col-classes for bootstrap are very rigid so with large screens it gets very large whereas even with the col-lg-* classes it can get very narrow. Probably css-flexbox would be a better option here regarding space usage, but currently it’s not available in the styles and I do not want to add it just for this. Maybe later at some redesign? |
P.S.: I think the auto-submit that happens on the filter dropdown of subevents is not ideal. But the auto-submit on the sending-vouchers form actually a bit frightening. I know, it does not do much harm, but still, as a user I do not expect neither of those dropdowns to auto-submit. |
You are quite right - I did not think about this... Which makes me wonder: Should we just scrap this change for now and just manually add |
Well, generally I think all subevent pickers should be select2, so I'd be in favor of fixing this properly. Why does the auto-submit happen, can we maybe just get rid of that? It's maybe something we build for some filter form somewhere without a button? For filter forms it's sometimes quite useful, but it shouldn't happen in any other forms obviously. We also have other select2 components (e.g. creating a voucher manually) where it doesn't happen. |
Auto-submit happens due to a CSS-class
P.S.: And also updated all occurrences where that fragment_subevent_choice_simple was included and needed that auto-submit. |
This looks done, can you rebase against master to check if that fixes the test? :) |
This adds the starting time to the list of a subevent to the list of waitlist entries as well as the rich/select2 subevent-picker.
The top one in the "send as many vouchers out as possible" seems to be integrating quite nicely, the one just above the waitlistentries however refuses to play nicely, especially when the product/itempicker has very, very long entries. I tried to replicate the filterbar-behaviour of the order overview, but with no success...
Perhaps someone else wants to take a swing at the layout options here?
Ref: Z#2372969