chore: add documentation for infinites - #1692
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (2)
WalkthroughAdds a new "Infinites" documentation page, fixes a demo import and adds a link in the part-and-piece-timings index, and removes scheduled Trivy scanning steps/workflow from CI. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Actionable comments posted: 4
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In
`@packages/documentation/docs/for-developers/for-blueprint-developers/part-and-piece-timings/infinites.md`:
- Line 39: Fix the possessive misuse in the sentence inside the infinites.md
content: replace "it's default behavior" with the correct possessive "its
default behavior" so the sentence reads "then it behaves identically to its
default behavior." Target the sentence that currently reads "The infinite
activates when it's entered in the AdLib part, then it behaves identically to
it's default behavior."
- Line 3: The sentence defining the Infinite uses the contraction "it's"
incorrectly and is a bit unclear: update the line containing "An **Infinite** is
a timeline object that has no predefined end in the context of the piece, rather
it's context determines when they are terminated." — change "it's" to the
possessive "its" and rephrase for clarity, e.g. "An **Infinite** is a timeline
object that has no predefined end within the piece; its context determines when
it is terminated," ensuring the term "Infinite" remains emphasized.
- Around line 22-30: Fix the typos and possessive errors in the Infinites
section: change "form NRCS" to "from NRCS" in the "Resolved at ingest" bullet,
change "It's resulting state" to "Its resulting state" and "it's content level"
to "its content level" in the same block, change "form AdLibs" to "from AdLibs"
in the "OnChange" bullet, and change "it's lifecycle" and "it's resulting state"
to "its lifecycle" and "its resulting state" in the "OnChange (also referred to
as playhead tracking infinite)" block so all instances use the correct "from"
and possessive "its".
- Around line 44-48: Edit the sentence starting "Normal pieces or lower level
infinit can..." to hyphenate compound adjectives: change "lower level" to
"lower-level" and "higher level" to "higher-level" (and hyphenate "higher
priority" to "higher-priority" if present), and correct the possessive on line
48 by replacing "it's starting point" with "its starting point".
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: d47fb4ae-1fc1-49f9-a1f9-6e08083be590
⛔ Files ignored due to path filters (7)
packages/documentation/static/img/docs/for-developers/timing/infinites/cheat-sheet.pngis excluded by!**/*.pngpackages/documentation/static/img/docs/for-developers/timing/infinites/infinite-adlibs.pngis excluded by!**/*.pngpackages/documentation/static/img/docs/for-developers/timing/infinites/infinite-hierarchy.pngis excluded by!**/*.pngpackages/documentation/static/img/docs/for-developers/timing/infinites/infinite-lifecycle-levels.pngis excluded by!**/*.pngpackages/documentation/static/img/docs/for-developers/timing/infinites/infinite-lifecycle.pngis excluded by!**/*.pngpackages/documentation/static/img/docs/for-developers/timing/infinites/infinite-priority.pngis excluded by!**/*.pngpackages/documentation/static/img/docs/for-developers/timing/infinites/infinite-termination.pngis excluded by!**/*.png
📒 Files selected for processing (3)
packages/documentation/docs/for-developers/for-blueprint-developers/part-and-piece-timings/index.mdxpackages/documentation/docs/for-developers/for-blueprint-developers/part-and-piece-timings/infinites.mdpackages/documentation/static/img/docs/for-developers/timing/infinites/drawings.excalidraw
There was a problem hiding this comment.
Actionable comments posted: 1
♻️ Duplicate comments (2)
packages/documentation/docs/for-developers/for-blueprint-developers/part-and-piece-timings/infinites.md (2)
44-48:⚠️ Potential issue | 🟡 MinorHyphenate compound modifiers for readability and consistency.
“lower level”, “higher level”, and “higher priority” are compound modifiers before nouns and should be hyphenated.
📝 Suggested edit
-- Normal pieces or lower level infinites can temporarily override a higher level infinite. +- Normal pieces or lower-level infinites can temporarily override a higher-level infinite. - OnEnd behavior: - - After the higher priority pieces end the higher level infinite resumes. + - After the higher-priority pieces end the higher-level infinite resumes. - OnChange behavior: - - After the higher priority pieces end the infinite is terminated until its starting point is entered again. + - After the higher-priority pieces end the infinite is terminated until its starting point is entered again.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@packages/documentation/docs/for-developers/for-blueprint-developers/part-and-piece-timings/infinites.md` around lines 44 - 48, Hyphenate the compound modifiers in the paragraph so the pre-nominal compounds read "lower-level infinit", "higher-level infinite", and "higher-priority pieces"; update every occurrence in the block describing OnEnd and OnChange behavior to use "lower-level", "higher-level", and "higher-priority" for consistency and readability.
3-3:⚠️ Potential issue | 🟡 MinorFix singular agreement and sentence structure in the definition.
Line 3 uses singular subject (“An Infinite”) but plural pronoun (“they”) and reads as a comma splice. Rephrase to singular and split/structure the clause for clarity.
📝 Suggested edit
-An **Infinite** is a timeline object that has no predefined end in the context of the piece, rather its context determines when they are terminated. +An **Infinite** is a timeline object that has no predefined end in the context of a piece; its context determines when it is terminated.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@packages/documentation/docs/for-developers/for-blueprint-developers/part-and-piece-timings/infinites.md` at line 3, The sentence "An **Infinite** is a timeline object that has no predefined end in the context of the piece, rather its context determines when they are terminated." mixes singular and plural and is a comma splice; change it to a singular, well-structured sentence such as: reword the definition for "An **Infinite**" to use singular pronouns and split the clause (e.g., "An **Infinite** is a timeline object that has no predefined end in the context of the piece. Its context determines when it is terminated."). Update the line containing the phrase "An **Infinite** is a timeline object that has no predefined end in the context of the piece, rather its context determines when they are terminated." accordingly.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In
`@packages/documentation/docs/for-developers/for-blueprint-developers/part-and-piece-timings/infinites.md`:
- Line 30: Fix the missing space before the reference marker by inserting a
space between "will be." and "(6, 8)" in the sentence "This means that it can
propagate before and after the triggering piece depending on where the next take
will be.(6, 8)"; update the text so it reads "...will be. (6, 8)" to improve
readability.
---
Duplicate comments:
In
`@packages/documentation/docs/for-developers/for-blueprint-developers/part-and-piece-timings/infinites.md`:
- Around line 44-48: Hyphenate the compound modifiers in the paragraph so the
pre-nominal compounds read "lower-level infinit", "higher-level infinite", and
"higher-priority pieces"; update every occurrence in the block describing OnEnd
and OnChange behavior to use "lower-level", "higher-level", and
"higher-priority" for consistency and readability.
- Line 3: The sentence "An **Infinite** is a timeline object that has no
predefined end in the context of the piece, rather its context determines when
they are terminated." mixes singular and plural and is a comma splice; change it
to a singular, well-structured sentence such as: reword the definition for "An
**Infinite**" to use singular pronouns and split the clause (e.g., "An
**Infinite** is a timeline object that has no predefined end in the context of
the piece. Its context determines when it is terminated."). Update the line
containing the phrase "An **Infinite** is a timeline object that has no
predefined end in the context of the piece, rather its context determines when
they are terminated." accordingly.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: c1600813-0a07-4a3a-9063-ac9a842ae1e3
📒 Files selected for processing (1)
packages/documentation/docs/for-developers/for-blueprint-developers/part-and-piece-timings/infinites.md
c81f700 to
219ba89
Compare
There was a problem hiding this comment.
♻️ Duplicate comments (2)
packages/documentation/docs/for-developers/for-blueprint-developers/part-and-piece-timings/infinites.md (2)
44-46:⚠️ Potential issue | 🟡 MinorHyphenate compound adjectives.
When compound terms modify a noun, they should be hyphenated. "lower level" and "higher level" should be "lower-level" and "higher-level" when used as adjectives.
📝 Suggested fix
-- Normal pieces or lower level infinites can temporarily override a higher level infinite. +- Normal pieces or lower-level infinites can temporarily override a higher-level infinite. - OnEnd behavior: - - After the higher priority pieces end the higher level infinite resumes. + - After the higher priority pieces end the higher-level infinite resumes.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@packages/documentation/docs/for-developers/for-blueprint-developers/part-and-piece-timings/infinites.md` around lines 44 - 46, The compound adjectives in the sentence "Normal pieces or lower level infinit can temporarily override a higher level infinite." and the subordinate line "After the higher priority pieces end the higher level infinite resumes." need hyphenation; update the text to use "lower-level", "higher-level" (e.g., change "lower level infinit" → "lower-level infinit" and "higher level infinite" → "higher-level infinite") so compound modifiers are correctly hyphenated in both occurrences.
3-3:⚠️ Potential issue | 🟡 MinorFix pronoun agreement.
The sentence uses the singular "An Infinite" as the subject but "they are terminated" as the predicate, creating a pronoun disagreement. Use "it is terminated" to maintain singular agreement.
📝 Suggested fix
-An **Infinite** is a timeline object that has no predefined end in the context of the piece, rather its context determines when they are terminated. +An **Infinite** is a timeline object that has no predefined end in the context of the piece, rather its context determines when it is terminated.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@packages/documentation/docs/for-developers/for-blueprint-developers/part-and-piece-timings/infinites.md` at line 3, The sentence defining "Infinite" has a singular subject but uses a plural pronoun; update the sentence in the "Infinite" definition so pronouns agree—either change "An **Infinite** ... they are terminated" to "An **Infinite** ... it is terminated" or make the subject plural (e.g., "Infinites ... they are terminated"); target the sentence containing the term "An **Infinite**" in infinites.md and apply the singular-pronoun fix.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Duplicate comments:
In
`@packages/documentation/docs/for-developers/for-blueprint-developers/part-and-piece-timings/infinites.md`:
- Around line 44-46: The compound adjectives in the sentence "Normal pieces or
lower level infinit can temporarily override a higher level infinite." and the
subordinate line "After the higher priority pieces end the higher level infinite
resumes." need hyphenation; update the text to use "lower-level", "higher-level"
(e.g., change "lower level infinit" → "lower-level infinit" and "higher level
infinite" → "higher-level infinite") so compound modifiers are correctly
hyphenated in both occurrences.
- Line 3: The sentence defining "Infinite" has a singular subject but uses a
plural pronoun; update the sentence in the "Infinite" definition so pronouns
agree—either change "An **Infinite** ... they are terminated" to "An
**Infinite** ... it is terminated" or make the subject plural (e.g., "Infinites
... they are terminated"); target the sentence containing the term "An
**Infinite**" in infinites.md and apply the singular-pronoun fix.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 3918e19e-c612-4faa-97cb-8e2c4c5495e6
📒 Files selected for processing (1)
packages/documentation/docs/for-developers/for-blueprint-developers/part-and-piece-timings/infinites.md
About the Contributor
This pull request is posted on behalf of the CBC
Type of Contribution
This is a documentation improvement
Current Behavior
There is no clear documentation on how infinites work in Sofie
New Behavior
This PR adds documentation detailing infinite behavior and edge cases.
Testing
Affected areas
Time Frame
Not urgent, but we would like to get this merged into the in-development release.
Status