![Andriel Nuernberg Profile](https://pbs.twimg.com/profile_images/1686085395597983745/5EppP58U_x96.jpg)
Andriel Nuernberg
@andrielfn
Followers
682
Following
671
Statuses
1K
โก๏ธ Backend Engineer ๐ฎ From Ruby to Elixir ๐จ UI/UX minded ๐ DevOps enthusiast ๐จ Currently working on https://t.co/kMsB87sBl9
Joined June 2009
The wait is over - Fluxon is here! ๐๐๐ A modern UI component library crafted for Phoenix Framework that delivers: ๐จ Sleek, modern design system ๐ Dark mode out of the box ๐ฑ Fully responsive components ๐๏ธ Ready-to-use layouts #MyElixirStatus
15
33
180
@Perer5368753 Can you share more details about your use case and the issues you ran into? Also feel free to open a GH discussion - I can help you much faster there!
0
0
0
@nosyeaj Decided that the three options will be available via this "navigation" attribute, so you can decide what works better for you :)
0
0
1
@z_4seven Cool. Tbh I think the selects are just for birthdate fields. I can't really see another use case ๐ But the idea is to provide all the options via this navigation attr
1
0
1
@mmmykolas Oh right, that was actually one of my first options but I didn't quite like it in the end. Implementation is way more complex also.
1
0
0
In case someone asks how I can keep my sanity while working on this component ๐
๐
Added this "requires confirmation" feature to the datepicker to only apply the selection on button click. So far: Date picker โ๏ธ Datetime picker โ๏ธ Date Range โ๏ธ Multiple datesโ๏ธ Requires confirmation โ๏ธ Min/max dates โ๏ธ Week start โ๏ธ Timezone โ๏ธ Year/month jump (must have?) โ๏ธ Locale (must have?) โ๏ธ
0
1
23
Added this "requires confirmation" feature to the datepicker to only apply the selection on button click. So far: Date picker โ๏ธ Datetime picker โ๏ธ Date Range โ๏ธ Multiple datesโ๏ธ Requires confirmation โ๏ธ Min/max dates โ๏ธ Week start โ๏ธ Timezone โ๏ธ Year/month jump (must have?) โ๏ธ Locale (must have?) โ๏ธ
1
0
18
That's exactly the point ๐ฏ There are a lot of constraints on what users can type, the last digit typed replaces the current value, the left/right arrow keys do nothing, the cursor doesn't even show... so not a normal input at all. I was inspired by some other timepicker components, but I have my question how good it is for accessibility
0
0
1
@chgeuer That will be configurable for sure. But not sure if I should make it opt-in or opt-out.
0
0
1
@nosyeaj For now I'm working with a single <.date_picker /> component that accepts the different modes via attributes e.g., inline, range, showTimePicker, etc. I'm not 100% decided on that yet tho.
0
0
0
@egze @joerichsen Yeah that's part of the "UX still terrible". Skip the seconds field, use arrows to increase/decrease the integers, 12h vs 24h + AM/PM, only enable time fields when date is selected, maybe button to confirm/cancel, locale, timezone... etc etc ๐ฅน๐ฅน
0
0
2
@Perer5368753 @nosyeaj The min/max โ๏ธ But I was also wondering if it makes sense pass a list of dates to disable
1
0
2
@joerichsen @egze Alright, I gave it a shot. Ignore the UX as it's still terrible. I'm curious if something like would fit your needs? I want to keep it as simple as possible since every little addition creates a new habit role ๐
1
0
1
@zimt28 Absolutely. Sorry for not having published any better examples like this one yet. Roughly, my plan is to release the date picker, then exdoc documentation and then complex screens like this one.
0
0
1