feat(ui): Yuma design system for player/theme + image rendering fix - #11
Closed
arena-ai-coding-agent[bot] wants to merge 4 commits into
Closed
arena-ai-coding-agent[bot] wants to merge 4 commits into
arena-ai-coding-agent[bot] wants to merge 4 commits into
Conversation
…ering - Add Yuma Design System (YDS 2.1) primitives (ui/theme/YumaDesign.kt): glass surfaces with position-aware hairline borders, tactile press-scale clickables with haptics, segmented composite radii, and design tokens. - Rewrite MediaPlayer with a professional glassmorphic audio + video UI: dynamic accent, custom seek bar with buffered progress, playback speed, animated equalizer, and tap-to-toggle video controls. - Fix images not rendering: lazily load thumbnails for image files in the grid/list and decode base64 previews directly so they always display. - Harden PreviewModal with guaranteed image decode + retry-on-error. Co-Authored-By: Claude <noreply@anthropic.com> Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
- YumaDesign: add missing getValue/setValue imports for by-delegation (root cause of cascading graphicsLayer/background/scale errors); use Modifier.scale() instead of graphicsLayer. - MediaPlayer: drop ambiguous weight import (resolved to internal RowColumnParentData) and use Arrangement.SpaceBetween; fix radialGradient radius type (Float not Dp); add missing TextOverflow and Dp imports. Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
… YumaDesign Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Applies the Yuma Design System (YDS 2.1) analysed from YumaPlayer to TeleBox's UI, focuses on the media player and theme, and fixes image rendering.
Theme
ui/theme/YumaDesign.kt(additive, no changes to existingTheme.kt):yumaGlassCard— translucent glass surface with position-aware hairline gradient borderyumaClickable— whole-element spring scale to0.96f+ light haptic ticksegmentedItemShape(22dp outer / 5dp inner composite radii) andYumaTokensPlayer (
MediaPlayer.kt, rewritten)player.seekTo)Image rendering fix
ViewModel.requestThumbnail) and thread them throughFileExplorer → FileCard/FileListItem.PreviewModalnow decodes base64data:URLs directly to anImageBitmap(guaranteed render) with anAsyncImagefallback and retry-on-error.Test plan
./build_pipeline.sh(or Gradle) — check for compile errorsNote
This sandbox has no Android SDK/Java, so the app was not compiled here — changes were verified by code review against the Compose/Media3/Coil APIs in
build.gradle.kts. Please run a build to confirm.