- Match device item design to reference (ic_chip, status chips, trailing icon) - Add header (Your devices) and footer to device list - CTA at bottom, centered 46% width, same style for Sign in/Add device - Window background #FAFAFA, LegacyBackground on list area - No spacing between device items, no horizontal margin on list - Add DeviceItem.extra, ic_go_to_location drawable - Replace personal data with User/user@example.com - Strengthen app-recreation-core rule: path check before edits - Restore real auth logic in ManageViewModel Made-with: Cursor
48 lines
1.9 KiB
Plaintext
48 lines
1.9 KiB
Plaintext
---
|
|
description: Core constraints for AIRMQ recreation project
|
|
alwaysApply: true
|
|
---
|
|
|
|
# AIRMQ Recreation Core Rules
|
|
|
|
## CRITICAL: Path check before any edit
|
|
|
|
**BEFORE editing any file, verify its path.**
|
|
|
|
- Path contains `airmq-android` but **NOT** `airmq-android-2026` → **NEVER EDIT.** Read-only reference.
|
|
- Path contains `airmq-android-2026` → OK to edit.
|
|
|
|
Example: `C:\Users\sysop\Desktop\airmq-android\app\...` → **DO NOT MODIFY.**
|
|
|
|
## Hard repository constraint
|
|
|
|
ALL CHANGES ONLY IN `airmq-android-2026` REPO; NO CHANGES EVER IN `airmq-android`.
|
|
|
|
## Repository boundaries
|
|
|
|
1. **NEVER** modify anything under `C:\Users\sysop\Desktop\airmq-android`.
|
|
2. Treat `airmq-android` as read-only reference only.
|
|
3. Create and apply all code/config/build changes only under `C:\Users\sysop\Desktop\airmq-android-2026`.
|
|
|
|
## Working policy
|
|
|
|
- When referencing legacy implementation details, copy behavior intentionally into the new project rather than editing old files.
|
|
- If a task appears to require modifying the old project, stop and propose an equivalent change in `airmq-android-2026` instead.
|
|
|
|
## Naming convention
|
|
|
|
- Use `AirMQ` everywhere for product naming.
|
|
- Never use mixed-case variants in text, docs, comments, identifiers, filenames, or symbols.
|
|
|
|
## Baseline architecture and platform stack
|
|
|
|
Use this stack as the default foundation for all implementation work in `airmq-android-2026`:
|
|
|
|
1. Jetpack Compose for UI.
|
|
2. Compose Navigation 3 as the in-app navigation system.
|
|
3. Firebase for mobile backend capabilities (for example auth, analytics, crash reporting, messaging, or remote config as needed).
|
|
4. OpenStreetMap platform for map rendering and map-related interactions.
|
|
5. Apollo GraphQL for GraphQL schema integration, client generation, and network operations.
|
|
|
|
If a requested change conflicts with this baseline, ask for explicit approval before introducing an alternative.
|