Remove legacy layuplist web apps and functions#53
Merged
Conversation
A-lexisL
approved these changes
May 22, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Removes legacy Layup List Django web UI/analytics/recommendations code paths and related crawler utilities, while updating Django’s STATIC_URL configuration.
Changes:
- Update Django
STATIC_URLfrom a dummy value to/static/. - Delete legacy Django templates for auth/base/navbar/footer and legacy spider “crawled data” pages.
- Remove legacy analytics + recommendations apps (views/models/tasks/migrations) and legacy crawler modules (timetable/medians) plus
lib/task_utils.py.
Reviewed changes
Copilot reviewed 33 out of 36 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| website/settings.py | Updates STATIC_URL configuration. |
| lib/task_utils.py | Removes legacy Celery task failure-email helper. |
| apps/web/templates/signup.html | Removes legacy signup page template. |
| apps/web/templates/password_reset_form.html | Removes legacy password reset form template. |
| apps/web/templates/password_reset_email.html | Removes legacy password reset email template. |
| apps/web/templates/password_reset_done.html | Removes legacy password reset “done” template. |
| apps/web/templates/password_reset_confirm.html | Removes legacy password reset confirm template. |
| apps/web/templates/password_reset_complete.html | Removes legacy password reset complete template. |
| apps/web/templates/navbar.html | Removes legacy navbar template. |
| apps/web/templates/logout.html | Removes legacy logout page template. |
| apps/web/templates/login.html | Removes legacy login page template. |
| apps/web/templates/instructions.html | Removes legacy registration instructions template. |
| apps/web/templates/footer.html | Removes legacy footer template. |
| apps/web/templates/confirmation.html | Removes legacy email confirmation template. |
| apps/web/templates/base.html | Removes legacy base layout template. |
| apps/spider/templates/crawled_data_list.html | Removes spider crawled-data list UI template. |
| apps/spider/templates/crawled_data_detail.html | Removes spider crawled-data detail UI template. |
| apps/spider/crawlers/timetable.py | Removes legacy timetable crawler/importer. |
| apps/spider/crawlers/orc.py | Cleans up legacy commented-out constants/sample return code. |
| apps/spider/crawlers/medians.py | Removes legacy medians crawler/importer. |
| apps/recommendations/views.py | Removes legacy recommendations view. |
| apps/recommendations/templates/recommendations.html | Removes legacy recommendations template. |
| apps/recommendations/tasks.py | Removes legacy recommendation-generation Celery task. |
| apps/recommendations/models.py | Removes legacy Recommendation model + manager. |
| apps/recommendations/migrations/0001_initial.py | Removes initial migration for recommendations app. |
| apps/recommendations/admin.py | Removes admin registration for recommendations. |
| apps/analytics/views.py | Removes legacy analytics dashboard views. |
| apps/analytics/templates/sentiment_labeler.html | Removes legacy sentiment labeler template. |
| apps/analytics/templates/eligible_for_recommendations.html | Removes legacy “eligible users” template. |
| apps/analytics/templates/dashboard.html | Removes legacy analytics dashboard template. |
| apps/analytics/templates/analytics_email.txt | Removes legacy analytics email template. |
| apps/analytics/tasks.py | Removes legacy analytics Celery tasks. |
| apps/analytics/forms.py | Removes legacy manual sentiment labeling form. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ] | ||
|
|
||
| STATIC_URL = "/dummy/" # Required by Django staticfiles but not used in this setup | ||
| STATIC_URL = "/static/" # Required by Django staticfiles but not used in this setup |
| ] | ||
|
|
||
| STATIC_URL = "/dummy/" # Required by Django staticfiles but not used in this setup | ||
| STATIC_URL = "/static/" # Required by Django staticfiles but not used in this setup |
| ] | ||
|
|
||
| STATIC_URL = "/dummy/" # Required by Django staticfiles but not used in this setup | ||
| STATIC_URL = "/static/" # Required by Django staticfiles but not used in this setup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.