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

Changed name dinsdag kring and remove woensdag kring #438

Open
wants to merge 9 commits into
base: staging
Choose a base branch
from

Conversation

lodewiges
Copy link
Contributor

@lodewiges lodewiges commented Oct 14, 2024

required for csvalpha/amber-ui#885, they depend on eachother

fixes #437

merging this PR has a high risk off breaking all icalender links

still needs testing, this needs to be done on staging

note to self: most likely migration needs to be updated

@lodewiges lodewiges linked an issue Oct 14, 2024 that may be closed by this pull request
@lodewiges lodewiges marked this pull request as draft October 14, 2024 17:25
@lodewiges lodewiges self-assigned this Oct 14, 2024
Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.92%. Comparing base (1bfe253) to head (e5cf8ff).

Additional details and impacted files
@@           Coverage Diff            @@
##           staging     #438   +/-   ##
========================================
  Coverage    99.92%   99.92%           
========================================
  Files          203      203           
  Lines         2714     2714           
========================================
  Hits          2712     2712           
  Misses           2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lodewiges lodewiges changed the title changed name dinsdag kring and remove woensdag kring Changed name dinsdag kring and remove woensdag kring Nov 13, 2024
@lodewiges
Copy link
Contributor Author

This PR will need to be merged at the same time the accompanying pr on amber/ui is getting merged. I could also be writen in such a way that there is no need for this however this requires 2 PR and manual changing all activities instead of using a migration

@DrumsnChocolate
Copy link
Contributor

DrumsnChocolate commented Nov 21, 2024

I think you need to write csvalpha/amber-ui#876 rather than https://github.com/csvalpha/amber-ui/#876

but on top of that, you probably meant csvalpha/amber-ui#885 instead.

merging this PR has a high risk off breaking all icalender links

That sounds like a not so amazing outcome if that happens. I have not taken the time to determine how the ical links work, so I will postpone reviewing this PR until I have the time and energy to figure that out

@lodewiges
Copy link
Contributor Author

lodewiges commented Nov 21, 2024

I think you need to write csvalpha/amber-ui#876 rather than https://github.com/csvalpha/amber-ui/#876

but on top of that, you probably meant csvalpha/amber-ui#885 instead.

merging this PR has a high risk off breaking all icalender links

That sounds like a not so amazing outcome if that happens. I have not taken the time to determine how the ical links work, so I will postpone reviewing this PR until I have the time and energy to figure that out

https://csvalpha.nl/ical/activities?key=privatestuff&user_id=1&categories=algemeen,societeit,vorming,dinsdagkring,woensdagkring,choose,ifes,ozon,disputen,kiemgroepen,huizen,extern,eerstejaars,curiositates

This is an example link from icalender feature on the site you can see the "dinsdagkring,woensdagkring" part of the link, this will be replaced by "kring" with this PR. This is because the names in the link correspond with the names your able to select. This is why most likely all links are going to break.

I personally think that we should notify all members in advance and update it.

@lodewiges
Copy link
Contributor Author

I think you need to write csvalpha/amber-ui#876 rather than https://github.com/csvalpha/amber-ui/#876

but on top of that, you probably meant csvalpha/amber-ui#885 instead.

merging this PR has a high risk off breaking all icalender links

That sounds like a not so amazing outcome if that happens. I have not taken the time to determine how the ical links work, so I will postpone reviewing this PR until I have the time and energy to figure that out

bump?

@lodewiges
Copy link
Contributor Author

okay, so i did some more research this will not break all links, if people dont update the link. the only affect is that kring doesnt showup anymore

@DrumsnChocolate
Copy link
Contributor

DrumsnChocolate commented Jan 19, 2025

I personally think that we should notify all members in advance and update it.

I agree.

okay, so i did some more research this will not break all links, if people dont update the link. the only affect is that kring doesnt showup anymore

That's good to hear. But it's still important to notify people.

This whole thing makes me wonder: is there an easy way to prevent people from having to update their ical links everytime we change a category? Ideally, we would have a situation where we give the user a single link, https://csvalpha.nl/ical/activities?key=privatestuff&user_id=1
And then based on user_id we identify the user and then simply query their calendar settings from our database. We would need to add a place to store this information, but I think it would be much neater since we would never have to ask a user to update their ical links again!

@DrumsnChocolate
Copy link
Contributor

we would never have to ask a user to update their ical links again!

In fact, we would even be able to leave the current ical links as they are; simply ignore the categories parameter and only use the user_id

@lodewiges
Copy link
Contributor Author

you are correct it would be the best option, i think we should made a issue so we can do this in the future

@DrumsnChocolate
Copy link
Contributor

you are correct it would be the best option, i think we should made a issue so we can do this in the future

made one: #483

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

Successfully merging this pull request may close these issues.

cleaning up alpha agenda option
2 participants