BCStudentSoftwareDevTeam / BCStudentSoftwareDevTeam/cas

Usage of Monday vs. M vs. Mon

Open
#299 1 comment 0 reactions 0 assignees View on GitHub
bug minor
Dominant language
JavaScript
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

**[Original report](https://bitbucket.org/laborstudents/cas-flask/issue/299) by Scott Heggen (Bitbucket: [sheggen](https://bitbucket.org/sheggen), GitHub: [sheggen](https://github.com/sheggen)).**

----------------------------------------

We have inconsistent usage of the days field, and our mapping is not complete everywhere. It is now causing issues on the front page of CAS, where the graphs aren't displaying.

## Files affected:
- config.yaml
- timeline.js
- courseTimeline.py
- databaseInterface.py (function getCourseTimelineSchedules)

## Database tables affected:
- ScheduleDays

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the day-name mappings in config.yaml, timeline.js, courseTimeline.py, and databaseInterface.py, especially getCourseTimelineSchedules, then inspect the ScheduleDays table values. Trace the front-page timeline data flow and confirm that all supported day forms map consistently and the graphs display again.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
backend, database, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.