Skip to content

[Bugfix:InstructorUI] Always show correct calendar view#12606

Merged
bmcutler merged 1 commit into
Submitty:mainfrom
SkyBlue43:Calendar-View-Modifications
Mar 27, 2026
Merged

[Bugfix:InstructorUI] Always show correct calendar view#12606
bmcutler merged 1 commit into
Submitty:mainfrom
SkyBlue43:Calendar-View-Modifications

Conversation

@SkyBlue43

Copy link
Copy Markdown
Contributor

Why is this Change Important & Necessary?

Fixes #12605

  • A user can correctly see any calendar view

What is the New Behavior?

Old Behavior:
Screenshot 2026-03-16 at 10 04 48 PM

New Behavior:
Screenshot 2026-03-18 at 8 45 30 PM

What steps should a reviewer take to reproduce or test the bug or new feature?

  1. Open the web app in any browser
  2. Log in as any user and go to the calendar tab
  3. Click on the month button in the top right and switch to any view
  4. Should correctly display now

Automated Testing & Documentation

-Small change

Other information

NA

@codecov

codecov Bot commented Mar 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 21.66%. Comparing base (64774d8) to head (444e9d7).
⚠️ Report is 22 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #12606   +/-   ##
=========================================
  Coverage     21.66%   21.66%           
+ Complexity     9638     9637    -1     
=========================================
  Files           268      268           
  Lines         36223    36222    -1     
  Branches        486      487    +1     
=========================================
  Hits           7847     7847           
+ Misses        27894    27892    -2     
- Partials        482      483    +1     
Flag Coverage Δ
autograder 21.32% <ø> (ø)
js 2.04% <ø> (-0.01%) ⬇️
migrator 100.00% <ø> (ø)
php 20.68% <ø> (+<0.01%) ⬆️
python_submitty_utils 80.08% <ø> (ø)
submitty_daemon_jobs 91.13% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Eli-J-Schwartz Eli-J-Schwartz changed the title [Bug Fix: InstructorUI] Updated calendar view to always show correct view [Bugfix:InstructorUI] Updated calendar view to always show correct view Mar 24, 2026
@Eli-J-Schwartz Eli-J-Schwartz changed the title [Bugfix:InstructorUI] Updated calendar view to always show correct view [Bugfix:InstructorUI] Always show correct calendar view Mar 24, 2026

@Eli-J-Schwartz Eli-J-Schwartz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I tested the functionality, and this change works completely. See the original PR for example screenshots. The code change is very simple, and looks like it works properly. The only failing test is a known issue in the main branch, and is unrelated to this PR.

@github-project-automation github-project-automation Bot moved this from Seeking Reviewer to Awaiting Maintainer Review in Submitty Development Mar 24, 2026
@Eli-J-Schwartz Eli-J-Schwartz self-assigned this Mar 24, 2026
@bmcutler
bmcutler merged commit 9e1a364 into Submitty:main Mar 27, 2026
26 of 30 checks passed
GarvitKhandelwal31 pushed a commit to GarvitKhandelwal31/Submitty that referenced this pull request Mar 29, 2026
### Why is this Change Important & Necessary?
Fixes Submitty#12605 
- A user can correctly see any calendar view

### What is the New Behavior?
Old Behavior:
<img width="1710" height="1107" alt="Screenshot 2026-03-16 at 10 04
48 PM"
src="https://github.com/user-attachments/assets/c6142efd-ebd2-4d09-8243-f6f17cac3dac"
/>

New Behavior:
<img width="1710" height="1107" alt="Screenshot 2026-03-18 at 8 45
30 PM"
src="https://github.com/user-attachments/assets/112ac015-6295-48fd-ac65-22486a1576b7"
/>

### What steps should a reviewer take to reproduce or test the bug or
new feature?
1. Open the web app in any browser
2. Log in as any user and go to the calendar tab
3. Click on the month button in the top right and switch to any view
4. Should correctly display now

### Automated Testing & Documentation
-Small change

### Other information
NA

Co-authored-by: Skyler <[email protected]>
GarvitKhandelwal31 pushed a commit to GarvitKhandelwal31/Submitty that referenced this pull request Apr 14, 2026
### Why is this Change Important & Necessary?
Fixes Submitty#12605 
- A user can correctly see any calendar view

### What is the New Behavior?
Old Behavior:
<img width="1710" height="1107" alt="Screenshot 2026-03-16 at 10 04
48 PM"
src="https://github.com/user-attachments/assets/c6142efd-ebd2-4d09-8243-f6f17cac3dac"
/>

New Behavior:
<img width="1710" height="1107" alt="Screenshot 2026-03-18 at 8 45
30 PM"
src="https://github.com/user-attachments/assets/112ac015-6295-48fd-ac65-22486a1576b7"
/>

### What steps should a reviewer take to reproduce or test the bug or
new feature?
1. Open the web app in any browser
2. Log in as any user and go to the calendar tab
3. Click on the month button in the top right and switch to any view
4. Should correctly display now

### Automated Testing & Documentation
-Small change

### Other information
NA

Co-authored-by: Skyler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[BUG] Unable to fully see calendar when switching views

3 participants