Commit Graph

11 Commits

Author SHA1 Message Date
be5a5db18a add toast animation using RCSS transitions
- Toast starts hidden (opacity 0, translateY 30dp)
- Transition property animates opacity and transform over 0.3s
- Adding toast-show class triggers slide-up animation
- Removing toast-show class triggers slide-down animation
2026-01-20 13:38:10 +01:00
e722680863 remove toast animations to fix green flash 2026-01-20 13:32:57 +01:00
0d8415ba4e remove app animations to fix transition flash
Temporarily removed complex animations that were causing double-render flash.
Using simple hide/show approach during content loading instead.
2026-01-20 13:28:07 +01:00
b3055d8f1a fix transition flash between apps
- Set app-opening class BEFORE loading content to prevent flash
- Keep app-closing at opacity 0 after animation ends
- Remove unnecessary class removal in playCloseAnimation
2026-01-20 13:10:22 +01:00
469535f79a add toast and app transition animations
Toast:
- Bigger size with bold text (18dp padding, 16dp font)
- Pop-up animation from bottom with bounce effect
- Fade-out animation when dismissing
- Cancels previous toast when showing new one

App transitions:
- Opening: fade in + scale from 0.8 to 1.0 with back-out easing
- Closing: fade out + scale from 1.0 to 0.8
- Skip animation on initial shell load
- Async close animation before loading previous app
2026-01-20 12:27:44 +01:00
17f605cf5f fix toast display and auto-dismiss
- Wrap toast message in span for proper text rendering
- Use setTimeout instead of mosis.timer for auto-dismiss
- Remove unsupported CSS animation property
- Add explicit color to toast variants
- Change px to dp units for RmlUi compatibility

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 11:45:02 +01:00
07896959ce fix sandbox test API names to match actual registration
- Timer: use global setTimeout() instead of mosis.timer.setTimeout()
- JSON: use json.encode/decode instead of mosis.json
- Crypto: use crypto.sha256 instead of mosis.crypto
- Storage: use fs.read/write with /data/ prefix instead of mosis.fs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 11:32:47 +01:00
a52b58c176 add sandbox-test app content and test functions
- Add main_content.rml for sandbox-test app with test cards for Timer, JSON, Crypto, Storage
- Add sandbox test functions to shell.lua (testSandboxTimer, testSandboxJSON, etc.)
- Register sandbox-test in builtin_ids and shellNavigateTo paths
- Add sandbox-test styles to shell.rml

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 11:28:12 +01:00
2134a53921 fix Android: load shell.rml, add loadAppContent function, fallback to built-in apps 2026-01-20 10:56:58 +01:00
ab53bee5c4 add dynamic app discovery and remove unused static RML files 2026-01-20 10:14:13 +01:00
2db7eea9f1 add shell architecture with persistent status bar, nav bar, and content fragments 2026-01-20 10:09:47 +01:00