Commit Graph

538 Commits

Author SHA1 Message Date
Leon.Schmidt b6fb9ce91e Merge branch 'dev' of https://github.com/sky-systems/sky_phone into dev 2026-08-16 17:19:25 +02:00
Leon.Schmidt 0a43a96744 Camera: front-camera transform and focus changes
Compute a more accurate front (selfie) camera transform and adjust front-camera params (FOV, distance, height). Replace apply_rear_camera_view with a unified apply_camera_view that selects the correct view_mode for ped/vehicle. Add block-look support to SkyPhoneFocus (Resolve now returns block_look) and make ApplyGameInputControls accept a block_look flag; main.lua tracks phone_block_look and passes it when disabling controls. Update related tests to reflect new camera math and input behavior.
2026-08-16 17:16:01 +02:00
Dominik f404880898 ENH - refine Music and Flare UI 2026-08-16 17:09:32 +02:00
Dominik 91bf310778 ENH - improve Flare profile editing
Add a Sky action sheet for gallery and camera profile photos while preserving ordered multi-photo drafts. Make relationship goals directly editable, restore cancelled drafts, localize the new interactions, and cover the flows with focused contracts.
2026-08-16 16:31:16 +02:00
Leon.Schmidt 1071b4bde7 feat: unify phone apps with Sky UI 2026-08-16 15:23:21 +02:00
Type 8d9cdb5d6b Merge branch 'weather-app' into dev 2026-08-16 13:07:45 +02:00
Type e4fc873bf0 FIX - align notes editor with Sky controls
Migrates the Notes list and formatting tools to shared Sky controls, restores a neutral glass FAB variant, and gives the note list a dedicated scroll owner so every entry remains reachable.
2026-08-16 13:06:10 +02:00
smx.pusha eb534af888 ENH - refine calculator interface
Polish calculator modes, key geometry, operator icon states, and the calculation history navigation. Add focused contract coverage for the updated layout and interaction styling.
2026-08-16 12:38:08 +02:00
Leon.Schmidt b6679a5a7d FIX - stabilize camera movement and selfie view 2026-08-16 00:49:24 +02:00
Type 81cdc8fb87 ENH - refine phone notes experience
Moves the first notes editor line into an H1 title, keeps it stable when empty, and removes the separate title field. Includes the remaining pending phone UI, voice, locale, bridge, and test updates on this branch.
2026-08-16 00:36:30 +02:00
Type 252aba03be ENH - add development setup skip
Add a development-only setup assistant control that skips the wizard for the current frontend session without persisting setup completion or changing backend state. Localize the control through the phone locale fallback and resource locale.
2026-08-16 00:33:39 +02:00
Type 96cffcf4d1 FIX - use standard tabbar for note formatting
Migrates the note editor formatting controls to the shared SkyTabBar and SkyTabButton primitives. Removes the app-local toolbar geometry and adds a contract test for the shared component usage.
2026-08-16 00:30:08 +02:00
Type 6fba5bcc10 FIX - align health app with observable data
Remove inferred condition, recovery, and player-health values from the Health UI and NUI contract. Keep browser mocks and tests aligned, correct the default development API port, remove the misleading Medical ID disclosure, and apply the shared page gutter to prevent clipped cards.
2026-08-16 00:29:13 +02:00
Leon.Schmidt 2f70444071 FIX - modernize lock screen passcode flow
Rebuild device unlock around the current iOS-style wallpaper, outlined keypad, telephone letters, status bar, and keyboard support. Require the passcode only for the first unlock of each open device session so a soft lock from the status bar returns directly after the session is authenticated.
2026-08-15 22:20:06 +02:00
Leon.Schmidt a04863179f FIX - correct Clock control states
Remove the empty title reservation from World Clock and Timer views. Switch running stopwatch and timer actions to the danger treatment and lock both layout and color behavior with contract tests.
2026-08-15 22:19:37 +02:00
Leon.Schmidt 387c27cc7f ENH - refine camera capture controls
Move Photo and Video selection onto Sky UI, separate the bottom controls, and expose the camera movement lock with localized labels. Support smooth wheel zoom down to 0.5x inside the phone crop and extend browser lifecycle coverage and camera contracts.
2026-08-15 22:19:28 +02:00
Leon.Schmidt 493375bbfa FIX - stabilize gameplay camera controls
Keep the rear camera in first person, correct the selfie camera offset, and remove the scripted ultrawide camera that changed the whole game view. Add continuous validated zoom and an explicit look-control lock without blocking player movement.
2026-08-15 22:18:43 +02:00
Leon.Schmidt 3e058d8e1a FIX - use a stable camera hold pose
Replace the selfie dance dictionary with the looping phone camera pose. Apply the same hold animation to rear and selfie modes while preserving vehicle-specific phone animations.
2026-08-15 22:18:10 +02:00
Leon.Schmidt 9afafe4a27 ENH - allow movement while phone is open
Add Config.Phone.AllowMovement and route it through the central focus resolver. Keep camera and attention overlays authoritative over movement input, document the setting, and cover the focus-state combinations.
2026-08-15 22:17:41 +02:00
Leon.Schmidt acb71375ec FIX - keep fixed app canvases theme-safe
Override status-bar foregrounds for apps with intentionally fixed light or dark canvases so indicators stay readable in either system mode. Increase LocalPages light-theme accent contrast after the full app audit.
2026-08-15 20:04:54 +02:00
Leon.Schmidt 14fcfe384d ADD - separate Home and Lock wallpapers
Store independent Home Screen and Lock Screen wallpaper selections, preserve legacy preferences, and route gallery or camera picks to the selected destination. Add the Settings segmented selector and contract coverage.
2026-08-15 20:04:45 +02:00
Leon.Schmidt f6fb680fbd FIX - give Control Center an opaque backdrop
Replace the scene-dependent background with a stable layered material and keep the control panel above it. Performance mode now uses the same readable fallback without relying on blur.
2026-08-15 20:04:34 +02:00
Leon.Schmidt 47778c70e6 BLD - update app, map and weather images
Replaces the map atlas and several WebP app/weather icon assets with updated binaries and removes the old feather.svg icon (iconography migrated to WebP). Pure asset refresh / visual update; no code changes. Run the frontend build (build_frontend.bat) if you need to verify the updated NUI bundle.
2026-08-15 15:56:54 +02:00
Leon.Schmidt d31ca9960d FIX - map company contacts from config
Use each company definition's validated HTTPS LogoUrl for automatic Phone contacts and populate Company or Group with the configured company name. Keep uploaded company logos as profile overrides, update browser mocks and tests, and document the required LogoUrl config field.
2026-08-15 15:35:28 +02:00
Leon.Schmidt 2544cfd490 FIX - theme Memos overlays
Root cause: the Memos dialogs and action sheet render beside the themed SkyAppPage, so they inherited light root tokens even while the phone was in dark mode.

Attach the SKYUI provider theme to every Memos overlay and preserve the app's red accent across recording, discard, delete, and action surfaces.
2026-08-15 04:11:51 +02:00
Leon.Schmidt dcee16fed2 ENH - rebuild Memos with SKYUI
Root cause: the Memos app still owned its layout and dialogs through legacy Konsta primitives, which kept the header, empty state, and recording actions outside the shared SKYUI patterns.

Replace the list, player, footer composer, empty state, and centered recording dialogs with SKYUI components. Move search and recording controls into the bottom composer and keep the recording actions inside the popup.
2026-08-15 03:57:49 +02:00
Type 458ad92429 Merge branch 'weather-app' into dev 2026-08-15 00:02:44 +02:00
DerEchteAlec 4954c26419 ENH - align Sky UI catalog with Konsta 2026-08-15 00:00:14 +02:00
Type 56ca2c5ba9 ADD - introduce Health phone app
Add the Health app with server-authoritative health, wellness, medical ID, and emergency-contact data flows.

Register the app in the phone UI, add localized configuration and NUI coverage, persist its schema through the resource migration and install SQL, and include design references and the WebP app icon.
2026-08-14 23:23:46 +02:00
Leon.Schmidt 25c8adb737 FIX - support configurable company service numbers
Company service lines were validated as full-length SIM numbers, which rejected short configured numbers such as 911 and stopped dependent server modules from initializing.

Accept non-empty service numbers up to the configured SIM length, resolve configured service lines before direct SIM dialing for phone and payphone calls, and load Companies and SIM before Phone. Add focused normalization boundary tests.
2026-08-14 21:24:35 +02:00
Leon.Schmidt a9dd46f98f FIX - Inline App Store bundle; CEF-compatible CSS
Make the App Store part of the phone shell (remove preload helper/loadAppStoreComponent and App.vue preload) by importing AppStoreApp in PhoneAppWindow and selecting it when app.id === 'app-store'. Update the apps registry to use an inline import for the async component. Replace unsupported CSS features (:has, color-mix) with CEF-safe alternatives using semantic tokens (--sky-app-accent-soft, --sky-danger-soft) and add explicit .store-action-button/.store-action-button--icon and .store-detail__action classes. Add contract tests to assert the App Store is bundled with the shell and that styles remain compatible with the FiveM CEF target.
2026-08-14 21:04:10 +02:00
smx.pusha 6cdbe753ad FIX - share phone contacts through EasyShare
Load the server-canonical own contact instead of constructing an unsupported profile payload in the Phone app. Move canonical contact resolution before payload sanitization so self-contact transfers are validated and received correctly, with a regression contract test.
2026-08-14 19:51:32 +02:00
smx.pusha adaa2a3eef ENH - refine factory reset screen
Replace the circular reset ornament with a layered device mark and add a modern restrained gradient surface while preserving the existing reset progress and protection status behavior.
2026-08-14 19:51:32 +02:00
smx.pusha 048e72a4ae FIX - preload App Store module
Preload and cache the App Store route module when the phone shell starts so FiveM CEF does not fetch it only after the user opens the app. Cover the shared loader contract with a focused registry test.
2026-08-14 19:51:32 +02:00
Leon.Schmidt 0e1838fb1e FIX - Shorten emergency service numbers
Update sky_phone/config/companies.lua to use short 3-digit service numbers. Replaces long strings for Police, Medical, and Fire service lines with '911', '912', and '913' respectively to match expected dialing behavior; no other changes made.
2026-08-14 18:43:18 +02:00
smx.pusha e5f746ea4a FIX - escape reserved locale key 2026-08-14 17:27:35 +02:00
smx.pusha 2bbbe87dcb ENH - expand House browser fixtures 2026-08-14 17:27:35 +02:00
smx.pusha 7ab9924fa7 ENH - refine setup and reset transitions 2026-08-14 17:27:35 +02:00
Type d0d6f96b7d ENH - merge Picstagram Sky UI updates
Merge the Picstagram Sky UI work and its dependent phone, media, voice, gallery, app store, setup, and UI parity updates into weather-app.

Resolve the frontend development port configuration and retain the Sky UI EasyShare implementation. Frontend validation and local resource deployment completed; included configuration, locale, and SQL updates require no separate migration step beyond this merge.
2026-08-14 17:12:31 +02:00
Type 562dd8f321 ENH - polish weather refresh experience
Migrate the Weather app to the Sky UI primitives with richer condition effects, updated WebP icons, and pull-to-refresh feedback.\n\nAdd a shared reload cooldown for weather, banking, and housing actions, including localized status feedback and test-server coverage.
2026-08-14 17:09:03 +02:00
Leon.Schmidt e81f092991 ENH - rebuild Picstagram with SKYUI
Replace the legacy Konsta-based layout at its source with SKYUI components and responsive app-specific styling. Add media creation, profile and social improvements, comment reactions and replies, plus Activity and phone notification delivery with the required database migration.
2026-08-14 16:39:41 +02:00
smx.pusha e033271cb2 ADD - introduce advanced phone setup and reset flow 2026-08-14 14:35:27 +02:00
smx.pusha 5d494419da ENH - merge wallpaper customization 2026-08-14 13:19:31 +02:00
smx.pusha 33cf49e8b6 ENH - overhaul wallpaper customization 2026-08-14 13:19:05 +02:00
smx.pusha 7badddcfa2 FIX - merge Gallery test portability 2026-08-14 12:55:41 +02:00
smx.pusha 1c90c62e62 FIX - make Gallery fixture test line-ending agnostic 2026-08-14 12:55:30 +02:00
smx.pusha 2dc426cfdc ENH - merge App Store overhaul 2026-08-14 12:54:03 +02:00
smx.pusha 54924daca0 ENH - overhaul App Store experience 2026-08-14 12:53:39 +02:00
smx.pusha 451a2d41a7 ENH - merge Photos media overhaul 2026-08-14 10:47:08 +02:00
smx.pusha 3fc0ebb08f ENH - overhaul Photos media experience 2026-08-14 10:46:36 +02:00