Skip to content

LTI1.3 JSON URL#432

Merged
shajason merged 5 commits intomasterfrom
canvas-lti-updates
Nov 6, 2025
Merged

LTI1.3 JSON URL#432
shajason merged 5 commits intomasterfrom
canvas-lti-updates

Conversation

@jairovelasquez
Copy link
Collaborator

@jairovelasquez jairovelasquez commented Nov 5, 2025

Summary by CodeRabbit

  • Documentation
    • Reorganized LTI 1.3 Canvas setup into Option 1 (JSON configuration URL) and Option 2 (manual entry) with clearer step flow.
    • Consolidated copy/paste guidance into concise table-style steps and added tabbed examples for Target Link URI and Icon URL.
    • Split Editor Button and Course Navigation into separate sections with updated images and renamed captions.
    • Expanded Part 2 with steps covering LTI Advantage Services, placements, privacy, and domain/tool ID.
    • Added guideline to use the list-table directive when authoring reStructuredText tables.

@coderabbitai
Copy link

coderabbitai bot commented Nov 5, 2025

Walkthrough

Restructures Canvas LTI 1.3 documentation to add a JSON configuration URL option, refactors steps and tables into list-table/tabbed blocks, separates Editor Button and Course Navigation sections, updates images/URIs, and adds a reviewer guideline in .coderabbit.yaml to prefer RST list-table usage. (48 words)

Changes

Cohort / File(s) Change Summary
Configuration guideline update
\.coderabbit.yaml
Added a reviewer guideline advising that tables in .rst files should use the list-table directive.
LTI Canvas documentation restructuring
source/instructors/admin/integration/lti1-3Canvas.rst
Added "Using JSON configuration Url" option with image and JSON URL value table; introduced Option 1 (JSON) and Option 2 (manual) flows; converted Copy/Paste steps into consolidated list-table/tabbed layouts; split "Course Navigation and Editor Button" into separate "Editor Button" and "Course Navigation" subsections; added/renamed images, tabbed Target Link URI and Icon URL blocks; expanded Part 2 steps (LTI Advantage services, placements, privacy) and updated captions.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

  • Pay extra attention to:
    • Correct RST list-table syntax and column alignment for the converted steps.
    • Tabbed/code-tab directive syntax and parameters.
    • Image file paths, figure captions, and references after reorganizing sections.
    • Internal heading anchors and cross-references that may have shifted.

Possibly related PRs

  • LTIUpdateandotherfixes #418 — Overlapping restructures to lti1-3Canvas.rst, including tabbed/layout and image updates.
  • Final fixes #422 — Related changes splitting/renaming Editor Button and Course Navigation and reworking step flow.
  • LTI and DynReg Update #406 — Related edits around dynamic/JSON configuration and registration steps in the same Canvas LTI docs.

Suggested reviewers

  • LolaValente
  • shajason

Pre-merge checks

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'LTI1.3 JSON URL' directly reflects the main change: adding a JSON configuration option to the LTI 1.3 Canvas integration guide, which introduces a JSON URL workflow as an alternative to manual entry.

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 92fbd95 and b88b2e9.

📒 Files selected for processing (1)
  • source/instructors/admin/integration/lti1-3Canvas.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).
  • Anywhere there are tables, they should use list-table.
  • 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.
  • Make sure to find all improvements on the first pass.
    Go through the material multiple times before submitting comments.

Files:

  • source/instructors/admin/integration/lti1-3Canvas.rst
🔇 Additional comments (2)
source/instructors/admin/integration/lti1-3Canvas.rst (2)

69-70: Excellent clarity improvement for Step 6 options.

The note effectively distinguishes the JSON configuration path from the manual setup path, directly addressing prior feedback about the either/or nature of this section. Users now have clear guidance on which path to follow.


143-187: Well-structured Editor Button and Course Navigation sections.

The separation of these two subsections with dedicated headings, images, and tabbed blocks for Target Link URI and Icon URL is clear and maintainable. Image alt text accurately reflects the section context:

  • Line 147: "Canvas Editor Button placement" ✓
  • Line 171: "Canvas Course Navigation placement" ✓

This resolves the prior concern about overly broad alt text.


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: 1

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/integration/lti1-3Canvas.rst (1)

158-171: Critical: Incorrect tab nesting structure degrades UI/UX.

Multiple separate .. tabs:: blocks (lines 158–163 and 165–170) will render as independent tab widgets instead of a unified interface. Target Link URI and Icon URL should be grouped under a single .. tabs:: directive.

This same issue affects lines 134–146 (Link Selection) and 182–194 (Course Navigation).

Apply this corrected structure for all three affected sections:

  .. tabs::
  
     .. code-tab:: text
        :caption: Target Link URI
  
-      https://apollo.codio.com/lti/editor_button
-
-.. tabs::
-
     .. code-tab:: text
        :caption: Icon URL
  
        https://static-assets.codio.com/dashboard/images/icons/favicon-16x16.da14ae918fd9bc3b.png

Apply the same consolidation to lines 134–146 (Link Selection) and lines 182–194 (Course Navigation).

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a9ba70d and 8a3caa8.

⛔ Files ignored due to path filters (2)
  • source/img/canvascoursecoursetselect.png is excluded by !**/*.png, !**/*.png
  • source/img/lti-json-url.png is excluded by !**/*.png, !**/*.png
📒 Files selected for processing (2)
  • .coderabbit.yaml (1 hunks)
  • source/instructors/admin/integration/lti1-3Canvas.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).
  • Anywhere there are tables, they should use list-table.
  • 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.
  • Make sure to find all improvements on the first pass.
    Go through the material multiple times before submitting comments.

Files:

  • source/instructors/admin/integration/lti1-3Canvas.rst
🔇 Additional comments (5)
.coderabbit.yaml (1)

24-24: Guideline addition for RST table formatting.

The new instruction properly aligns with reStructuredText best practices by ensuring consistent use of list-table for tabular content.

source/instructors/admin/integration/lti1-3Canvas.rst (4)

85-106: List-table formatting for manual steps is well-structured.

The conversion from narrative to list-table format for steps 7–11 improves clarity and scannability. The structure correctly uses the list-table directive as specified in the coding guidelines.


149-150: Section header clarification improves documentation structure.

Separating "Editor Button" into its own section (and creating a separate "Course Navigation" section) enhances clarity and makes each configuration step more distinct.


153-180: Verify image paths for new sections (lines 153, 177) match repository structure.

Lines 153 and 177 reference images using the /img/ prefix, but ensure these paths exist in the documentation repository. The file establishes a pattern with /img/lti/ prefix elsewhere (lines 210, 226).

Verify that the following image files exist at the specified paths:

  • /img/canvascourseeditortselect.png (line 153)
  • /img/canvascoursecoursetselect.png (line 177)

If these don't exist, consider moving them to the /img/lti/ directory or updating the references accordingly.


41-76: Review comment is incorrect.

The image path at line 46 (/img/lti-json-url.png) is not inconsistent with file naming conventions in the document. The review conflates two distinct patterns: filenames containing "lti" (like lti-json-url.png) versus files stored in the /img/lti/ subdirectory. Line 46 follows the direct image reference pattern used throughout the file, matching lines 129, 153, 177, 245, 254, and 285. Only lines 271 and 373 use the /img/lti/ subdirectory path, which represents a minority pattern for direct images. The substitution definitions at lines 210 and 226 use different syntax and are not comparable to line 46's direct reference. The path is correct as-is.

Likely an incorrect or invalid review comment.

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: 3

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/integration/lti1-3Canvas.rst (1)

154-154: Make image alt text specific to each placement section.

Both "Editor Button" and "Course Navigation" sections reference images with identical alt text: "Canvas Course Navigation and Editor Button placement." Each image should have its own descriptive alt text reflecting its specific placement.

  .. image:: /img/canvascourseeditortselect.png
-     :alt: Canvas Course Navigation and Editor Button placement
+     :alt: Canvas Editor Button placement
      :width: 750px
  .. image:: /img/canvascoursecoursetselect.png
-     :alt: Canvas Course Navigation and Editor Button placement
+     :alt: Canvas Course Navigation placement
      :width: 750px

Also applies to: 178-178

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8a3caa8 and 8e0c1e4.

📒 Files selected for processing (1)
  • source/instructors/admin/integration/lti1-3Canvas.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).
  • Anywhere there are tables, they should use list-table.
  • 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.
  • Make sure to find all improvements on the first pass.
    Go through the material multiple times before submitting comments.

Files:

  • source/instructors/admin/integration/lti1-3Canvas.rst
🔇 Additional comments (1)
source/instructors/admin/integration/lti1-3Canvas.rst (1)

75-76: Note clarification is now effective.

The updated note at line 76 now explicitly directs JSON URL users to skip to Part 2 and instructs manual users to continue below. This clearly addresses the conditional flow and resolves the prior ambiguity.

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/integration/lti1-3Canvas.rst (1)

153-154: Consider updating image alt text for clarity.

The image alt text references both "Course Navigation and Editor Button" but this section covers only "Editor Button." If the image is specific to this section, consider a more precise alt text.

  .. image:: /img/canvascourseeditortselect.png
-     :alt: Canvas Course Navigation and Editor Button placement
+     :alt: Canvas Editor Button placement
♻️ Duplicate comments (1)
source/instructors/admin/integration/lti1-3Canvas.rst (1)

41-48: Correct "Url" to "URL" for consistent acronym capitalization.

The heading and image alt text use the non-standard form "Url" instead of the standard acronym "URL".

Apply this diff to fix both the heading and image alt text:

- Using JSON configuration Url
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ Using JSON Configuration URL
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  You can use a JSON configuration URL to automatically configure most Canvas settings:

  .. image:: /img/lti-json-url.png
-     :alt: Canvas configuration for JSON configuration Url
+     :alt: Canvas configuration for JSON configuration URL
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8e0c1e4 and 8c47613.

📒 Files selected for processing (1)
  • source/instructors/admin/integration/lti1-3Canvas.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).
  • Anywhere there are tables, they should use list-table.
  • 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.
  • Make sure to find all improvements on the first pass.
    Go through the material multiple times before submitting comments.

Files:

  • source/instructors/admin/integration/lti1-3Canvas.rst
🔇 Additional comments (4)
source/instructors/admin/integration/lti1-3Canvas.rst (4)

173-194: Course Navigation section looks well-structured.

The heading, image, and tab-based structure are correctly formatted. Alt text is appropriate.


75-76: Clear conditional guidance in note.

The note effectively directs users to the appropriate path based on their configuration method. This addresses the previous feedback about ambiguous flow.


1-387: RST syntax and structure are well-formatted.

Headings, tables, tabs, images, and links follow proper reStructuredText conventions. The use of list-table directives aligns with the coding guidelines for table formatting.


9-11: Language clarity and tone are well-maintained.

The documentation uses clear, concise language with consistent imperative instructions. Step-by-step guidance is logically organized and easy to follow. No grammar or spelling issues detected.

Also applies to: 44-44, 50-50, 61-106, 126-195

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: 1

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/integration/lti1-3Canvas.rst (1)

147-149: Improve image alt text specificity.

The alt text for this section should clearly identify it as the Editor Button placement, not reference both Editor Button and Course Navigation.

- :alt: Canvas Course Navigation and Editor Button placement
+ :alt: Canvas Editor Button placement
♻️ Duplicate comments (4)
source/instructors/admin/integration/lti1-3Canvas.rst (4)

41-42: Correct acronym capitalization: "URL" not "Url".

This is a repeat of a previous review comment. Headings should use the standard capitalization for "URL" and title case for the section title.

- (Step 6, Option 1) Using JSON configuration Url
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ (Step 6, Option 1) Using JSON Configuration URL
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

66-67: Correct acronym capitalization: "URL" not "Url".

This is a repeat of a previous review comment. Correct the acronym in the table cell.

-    - Paste the URL from **Canvas JSON configuration Url**
+    - Paste the URL from **Canvas JSON configuration URL**

79-85: Add a header label for the first table column.

This is a repeat of a previous review comment. The first column contains step numbers but has no header. Add a descriptive label to complete the table structure.

   * - 
+    - **Step**
      - **Copy**
      - **Paste**

46-48: Correct acronym capitalization in image alt text.

The alt text uses "Url" instead of the standard acronym form "URL".

- :alt: Canvas configuration for JSON configuration Url
+ :alt: Canvas configuration for JSON configuration URL
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8c47613 and 92fbd95.

📒 Files selected for processing (1)
  • source/instructors/admin/integration/lti1-3Canvas.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).
  • Anywhere there are tables, they should use list-table.
  • 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.
  • Make sure to find all improvements on the first pass.
    Go through the material multiple times before submitting comments.

Files:

  • source/instructors/admin/integration/lti1-3Canvas.rst
🔇 Additional comments (8)
source/instructors/admin/integration/lti1-3Canvas.rst (8)

52-67: Table structure is clear and well-organized.

The JSON configuration table uses proper list-table formatting with descriptive headers. The configuration steps are easy to follow.


69-70: Excellent clarification of the conditional flow.

The note now explicitly directs users to their appropriate path—JSON URL users skip to Part 2, while manual setup users continue below. This effectively resolves the previous ambiguity flagged in earlier reviews.


72-73: Clear section structure for alternative approaches.

The distinct "Option 1" and "Option 2" headings effectively communicate that users should choose one path or the other, addressing prior concerns about the optional nature of Step 6.


152-165: Editor Button configuration is clearly presented.

The tab-based separation of Target Link URI and Icon URL provides clear reference points for each configuration value.


176-188: Course Navigation configuration is clearly presented.

The tab-based format for Target Link URI and Icon URL provides clear reference points for each configuration value.


1-40: Unchanged sections are properly formatted.

The introductory content and initial setup steps maintain consistent formatting and clear structure.


101-141: Link Selection and Assignment Selection section is well-structured.

The separate tab blocks for Target Link URI and Icon URL provide clear reference points, consistent with the rest of the document.


190-382: Remaining sections maintain consistency and clarity.

Parts 2–5 are well-structured with clear steps and appropriate image references. Image definition blocks are properly formatted.

@shajason shajason merged commit 6bab765 into master Nov 6, 2025
1 check passed
@shajason shajason deleted the canvas-lti-updates branch November 6, 2025 14:33
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