Skip to content
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

Ability to insert current time #4043

Open
ghost opened this issue Apr 12, 2023 · 10 comments
Open

Ability to insert current time #4043

ghost opened this issue Apr 12, 2023 · 10 comments
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Apr 12, 2023

NextCloud Notes is more than great...
Thanks to all Contributors :-)

The Request:
Is it Possible to add a TimeStamp Button !?

@juliusknorr
Copy link
Member

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:
Screenshot 2023-04-13 at 08 59 53

@jancborchardt What do you think?

@juliusknorr juliusknorr transferred this issue from nextcloud/notes Apr 13, 2023
@juliusknorr juliusknorr added the enhancement New feature or request label Apr 13, 2023
@datenangebot
Copy link

@jancborchardt @nimishavijay Reminder, UI expertise needed

@juliusknorr
Copy link
Member

Additional question would be if this is something that the smart picker should offer in general or just for text.

@datenangebot
Copy link

datenangebot commented Jun 22, 2023

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.

  • Get actual date and or time (cw, month, day of week, ...)
  • Calculate timezone differences
  • Get actual time for another timezone
  • Show a live clock
  • Show a live clock for fixed timezone
  • Show a live countdown

Could that be an enh of the calendar app?

@juliusknorr
Copy link
Member

Also pulling in @szaimen here :)

@nimishavijay
Copy link
Member

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)

image

What do you think? looping in @nextcloud/designers as well :)

@jancborchardt
Copy link
Member

The proposal to do it similar to Notion sounds good to me as well! :)

@juliusknorr
Copy link
Member

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.

@jancborchardt
Copy link
Member

@juliushaertl sounds useful as a general smart picker feature! :)

@jancborchardt jancborchardt changed the title TimeStamp Ability to insert timestamp Aug 1, 2023
@jancborchardt jancborchardt changed the title Ability to insert timestamp Ability to insert current time Aug 1, 2023
@stellarpower
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants