feat: redesign Pakkit’s watch and browser experience
- Unify branding around “Pack it. Send it. Wear it.” - Refine layouts, typography, motion, and accessibility - Rewrite product copy, notifications, and error messages - Simplify receiving and contextual installation permissions - Expand browser and Wear OS emulator validation
This commit is contained in:
28 files changed
+1058
-471
No files matched your search
+21
-4
@@ -1,6 +1,6 @@
|
||||
# Pakkit design
|
||||
|
||||
**Pakkit — Pocket to Wrist.** Secondary tagline: **Pack it. Send it. Wear it.** The identity is friendly, playful and polished: an open parcel with a floating app tile, soft geometry, violet lighting and mint/cyan accents.
|
||||
**Pakkit — Pack it. Send it. Wear it.** This is the official brand tagline. The identity is friendly, playful and polished: an open parcel with a floating app tile, soft geometry, violet lighting and mint/cyan accents.
|
||||
|
||||
## Implemented assets
|
||||
|
||||
@@ -13,14 +13,31 @@
|
||||
|
||||
## Themes and layout
|
||||
|
||||
The native watch UI uses midnight `#090 B 17` to limit lit OLED pixels, lavender-white text and semantic mint/error surfaces. Body and secondary copy, badges and action gradient endpoints have automated contrast checks. Actions have a minimum 48 dp height and scalable text. Proportional margins and bottom padding allow controls to move into the usable center of a round display. The QR is sized to screen width and positioned within the circular safe area; the full URL and trust disclosure remain scrollable below it.
|
||||
The native watch UI uses midnight `#090B17` to limit lit OLED pixels, lavender-white text and semantic mint/error surfaces. Body and secondary copy, badges and action gradient endpoints have automated contrast checks. Actions have a minimum 48 dp height and scalable text. Proportional margins and bottom padding allow controls to move into the usable center of a round display. The QR is sized to screen width and positioned within the circular safe area; the full URL and connection disclosure are available through **View link**, with native back navigation. The home screen pairs a compact parcel/wordmark with a visible receiving action. Source permission is requested at the app review, where its purpose is clear.
|
||||
|
||||
The browser follows prefers-color-scheme with an explicit in-session toggle. Dark is midnight with violet/cyan lighting; light uses soft lavender and white surfaces. A two-column desktop layout becomes a single-column layout at smaller widths. The maintained CSS, HTML and JavaScript are readable source files, formatted with the optional web development tools. Native browser controls, semantic headings, focus rings, file labels and a live status region support keyboard and assistive access.
|
||||
The browser leads with the official tagline, original parcel artwork and a compact Choose / Send / Wear indicator. Mobile layouts omit the redundant journey explainer. It follows prefers-color-scheme with an explicit in-session toggle. Dark is midnight with violet/cyan lighting; light uses soft lavender and white surfaces. A two-column desktop layout becomes a single-column layout at smaller widths. The maintained CSS, HTML and JavaScript are readable source files, formatted with the optional web development tools. Native browser controls, semantic headings, focus rings, file labels and a live status region support keyboard and assistive access.
|
||||
|
||||
## Motion and product states
|
||||
|
||||
The watch has static decorative artwork. Browser motion is a finite parcel entrance and short hover/press feedback; prefers-reduced-motion disables these. There are no continuous particle effects or decorative render loops. Polling pauses in hidden tabs.
|
||||
The watch has static decorative artwork and a finite 180 ms screen entrance when system animation is enabled. Progress updates do not restart it. Browser motion is a finite parcel entrance and short hover/press feedback; prefers-reduced-motion disables these. There are no continuous particle effects or decorative render loops. Polling pauses in hidden tabs.
|
||||
|
||||
Upload progress reflects actual XHR bytes sent and socket bytes read. “100% sent” transitions to package checking, never to an installation-success claim. The browser distinguishes upload, verification, watch review, system approval, failure and success. Android STATUS_SUCCESS is the authority for “installed”. Cancelling an HTTP request does not imply a rollback of a file the watch may already have received.
|
||||
|
||||
Keep copy precise: preflight does not certify safety or runtime compatibility. Source approval and system consent are explicit decisions. The trust disclosure describes unencrypted local HTTP without claiming encryption.
|
||||
|
||||
## Product voice
|
||||
|
||||
Write for the person wearing the watch: short, warm, specific and calm. Let the parcel, color and interactions carry the playfulness. Use APK when a file type matters; use app in actions and outcomes. Never introduce architectural history, development setup or platform API names into the product interface. Keep necessary connection privacy information accessible in context rather than repeating warnings throughout the journey.
|
||||
|
||||
| Moment | Watch | Browser |
|
||||
| --- | --- | --- |
|
||||
| Start | Pakkit + official tagline; Start receiving | Official tagline; Choose app |
|
||||
| Connect | Scan to send; View link | Connected to your watch |
|
||||
| Transfer | On its way + actual percentage | On its way + actual percentage |
|
||||
| Check | Just checking… | Just checking… |
|
||||
| Review | Ready to install; Install or contextual Allow installs | Made it to your watch |
|
||||
| Approval | Continue, with recovery action | One tap closer |
|
||||
| Success | All yours.; Open app | Looks good on you. |
|
||||
| Failure | Couldn’t install + specific recovery | Let’s try that again + specific recovery |
|
||||
|
||||
Watch screen copy lives in Android string resources. Deliberately written package-validation messages are marked with `UserMessage`; unknown file/platform exceptions are replaced with recovery copy at the UI boundary, while installer diagnostics stay in logs. Notification copy follows the same voice. The app name and official tagline are shared branding resources. Browser result changes are announced with a live region, and color is never the only state indicator.
|
||||
+1
-1
@@ -20,7 +20,7 @@ python 3 scripts/test-emulators.py --watch emulator-5554 --small --skip-build
|
||||
|
||||
Use actual serials from `adb devices`. The runner refuses serials that do not start with `emulator-` and requires the watch feature. It never selects a physical device. It connects the watch to the virtual AndroidWifi access point, installs only the app/test APKs and saves results under `app/build/reports/validation`. The small-screen run temporarily uses 192 dp and 1.3x font scaling, restoring the previous size, density and font setting in a finally block.
|
||||
|
||||
For install tests, first open Pakkit on the emulator and use **Allow installs** to approve it through the normal system UI. No shell permission grant is needed. Tests mark missing source approval as an assumption; the runner treats skipped tests as incomplete validation. Native tests clean up staged files, pending system sessions, notifications and activities. The official-installer test stops at required system consent and abandons its test session afterward.
|
||||
For install tests, first send an APK to Pakkit on the emulator and use **Allow installs** on its review screen, or open Android Settings → Apps → Special app access → Install unknown apps → Pakkit. Approve it through the normal system UI. No shell permission grant is needed. Tests mark missing source approval as an assumption; the runner treats skipped tests as incomplete validation. Native tests clean up staged files, pending system sessions, notifications and activities. The official-installer test stops at required system consent and abandons its test session afterward.
|
||||
|
||||
The optional Google Maven mirror property is documented in README.md. If needed, build with that property and pass --skip-build to the runner; its default build uses standard repositories.
|
||||
|
||||
|
||||
+7
-7
@@ -21,18 +21,18 @@ Browser UI fixtures exercise interactions independently; the separate Android Em
|
||||
|
||||
## Latest completed run
|
||||
|
||||
Refactoring validation date: October 15, 2026. No physical device was accessed.
|
||||
Product experience validation date: October 15, 2026. No physical device was accessed.
|
||||
|
||||
- **19 JVM tests passed**, with zero failures/errors.
|
||||
- **14 native tests passed** on the round Wear OS API 37 emulator, with no skipped assumptions. This includes the public installer’s required-consent callback and refusal of requests after a session deadline.
|
||||
- **Two round UI tests passed again** at 192 dp / 1.3x text: reachable review actions and a decodable QR whose full square fits inside the circular bezel. Size, density and font scale were restored.
|
||||
- **13 browser UI checks passed** on Chromium 140.0.7339.16 across four viewport widths and both themes, with zero JavaScript errors.
|
||||
- **21 JVM tests passed**, with zero failures/errors.
|
||||
- **17 native tests passed** on the round Wear OS API 37 emulator, with no skipped assumptions. This includes the public installer’s required-consent callback and refusal of requests after a session deadline.
|
||||
- **Five round UI tests passed again** at 192 dp / 1.3x text: the initial receiving action stays visible, review/approval/error/success controls are reachable, connection details and transfer feedback work, and a decodable QR fits inside the circular bezel. Size, density and font scale were restored.
|
||||
- **16 browser UI checks passed** on Chromium 140.0.7339.16 across four viewport widths and both themes, including connection recovery, keyboard focus, reduced motion and 200% zoom at an effective 320 px layout width, with zero JavaScript errors.
|
||||
- **Real Android Emulator Chrome 145.0.7632.218 uploaded the signed fixture directly to the Wear OS Emulator over virtual Wi-Fi**, receiving READY review state. The test dismissed its package, ended receiving and removed its local debug forward.
|
||||
- **Clean builds succeeded** for the debug app, instrumentation APK, unit tests, lint and optimized release AAB. Lint has zero errors; three remaining warnings are SDK/Gradle/library update notices, not unused code/resources.
|
||||
- **Debug, test and release builds succeeded** for the debug app, instrumentation APK, unit tests, lint and optimized release AAB. Lint has zero errors; three remaining warnings are SDK/Gradle/library update notices, not unused code/resources.
|
||||
- Release inspection found exactly the three bundled web assets, no fixture APK/test payload, no package-visibility queries, one exported launcher and non-exported service/installer receiver. The release dependency graph contains ZXing Core, Kotlin stdlib and its annotations dependency.
|
||||
- The unchanged Gradle distribution version is checksum-pinned to its official download. Release output is unsigned when signing inputs are absent; incomplete signing configuration fails clearly.
|
||||
|
||||
Detailed XML, text logs, screenshots and browser summaries are generated under app/build/reports and app/build/test-results. They are not source assets or claims of universal hardware/browser support.
|
||||
Ten watch product-state screenshots at each tested size, browser screenshots, detailed XML, text logs and browser summaries are generated under app/build/reports and app/build/test-results. They are not source assets or claims of universal hardware/browser support.
|
||||
|
||||
## Hardware-specific release matrix
|
||||
|
||||
|
||||
Reference in new issue
Block a user