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

Club announcements #1724

Merged
merged 42 commits into from
Oct 6, 2024
Merged

Club announcements #1724

merged 42 commits into from
Oct 6, 2024

Conversation

JasonGrace2282
Copy link
Member

Supersedes #1647

@shrysjain
Copy link
Member

shrysjain commented Oct 2, 2024

Copying over the to-do list

  • Archive club announcements
  • Search club announcements
  • Restrict subscriptions for restricted activities to only those on the authorized list
  • Force club sponsors to be subscribed to announcements
  • Rewrite intranet/apps/eighth/views/activities.py, lines 60-64 and intranet/templates/eighth/take_attendance.html, line 500 to allow both the eighth activity sponsors and the club announcements sponsors to edit settings
  • Apparently add tests along the way (unfortunate)
  • Remove the homecoming banner from the club announcements page
  • For this text on the request post page: "Want to post an announcement for your club's members? Submit a club announcement instead!" add it for club sponsors as well (currently only for club officers)
  • intranet/templates/dashboard/dashboard.html show the announcement banner to everyone (not just officers/sponsors)

@JasonGrace2282
Copy link
Member Author

JasonGrace2282 commented Oct 2, 2024

There's currently a bug where club announcements for non-subscribed users are not showing... I'm working on it now. EDIT: Fixed

Otherwise, @shrysjain, I finished the "archive view" (which is just a show all button). If you have any feedback on it just lmk.

Also adds typehints/docstrings to helper functions.
@JasonGrace2282
Copy link
Member Author

JasonGrace2282 commented Oct 4, 2024

With help from @UsernameDP a basic search feature is now complete.

@JasonGrace2282 JasonGrace2282 marked this pull request as ready for review October 5, 2024 05:31
@JasonGrace2282 JasonGrace2282 requested a review from a team as a code owner October 5, 2024 05:31
@alanzhu0 alanzhu0 force-pushed the club-announcements branch 2 times, most recently from b387769 to 92483f1 Compare October 5, 2024 06:22
@alanzhu0 alanzhu0 force-pushed the club-announcements branch from 92483f1 to f64049b Compare October 5, 2024 06:34
@alanzhu0 alanzhu0 merged commit 5fa219a into tjcsl:dev Oct 6, 2024
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants