Open ghost opened 1 year ago
Moving this to text as we use the editor of the text app now. I like the idea of having a quick insert for things like the date or timestamp, however a button is probably too much as the menubar is already quite crowded.
We could think about adding this to the smart picker like notion does it:
@jancborchardt What do you think?
@jancborchardt @nimishavijay Reminder, UI expertise needed
Additional question would be if this is something that the smart picker should offer in general or just for text.
Additional question would be if this is something that the smart picker should offer in general or just for text.
I guess yes, we could have a picker for general date/time stuff.
Could that be an enh of the calendar app?
Also pulling in @szaimen here :)
I think it's a great idea to put it in the smart picker! And there could definitely be some integration with Calendar. ALong with whatever @datenangebot mentioned, there could also be an option to insert events using the smart picker, and in the future, create new events from the smart picker itself.
As a starting point, just inserting dates and times sounds good to me.
Notion allows you to only insert today or tomorrow. I think it's a great idea to have relative time ("tomorrow", "in one week", etc), but we should definitely include more options that just those. The dates/times will change as time passes. So if I write "Deadline for design fixes is in 3 days
" today, tomorrow it would be "Deadline for design fixes is in 2 days
"
Google docs has a datetime picker, which seems more like what I had in mind. Inserting a date/time like this could automatically change it to the timezone of the person viewing it as well (eg. I insert June 30 09:00 PST
, my colleagues in Berlin will view it as June 30 18:00 CEST
)
What do you think? looping in @nextcloud/designers as well :)
The proposal to do it similar to Notion sounds good to me as well! :)
Do we consider this useful as a smart picker feature in general (also for inserting in talk/mail) or just for writing documents? In the first case I'd move this to server which seems the best place for a generic picker like this. Inserting events would fit calendar, but might to be considered separate as it has implications on what data of an event is then visible to others.
@juliushaertl sounds useful as a general smart picker feature! :)
Personally, I'd like a simple calendar widget, where a given date can be selected, and then inserted in the format YYYY-MM-DD. The usecase is to set a publishing date in the front matter of a markdown file - this will be deployed to a site as a blog post. So users can simply move the cursor to the "Date: " section in the front matter and then select the day for it to be made live. For it to be usable, it's important to me that this just be treated as plain text, and not converted between date/time zones when others view it. The aim being just for user convenience than using their desktop calendar and typing it character by character in the required format.
Just a suggestion, if nextcloud doesn't already have an easy framework for selecting date-time formats in the UI, allowing the option for a given strftime-style format string might save some debate about all the different ways people inevitably might like to add dates and times.
NextCloud Notes is more than great... Thanks to all Contributors :-)
The Request: Is it Possible to add a TimeStamp Button !?