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

feat(accounts): implement birthday prop #39592

Closed
wants to merge 5 commits into from

Conversation

st3iny
Copy link
Member

@st3iny st3iny commented Jul 27, 2023

  • Resolves: #

Summary

cc @szaimen @JohannesGGE

TODO

  • bug: reloading does not show new and set birthday
  • other todo comments

Checklist

st3iny and others added 2 commits July 27, 2023 11:08
this.debouncePropertyChange(this.birthdayValue.toString())
},

debouncePropertyChange: debounce(async function(value) {
Copy link
Contributor

@szaimen szaimen Jul 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo: should not duplicate the debounce logic

Signed-off-by: Simon L <szaimen@e.mail.de>
@szaimen szaimen added the 2. developing Work in progress label Jul 27, 2023
@szaimen szaimen added this to the Nextcloud 28 milestone Jul 27, 2023
$this->setupSystemCalendarProvider($cm);
}

public function setupSystemCalendarProvider(IManager $cm) {

Check notice

Code scanning / Psalm

MissingReturnType Note

Method OCA\DAV\CalDAV\CalendarManager::setupSystemCalendarProvider does not have a return type, expecting void
@szaimen
Copy link
Contributor

szaimen commented Jul 27, 2023

Unfortunately Richard and me did not succeed in publishing the birthday calendar to the calendar app yet.

There are two ways how this could be accomplished in theory that we thought about:

  1. Making the system birthday calendar publicly available by sharing it with each user and rewriting the whole logic around the personal birthday calendar in order to merge it into the system birthday calendar
  2. Making the system birthday calendar available by sharing it with each user and couple it in the frontend to the personal birthday calendar and always hide it from the list - so that if the birthday calendar gets deactived, the system birthday calendar also get disabled hidden which is probably the best solution to the problem.

@tcitworld
Copy link
Member

  1. looks the best one…until you get some user that wants their personal birthday calendar but not the system birthday calendar

Another (more complex) possibility is to have something like nextcloud/calendar#4453. You would manually pick addressbooks you want to consider for the birthday calendar, including the system one.

@st3iny
Copy link
Member Author

st3iny commented Jul 28, 2023

Yeah, well that would be a great extension. The complexity of the second option is already high enough for my liking. We will try to have another look at the feature if time permits.

@skjnldsv skjnldsv mentioned this pull request Nov 1, 2023
This was referenced Nov 6, 2023
This was referenced Nov 14, 2023
@blizzz blizzz modified the milestones: Nextcloud 28, Nextcloud 29 Nov 23, 2023
This was referenced Mar 12, 2024
@Altahrim Altahrim mentioned this pull request Mar 20, 2024
@skjnldsv skjnldsv modified the milestones: Nextcloud 29, Nextcloud 30 Mar 28, 2024
@st3iny st3iny removed this from the Nextcloud 30 milestone Jun 3, 2024
@szaimen
Copy link
Contributor

szaimen commented Jun 3, 2024

I guess this can be closed now that #45512 was merged?

@st3iny
Copy link
Member Author

st3iny commented Jun 3, 2024

True. Your and Thomas' comment from earlier are worthy of archiving if anyone ever picks up the birthday calendar feature again.

@st3iny st3iny closed this Jun 3, 2024
@szaimen szaimen deleted the feat/account/add-birthday-prop branch June 3, 2024 07:43
@aurisnoctis
Copy link

True. Your and Thomas' comment from earlier are worthy of archiving if anyone ever picks up the birthday calendar feature again.

Does this mean that #45512 does not cover integrating the birthdays into a calendar that everyone can see / subscribe to?

@st3iny
Copy link
Member Author

st3iny commented Aug 22, 2024

Yes, there is currently no system-wide birthday calendar for users. This is very hard to implement correctly and the reasons are stated above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants