-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feat: Setup + Document date
and time
input in a Flutter
App
#1
Comments
@LuchoTurtle please drop a comment in this thread when you are able to take a look at it. 🙏 |
Just to understand correctly: I'm going to replicate a simple local todo app (the person creates todo items), where each one has a Is this correct? If so, I'll take this on after getting through other issues |
No need for Todo |
Ok, I'll do that and showcase the values of the |
Cool. What I was saying above about making it a Game that people play to "Guess the Date" But we can drop a hint to hit in the end of the tutorial. 👍 |
@LuchoTurtle is there enough detail in this issue for you to start work on it tomorrow? 🧑💻 📆 🤞 |
@nelsonic As discussed on standup, I'll be finishing dwyl/dart_cid#6 (comment) since it was already in-progress last time I picked it up. After this, the package should have less "activity" since it should be "complete", in a sense. |
Cool. Agree with finishing the work you started to free your mind from it. 😉 |
From my research and having looked at the link you've provided (https://fluttergems.dev/date-time-picker/), it seems that 99% of these date and time pickers use modals, which is funny, since in most cases, changing date and time are often found in inline editing scenarios. An issue has been opened flutter/flutter#76053 regarding this issue. Some people wanted to use the default Material There are a few candidates (e.g. https://morioh.com/a/f191fd917990/flutter-date-pickers-without-dialog). However, most use a ton of space and just print out the calendar, which is not desirable in our scenario: we don't want a calendar to be shown to the person, it takes too much real estate. To fulfil the requirement of "No Modals 🚫", though, I have a question regarding mobile devices. Quite literally all of the pickers I've found make use of the "modal" or "pop-up" from native Android and iPhone. Does this make sense on mobile devices? Should we go for the native approach or still be reluctant to use modals/dialogues/popups in mobile apps? Should we just avoid these in the web version? I understand the value of not using modals. They can't be bookmarked or shared as links; they can't be opened in new tabs; they don't work well with the Back button. These are issues that occur on browsers but not necessarily on mobile apps. I get that changing the context is still an issue but given the screen constraint, does it make sense? I can continue searching but I haven't found well-supported projects that properly do inline date and timer editing. The only viable route that I'm aware of is using a |
@LuchoTurtle as discussed on our Standup call this morning, 📞 Thank you for your research and linking to the issues it's good context for anyone |
@nelsonic yes, I understand what you are saying. I understand that using modals, especially in web browsers, is a no-go. Are these a problem? Because even if we were to go through inlining, a keyboard would be shown as well in the same area of the popup. So why not show the popup like this instead? Thanks for answering 👌 |
Sadly, 20-something hipster designers in San Francisco have made The "scrolling" input for dates and times is not great interface design, We need to maintain a consistent interface across devices and experiences. |
I've created a draft PR #2 which will address this issue. Which does exactly what we want to do: a I might have to take a look into the source code on this one 🤔 |
Time also has an input mode, which is fully typable. From flutter/flutter#76053, I wish they offered an option to not use this as a modal. |
Can the time input be 24h instead of “AM/PM” to reduce clutter? |
I think we can, using |
I'll probably reduce the scope of this to just demoing |
As noted by @panoramix360 in dwyl/mvp#140 (comment)
the
MVP
currently hastext
input
for updating thetimer.start
andtimer.stop
:Todo
Material
library to implement theDatePicker
andTimePicker
widgets and allow aperson
to interact with aDateTime
object.Once we've figured out the "basics" of the
Material UI
widgets,explore a more intuitive and faster interface.
Specifically we don't want a "Modal" (Dialog) for inputting the
DateTime
. We want thetimers
input to expand below theitem
the way it currently does in theMVP
so no context is lost.Ensure the
App
is deployed viaGitHub Pages
as aPWA
. 📱Research
There are many options available, e.g: https://fluttergems.dev/date-time-picker
Please feel free to do more research into this but remember to capture all of it.
And don't get tooo carried away as this feature is meant to be simple. 👌
The text was updated successfully, but these errors were encountered: