Skip to content

templates: add motion template system for dynamic SDUI generation#61

Merged
tejpratap46 merged 2 commits into
mainfrom
feat/implement-templates
May 17, 2026
Merged

templates: add motion template system for dynamic SDUI generation#61
tejpratap46 merged 2 commits into
mainfrom
feat/implement-templates

templates: replace JSON-based template system with extensible Kotlin DSL

d9df255
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed May 17, 2026 in 12s

7 issues found.

Annotations

Check warning on line 103 in modules/motionlib/src/main/java/com/tejpratapsingh/motionlib/ui/custom/text/AccentMiddlePopUpTextView.kt

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/motionlib/src/main/java/com/tejpratapsingh/motionlib/ui/custom/text/AccentMiddlePopUpTextView.kt#L103

Parentheses in (start < end) are unnecessary and can be replaced with: start < end. (detekt.UnnecessaryParentheses)

Check warning on line 103 in modules/motionlib/src/main/java/com/tejpratapsingh/motionlib/ui/custom/text/AccentMiddlePopUpTextView.kt

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/motionlib/src/main/java/com/tejpratapsingh/motionlib/ui/custom/text/AccentMiddlePopUpTextView.kt#L103

Parentheses in (end <= text.length) are unnecessary and can be replaced with: end <= text.length. (detekt.UnnecessaryParentheses)

Check notice on line 202 in modules/motion-video-player/src/main/java/com/tejpratapsingh/motionlib/ui/custom/video/MotionVideoPlayerCompose.kt

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/motion-video-player/src/main/java/com/tejpratapsingh/motionlib/ui/custom/video/MotionVideoPlayerCompose.kt#L47-L202

Complex Method

Check warning on line 113 in modules/motionlib/src/main/java/com/tejpratapsingh/motionlib/ui/custom/text/RainbowPopUpTextView.kt

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/motionlib/src/main/java/com/tejpratapsingh/motionlib/ui/custom/text/RainbowPopUpTextView.kt#L113

Parentheses in (start < end) are unnecessary and can be replaced with: start < end. (detekt.UnnecessaryParentheses)

Check notice on line 79 in web/web-sdui/src/effects/useApplyEffects.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

web/web-sdui/src/effects/useApplyEffects.ts#L14-L79

Complex Method

Check notice on line 139 in modules/templates/src/main/java/com/tejpratapsingh/motionlib/templates/serialization/TemplateSerialization.kt

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/templates/src/main/java/com/tejpratapsingh/motionlib/templates/serialization/TemplateSerialization.kt#L68-L139

Complex Method

Check warning on line 113 in modules/motionlib/src/main/java/com/tejpratapsingh/motionlib/ui/custom/text/RainbowPopUpTextView.kt

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/motionlib/src/main/java/com/tejpratapsingh/motionlib/ui/custom/text/RainbowPopUpTextView.kt#L113

Parentheses in (end <= text.length) are unnecessary and can be replaced with: end <= text.length. (detekt.UnnecessaryParentheses)