mattermost-community / mattermost-plugin-agenda

Mattermost plugin to handle meeting agendas
Apache License 2.0
35 stars 21 forks source link

Improve date format selection UI #66

Open aaronrothschild opened 4 years ago

aaronrothschild commented 4 years ago

Currently, the user needs to type in a date format to be used - manually. This introduces errors and confusion for the end-user. It would be better if we just gave them 8 choices in a list and didn't have to type anything in.

rahulsuresh-git commented 4 years ago

Yes, the current format is really painful and contributes to a bad UX. Do we have any design for the proposed change?

rahulsuresh-git commented 4 years ago

Is this issue the same as https://github.com/mattermost/mattermost-plugin-agenda/issues/17? @hanzei

hanzei commented 4 years ago

As far as I understand https://github.com/mattermost/mattermost-plugin-agenda/issues/17 it's about validating the time format before saving it. That seems to be easier to accomplish then this ticket. Hence, I'm inclined to keep both open.

aaronrothschild commented 4 years ago

Discussion with some context about this issue: https://community.mattermost.com/core/pl/97x3akmh8jdc5mdg4afyedbhmr

aaronrothschild commented 3 years ago

Let's add these options:

"Month-day" (ie: Dec-4) "day-Month" (ie: 4-Dec) "month-day" (ie: 12-4 ) "day-month" (ie: 4-12 ) "year-month-day" (ie: 2020-12-4)

We will need a second field called "hashtag prefix" which the user can specify the "text" part of the hastag (such as "incident-room" or "TeamA") which is then concatenated with the date format they've chosen from the dropdown.

They would be rendered as: "#TeamA-12-4" (assuming they chose the "month-day" option)

Somrthing like this: image

rahulsuresh-git commented 3 years ago

Got it, thanks! @hanzei Could you assign this issue to me? :)

hanzei commented 3 years ago

Sure. Thanks for working on this @icy-meteor :+1: