Addition to the Construction Dialog for "End date unknown"#890
Addition to the Construction Dialog for "End date unknown"#890mcliquid wants to merge 1 commit intoHelium314:modifiedfrom
Conversation
|
I remember requiring an end date to avoid just leaving roads under construction for possibly a long time just because e.g. there was no sign how long a 2 week construction would take. So I'm afraid the might be convenient but could cause more damage than good. Btw this is a bad time for working on Android dialogs, as they will be replaced with compose rather soon. |
That was the reason why I explicitly added the note to the calendar. I think we can trust SCEE users to read and take this into account.
I wasn't sure when it would be ready and wanted to develop the feature at least for myself because I need it often. Anyway, regardless of whether it gets merged or not, I will of course try to help with the upcoming conversion to compose. |
I tried to improve the "It's under construction" dialog in the Road/Path Form. The date picker dialog has been replaced with a custom
AlertDialogcontaining an embeddedDatePicker, allowing the addition of a new "End date unknown" option. This provides a faster way to mark long-term construction without forcing the user to select an arbitrary future date. A short explanatory hint was added below the date picker to clarify when this option should be used. The existing behavior for short-term construction (usingaccess:conditional) and long-term construction (switching tohighway=constructionwith optionalconstruction=*) remains unchanged. The new button simply triggers the specification of the construction value directly, without adding anopening_date.Everything works fine in the app, but the UI could certainly be optimized, but I didn't want to make any more/deeper changes in the dialog; the changes have already gone further than I intended.