Skip to content

[Feature:InstructorUI] Add file submission to notebook builder#13002

Merged
bmcutler merged 24 commits into
mainfrom
notebook-file-submission
Jul 8, 2026
Merged

[Feature:InstructorUI] Add file submission to notebook builder#13002
bmcutler merged 24 commits into
mainfrom
notebook-file-submission

Conversation

@dagemcn

@dagemcn dagemcn commented Jul 3, 2026

Copy link
Copy Markdown
Member

Why is this Change Important & Necessary?

Closes Issue#12676

What is the New Behavior?

After the changes:
image
Prior there was no file submission button.

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

  1. Create a new greadeable
  2. Fill in the title, URL, and ID
  3. Select Students will submit one or more files by direct upload to the Submitty website
  4. Select no for the other two options that appear
  5. Create the new gradeable
  6. Scroll down to the notebook builder section and click create new
  7. Verify that there is an option present for file submission
  8. Insert a file submission module
  9. Save the notebook
  10. Verify that you can submit to the notebook gradeable and that the file you submitted appears in the directory you specified

Automated Testing & Documentation

This feature is not tested by Cypress.

Other information

This is not a breaking change.
There is no migration in this PR.
There are no known security concerns with this PR.

@github-project-automation github-project-automation Bot moved this to Seeking Reviewer in Submitty Development Jul 3, 2026
@automateprojectmangement automateprojectmangement Bot moved this from Seeking Reviewer to Work in Progress in Submitty Development Jul 3, 2026
@codecov

codecov Bot commented Jul 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 57 lines in your changes missing coverage. Please review.
✅ Project coverage is 21.25%. Comparing base (8876fc3) to head (19f5ccf).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main   #13002      +/-   ##
============================================
- Coverage     21.28%   21.25%   -0.03%     
- Complexity    10080    10093      +13     
============================================
  Files           278      278              
  Lines         37726    37778      +52     
  Branches        516      516              
============================================
  Hits           8031     8031              
- Misses        29192    29244      +52     
  Partials        503      503              
Flag Coverage Δ
autograder 21.16% <ø> (ø)
js 1.98% <ø> (ø)
migrator 100.00% <ø> (ø)
php 20.16% <0.00%> (-0.04%) ⬇️
python_submitty_utils 79.83% <ø> (ø)
submitty_daemon_jobs 91.13% <ø> (ø)
vue 100.00% <ø> (ø)

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.

@dagemcn dagemcn changed the title Notebook file submission [Feature:InstructorUI] Add file submission to notebook builder Jul 3, 2026
@dagemcn
dagemcn marked this pull request as ready for review July 6, 2026 13:11
@automateprojectmangement automateprojectmangement Bot moved this from Work in Progress to Seeking Reviewer in Submitty Development Jul 6, 2026

@mattLif mattLif 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 by creating a notebook for a gradeable with a file submission cell saving submissions to a folder called "problem_1." After submitting, I verified the submitted files were saved to the specified directory:
Image
Code looks good as well. I also observed the triple file bug that was mentioned in the PR's description. I'm approving.

@github-project-automation github-project-automation Bot moved this from Seeking Reviewer to Awaiting Maintainer Review in Submitty Development Jul 7, 2026

@bmcutler bmcutler left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are you verifying that each directory is unique? I see that you have it in the instructions, but I don't see it being checked for in the code. (I might have missed it.)

@bmcutler
bmcutler merged commit 717016a into main Jul 8, 2026
28 checks passed
@github-project-automation github-project-automation Bot moved this from Awaiting Maintainer Review to Done in Submitty Development Jul 8, 2026
@bmcutler
bmcutler deleted the notebook-file-submission branch July 8, 2026 21:37
parthrajsinghbhati pushed a commit to parthrajsinghbhati/Submitty that referenced this pull request Jul 10, 2026
…tty#13002)

### Why is this Change Important & Necessary?
Closes [Issue#12676](Submitty#12676)

### What is the New Behavior?
After the changes:
<img width="2760" height="702" alt="image"
src="https://github.com/user-attachments/assets/a7b44c3f-533a-42f1-b45a-4757c0acb1f7"
/>
Prior there was no file submission button.

### What steps should a reviewer take to reproduce or test the bug or
new feature?
1. Create a new greadeable
2. Fill in the title, URL, and ID
3. Select `Students will submit one or more files by direct upload to
the Submitty website`
4. Select no for the other two options that appear
5. Create the new gradeable
6. Scroll down to the notebook builder section and click create new
7. Verify that there is an option present for file submission
8. Insert a file submission module
9. Save the notebook
10. Verify that you can submit to the notebook gradeable and that the
file you submitted appears in the directory you specified

### Automated Testing & Documentation
This feature is not tested by Cypress.

### Other information
This is not a breaking change.
There is no migration in this PR.
There are no known security concerns with this PR.
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.

Notebook Builder does not expose file_submission notebook cells

3 participants