-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
📣 Set reminder: file/folder #39181
Comments
@jancborchardt can you or one of the designers specific how this should be implemented? Like where would the reminder option be located, which options would be offer? |
@nimishavijay this is very related to "snooze mails", do you want to specify both together? :) |
We should simply put it in the 3-dot menu in files. Between "Move or copy" and "Edit locally" would be a good position. The label is "Set a reminder" and it would open a submenu like we do for "More actions" in Mail.
We could do it like Gmail which is sort of a standard: Then at the specified time you would get a Nextcloud notification. If it is a shared file, still only the person who set a reminder should get a notification. Things out of scope for now:
cc @nimishavijay to coordinate for the options we would have in Mail and other apps for this. |
@Pytal if you have any design questions please get in touch with @jancborchardt or @nimishavijay. @jancborchardt and @nimishavijay I took the liberty to summarize things in the issue description and also spec how the notification should look like and behave. |
For consistency alongside nextcloud/spreed#10075 will we be labelling these as "Set a reminder" or "Remind later" @jancborchardt? |
@Pytal @nickvergessen for consistency let’s call it "Set reminder" in both cases. We don’t use "me" anywhere in the interface, and "Set reminder" is a simple common expression and call to action. :) |
Any icon changes needed @jancborchardt @nimishavijay ? |
As we started to discuss it here:
|
yes of course, just use the existing methods we have (nextcloud-moment) |
see #39181 (comment)
Nice idea, yet it get complicated, what if I open the menu 2,5h after the time slot? I would vote to keep it simple and just hide options that lie in the past, which can only happen for "Later today". What do you think @jancborchardt @nimishavijay |
That’s what I have done right now on iOS. If we are >= 6pm the today option is not visible. Please also see nextcloud/talk-ios#1313 (comment) regarding the naming, since I think „This weekend“ is highly confusing depending on which day I am opening the menu (what happens when doing this on Saturday?). Or „Next week“ might be confusing on a Sunday, especially if it’s a region where starting of the week is on Sunday. |
It should be possible to get and use first day of week from NC Locale for |
There are probably ways, yes. But most likely the user does not want to be reminded on a Sunday. I would still prefer to be explicit about it and use „Next Monday“ and „Next Saturday“ |
"Next week" isn't confusing (see screenshots) since it also shows the exact time (Mon, 8:00 AM) for example. So "Monday" is already in. "This weekend" would then also be hidden applying the rule also @SystemKeeper mentioned, if Saturday past 8:00 AM, hide the option. |
Nice! I would suggest to use the alarm icon for "Set reminder". For the time options, since they are simply communicating different times, we could keep it simple and use radio buttons like in Mail? That would also make it easy for the "Clear reminder" option -- no need to mention the time. Would that be possible? :)
I can see a use case where someone is at work and wants to remind themselves of a personal file after they get back. How about a solution between always showing +2h and always hiding after 18:00? Logic:
@AndyScherzinger would that be a more simple solution? :) also cc @jancborchardt |
👍
💡 realized that the radio button model wouldn't actually work here because the computed timestamps are dynamically calculated by time from now while the set reminder is static
As this is still being discussed could we have a spec for the reminder times and all edge cases to ensure consistency across implementations @jancborchardt @nimishavijay? |
Currently, we have no existing support or API for this @jancborchardt Can you provide a viable alternative that doesn't involve creating a multi-layer Actions menu please? EDIT: I'm trying to avoid going too technical here. But my technical expertise opinion is that we should not have any kind of submenu in the actions. They are not working nor have been designed like that. |
@Pytal regarding times, we should pick the exact ones that Google is using since it’s sort of a standard – see screenshot in the first post #39181 (comment) |
Notes from the call with @skjnldsv @Antreesy @JohannesGGE @nickvergessen @ChristophWurst @nimishavijay Spec clarifications
Known issues to fix in the future
|
Last clarification @Pytal @Antreesy @JohannesGGE, just tested what Gmail does about the "Later today" (default 18:00) and they seem to just hide it when it’s in less than 1 hour (screenshot is from just now, 17:15). Seems simple enough, let’s do that too. |
And we hide "Next week" on Sunday because it's the same as "Tomorrow", right? |
And maybe on Saturday as well? |
No, but "This weekend" on friday |
Some locales say the week starts with Sunday. Do we then hide it on Saturday already and also use Sunday for Next week? |
@nickvergessen yes, hiding "Next week" on Sunday sounds good. @ChristophWurst the issue is that doing it based on locale also means "Next week has to be adjusted based on locale. If it's reasonably easy to do then yes let's do it, otherwise out of scope. |
It may be not that hard, but "First day of week" is not the same as "First working day of week". I suppose, we're meaning the second option for the next week reminder? |
Tasks
Add ability to set reminders for a file/folder resulting in a notification pointing to the item at the chosen time, see example GMail:
#39181 (comment)
For a first iteration of the feature we only implement the fixed options, no option to pick an individual time.
For scheduling a notification please check Deck / @juliushaertl since Deck can already send notification for Deck cards when you hit their due date.
The notification should simply be "Reminder for {file-name or folder-name}" with the placeholder being bold + a action button "View file" or "View folder" that brings you directly to the file/folder in the files view (like the "View chat" does for notifications when being mentioned in a Talk room giving you an easy way to navigate there.
The text was updated successfully, but these errors were encountered: