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

chore: remove deprecated schedule model, views, page, ...etc #1132

Merged
merged 17 commits into from
Apr 24, 2024

Conversation

mattwang44
Copy link
Member

@mattwang44 mattwang44 commented Mar 15, 2023

Types of changes

  • Bugfix
  • New feature
  • Refactoring
  • Breaking change (any change that would cause existing functionality to not work as expected)
  • Documentation Update
  • Other (please describe)

Description

Before 2021, we used to have a schedule model storing the generated HTML code of schedule data, and being displayed on the schedule page. However, this behavior has been deprecated after we created the brand new front-end project in 2021.

Note that I only deleted/modified templates and statics from the 2023 code.

Steps to Test This Pull Request

  • Go to django admin
  • Should not see schedule model

Expected behavior

  • All currently active behavior should remain unaffected.
  • Deprecated schedule-related behaviors are not functioning anymore.

@mattwang44 mattwang44 force-pushed the rm-schedule-model-and-views branch 5 times, most recently from e417987 to 6acba73 Compare March 15, 2023 14:58
@mattwang44 mattwang44 marked this pull request as ready for review March 15, 2023 15:03
@mattwang44 mattwang44 requested a review from josix March 15, 2023 15:05
@pycontw pycontw deleted a comment from codecov-commenter Mar 16, 2023
@codecov-commenter
Copy link

codecov-commenter commented Mar 16, 2023

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 73.16%. Comparing base (fca6fd2) to head (134b60e).
Report is 1 commits behind head on master.

Files Patch % Lines
src/events/views.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1132      +/-   ##
==========================================
+ Coverage   71.19%   73.16%   +1.96%     
==========================================
  Files          84       83       -1     
  Lines        3451     3115     -336     
==========================================
- Hits         2457     2279     -178     
+ Misses        994      836     -158     

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

@josix josix requested a review from erik1110 April 8, 2023 02:32
@mattwang44
Copy link
Member Author

@erik1110
any progress here?

@mattwang44
Copy link
Member Author

rebased

@mattwang44
Copy link
Member Author

Please let me know if this refactoring PR is either unwanted or still wanted. I wouldn't take any further action for now as it has been forgotten for quite a long time....

@josix josix force-pushed the rm-schedule-model-and-views branch from 58f179e to 4bdb64d Compare April 5, 2024 10:40
Copy link
Collaborator

@josix josix left a comment

Choose a reason for hiding this comment

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

LGTM for removing the schedule related legacy code. Let me resolve the conflicts so that we could continue to merge it.

@josix josix requested a review from SivanYeh April 7, 2024 19:48
@mattwang44 mattwang44 force-pushed the rm-schedule-model-and-views branch 3 times, most recently from 8f1a768 to 88b87eb Compare April 15, 2024 09:09
@mattwang44
Copy link
Member Author

rebased

@mattwang44 mattwang44 merged commit 6fb264f into master Apr 24, 2024
2 of 3 checks passed
@mattwang44 mattwang44 deleted the rm-schedule-model-and-views branch April 24, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants