Skip to content

Billing fixes and assignment export data updates#415

Merged
shajason merged 7 commits intomasterfrom
misc
Oct 16, 2025
Merged

Billing fixes and assignment export data updates#415
shajason merged 7 commits intomasterfrom
misc

Conversation

@shajason
Copy link
Collaborator

@shajason shajason commented Oct 15, 2025

Hold off on completing the code review until I see what coderabbit says.

Summary by CodeRabbit

  • New Features

    • Assignment CSV expanded with behavioral insights plus many new student and per-assessment fields.
    • Added guide for an Upload File button to collect files into folders.
  • Documentation

    • Renamed “Export Assignment Data” to “Assignment Data”; added image, streamlined Download CSV steps, and 6‑month retention note.
    • Inserted an October 14 changelog entry; standardized headings, numbering, capitalization, and links.
    • Clarified SDK vs curl notes for custom LLM providers; improved markdown/code block and image formatting guidance.
  • Chores

    • Added preview URL template and new review workflow flags.

@coderabbitai
Copy link

coderabbitai bot commented Oct 15, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Documentation updates across instructor guides: reorganized org billing/bookstore text, expanded and renamed assignment-export docs with many new CSV fields (including behavioral insights), added an Upload File button guide, LLMS SDK notes, Markdown formatting fixes, and small CI/preview config additions.

Changes

Cohort / File(s) Summary of changes
Org billing / Bookstore docs
source/instructors/admin/orgbilling.rst
Renumbered steps (4→3, 5→4, 6→5); replaced numbered headings with underlined titles; fixed capitalization/hyphenation (e.g., “PDF letter”, “course-specific”); updated an internal anchor and minor phrasing/formatting tweaks.
Changelog
source/instructors/getstarted/support/changelog.rst
Inserted an Oct 14 entry announcing behavioral insights in the assignment CSV (uses “CSV”); reordered adjacent October entries.
Assignment actions / cross-ref
source/instructors/setupcourses/assignment-settings/assignment-actions.rst
Updated cross-reference label to :ref:Assignment Data <export-assignment> and adjusted punctuation/wording in the Download CSV reference.
Assignment data / CSV expansion
source/instructors/setupcourses/export-assignment-data.rst
Retitled section to “Assignment Data”; added illustrative image; changed workflow wording to “Download CSV”; substantially expanded CSV schema (many student-level fields, timestamps, LTI ID, multiple grade/points fields, behavioral insights) and added per-assessment fields (<Assessment>_Correct, _Answer, _Attempts); added an “Export Assignment Data” subsection and 6‑month retention note.
LLMs notes
source/instructors/admin/organization/llms.rst
Added note blocks after curl examples clarifying SDKs may expect standard env vars (e.g., OPENAI_BASE_URL, OPENAI_API_KEY) while curl can use custom names.
Authoring — Upload File button
source/instructors/authoring/guides/custom_button.rst
Added “Creating an Upload File Button” section: describes multi-file collection behavior, automatic folder creation, ribbon and markdown shorthand usage (`{Upload
Authoring — Markdown guidance
source/instructors/authoring/guides/markdown_content.rst
Normalized code-block and image formatting: replaced inline triple-backtick examples with reST code directives, adjusted spacing/indentation, and standardized collapsible content examples.
Repo config — review settings
.coderabbit.yaml
Added review flags under reviews: sequence_diagrams: false and finishing_touches:\n unit_tests:\n enabled: false.
Codio preview template
.codio
Added a new Preview entry under preview with URL template https://{{domain}}/build/html/{{path}}/{{filename_no_ext}}.html.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

  • Adding CodeRabbit #400 — Changes to .coderabbit.yaml review configuration; directly related to added review flags.
  • Accesscodes #414 — Overlapping edits to source/instructors/admin/orgbilling.rst (Bookstore/ordering/license wording and ISBN/access-code details).

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The PR title "Billing fixes and assignment export data updates" accurately reflects two major components of this changeset: the reorganization and documentation updates in orgbilling.rst and the significant expansion of assignment export functionality in export-assignment-data.rst with new CSV fields. However, the changeset also includes several other updates not captured by the title, such as configuration changes in .coderabbit.yaml and .codio, new documentation for LLM environment variables, a new custom button feature section, and markdown formatting improvements. While the title is factually accurate for what it describes, it provides an incomplete picture of the full scope of changes in this pull request.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ea45269 and 6db80e4.

📒 Files selected for processing (4)
  • .coderabbit.yaml (2 hunks)
  • source/instructors/admin/organization/llms.rst (2 hunks)
  • source/instructors/authoring/guides/custom_button.rst (1 hunks)
  • source/instructors/authoring/guides/markdown_content.rst (5 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
source/instructors/admin/orgbilling.rst (1)

67-84: Fix heading capitalization

Please capitalize “Requirements” in the heading so it follows the title-case style used in the rest of the document.

-Determining License requirements
---------------------------------
+Determining License Requirements
+--------------------------------
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ee408f3 and d8259e9.

⛔ Files ignored due to path filters (1)
  • source/img/class_administration/grading/assignmentdata.png is excluded by !**/*.png, !**/*.png
📒 Files selected for processing (4)
  • source/instructors/admin/orgbilling.rst (4 hunks)
  • source/instructors/getstarted/support/changelog.rst (1 hunks)
  • source/instructors/setupcourses/assignment-settings/assignment-actions.rst (1 hunks)
  • source/instructors/setupcourses/export-assignment-data.rst (3 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.rst

⚙️ CodeRabbit configuration file

**/*.rst: Review files for:

  • Consistent formatting (e.g., headings, lists, links).
  • Clear and concise language.
  • Correct grammar and spelling.
  • Proper use of rst syntax (e.g., avoid broken links or invalid code blocks).
  • Adherence to style guides (e.g., consistent tone, terminology).
    Suggest improvements to enhance readability and accessibility.

Files:

  • source/instructors/getstarted/support/changelog.rst
  • source/instructors/admin/orgbilling.rst
  • source/instructors/setupcourses/assignment-settings/assignment-actions.rst
  • source/instructors/setupcourses/export-assignment-data.rst

jairovelasquez
jairovelasquez previously approved these changes Oct 16, 2025
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (3)
source/instructors/setupcourses/export-assignment-data.rst (3)

43-44: Clarify and capitalize the behavioral insights bullet.
Every list entry starts with a capitalized label, but “behavioral insights” is lowercase and the explanatory sentence is bolted onto the same line, which reads awkwardly. Please capitalize the label (“Behavioral Insights”) and move the explanatory sentence to a separate indented paragraph for clarity.


45-48: Escape assessment field placeholders for valid RST.
RST treats bare <...> as link targets, so entries like <Assessment_Name>_Correct can trigger build warnings or render incorrectly. Wrap those placeholders in double backticks (````) to ensure they render as literal field names.


52-53: Tighten the export description sentence.
The sentence “Exported data includes student workspace files, in a zip archive for each student.” reads choppy, and the follow-up lacks a comma after “assignment.” Consider rephrasing to “Exported data includes each student’s workspace files, packaged as a ZIP archive. If students have completed the assignment, Codio also generates a CSV...” to smooth the flow.

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d8259e9 and 661ffd4.

📒 Files selected for processing (1)
  • source/instructors/setupcourses/export-assignment-data.rst (2 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.rst

⚙️ CodeRabbit configuration file

**/*.rst: Review files for:

  • Consistent formatting (e.g., headings, lists, links).
  • Clear and concise language.
  • Correct grammar and spelling.
  • Proper use of rst syntax (e.g., avoid broken links or invalid code blocks).
  • Adherence to style guides (e.g., consistent tone, terminology).
    Suggest improvements to enhance readability and accessibility.

Files:

  • source/instructors/setupcourses/export-assignment-data.rst

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (4)
source/instructors/setupcourses/export-assignment-data.rst (1)

42-43: Clarify the Behavioral Insights field description

Line 43 should match the title case used throughout the list and more plainly explain the metric. Please revise the entry for readability.

-   - behavioral insights (0-5 indicates how many thresholds the student exceeded. A higher number indicates more suspicious behavior.)
+   - Behavioral Insights (Indicates how many monitoring thresholds the student exceeded; values range from 0 to 5, with higher numbers signaling more suspicious behavior.)
source/instructors/setupcourses/assignment-settings/assignment-actions.rst (1)

28-28: Add a closing period for completeness

Line 28 now reads well but still lacks a final period. Please end the sentence with a period for consistency across the list.

- - **Download CSV** - Click this button to download a CSV file with student grade data for the assignment. For more information on the data included, see :ref:`Assignment Data <export-assignment>`
+ - **Download CSV** - Click this button to download a CSV file with student grade data for the assignment. For more information on the data included, see :ref:`Assignment Data <export-assignment>`.
source/instructors/admin/orgbilling.rst (2)

57-57: Tighten the guidance and provide descriptive link text

Line 57 is long, repeats “this link,” and doesn’t give readers accessible link cues. Please recast the sentence with descriptive link text and clearer structure.

-4. To support students in this process, provide them with `this documentation link <https://docs.codio.com/students/accessing-codio/paying.html#pay-for-codio-subscription>`__ with specific emphasis to `this section <https://docs.codio.com/students/accessing-codio/paying.html#problems-setting-up-a-new-payment>`__ in the event they have problems especially if this may be first time they are trying to purchase online and the transaction may be refused by their bank due to the ever increasing fraud prevention measures card issuers are implementing or guide them to contact help@codio.com.  
+4. To support students in this process, share the `Pay for a Codio subscription guide <https://docs.codio.com/students/accessing-codio/paying.html#pay-for-codio-subscription>`__ and highlight the `Troubleshooting payment issues section <https://docs.codio.com/students/accessing-codio/paying.html#problems-setting-up-a-new-payment>`__ for common roadblocks. If they still cannot complete the purchase, ask them to contact help@codio.com.

84-85: Use title case in the heading

Line 84 should keep headings in title case like the surrounding sections. Please capitalize “Process.”

-Ordering process
+Ordering Process
 ----------------
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 661ffd4 and 65941ae.

📒 Files selected for processing (4)
  • source/instructors/admin/orgbilling.rst (4 hunks)
  • source/instructors/getstarted/support/changelog.rst (1 hunks)
  • source/instructors/setupcourses/assignment-settings/assignment-actions.rst (1 hunks)
  • source/instructors/setupcourses/export-assignment-data.rst (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • source/instructors/getstarted/support/changelog.rst
🧰 Additional context used
📓 Path-based instructions (1)
**/*.rst

⚙️ CodeRabbit configuration file

**/*.rst: Review files for:

  • Consistent formatting (e.g., headings, lists, links).
  • Clear and concise language.
  • Correct grammar and spelling.
  • Proper use of rst syntax (e.g., avoid broken links or invalid code blocks).
  • Adherence to style guides (e.g., consistent tone, terminology).
    Suggest improvements to enhance readability and accessibility.

Files:

  • source/instructors/admin/orgbilling.rst
  • source/instructors/setupcourses/export-assignment-data.rst
  • source/instructors/setupcourses/assignment-settings/assignment-actions.rst

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 6

🧹 Nitpick comments (4)
source/instructors/authoring/guides/custom_button.rst (1)

81-83: Align heading with sibling sections for consistency

Other action sections use “To …” phrasing. Recommend matching it.

-Creating an Upload File Button
+To upload files
 ******************************
source/instructors/authoring/guides/markdown_content.rst (3)

155-160: Use inline literals for backtick markers and show the closing fence.

For readability and correct reST rendering, wrap literal fences with double backticks and include the closing fence in the example.

-.. code:: markdown
-
-    ```js
-
-then your code, and the last line as three backticks
+.. code:: markdown
+
+    ```js
+    // your code...
+    ```
+
+In text, refer to the opening fence as `````js`` and the closing fence as ````` ``.

292-294: Normalize image directive indentation and alt text.

Keep directives at column 0 for consistency and use a human‑readable alt.

-.. image:: /img/guides/collapsible.png
-    :alt: CollapsibleContent
+.. image:: /img/guides/collapsible.png
+   :alt: Collapsible content

315-324: Align “hide clipboard” wording with example and format inline literals.

Earlier text (Line 170) says “append -hide-clipboard”; the example correctly uses ```js-hide-clipboard. Update the wording and use inline literals.

-    ```js-hide-clipboard
+    ```js-hide-clipboard
@@
-    }
+    }
-    ```
+    ```

Follow‑up: In the earlier sentence (Line 170), change to: “append -hide-clipboard to the language fence, e.g., `````js-hide-clipboard``.”

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 65941ae and ea45269.

⛔ Files ignored due to path filters (2)
  • source/img/guides/upload-file-button.png is excluded by !**/*.png, !**/*.png
  • source/img/guides/upload-file-example.png is excluded by !**/*.png, !**/*.png
📒 Files selected for processing (5)
  • .coderabbit.yaml (1 hunks)
  • .codio (1 hunks)
  • source/instructors/admin/organization/llms.rst (1 hunks)
  • source/instructors/authoring/guides/custom_button.rst (1 hunks)
  • source/instructors/authoring/guides/markdown_content.rst (5 hunks)
✅ Files skipped from review due to trivial changes (1)
  • source/instructors/admin/organization/llms.rst
🧰 Additional context used
📓 Path-based instructions (1)
**/*.rst

⚙️ CodeRabbit configuration file

**/*.rst: Review files for:

  • Consistent formatting (e.g., headings, lists, links).
  • Clear and concise language.
  • Correct grammar and spelling.
  • Proper use of rst syntax (e.g., avoid broken links or invalid code blocks).
  • Adherence to style guides (e.g., consistent tone, terminology).
    Suggest improvements to enhance readability and accessibility.

Files:

  • source/instructors/authoring/guides/custom_button.rst
  • source/instructors/authoring/guides/markdown_content.rst
🔇 Additional comments (2)
.codio (1)

11-11: LGTM! Dynamic preview path added.

The new "Preview" entry enables context-aware HTML previews using the current file's path and name. The template syntax is consistent with Codio's conventions.

.coderabbit.yaml (1)

15-15: LGTM!

The sequence_diagrams: false setting is correctly placed under reviews and follows the schema.

@shajason shajason merged commit b4c91b2 into master Oct 16, 2025
1 check was pending
@shajason shajason deleted the misc branch October 16, 2025 16:37
@coderabbitai coderabbitai bot mentioned this pull request Oct 16, 2025
@coderabbitai coderabbitai bot mentioned this pull request Oct 27, 2025
@coderabbitai coderabbitai bot mentioned this pull request Nov 18, 2025
@coderabbitai coderabbitai bot mentioned this pull request Dec 3, 2025
@coderabbitai coderabbitai bot mentioned this pull request Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants