diff --git a/RETROSPECTIVE-2026-05-19.md b/RETROSPECTIVE-2026-05-19.md new file mode 100644 index 0000000..288103c --- /dev/null +++ b/RETROSPECTIVE-2026-05-19.md @@ -0,0 +1,228 @@ +# Proposal System — Retrospective (2026-05-19, updated 2026-05-20, session 5 added 2026-05-20) + +## Executive Summary + +Across four sessions (2026-05-18, 2026-05-19, and two on 2026-05-20), the project progressed from a broken mobile CI pipeline to a functional mobile app on device AND a fully tested web frontend with working dev-mode authentication, proposal lifecycle, and admin workflows. + +**Sessions 1-3 (Mobile):** The mobile app went from a broken CI pipeline to a functional app running on a physical device with working email/password authentication. Three distinct launch crashes were resolved, Cognito SRP login was validated end-to-end, and multiple UI issues were fixed. The app boots, authenticates, and renders on iOS 26 hardware. However, it cannot communicate with the backend API from a device, Google OAuth crashes the app, and the branch has not been merged to main. + +**Session 4 (Web):** Full local web testing exposed six bugs in the API and frontend: enum serialization failures, identity/role confusion in dev-login, incorrect proposal ownership filtering, Autocomplete binding issues, audit log format errors on Postgres jsonb columns, and missing API idempotency. All were fixed in four logical commits. The web app's core workflow — submit as dispatcher, review/edit/approve/send as admin — is now functional end-to-end in dev mode. + +**Session 5 (Automated QA):** Ran 4 parallel test agents covering ~145 test cases across every API endpoint and every frontend page. Found 18 bugs (2 critical, 4 high, 7 medium, 5 low). All 16 actionable bugs fixed in 4 commits. Critical: admin dashboard LINQ crash (EF Core can't translate TimeSpan.TotalHours to SQL) and revision endpoint 500 (unique constraint on ProposalNumber). High: dispatcher dashboard data exposure (missing mine filter), no frontend role guards on admin routes, submittedByName null on mutation responses, invalid role silently defaulting to Admin. Also extracted duplicated STATUS_COLORS and format utilities into shared modules, wired the admin dashboard filter dropdowns, and added debounce to customer search. + +**Systemic findings:** The web session revealed two architectural gaps: (1) audit logging was fragile — a format error in a non-critical audit write could roll back an otherwise successful save, and (2) state machine transitions lacked idempotency, meaning retries or UI double-clicks could produce 500 errors instead of graceful no-ops. Both are patterns that would have surfaced in production under real load. Session 5 added a third: the frontend had no authorization enforcement — `ProtectedRoute` checked authentication but not role, so any logged-in user could navigate to admin pages by URL. + +## Standards Compliance Status + +| Rule | Status | Detail | +|------|--------|--------| +| Naming conventions | PASS | kebab-case throughout, branch name follows pattern | +| CI/CD pipeline exists | PASS | `deploy-mobile.yaml` and `deploy.yaml` both trigger on push to main | +| OIDC deploy role | PASS | `githubdeploy-proposal-system` | +| README accurate | **PARTIAL** | Root README updated (0.85, deploy status). `mobile/README.md` incomplete (no auth/device docs). Web dev mode not documented. | +| Confluence updated | **FAIL** | No Atlassian MCP. Architecture Map missing mobile pipeline, Cognito auth flow, and web dev-mode setup | +| Memory updated | **UPDATED** | Project memory updated with session 4 web fixes. New feedback memories created for API patterns. | +| Git workflow | PASS | All sessions used feature branch `mobile/fix-react-version-and-ui` | +| Commit messages | PASS | Imperative mood, explains "why", logically grouped changes | +| CDK callback URL fix | PASS | Fixed in CDK + live Cognito via AWS CLI | +| Pre-push lint/typecheck | NOT VERIFIED | Did not run typecheck before pushing — should have per CLAUDE.md hook | +| Dev secrets excluded | PASS | `appsettings.Development.json` (dev signing key) kept untracked, not committed | +| API idempotency | **FIXED** | Approve, MarkSent, Revise transitions now idempotent. Audit failures isolated from saves. | + +## Required Memory Updates + +### Completed this session + +1. **`project_proposal_system.md`** — Updated with session 4 web fixes: dev-mode setup, enum serialization, audit log format, idempotent transitions, scoped My Proposals filtering. + +2. **`feedback_mobile_deploy_lessons.md`** — All three session-3 lessons added (React pinning, import type, dev API URL). Done in session 3. + +3. **`feedback_react_version_pinning.md`** — Created in session 3. Done. + +4. **`feedback_api_idempotency.md`** — NEW: State machine transitions must be idempotent. Audit writes must not roll back successful saves. + +5. **`feedback_jsonb_audit_format.md`** — NEW: Postgres jsonb columns require valid JSON, not plain strings. Audit details must be wrapped. + +### Still outstanding + +6. **`reference_mobile_testflight.md`** — The ⚠️ note about "username/password flow needs to be added" is now resolved but not yet updated in the file. + +## Required Documentation Updates + +| Doc | Status | Action | +|-----|--------|--------| +| Root `README.md` | Updated (session 2) | Needs update: add web dev-mode setup instructions (DevMode, dev-login, local Postgres) | +| `mobile/README.md` | Exists but incomplete | Add: email/password auth via Cognito SRP, `patch-package` for netinfo iOS 26 fix, React version pinning requirement, local device testing setup | +| `api/` dev setup | **MISSING** | No documentation for local API development: `appsettings.Development.json` template (without secrets), Docker Compose for Postgres, dev-login endpoint usage | +| Confluence "AWS Architecture Map" | **OUTSTANDING** | Still blocked — no Atlassian MCP. Needs: mobile CI/CD pipeline, Cognito auth flow, web dev-mode architecture | +| CDK `foundation-stack.ts` | Updated (session 2) | Callback URLs fixed, CfnOutputs added for client IDs | + +## Reusable Skills / Automations + +| Candidate | Type | ROI | Description | +|-----------|------|-----|-------------| +| React version coherence check | CI step | **CRITICAL** | `node -e` script that reads `node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js`, extracts the hardcoded version string, and compares against `node_modules/react/package.json`. Fails if mismatch. Would have caught the exact crash from session 3. | +| API idempotency test suite | Integration test | **HIGH** | For each state-machine endpoint (approve, markSent, revise), call twice with same input and assert both return 200 with matching response. Would have caught all three idempotency bugs from session 4. Pattern: assert `f(f(x)) == f(x)` for all mutation endpoints. | +| Audit isolation pattern | Code pattern | **HIGH** | Wrap all non-critical audit writes in try/catch so they never roll back the primary operation. Consider a `SafeAuditService` decorator or middleware. Session 4's bulk update 500 error was caused by audit failure after a successful save. | +| iOS device smoke test script | Script / Runbook | HIGH | Checklist for post-build device testing: connect device, Metro `--host `, build with automatic signing, verify login, test auth flow. | +| `patch-package` audit CI step | CI check | MEDIUM | Verify patches in `mobile/patches/` still apply cleanly and patched packages haven't been updated. | +| Dev-mode login test harness | Script | MEDIUM | Script that exercises all three dev-login roles (SysAdmin, Admin, Dispatcher) and verifies each returns a distinct user identity with correct role. Would have caught the role/identity confusion bugs immediately. | +| Cognito ID token user extraction | Utility | LOW | `parseUserFromIdToken()` in `auth.ts` — reusable for any Cognito-backed app. | + +## Key Lessons Learned + +### React Native Runtime (Sessions 1-3) + +1. **React version MUST be pinned exactly, not with semver range.** RN 0.85.3's bundled `ReactNativeRenderer-dev.js` has a hard check: `if ("19.2.3" !== isomorphicReactPackageVersion)`. The peer dependency says `^19.2.3`, npm resolves to 19.2.6, and the app crashes with an opaque "Cannot read property 'default' of undefined" in `getPaperRenderer`. Pin `"react": "19.2.3"` in package.json. + +2. **`import type` is not reliably erased for modules with native initialization.** `import type { CognitoUserSession } from 'amazon-cognito-identity-js'` was NOT stripped by Babel in RN's build pipeline. The module eagerly initialized native crypto at import time, causing a crash. Fix: remove the import entirely and use `any`, or use dynamic `await import()`. + +3. **`localhost` in dev config is the phone, not the Mac.** `API_URL: 'http://localhost:5000/api'` in dev mode is unreachable from a physical device. Need either LAN IP or a fallback strategy. + +### iOS 26 Specific (Sessions 1-3) + +4. **CoreTelephony APIs removed without replacement.** `@react-native-community/netinfo` v12.0.1 still calls deprecated APIs. Required `patch-package` with `respondsToSelector:` guards. + +5. **iPhone Mirroring is the fastest way to test on device.** Built into macOS 26, gives full touch control. Developer Mode on the phone is under Settings > Privacy & Security. + +### .NET API / Web Frontend (Session 4) + +6. **Postgres jsonb columns reject plain strings.** The `details` column on `AuditLogs` is typed `jsonb`. Writing a bare string like `"Added: Widget repair"` produces Postgres error 22P02. Wrap in a JSON object: `JsonSerializer.Serialize(new { message = details })`. This is easy to miss because SQLite and SQL Server `nvarchar` accept anything. + +7. **System.Text.Json requires explicit `JsonStringEnumConverter` for enum round-tripping.** Without it, sending `"ServiceCategory": "Plumbing"` from the frontend produces a validation error because the default deserializer expects an integer. Must add `options.JsonSerializerOptions.Converters.Add(new JsonStringEnumConverter())` in `AddJsonOptions`. + +8. **State machine transitions must be idempotent.** Approve, MarkSent, and Revise all threw `InvalidOperationException` on repeat calls (e.g., from network retries or UI double-clicks). Fix: if already in the target state, return current entity instead of throwing. This is especially critical for mobile clients with unreliable connectivity. + +9. **Audit writes must never roll back successful business operations.** `BulkUpdateAsync` saved line items successfully, then `_audit.LogAsync` threw (due to the jsonb format bug), and the entire request returned 500. The user saw "unexpected error" even though their data was saved. Fix: wrap non-critical audit calls in try/catch. + +10. **Dev-login must produce deterministic, distinct identities per role.** Using `Guid.NewGuid()` for CognitoSub meant the same email produced different identities across logins. Using a single hardcoded email for all roles meant switching roles didn't actually switch users. Fix: deterministic sub (`dev-{email}`), distinct email/name per role, and update role on existing user if changed. + +11. **"My Proposals" means ownership, not role-based filtering.** Initial implementation filtered by role (show all for admins, filter for dispatchers). The correct behavior: "My Proposals" always shows only proposals the current user submitted, regardless of role. Admins see all proposals in the separate Admin Queue. + +### Process (All Sessions) + +12. **Feature branch for iterative debugging works.** Session 2 pushed 10+ commits to main. Sessions 3-4 used `mobile/fix-react-version-and-ui` — all fixes stay off main until ready. + +13. **User testing catches what type systems and linters can't.** Session 4's six bugs all passed TypeScript compilation and would pass unit tests. They were logic errors in business rules, serialization config, and identity management that only surfaced through manual workflow testing. Interactive testing with role-switching is essential before any deploy. + +## Highest ROI Improvements + +Ranked by impact-to-effort: + +1. **Add API idempotency integration tests** (1 hr) — For each state-machine endpoint, call twice with same input and assert both return 200. Pattern: `assert f(f(x)) == f(x)`. Would have caught 3 of session 4's bugs automatically. Generalizable to any future endpoint. + +2. **Add React version coherence CI check** (30 min) — A 10-line node script that extracts the expected version from the bundled renderer and compares to installed React. Prevents the most time-consuming crash from session 3. + +3. **Isolate audit writes from business operations** (30 min) — Create a `SafeAuditService` wrapper or add try/catch to all audit calls in services. The pattern already exists in `LineItemService` but should be systematic, not ad-hoc. A single audit format bug caused a 500 on an otherwise successful operation. + +4. **Add `.gitignore` to API project** (5 min) — `appsettings.Development.json` contains dev signing keys and must not be committed. Currently relying on manual exclusion. Add it to `.gitignore` with a template file (`.example`) that documents the required keys without values. + +5. **Document web dev-mode setup** (15 min) — No docs exist for running the API locally: Docker Compose for Postgres, `appsettings.Development.json` template, dev-login endpoint, role switching. This will block any new developer. + +6. **Merge `mobile/fix-react-version-and-ui` and deploy** (5 min) — Branch has 8 commits of critical fixes (sessions 3-4). Current TestFlight build crashes. Must merge before next submission. + +7. **Fix dev API_URL for physical devices** (10 min) — `localhost:5000` is unreachable from iPhone. Blocks all API-dependent mobile features during device testing. + +8. **Pin all RN ecosystem versions exactly** (5 min) — Already done for React; extend to all `@react-native/*` packages. + +## Outstanding Risks or Follow-Ups + +| Priority | Item | Risk | Branch/Location | +|----------|------|------|-----------------| +| **BLOCKING** | Feature branch not merged — TestFlight build still crashes | Any TestFlight tester or Apple reviewer will see a crash | `mobile/fix-react-version-and-ui` | +| **BLOCKING** | Google OAuth crashes the app on tap | Apple reviewer may try both login methods | `auth.ts` → `react-native-app-auth` → Cognito Hosted UI | +| **HIGH** | `appsettings.Development.json` not in `.gitignore` | Dev signing key could be accidentally committed | `api/src/ProposalSystem.Api/` | +| **HIGH** | Dev API_URL is `localhost:5000` — all API calls fail on device | Proposals can't be created, viewed, or searched on device | `config.ts` | +| **HIGH** | Placeholder app icons (solid blue squares) | Unprofessional for TestFlight / App Store | `ios/ProposalSystem/Images.xcassets` | +| **HIGH** | No web dev-mode setup documentation | New developer can't run the system locally | Root README / api/ docs | +| ~~HIGH~~ | ~~Audit isolation is ad-hoc, not systematic~~ | ~~Fixed session 4; session 5 verified via testing~~ | ~~LineItemService, ProposalService~~ | +| **MEDIUM** | Confluence Architecture Map still missing mobile pipeline | Documentation debt per CLAUDE.md | Page 1540098 | +| **MEDIUM** | `react-native-paper` has known issues with RN 0.85 | May surface as bugs in production | GitHub issues #4889, #4905 | +| **MEDIUM** | netinfo patch needs monitoring for upstream fix | Patches can silently break on version bumps | `patches/@react-native-community+netinfo+12.0.1.patch` | +| **MEDIUM** | `DeleteAsync` in `LineItemService` doesn't update `TotalBidAmount` | Deleting a line item leaves the proposal total stale | `LineItemService.cs:113` | +| **LOW** | `no-floating-promises` ESLint rule still not added | Class of crash from session 2 can recur | `mobile/.eslintrc` | +| **LOW** | Cognito test user password in memory file | Acceptable for internal test account | `reference_mobile_testflight.md` | +| **LOW** | 4 Dependabot vulnerabilities open | Adam deferred these | GitHub Security tab | + +## Session 5 Changelog — Automated QA & Bug Fixes (2026-05-20) + +All fixes on `mobile/fix-react-version-and-ui` (4 commits, not yet on main): + +### `d00c552` Fix admin dashboard LINQ crash, revise unique constraint, and mutation response data +- **`AdminController.cs`** — Rewrote avgTurnaround query to fetch approved times to memory before computing TotalHours (EF Core/Npgsql cannot translate TimeSpan.TotalHours) +- **`ProposalService.cs` ReviseAsync** — Append `-R{n}` suffix to revision ProposalNumber to avoid unique index violation +- **`ProposalService.cs` Update/Approve/MarkSent** — Added `.Include(p => p.SubmittedBy)` so mutation responses return submittedByName + +### `8666010` Validate dev-login input: reject empty email and invalid role +- **`AuthController.cs`** — Return 400 for empty/whitespace email and invalid role strings; default role changed from Admin to Dispatcher (least privilege) + +### `4d72b63` Add frontend role guards, fix dashboard data exposure, and harden UX +- **`ProtectedRoute.tsx`** — New `RoleGuard` component for role-based route protection +- **`App.tsx`** — Wrapped admin routes with `RoleGuard`; `/admin/*` requires Admin/SysAdmin, `/admin/users` requires SysAdmin +- **`Dashboard.tsx`** — Added `mine: true` to dashboard query so dispatchers only see their own proposals +- **`AdminWorkspace.tsx`** — Auto-save dirty changes before approving (was silently discarding edits) +- **`ProposalFormPage.tsx`** — Added onError toast handler; added 300ms debounce on customer autocomplete search +- **`admin.ts`** — Stopped swallowing errors in getPdf; fixed AuditEntry.details type to `string | null` +- **`LoginPage.tsx`** — Fixed pre-existing TS error with noUncheckedIndexedAccess + +### `5e89e42` Extract shared constants and format utils, wire admin dashboard filters +- **`constants/index.ts`** — Added shared `STATUS_COLORS` and `PRIORITY_COLORS` (removed from 5 files) +- **`lib/format.ts`** — New shared `formatCurrency`, `formatDate`, `formatDateTime` (removed from 4 files) +- **`AdminDashboard.tsx`** — Wired Category and Priority filter dropdowns to `usePaginatedList` extraParams +- **`ProposalDetailPage.tsx`** — Added 'Revised' to STATUS_ORDER so stepper renders correctly + +### QA Coverage Summary + +| Test Area | Tests | Pass | Fail | Agent | +|-----------|-------|------|------|-------| +| Auth & RBAC | 35 | 31 | 4 | Auth agent | +| Proposal CRUD & State Machine | 38 | 35 | 3 | Proposal agent | +| Line Items, Customers & Misc | 42 | 39 | 3 | Misc agent | +| Web Frontend Code Review + API | ~30 | ~25 | ~5 | Frontend agent | +| **Total** | **~145** | **~130** | **~15** | — | + +## Session 3 Changelog — Mobile Device Testing (2026-05-20) + +Fixes on `mobile/fix-react-version-and-ui` (not yet on main): + +- **Pin React 19.2.3** — fixes renderer version mismatch crash +- **Remove `import type` from cognito-auth.ts** — fixes eager module init crash +- **Auth fallback to ID token** — `loginWithCredentials` parses user from JWT when backend API unreachable +- **Safe area fixes** — Settings gets top+bottom edges; Dashboard/AdminDashboard use bottom-only (nav header handles top) +- **Pull-to-refresh separation** — filter chip taps no longer trigger refresh animation on proposal queue +- **Welcome name** — shows first name or email prefix instead of full email +- **Service category chips** — wrapping `Chip` components replace truncated `SegmentedButtons` +- **ErrorBoundary** — added to App root for crash visibility + +Already on main (sessions 2-3): + +- **Email/password login screen** — TextInput form + Cognito SRP via `amazon-cognito-identity-js` +- **Cognito config populated** — real values from AWS CLI +- **CDK callback URL fix** — `com.seahavenind.proposals://auth/callback` +- **netinfo iOS 26 patch** — `patch-package` with `respondsToSelector:` guards +- **Auto-deploy enabled** — `deploy-mobile.yaml` triggers on `mobile/**` push to main +- **Root README updated** — RN 0.85, deploy status corrected +- **`mobile/README.md` created** — local dev, signing, CI/CD docs + +## Session 4 Changelog — Web Local Testing (2026-05-20) + +All fixes on `mobile/fix-react-version-and-ui` (4 commits, not yet on main): + +### `f44caba` Fix JSON enum serialization and audit log jsonb format +- **`Program.cs`** — Added `JsonStringEnumConverter` to `AddJsonOptions` so frontend string enums deserialize correctly +- **`AuditService.cs`** — Wrapped plain-string audit details in `JsonSerializer.Serialize(new { message = details })` for Postgres jsonb column +- **`global.json`** — Relaxed SDK version from 8.0.400 to 8.0.100 to match installed .NET SDK + +### `f37c2aa` Fix dev-login role switching, distinct users, and user resolution races +- **`AuthController.cs`** — Dev-login now updates role on existing user; CognitoSub is deterministic (`dev-{email}`) +- **`CurrentUserService.cs`** — Added `DbUpdateException` catch on concurrent user creation with retry lookup +- **`LoginPage.tsx`** — Distinct dev user per role (SysAdmin=Adam, Admin=Sarah, Dispatcher=Mike) + +### `9b97b7b` Fix proposal workflow: scoped My Proposals, idempotent state transitions +- **`ProposalService.cs`** — New proposals created as `InReview` (not `Draft`); My Proposals filters by `Mine` parameter (not role); `ApproveAsync`, `MarkSentAsync`, `ReviseAsync` all idempotent +- **`LineItemService.cs`** — Audit writes wrapped in try/catch so failures don't roll back successful saves +- **`ProposalDtos.cs`** — Added `bool Mine` filter parameter +- **`proposals.ts` / `ProposalListPage.tsx`** — Frontend passes `mine: true` for My Proposals page + +### `2645d97` Fix customer name not binding from Autocomplete free text input +- **`ProposalFormPage.tsx`** — `onInputChange` with `reason === 'input'` now calls `handleChange('customerName', value)` alongside search diff --git a/api/global.json b/api/global.json index ae9f38c..391ba3c 100644 --- a/api/global.json +++ b/api/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.400", + "version": "8.0.100", "rollForward": "latestFeature" } } diff --git a/api/src/ProposalSystem.Api/Controllers/AdminController.cs b/api/src/ProposalSystem.Api/Controllers/AdminController.cs index 5cb7e0a..d5bd61c 100644 --- a/api/src/ProposalSystem.Api/Controllers/AdminController.cs +++ b/api/src/ProposalSystem.Api/Controllers/AdminController.cs @@ -29,11 +29,14 @@ public class AdminController : ControllerBase var approvedThisWeek = await _db.Proposals .CountAsync(p => p.ApprovedAt >= weekStart, ct); - var avgTurnaround = await _db.Proposals + var approvedTimes = await _db.Proposals .Where(p => p.ApprovedAt.HasValue) - .Select(p => (p.ApprovedAt!.Value - p.SubmittedAt).TotalHours) - .DefaultIfEmpty(0) - .AverageAsync(ct); + .Select(p => new { p.ApprovedAt, p.SubmittedAt }) + .ToListAsync(ct); + + var avgTurnaround = approvedTimes.Count > 0 + ? approvedTimes.Average(p => (p.ApprovedAt!.Value - p.SubmittedAt).TotalHours) + : 0; var totalProposals = await _db.Proposals.CountAsync(ct); diff --git a/api/src/ProposalSystem.Api/Controllers/AuthController.cs b/api/src/ProposalSystem.Api/Controllers/AuthController.cs index 8bbf8cb..19dcf12 100644 --- a/api/src/ProposalSystem.Api/Controllers/AuthController.cs +++ b/api/src/ProposalSystem.Api/Controllers/AuthController.cs @@ -99,7 +99,13 @@ public class AuthController : ControllerBase if (string.IsNullOrEmpty(signingKey)) return StatusCode(500, new { message = "Dev signing key not configured" }); - var role = Enum.TryParse(request.Role, true, out var parsed) ? parsed : UserRole.Admin; + if (string.IsNullOrWhiteSpace(request.Email)) + return BadRequest(new { message = "Email is required" }); + + if (!string.IsNullOrEmpty(request.Role) && !Enum.TryParse(request.Role, true, out _)) + return BadRequest(new { message = $"Invalid role: '{request.Role}'. Valid roles are: Dispatcher, Admin, SysAdmin" }); + + var role = Enum.TryParse(request.Role, true, out var parsed) ? parsed : UserRole.Dispatcher; var user = await _db.Users.FirstOrDefaultAsync(u => u.Email == request.Email, ct); if (user == null) @@ -107,7 +113,7 @@ public class AuthController : ControllerBase user = new User { Id = Guid.NewGuid(), - CognitoSub = $"dev-{Guid.NewGuid():N}", + CognitoSub = $"dev-{request.Email}", Email = request.Email, DisplayName = request.DisplayName ?? request.Email.Split('@')[0], Role = role, @@ -118,6 +124,12 @@ public class AuthController : ControllerBase _db.Users.Add(user); await _db.SaveChangesAsync(ct); } + else if (user.Role != role) + { + user.Role = role; + user.UpdatedAt = DateTime.UtcNow; + await _db.SaveChangesAsync(ct); + } var claims = new List { diff --git a/api/src/ProposalSystem.Api/Program.cs b/api/src/ProposalSystem.Api/Program.cs index b3ac383..088f998 100644 --- a/api/src/ProposalSystem.Api/Program.cs +++ b/api/src/ProposalSystem.Api/Program.cs @@ -137,6 +137,9 @@ builder.Services.AddValidatorsFromAssemblyContaining(); builder.Services.AddControllers(options => { options.Filters.Add(); +}).AddJsonOptions(options => +{ + options.JsonSerializerOptions.Converters.Add(new System.Text.Json.Serialization.JsonStringEnumConverter()); }); // Middleware diff --git a/api/src/ProposalSystem.Api/Services/CurrentUserService.cs b/api/src/ProposalSystem.Api/Services/CurrentUserService.cs index 770b943..393b11e 100644 --- a/api/src/ProposalSystem.Api/Services/CurrentUserService.cs +++ b/api/src/ProposalSystem.Api/Services/CurrentUserService.cs @@ -80,7 +80,16 @@ public class CurrentUserService : ICurrentUserService }; _db.Users.Add(_cachedUser); - await _db.SaveChangesAsync(); + try + { + await _db.SaveChangesAsync(); + } + catch (DbUpdateException) + { + _db.Entry(_cachedUser).State = EntityState.Detached; + _cachedUser = await _db.Users.FirstOrDefaultAsync(u => u.Email == email) + ?? throw new UnauthorizedAccessException("Could not resolve current user"); + } } private User GetOrThrow() diff --git a/api/src/ProposalSystem.Application/DTOs/ProposalDtos.cs b/api/src/ProposalSystem.Application/DTOs/ProposalDtos.cs index 27f1aa6..4ac926d 100644 --- a/api/src/ProposalSystem.Application/DTOs/ProposalDtos.cs +++ b/api/src/ProposalSystem.Application/DTOs/ProposalDtos.cs @@ -67,6 +67,7 @@ public record ProposalFilterRequest( DateTime? FromDate, DateTime? ToDate, string? Search, + bool Mine = false, int Page = 1, int PageSize = 25 ); diff --git a/api/src/ProposalSystem.Infrastructure/Services/AuditService.cs b/api/src/ProposalSystem.Infrastructure/Services/AuditService.cs index 9909d9a..355fea8 100644 --- a/api/src/ProposalSystem.Infrastructure/Services/AuditService.cs +++ b/api/src/ProposalSystem.Infrastructure/Services/AuditService.cs @@ -1,3 +1,4 @@ +using System.Text.Json; using ProposalSystem.Application.Interfaces; using ProposalSystem.Domain.Entities; using ProposalSystem.Infrastructure.Data; @@ -17,13 +18,17 @@ public class AuditService : IAuditService public async Task LogAsync(AuditAction action, Guid? proposalId, string? details = null, CancellationToken ct = default) { + var jsonDetails = details != null + ? JsonSerializer.Serialize(new { message = details }) + : null; + var entry = new AuditLog { Id = Guid.NewGuid(), ProposalId = proposalId, UserId = _currentUser.UserId, Action = action, - Details = details, + Details = jsonDetails, Timestamp = DateTime.UtcNow, IpAddress = _currentUser.IpAddress, }; diff --git a/api/src/ProposalSystem.Infrastructure/Services/LineItemService.cs b/api/src/ProposalSystem.Infrastructure/Services/LineItemService.cs index cc2e5bf..e3f53d2 100644 --- a/api/src/ProposalSystem.Infrastructure/Services/LineItemService.cs +++ b/api/src/ProposalSystem.Infrastructure/Services/LineItemService.cs @@ -54,7 +54,11 @@ public class LineItemService : ILineItemService _db.LineItems.Add(lineItem); await _db.SaveChangesAsync(ct); - await _audit.LogAsync(AuditAction.EditLineItem, proposalId, $"Added: {request.Description}", ct); + try + { + await _audit.LogAsync(AuditAction.EditLineItem, proposalId, $"Added: {request.Description}", ct); + } + catch { /* audit failure should not roll back a successful save */ } return MapToResponse(lineItem); } @@ -97,7 +101,11 @@ public class LineItemService : ILineItemService await _db.SaveChangesAsync(ct); - await _audit.LogAsync(AuditAction.EditLineItem, proposalId, $"Bulk update: {newItems.Count} items", ct); + try + { + await _audit.LogAsync(AuditAction.EditLineItem, proposalId, $"Bulk update: {newItems.Count} items", ct); + } + catch { /* audit failure should not roll back a successful save */ } return newItems.OrderBy(li => li.SortOrder).Select(MapToResponse).ToList(); } diff --git a/api/src/ProposalSystem.Infrastructure/Services/ProposalService.cs b/api/src/ProposalSystem.Infrastructure/Services/ProposalService.cs index fa7ff4a..e807934 100644 --- a/api/src/ProposalSystem.Infrastructure/Services/ProposalService.cs +++ b/api/src/ProposalSystem.Infrastructure/Services/ProposalService.cs @@ -43,7 +43,7 @@ public class ProposalService : IProposalService ScopeOfWork = request.ScopeOfWork, ServiceCategory = request.ServiceCategory, Priority = request.Priority, - Status = ProposalStatus.Draft, + Status = ProposalStatus.InReview, Notes = request.Notes ?? string.Empty, SubmittedById = _currentUser.UserId, SubmittedAt = now, @@ -79,7 +79,7 @@ public class ProposalService : IProposalService .Include(p => p.AssignedAdmin) .AsQueryable(); - if (_currentUser.Role == UserRole.Dispatcher) + if (filter.Mine) { query = query.Where(p => p.SubmittedById == _currentUser.UserId); } @@ -135,7 +135,11 @@ public class ProposalService : IProposalService public async Task UpdateAsync(Guid id, UpdateProposalRequest request, CancellationToken ct = default) { - var proposal = await _db.Proposals.FindAsync(new object[] { id }, ct) + var proposal = await _db.Proposals + .Include(p => p.SubmittedBy) + .Include(p => p.AssignedAdmin) + .Include(p => p.ApprovedBy) + .FirstOrDefaultAsync(p => p.Id == id, ct) ?? throw new KeyNotFoundException($"Proposal {id} not found"); if (request.RefinedScope != null) @@ -163,9 +167,14 @@ public class ProposalService : IProposalService { var proposal = await _db.Proposals .Include(p => p.LineItems) + .Include(p => p.SubmittedBy) + .Include(p => p.ApprovedBy) .FirstOrDefaultAsync(p => p.Id == id, ct) ?? throw new KeyNotFoundException($"Proposal {id} not found"); + if (proposal.Status == ProposalStatus.Approved) + return MapToResponse(proposal); + if (proposal.Status != ProposalStatus.InReview) throw new InvalidOperationException("Only proposals in review can be approved"); @@ -186,9 +195,15 @@ public class ProposalService : IProposalService public async Task MarkSentAsync(Guid id, CancellationToken ct = default) { - var proposal = await _db.Proposals.FindAsync(new object[] { id }, ct) + var proposal = await _db.Proposals + .Include(p => p.SubmittedBy) + .Include(p => p.ApprovedBy) + .FirstOrDefaultAsync(p => p.Id == id, ct) ?? throw new KeyNotFoundException($"Proposal {id} not found"); + if (proposal.Status == ProposalStatus.Sent) + return MapToResponse(proposal); + if (proposal.Status != ProposalStatus.Approved) throw new InvalidOperationException("Only approved proposals can be marked as sent"); @@ -211,13 +226,21 @@ public class ProposalService : IProposalService .FirstOrDefaultAsync(p => p.Id == id, ct) ?? throw new KeyNotFoundException($"Proposal {id} not found"); + if (proposal.Status == ProposalStatus.Revised) + { + var existingRevision = await _db.Proposals + .FirstOrDefaultAsync(p => p.ParentProposalId == proposal.Id, ct); + if (existingRevision != null) + return MapToResponse(existingRevision); + } + if (proposal.Status != ProposalStatus.Sent) throw new InvalidOperationException("Only sent proposals can be revised"); var revision = new Proposal { Id = Guid.NewGuid(), - ProposalNumber = proposal.ProposalNumber, + ProposalNumber = $"{proposal.ProposalNumber}-R{proposal.CurrentRevision + 1}", WorkOrderNumber = proposal.WorkOrderNumber, CustomerName = proposal.CustomerName, CustomerAddress = proposal.CustomerAddress, diff --git a/mobile/ios/Podfile.lock b/mobile/ios/Podfile.lock index aa62bc4..9233670 100644 --- a/mobile/ios/Podfile.lock +++ b/mobile/ios/Podfile.lock @@ -5,77 +5,58 @@ PODS: - AppAuth/Core (2.0.0) - AppAuth/ExternalUserAgent (2.0.0): - AppAuth/Core - - boost (1.84.0) - - DoubleConversion (1.1.6) - - fast_float (6.1.4) - - FBLazyVector (0.79.7) - - fmt (11.0.2) - - glog (0.3.5) - - hermes-engine (0.79.7): - - hermes-engine/Pre-built (= 0.79.7) - - hermes-engine/Pre-built (0.79.7) - - RCT-Folly (2024.11.18.00): - - boost - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Default (= 2024.11.18.00) - - RCT-Folly/Default (2024.11.18.00): - - boost - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly/Fabric (2024.11.18.00): - - boost - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCTDeprecation (0.79.7) - - RCTRequired (0.79.7) - - RCTTypeSafety (0.79.7): - - FBLazyVector (= 0.79.7) - - RCTRequired (= 0.79.7) - - React-Core (= 0.79.7) - - React (0.79.7): - - React-Core (= 0.79.7) - - React-Core/DevSupport (= 0.79.7) - - React-Core/RCTWebSocket (= 0.79.7) - - React-RCTActionSheet (= 0.79.7) - - React-RCTAnimation (= 0.79.7) - - React-RCTBlob (= 0.79.7) - - React-RCTImage (= 0.79.7) - - React-RCTLinking (= 0.79.7) - - React-RCTNetwork (= 0.79.7) - - React-RCTSettings (= 0.79.7) - - React-RCTText (= 0.79.7) - - React-RCTVibration (= 0.79.7) - - React-callinvoker (0.79.7) - - React-Core (0.79.7): - - glog + - FBLazyVector (0.85.3) + - hermes-engine (250829098.0.10): + - hermes-engine/Pre-built (= 250829098.0.10) + - hermes-engine/Pre-built (250829098.0.10) + - RCTDeprecation (0.85.3) + - RCTRequired (0.85.3) + - RCTSwiftUI (0.85.3) + - RCTSwiftUIWrapper (0.85.3): + - RCTSwiftUI + - RCTTypeSafety (0.85.3): + - FBLazyVector (= 0.85.3) + - RCTRequired (= 0.85.3) + - React-Core (= 0.85.3) + - React (0.85.3): + - React-Core (= 0.85.3) + - React-Core/DevSupport (= 0.85.3) + - React-Core/RCTWebSocket (= 0.85.3) + - React-RCTActionSheet (= 0.85.3) + - React-RCTAnimation (= 0.85.3) + - React-RCTBlob (= 0.85.3) + - React-RCTImage (= 0.85.3) + - React-RCTLinking (= 0.85.3) + - React-RCTNetwork (= 0.85.3) + - React-RCTSettings (= 0.85.3) + - React-RCTText (= 0.85.3) + - React-RCTVibration (= 0.85.3) + - React-callinvoker (0.85.3) + - React-Core (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTDeprecation - - React-Core/Default (= 0.79.7) + - React-Core-prebuilt + - React-Core/Default (= 0.85.3) - React-cxxreact - React-featureflags - React-hermes - React-jsi - React-jsiexecutor - React-jsinspector + - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-runtimeexecutor - React-runtimescheduler - React-utils - - SocketRocket (= 0.7.1) + - ReactNativeDependencies - Yoga - - React-Core/CoreModulesHeaders (0.79.7): - - glog + - React-Core-prebuilt (0.85.3): + - ReactNativeDependencies + - React-Core/CoreModulesHeaders (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTDeprecation + - React-Core-prebuilt - React-Core/Default - React-cxxreact - React-featureflags @@ -83,53 +64,56 @@ PODS: - React-jsi - React-jsiexecutor - React-jsinspector + - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-runtimeexecutor - React-runtimescheduler - React-utils - - SocketRocket (= 0.7.1) + - ReactNativeDependencies - Yoga - - React-Core/Default (0.79.7): - - glog + - React-Core/Default (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTDeprecation + - React-Core-prebuilt - React-cxxreact - React-featureflags - React-hermes - React-jsi - React-jsiexecutor - React-jsinspector + - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-runtimeexecutor - React-runtimescheduler - React-utils - - SocketRocket (= 0.7.1) + - ReactNativeDependencies - Yoga - - React-Core/DevSupport (0.79.7): - - glog + - React-Core/DevSupport (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTDeprecation - - React-Core/Default (= 0.79.7) - - React-Core/RCTWebSocket (= 0.79.7) + - React-Core-prebuilt + - React-Core/Default (= 0.85.3) + - React-Core/RCTWebSocket (= 0.85.3) - React-cxxreact - React-featureflags - React-hermes - React-jsi - React-jsiexecutor - React-jsinspector + - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-runtimeexecutor - React-runtimescheduler - React-utils - - SocketRocket (= 0.7.1) + - ReactNativeDependencies - Yoga - - React-Core/RCTActionSheetHeaders (0.79.7): - - glog + - React-Core/RCTActionSheetHeaders (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTDeprecation + - React-Core-prebuilt - React-Core/Default - React-cxxreact - React-featureflags @@ -137,17 +121,18 @@ PODS: - React-jsi - React-jsiexecutor - React-jsinspector + - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-runtimeexecutor - React-runtimescheduler - React-utils - - SocketRocket (= 0.7.1) + - ReactNativeDependencies - Yoga - - React-Core/RCTAnimationHeaders (0.79.7): - - glog + - React-Core/RCTAnimationHeaders (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTDeprecation + - React-Core-prebuilt - React-Core/Default - React-cxxreact - React-featureflags @@ -155,17 +140,18 @@ PODS: - React-jsi - React-jsiexecutor - React-jsinspector + - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-runtimeexecutor - React-runtimescheduler - React-utils - - SocketRocket (= 0.7.1) + - ReactNativeDependencies - Yoga - - React-Core/RCTBlobHeaders (0.79.7): - - glog + - React-Core/RCTBlobHeaders (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTDeprecation + - React-Core-prebuilt - React-Core/Default - React-cxxreact - React-featureflags @@ -173,17 +159,18 @@ PODS: - React-jsi - React-jsiexecutor - React-jsinspector + - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-runtimeexecutor - React-runtimescheduler - React-utils - - SocketRocket (= 0.7.1) + - ReactNativeDependencies - Yoga - - React-Core/RCTImageHeaders (0.79.7): - - glog + - React-Core/RCTImageHeaders (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTDeprecation + - React-Core-prebuilt - React-Core/Default - React-cxxreact - React-featureflags @@ -191,17 +178,18 @@ PODS: - React-jsi - React-jsiexecutor - React-jsinspector + - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-runtimeexecutor - React-runtimescheduler - React-utils - - SocketRocket (= 0.7.1) + - ReactNativeDependencies - Yoga - - React-Core/RCTLinkingHeaders (0.79.7): - - glog + - React-Core/RCTLinkingHeaders (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTDeprecation + - React-Core-prebuilt - React-Core/Default - React-cxxreact - React-featureflags @@ -209,17 +197,18 @@ PODS: - React-jsi - React-jsiexecutor - React-jsinspector + - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-runtimeexecutor - React-runtimescheduler - React-utils - - SocketRocket (= 0.7.1) + - ReactNativeDependencies - Yoga - - React-Core/RCTNetworkHeaders (0.79.7): - - glog + - React-Core/RCTNetworkHeaders (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTDeprecation + - React-Core-prebuilt - React-Core/Default - React-cxxreact - React-featureflags @@ -227,17 +216,18 @@ PODS: - React-jsi - React-jsiexecutor - React-jsinspector + - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-runtimeexecutor - React-runtimescheduler - React-utils - - SocketRocket (= 0.7.1) + - ReactNativeDependencies - Yoga - - React-Core/RCTSettingsHeaders (0.79.7): - - glog + - React-Core/RCTSettingsHeaders (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTDeprecation + - React-Core-prebuilt - React-Core/Default - React-cxxreact - React-featureflags @@ -245,17 +235,18 @@ PODS: - React-jsi - React-jsiexecutor - React-jsinspector + - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-runtimeexecutor - React-runtimescheduler - React-utils - - SocketRocket (= 0.7.1) + - ReactNativeDependencies - Yoga - - React-Core/RCTTextHeaders (0.79.7): - - glog + - React-Core/RCTTextHeaders (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTDeprecation + - React-Core-prebuilt - React-Core/Default - React-cxxreact - React-featureflags @@ -263,17 +254,18 @@ PODS: - React-jsi - React-jsiexecutor - React-jsinspector + - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-runtimeexecutor - React-runtimescheduler - React-utils - - SocketRocket (= 0.7.1) + - ReactNativeDependencies - Yoga - - React-Core/RCTVibrationHeaders (0.79.7): - - glog + - React-Core/RCTVibrationHeaders (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTDeprecation + - React-Core-prebuilt - React-Core/Default - React-cxxreact - React-featureflags @@ -281,1079 +273,1154 @@ PODS: - React-jsi - React-jsiexecutor - React-jsinspector + - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-runtimeexecutor - React-runtimescheduler - React-utils - - SocketRocket (= 0.7.1) + - ReactNativeDependencies - Yoga - - React-Core/RCTWebSocket (0.79.7): - - glog + - React-Core/RCTWebSocket (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTDeprecation - - React-Core/Default (= 0.79.7) + - React-Core-prebuilt + - React-Core/Default (= 0.85.3) - React-cxxreact - React-featureflags - React-hermes - React-jsi - React-jsiexecutor - React-jsinspector + - React-jsinspectorcdp - React-jsitooling - React-perflogger + - React-runtimeexecutor - React-runtimescheduler - React-utils - - SocketRocket (= 0.7.1) + - ReactNativeDependencies - Yoga - - React-CoreModules (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - RCT-Folly (= 2024.11.18.00) - - RCTTypeSafety (= 0.79.7) - - React-Core/CoreModulesHeaders (= 0.79.7) - - React-jsi (= 0.79.7) + - React-CoreModules (0.85.3): + - RCTTypeSafety (= 0.85.3) + - React-Core-prebuilt + - React-Core/CoreModulesHeaders (= 0.85.3) + - React-debug + - React-featureflags + - React-jsi (= 0.85.3) - React-jsinspector + - React-jsinspectorcdp - React-jsinspectortracing - React-NativeModulesApple - React-RCTBlob - React-RCTFBReactNativeSpec - - React-RCTImage (= 0.79.7) + - React-RCTImage (= 0.85.3) + - React-runtimeexecutor + - React-utils - ReactCommon - - SocketRocket (= 0.7.1) - - React-cxxreact (0.79.7): - - boost - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-cxxreact (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - - React-callinvoker (= 0.79.7) - - React-debug (= 0.79.7) - - React-jsi (= 0.79.7) + - React-callinvoker (= 0.85.3) + - React-Core-prebuilt + - React-debug (= 0.85.3) + - React-jsi (= 0.85.3) - React-jsinspector + - React-jsinspectorcdp - React-jsinspectortracing - - React-logger (= 0.79.7) - - React-perflogger (= 0.79.7) - - React-runtimeexecutor (= 0.79.7) - - React-timing (= 0.79.7) - - React-debug (0.79.7) - - React-defaultsnativemodule (0.79.7): + - React-logger (= 0.85.3) + - React-perflogger (= 0.85.3) + - React-runtimeexecutor + - React-timing (= 0.85.3) + - React-utils + - ReactNativeDependencies + - React-debug (0.85.3): + - React-debug/redbox (= 0.85.3) + - React-debug/redbox (0.85.3) + - React-defaultsnativemodule (0.85.3): - hermes-engine - - RCT-Folly + - React-Core-prebuilt - React-domnativemodule + - React-Fabric/animated + - React-featureflags - React-featureflagsnativemodule - - React-hermes - React-idlecallbacksnativemodule + - React-intersectionobservernativemodule - React-jsi - React-jsiexecutor - React-microtasksnativemodule + - React-mutationobservernativemodule - React-RCTFBReactNativeSpec - - React-domnativemodule (0.79.7): + - React-webperformancenativemodule + - ReactNativeDependencies + - Yoga + - React-domnativemodule (0.85.3): - hermes-engine - - RCT-Folly + - React-Core-prebuilt - React-Fabric + - React-Fabric/bridging - React-FabricComponents - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-RCTFBReactNativeSpec + - React-runtimeexecutor - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - React-Fabric (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-Fabric (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - - React-Fabric/animations (= 0.79.7) - - React-Fabric/attributedstring (= 0.79.7) - - React-Fabric/componentregistry (= 0.79.7) - - React-Fabric/componentregistrynative (= 0.79.7) - - React-Fabric/components (= 0.79.7) - - React-Fabric/consistency (= 0.79.7) - - React-Fabric/core (= 0.79.7) - - React-Fabric/dom (= 0.79.7) - - React-Fabric/imagemanager (= 0.79.7) - - React-Fabric/leakchecker (= 0.79.7) - - React-Fabric/mounting (= 0.79.7) - - React-Fabric/observers (= 0.79.7) - - React-Fabric/scheduler (= 0.79.7) - - React-Fabric/telemetry (= 0.79.7) - - React-Fabric/templateprocessor (= 0.79.7) - - React-Fabric/uimanager (= 0.79.7) + - React-Fabric/animated (= 0.85.3) + - React-Fabric/animationbackend (= 0.85.3) + - React-Fabric/animations (= 0.85.3) + - React-Fabric/attributedstring (= 0.85.3) + - React-Fabric/bridging (= 0.85.3) + - React-Fabric/componentregistry (= 0.85.3) + - React-Fabric/componentregistrynative (= 0.85.3) + - React-Fabric/components (= 0.85.3) + - React-Fabric/consistency (= 0.85.3) + - React-Fabric/core (= 0.85.3) + - React-Fabric/dom (= 0.85.3) + - React-Fabric/imagemanager (= 0.85.3) + - React-Fabric/leakchecker (= 0.85.3) + - React-Fabric/mounting (= 0.85.3) + - React-Fabric/observers (= 0.85.3) + - React-Fabric/scheduler (= 0.85.3) + - React-Fabric/telemetry (= 0.85.3) + - React-Fabric/uimanager (= 0.85.3) - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/animations (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/animated (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug + - React-Fabric/animationbackend - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/attributedstring (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/animationbackend (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/componentregistry (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/animations (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/componentregistrynative (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/attributedstring (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/bridging (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - - React-Fabric/components/legacyviewmanagerinterop (= 0.79.7) - - React-Fabric/components/root (= 0.79.7) - - React-Fabric/components/scrollview (= 0.79.7) - - React-Fabric/components/view (= 0.79.7) - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components/legacyviewmanagerinterop (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/componentregistry (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components/root (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/componentregistrynative (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components/scrollview (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/components (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug + - React-Fabric/components/legacyviewmanagerinterop (= 0.85.3) + - React-Fabric/components/root (= 0.85.3) + - React-Fabric/components/scrollview (= 0.85.3) + - React-Fabric/components/view (= 0.85.3) - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components/view (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/components/legacyviewmanagerinterop (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/components/root (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-Core-prebuilt + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/components/scrollview (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-Core-prebuilt + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/components/view (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-renderercss - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - React-Fabric/consistency (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-Fabric/consistency (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/core (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/core (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/dom (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/dom (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/imagemanager (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/imagemanager (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/leakchecker (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/leakchecker (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/mounting (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/mounting (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/observers (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/observers (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - - React-Fabric/observers/events (= 0.79.7) + - React-Fabric/observers/events (= 0.85.3) + - React-Fabric/observers/intersection (= 0.85.3) + - React-Fabric/observers/mutation (= 0.85.3) - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/observers/events (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/observers/events (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/scheduler (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/observers/intersection (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/observers/mutation (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-Core-prebuilt + - React-cxxreact + - React-debug + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-Fabric/scheduler (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-Core-prebuilt + - React-cxxreact + - React-debug + - React-Fabric/animationbackend - React-Fabric/observers/events - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger + - React-performancecdpmetrics - React-performancetimeline - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/telemetry (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/telemetry (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/templateprocessor (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/uimanager (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug + - React-Fabric/uimanager/consistency (= 0.85.3) - React-featureflags - React-graphics - - React-hermes - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - React-Fabric/uimanager (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired - - RCTTypeSafety - - React-Core - - React-cxxreact - - React-debug - - React-Fabric/uimanager/consistency (= 0.79.7) - - React-featureflags - - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererconsistency - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/uimanager/consistency (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-Fabric/uimanager/consistency (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger - React-rendererconsistency - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-FabricComponents (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-FabricComponents (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-Fabric - - React-FabricComponents/components (= 0.79.7) - - React-FabricComponents/textlayoutmanager (= 0.79.7) + - React-FabricComponents/components (= 0.85.3) + - React-FabricComponents/textlayoutmanager (= 0.85.3) - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger + - React-RCTFBReactNativeSpec - React-rendererdebug - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - React-FabricComponents/components (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-FabricComponents/components (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-Fabric - - React-FabricComponents/components/inputaccessory (= 0.79.7) - - React-FabricComponents/components/iostextinput (= 0.79.7) - - React-FabricComponents/components/modal (= 0.79.7) - - React-FabricComponents/components/rncore (= 0.79.7) - - React-FabricComponents/components/safeareaview (= 0.79.7) - - React-FabricComponents/components/scrollview (= 0.79.7) - - React-FabricComponents/components/text (= 0.79.7) - - React-FabricComponents/components/textinput (= 0.79.7) - - React-FabricComponents/components/unimplementedview (= 0.79.7) + - React-FabricComponents/components/inputaccessory (= 0.85.3) + - React-FabricComponents/components/iostextinput (= 0.85.3) + - React-FabricComponents/components/modal (= 0.85.3) + - React-FabricComponents/components/rncore (= 0.85.3) + - React-FabricComponents/components/safeareaview (= 0.85.3) + - React-FabricComponents/components/scrollview (= 0.85.3) + - React-FabricComponents/components/switch (= 0.85.3) + - React-FabricComponents/components/text (= 0.85.3) + - React-FabricComponents/components/textinput (= 0.85.3) + - React-FabricComponents/components/unimplementedview (= 0.85.3) + - React-FabricComponents/components/virtualview (= 0.85.3) - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger + - React-RCTFBReactNativeSpec - React-rendererdebug - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - React-FabricComponents/components/inputaccessory (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-FabricComponents/components/inputaccessory (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger + - React-RCTFBReactNativeSpec - React-rendererdebug - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - React-FabricComponents/components/iostextinput (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-FabricComponents/components/iostextinput (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger + - React-RCTFBReactNativeSpec - React-rendererdebug - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - React-FabricComponents/components/modal (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-FabricComponents/components/modal (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger + - React-RCTFBReactNativeSpec - React-rendererdebug - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - React-FabricComponents/components/rncore (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-FabricComponents/components/rncore (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger + - React-RCTFBReactNativeSpec - React-rendererdebug - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - React-FabricComponents/components/safeareaview (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-FabricComponents/components/safeareaview (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger + - React-RCTFBReactNativeSpec - React-rendererdebug - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - React-FabricComponents/components/scrollview (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-FabricComponents/components/scrollview (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger + - React-RCTFBReactNativeSpec - React-rendererdebug - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - React-FabricComponents/components/text (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-FabricComponents/components/switch (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger + - React-RCTFBReactNativeSpec - React-rendererdebug - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - React-FabricComponents/components/textinput (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-FabricComponents/components/text (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger + - React-RCTFBReactNativeSpec - React-rendererdebug - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - React-FabricComponents/components/unimplementedview (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-FabricComponents/components/textinput (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger + - React-RCTFBReactNativeSpec - React-rendererdebug - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - React-FabricComponents/textlayoutmanager (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-FabricComponents/components/unimplementedview (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-cxxreact - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-logger + - React-RCTFBReactNativeSpec - React-rendererdebug - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - React-FabricImage (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-FabricComponents/components/virtualview (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - - RCTRequired (= 0.79.7) - - RCTTypeSafety (= 0.79.7) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-Core-prebuilt + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-RCTFBReactNativeSpec + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-FabricComponents/textlayoutmanager (0.85.3): + - hermes-engine + - RCTRequired + - RCTTypeSafety + - React-Core + - React-Core-prebuilt + - React-cxxreact + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-RCTFBReactNativeSpec + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-FabricImage (0.85.3): + - hermes-engine + - RCTRequired (= 0.85.3) + - RCTTypeSafety (= 0.85.3) + - React-Core-prebuilt - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-ImageManager - React-jsi - - React-jsiexecutor (= 0.79.7) + - React-jsiexecutor (= 0.85.3) - React-logger - React-rendererdebug - React-utils - ReactCommon + - ReactNativeDependencies - Yoga - - React-featureflags (0.79.7): - - RCT-Folly (= 2024.11.18.00) - - React-featureflagsnativemodule (0.79.7): + - React-featureflags (0.85.3): + - React-Core-prebuilt + - ReactNativeDependencies + - React-featureflagsnativemodule (0.85.3): - hermes-engine - - RCT-Folly + - React-Core-prebuilt - React-featureflags - - React-hermes - React-jsi - React-jsiexecutor - React-RCTFBReactNativeSpec - ReactCommon/turbomodule/core - - React-graphics (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-graphics (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - - React-hermes + - React-Core-prebuilt + - React-featureflags - React-jsi - React-jsiexecutor - React-utils - - React-hermes (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-hermes (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - - React-cxxreact (= 0.79.7) + - React-Core-prebuilt + - React-cxxreact (= 0.85.3) - React-jsi - - React-jsiexecutor (= 0.79.7) + - React-jsiexecutor (= 0.85.3) - React-jsinspector + - React-jsinspectorcdp - React-jsinspectortracing - - React-perflogger (= 0.79.7) + - React-jsitooling + - React-oscompat + - React-perflogger (= 0.85.3) - React-runtimeexecutor - - React-idlecallbacksnativemodule (0.79.7): - - glog + - ReactNativeDependencies + - React-idlecallbacksnativemodule (0.85.3): - hermes-engine - - RCT-Folly - - React-hermes + - React-Core-prebuilt - React-jsi - React-jsiexecutor - React-RCTFBReactNativeSpec + - React-runtimeexecutor - React-runtimescheduler - ReactCommon/turbomodule/core - - React-ImageManager (0.79.7): - - glog - - RCT-Folly/Fabric + - ReactNativeDependencies + - React-ImageManager (0.85.3): + - React-Core-prebuilt - React-Core/Default - React-debug - React-Fabric - React-graphics - React-rendererdebug - React-utils - - React-jserrorhandler (0.79.7): - - glog + - ReactNativeDependencies + - React-intersectionobservernativemodule (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) + - React-Core-prebuilt + - React-cxxreact + - React-Fabric + - React-Fabric/bridging + - React-graphics + - React-jsi + - React-jsiexecutor + - React-RCTFBReactNativeSpec + - React-runtimeexecutor + - React-runtimescheduler + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga + - React-jserrorhandler (0.85.3): + - hermes-engine + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - React-jsi - ReactCommon/turbomodule/bridging - - React-jsi (0.79.7): - - boost - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - React-jsi (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - - React-jsiexecutor (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-Core-prebuilt + - ReactNativeDependencies + - React-jsiexecutor (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - - React-cxxreact (= 0.79.7) - - React-jsi (= 0.79.7) + - React-Core-prebuilt + - React-cxxreact + - React-debug + - React-jserrorhandler + - React-jsi - React-jsinspector + - React-jsinspectorcdp - React-jsinspectortracing - - React-perflogger (= 0.79.7) - - React-jsinspector (0.79.7): - - DoubleConversion - - glog + - React-jsitooling + - React-perflogger + - React-runtimeexecutor + - React-utils + - ReactNativeDependencies + - React-jsinspector (0.85.3): - hermes-engine - - RCT-Folly + - React-Core-prebuilt - React-featureflags - React-jsi + - React-jsinspectorcdp + - React-jsinspectornetwork - React-jsinspectortracing - - React-perflogger (= 0.79.7) - - React-runtimeexecutor (= 0.79.7) - - React-jsinspectortracing (0.79.7): - - RCT-Folly - React-oscompat - - React-jsitooling (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog - - RCT-Folly (= 2024.11.18.00) - - React-cxxreact (= 0.79.7) - - React-jsi (= 0.79.7) - - React-jsinspector - - React-jsinspectortracing - - React-jsitracing (0.79.7): - - React-jsi - - React-logger (0.79.7): - - glog - - React-Mapbuffer (0.79.7): - - glog - - React-debug - - React-microtasksnativemodule (0.79.7): + - React-perflogger (= 0.85.3) + - React-runtimeexecutor + - React-utils + - ReactNativeDependencies + - React-jsinspectorcdp (0.85.3): + - React-Core-prebuilt + - ReactNativeDependencies + - React-jsinspectornetwork (0.85.3): + - React-Core-prebuilt + - React-jsinspectorcdp + - ReactNativeDependencies + - React-jsinspectortracing (0.85.3): - hermes-engine - - RCT-Folly - - React-hermes + - React-Core-prebuilt + - React-jsi + - React-jsinspectornetwork + - React-oscompat + - React-timing + - React-utils + - ReactNativeDependencies + - React-jsitooling (0.85.3): + - hermes-engine + - React-Core-prebuilt + - React-cxxreact (= 0.85.3) + - React-debug + - React-jsi (= 0.85.3) + - React-jsinspector + - React-jsinspectorcdp + - React-jsinspectortracing + - React-runtimeexecutor + - React-utils + - ReactNativeDependencies + - React-jsitracing (0.85.3): + - React-jsi + - React-logger (0.85.3): + - React-Core-prebuilt + - ReactNativeDependencies + - React-Mapbuffer (0.85.3): + - React-Core-prebuilt + - React-debug + - ReactNativeDependencies + - React-microtasksnativemodule (0.85.3): + - hermes-engine + - React-Core-prebuilt - React-jsi - React-jsiexecutor - React-RCTFBReactNativeSpec - ReactCommon/turbomodule/core + - ReactNativeDependencies + - React-mutationobservernativemodule (0.85.3): + - hermes-engine + - React-Core-prebuilt + - React-cxxreact + - React-Fabric + - React-Fabric/bridging + - React-Fabric/observers/mutation + - React-featureflags + - React-jsi + - React-jsiexecutor + - React-RCTFBReactNativeSpec + - React-runtimeexecutor + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - Yoga - react-native-app-auth (8.2.0): - AppAuth (>= 1.7.6) - React-Core - react-native-document-picker (9.3.1): - - DoubleConversion - - glog - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-ImageManager - React-jsi - React-NativeModulesApple @@ -1364,20 +1431,18 @@ PODS: - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - react-native-image-picker (7.2.3): - - DoubleConversion - - glog - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-ImageManager - React-jsi - React-NativeModulesApple @@ -1388,20 +1453,18 @@ PODS: - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - react-native-netinfo (11.5.2): - - DoubleConversion - - glog + - react-native-netinfo (12.0.1): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-ImageManager - React-jsi - React-NativeModulesApple @@ -1412,20 +1475,18 @@ PODS: - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - react-native-safe-area-context (5.7.0): - - DoubleConversion - - glog - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-ImageManager - React-jsi - react-native-safe-area-context/common (= 5.7.0) @@ -1438,20 +1499,18 @@ PODS: - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - react-native-safe-area-context/common (5.7.0): - - DoubleConversion - - glog - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-ImageManager - React-jsi - React-NativeModulesApple @@ -1462,20 +1521,18 @@ PODS: - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - react-native-safe-area-context/fabric (5.7.0): - - DoubleConversion - - glog - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-ImageManager - React-jsi - react-native-safe-area-context/common @@ -1487,47 +1544,69 @@ PODS: - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - React-NativeModulesApple (0.79.7): - - glog + - React-NativeModulesApple (0.85.3): - hermes-engine - React-callinvoker - React-Core + - React-Core-prebuilt - React-cxxreact + - React-debug - React-featureflags - - React-hermes - React-jsi - React-jsinspector + - React-jsinspectorcdp - React-runtimeexecutor - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - - React-oscompat (0.79.7) - - React-perflogger (0.79.7): - - DoubleConversion - - RCT-Folly (= 2024.11.18.00) - - React-performancetimeline (0.79.7): - - RCT-Folly (= 2024.11.18.00) - - React-cxxreact + - ReactNativeDependencies + - React-networking (0.85.3): + - React-Core-prebuilt + - React-jsinspectornetwork + - React-jsinspectortracing + - React-performancetimeline + - React-timing + - ReactNativeDependencies + - React-oscompat (0.85.3) + - React-perflogger (0.85.3): + - React-Core-prebuilt + - ReactNativeDependencies + - React-performancecdpmetrics (0.85.3): + - hermes-engine + - React-Core-prebuilt + - React-jsi + - React-performancetimeline + - React-runtimeexecutor + - React-timing + - ReactNativeDependencies + - React-performancetimeline (0.85.3): + - React-Core-prebuilt - React-featureflags + - React-jsinspector - React-jsinspectortracing - React-perflogger - React-timing - - React-RCTActionSheet (0.79.7): - - React-Core/RCTActionSheetHeaders (= 0.79.7) - - React-RCTAnimation (0.79.7): - - RCT-Folly (= 2024.11.18.00) + - ReactNativeDependencies + - React-RCTActionSheet (0.85.3): + - React-Core/RCTActionSheetHeaders (= 0.85.3) + - React-RCTAnimation (0.85.3): - RCTTypeSafety + - React-Core-prebuilt - React-Core/RCTAnimationHeaders + - React-debug + - React-featureflags - React-jsi - React-NativeModulesApple - React-RCTFBReactNativeSpec - ReactCommon - - React-RCTAppDelegate (0.79.7): + - ReactNativeDependencies + - React-RCTAppDelegate (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-CoreModules - React-debug - React-defaultsnativemodule @@ -1545,130 +1624,162 @@ PODS: - React-rendererdebug - React-RuntimeApple - React-RuntimeCore + - React-runtimeexecutor - React-runtimescheduler - React-utils - ReactCommon - - React-RCTBlob (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) + - ReactNativeDependencies + - React-RCTBlob (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) + - React-Core-prebuilt - React-Core/RCTBlobHeaders - React-Core/RCTWebSocket - React-jsi - React-jsinspector + - React-jsinspectorcdp - React-NativeModulesApple - React-RCTFBReactNativeSpec - React-RCTNetwork - ReactCommon - - React-RCTFabric (0.79.7): - - glog + - ReactNativeDependencies + - React-RCTFabric (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) + - RCTSwiftUIWrapper - React-Core + - React-Core-prebuilt - React-debug - React-Fabric - React-FabricComponents - React-FabricImage - React-featureflags - React-graphics - - React-hermes - React-ImageManager - React-jsi - React-jsinspector + - React-jsinspectorcdp - React-jsinspectortracing + - React-networking + - React-performancecdpmetrics - React-performancetimeline - React-RCTAnimation + - React-RCTFBReactNativeSpec - React-RCTImage - React-RCTText - React-rendererconsistency - React-renderercss - React-rendererdebug + - React-runtimeexecutor - React-runtimescheduler - React-utils + - ReactNativeDependencies - Yoga - - React-RCTFBReactNativeSpec (0.79.7): + - React-RCTFBReactNativeSpec (0.85.3): - hermes-engine - - RCT-Folly - RCTRequired - RCTTypeSafety - React-Core - - React-hermes + - React-Core-prebuilt - React-jsi - - React-jsiexecutor - React-NativeModulesApple + - React-RCTFBReactNativeSpec/components (= 0.85.3) - ReactCommon - - React-RCTImage (0.79.7): - - RCT-Folly (= 2024.11.18.00) + - ReactNativeDependencies + - React-RCTFBReactNativeSpec/components (0.85.3): + - hermes-engine + - RCTRequired - RCTTypeSafety + - React-Core + - React-Core-prebuilt + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsi + - React-NativeModulesApple + - React-rendererdebug + - React-utils + - ReactCommon + - ReactNativeDependencies + - Yoga + - React-RCTImage (0.85.3): + - RCTTypeSafety + - React-Core-prebuilt - React-Core/RCTImageHeaders - React-jsi - React-NativeModulesApple - React-RCTFBReactNativeSpec - React-RCTNetwork - ReactCommon - - React-RCTLinking (0.79.7): - - React-Core/RCTLinkingHeaders (= 0.79.7) - - React-jsi (= 0.79.7) + - ReactNativeDependencies + - React-RCTLinking (0.85.3): + - React-Core/RCTLinkingHeaders (= 0.85.3) + - React-jsi (= 0.85.3) - React-NativeModulesApple - React-RCTFBReactNativeSpec - ReactCommon - - ReactCommon/turbomodule/core (= 0.79.7) - - React-RCTNetwork (0.79.7): - - RCT-Folly (= 2024.11.18.00) + - ReactCommon/turbomodule/core (= 0.85.3) + - React-RCTNetwork (0.85.3): - RCTTypeSafety + - React-Core-prebuilt - React-Core/RCTNetworkHeaders + - React-debug + - React-featureflags - React-jsi + - React-jsinspectorcdp + - React-jsinspectornetwork - React-NativeModulesApple + - React-networking - React-RCTFBReactNativeSpec - ReactCommon - - React-RCTRuntime (0.79.7): - - glog + - ReactNativeDependencies + - React-RCTRuntime (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - React-Core - - React-hermes + - React-Core-prebuilt + - React-debug - React-jsi - React-jsinspector + - React-jsinspectorcdp - React-jsinspectortracing - React-jsitooling - React-RuntimeApple - React-RuntimeCore + - React-runtimeexecutor - React-RuntimeHermes - - React-RCTSettings (0.79.7): - - RCT-Folly (= 2024.11.18.00) + - React-utils + - ReactNativeDependencies + - React-RCTSettings (0.85.3): - RCTTypeSafety + - React-Core-prebuilt - React-Core/RCTSettingsHeaders - React-jsi - React-NativeModulesApple - React-RCTFBReactNativeSpec - ReactCommon - - React-RCTText (0.79.7): - - React-Core/RCTTextHeaders (= 0.79.7) + - ReactNativeDependencies + - React-RCTText (0.85.3): + - React-Core/RCTTextHeaders (= 0.85.3) - Yoga - - React-RCTVibration (0.79.7): - - RCT-Folly (= 2024.11.18.00) + - React-RCTVibration (0.85.3): + - React-Core-prebuilt - React-Core/RCTVibrationHeaders - React-jsi - React-NativeModulesApple - React-RCTFBReactNativeSpec - ReactCommon - - React-rendererconsistency (0.79.7) - - React-renderercss (0.79.7): + - ReactNativeDependencies + - React-rendererconsistency (0.85.3) + - React-renderercss (0.85.3): - React-debug - React-utils - - React-rendererdebug (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - RCT-Folly (= 2024.11.18.00) + - React-rendererdebug (0.85.3): + - React-Core-prebuilt - React-debug - - React-rncore (0.79.7) - - React-RuntimeApple (0.79.7): + - ReactNativeDependencies + - React-RuntimeApple (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) - React-callinvoker + - React-Core-prebuilt - React-Core/Default - React-CoreModules - React-cxxreact @@ -1687,14 +1798,13 @@ PODS: - React-RuntimeHermes - React-runtimescheduler - React-utils - - React-RuntimeCore (0.79.7): - - glog + - ReactNativeDependencies + - React-RuntimeCore (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) + - React-Core-prebuilt - React-cxxreact - React-Fabric - React-featureflags - - React-hermes - React-jserrorhandler - React-jsi - React-jsiexecutor @@ -1704,29 +1814,36 @@ PODS: - React-runtimeexecutor - React-runtimescheduler - React-utils - - React-runtimeexecutor (0.79.7): - - React-jsi (= 0.79.7) - - React-RuntimeHermes (0.79.7): + - ReactNativeDependencies + - React-runtimeexecutor (0.85.3): + - React-Core-prebuilt + - React-debug + - React-featureflags + - React-jsi (= 0.85.3) + - React-utils + - ReactNativeDependencies + - React-RuntimeHermes (0.85.3): - hermes-engine - - RCT-Folly/Fabric (= 2024.11.18.00) + - React-Core-prebuilt - React-featureflags - React-hermes - React-jsi - React-jsinspector + - React-jsinspectorcdp - React-jsinspectortracing - React-jsitooling - React-jsitracing - React-RuntimeCore + - React-runtimeexecutor - React-utils - - React-runtimescheduler (0.79.7): - - glog + - ReactNativeDependencies + - React-runtimescheduler (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - React-callinvoker + - React-Core-prebuilt - React-cxxreact - React-debug - React-featureflags - - React-hermes - React-jsi - React-jsinspectortracing - React-performancetimeline @@ -1735,30 +1852,39 @@ PODS: - React-runtimeexecutor - React-timing - React-utils - - React-timing (0.79.7) - - React-utils (0.79.7): - - glog - - hermes-engine - - RCT-Folly (= 2024.11.18.00) + - ReactNativeDependencies + - React-timing (0.85.3): - React-debug - - React-hermes - - React-jsi (= 0.79.7) - - ReactAppDependencyProvider (0.79.7): - - ReactCodegen - - ReactCodegen (0.79.7): - - DoubleConversion - - glog + - React-utils (0.85.3): + - hermes-engine + - React-Core-prebuilt + - React-debug + - React-jsi (= 0.85.3) + - ReactNativeDependencies + - React-webperformancenativemodule (0.85.3): + - hermes-engine + - React-Core-prebuilt + - React-cxxreact + - React-jsi + - React-jsiexecutor + - React-performancetimeline + - React-RCTFBReactNativeSpec + - React-runtimeexecutor + - ReactCommon/turbomodule/core + - ReactNativeDependencies + - ReactAppDependencyProvider (0.85.3): + - ReactCodegen + - ReactCodegen (0.85.3): - hermes-engine - - RCT-Folly - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-debug - React-Fabric - React-FabricImage - React-featureflags - React-graphics - - React-hermes - React-jsi - React-jsiexecutor - React-NativeModulesApple @@ -1767,62 +1893,56 @@ PODS: - React-utils - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - - ReactCommon (0.79.7): - - ReactCommon/turbomodule (= 0.79.7) - - ReactCommon/turbomodule (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - ReactNativeDependencies + - ReactCommon (0.85.3): + - React-Core-prebuilt + - ReactCommon/turbomodule (= 0.85.3) + - ReactNativeDependencies + - ReactCommon/turbomodule (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - - React-callinvoker (= 0.79.7) - - React-cxxreact (= 0.79.7) - - React-jsi (= 0.79.7) - - React-logger (= 0.79.7) - - React-perflogger (= 0.79.7) - - ReactCommon/turbomodule/bridging (= 0.79.7) - - ReactCommon/turbomodule/core (= 0.79.7) - - ReactCommon/turbomodule/bridging (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-callinvoker (= 0.85.3) + - React-Core-prebuilt + - React-cxxreact (= 0.85.3) + - React-jsi (= 0.85.3) + - React-logger (= 0.85.3) + - React-perflogger (= 0.85.3) + - ReactCommon/turbomodule/bridging (= 0.85.3) + - ReactCommon/turbomodule/core (= 0.85.3) + - ReactNativeDependencies + - ReactCommon/turbomodule/bridging (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - - React-callinvoker (= 0.79.7) - - React-cxxreact (= 0.79.7) - - React-jsi (= 0.79.7) - - React-logger (= 0.79.7) - - React-perflogger (= 0.79.7) - - ReactCommon/turbomodule/core (0.79.7): - - DoubleConversion - - fast_float (= 6.1.4) - - fmt (= 11.0.2) - - glog + - React-callinvoker (= 0.85.3) + - React-Core-prebuilt + - React-cxxreact (= 0.85.3) + - React-jsi (= 0.85.3) + - React-logger (= 0.85.3) + - React-perflogger (= 0.85.3) + - ReactNativeDependencies + - ReactCommon/turbomodule/core (0.85.3): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - - React-callinvoker (= 0.79.7) - - React-cxxreact (= 0.79.7) - - React-debug (= 0.79.7) - - React-featureflags (= 0.79.7) - - React-jsi (= 0.79.7) - - React-logger (= 0.79.7) - - React-perflogger (= 0.79.7) - - React-utils (= 0.79.7) + - React-callinvoker (= 0.85.3) + - React-Core-prebuilt + - React-cxxreact (= 0.85.3) + - React-debug (= 0.85.3) + - React-featureflags (= 0.85.3) + - React-jsi (= 0.85.3) + - React-logger (= 0.85.3) + - React-perflogger (= 0.85.3) + - React-utils (= 0.85.3) + - ReactNativeDependencies + - ReactNativeDependencies (0.85.3) + - RNAWSCognito (6.3.16): + - React-Core - RNCAsyncStorage (2.2.0): - - DoubleConversion - - glog - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-ImageManager - React-jsi - React-NativeModulesApple @@ -1833,20 +1953,18 @@ PODS: - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - RNKeychain (9.2.3): - - DoubleConversion - - glog - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-ImageManager - React-jsi - React-NativeModulesApple @@ -1857,20 +1975,18 @@ PODS: - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - RNReactNativeHapticFeedback (2.3.4): - - DoubleConversion - - glog - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-ImageManager - React-jsi - React-NativeModulesApple @@ -1881,20 +1997,18 @@ PODS: - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - RNScreens (4.10.0): - - DoubleConversion - - glog + - RNScreens (4.25.1): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-ImageManager - React-jsi - React-NativeModulesApple @@ -1906,21 +2020,19 @@ PODS: - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - - RNScreens/common (= 4.10.0) + - ReactNativeDependencies + - RNScreens/common (= 4.25.1) - Yoga - - RNScreens/common (4.10.0): - - DoubleConversion - - glog + - RNScreens/common (4.25.1): - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-ImageManager - React-jsi - React-NativeModulesApple @@ -1932,20 +2044,18 @@ PODS: - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - RNShare (11.1.0): - - DoubleConversion - - glog - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-ImageManager - React-jsi - React-NativeModulesApple @@ -1956,20 +2066,18 @@ PODS: - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - RNVectorIcons (10.3.0): - - DoubleConversion - - glog - hermes-engine - - RCT-Folly (= 2024.11.18.00) - RCTRequired - RCTTypeSafety - React-Core + - React-Core-prebuilt - React-debug - React-Fabric - React-featureflags - React-graphics - - React-hermes - React-ImageManager - React-jsi - React-NativeModulesApple @@ -1980,26 +2088,22 @@ PODS: - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core + - ReactNativeDependencies - Yoga - - SocketRocket (0.7.1) - Yoga (0.0.0) DEPENDENCIES: - - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`) - - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) - - fast_float (from `../node_modules/react-native/third-party-podspecs/fast_float.podspec`) - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) - - fmt (from `../node_modules/react-native/third-party-podspecs/fmt.podspec`) - - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) - hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`) - - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - - RCT-Folly/Fabric (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - RCTDeprecation (from `../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation`) - RCTRequired (from `../node_modules/react-native/Libraries/Required`) + - RCTSwiftUI (from `../node_modules/react-native/ReactApple/RCTSwiftUI`) + - RCTSwiftUIWrapper (from `../node_modules/react-native/ReactApple/RCTSwiftUIWrapper`) - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) - React (from `../node_modules/react-native/`) - React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`) - React-Core (from `../node_modules/react-native/`) + - React-Core-prebuilt (from `../node_modules/react-native/React-Core-prebuilt.podspec`) - React-Core/RCTWebSocket (from `../node_modules/react-native/`) - React-CoreModules (from `../node_modules/react-native/React/CoreModules`) - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) @@ -2015,24 +2119,30 @@ DEPENDENCIES: - React-hermes (from `../node_modules/react-native/ReactCommon/hermes`) - React-idlecallbacksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/idlecallbacks`) - React-ImageManager (from `../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios`) + - React-intersectionobservernativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/intersectionobserver`) - React-jserrorhandler (from `../node_modules/react-native/ReactCommon/jserrorhandler`) - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector-modern`) + - React-jsinspectorcdp (from `../node_modules/react-native/ReactCommon/jsinspector-modern/cdp`) + - React-jsinspectornetwork (from `../node_modules/react-native/ReactCommon/jsinspector-modern/network`) - React-jsinspectortracing (from `../node_modules/react-native/ReactCommon/jsinspector-modern/tracing`) - React-jsitooling (from `../node_modules/react-native/ReactCommon/jsitooling`) - React-jsitracing (from `../node_modules/react-native/ReactCommon/hermes/executor/`) - React-logger (from `../node_modules/react-native/ReactCommon/logger`) - React-Mapbuffer (from `../node_modules/react-native/ReactCommon`) - React-microtasksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`) + - React-mutationobservernativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/mutationobserver`) - react-native-app-auth (from `../node_modules/react-native-app-auth`) - react-native-document-picker (from `../node_modules/react-native-document-picker`) - react-native-image-picker (from `../node_modules/react-native-image-picker`) - "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)" - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) - React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`) + - React-networking (from `../node_modules/react-native/ReactCommon/react/networking`) - React-oscompat (from `../node_modules/react-native/ReactCommon/oscompat`) - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`) + - React-performancecdpmetrics (from `../node_modules/react-native/ReactCommon/react/performance/cdpmetrics`) - React-performancetimeline (from `../node_modules/react-native/ReactCommon/react/performance/timeline`) - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) @@ -2050,7 +2160,6 @@ DEPENDENCIES: - React-rendererconsistency (from `../node_modules/react-native/ReactCommon/react/renderer/consistency`) - React-renderercss (from `../node_modules/react-native/ReactCommon/react/renderer/css`) - React-rendererdebug (from `../node_modules/react-native/ReactCommon/react/renderer/debug`) - - React-rncore (from `../node_modules/react-native/ReactCommon`) - React-RuntimeApple (from `../node_modules/react-native/ReactCommon/react/runtime/platform/ios`) - React-RuntimeCore (from `../node_modules/react-native/ReactCommon/react/runtime`) - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) @@ -2058,9 +2167,12 @@ DEPENDENCIES: - React-runtimescheduler (from `../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`) - React-timing (from `../node_modules/react-native/ReactCommon/react/timing`) - React-utils (from `../node_modules/react-native/ReactCommon/react/utils`) - - ReactAppDependencyProvider (from `build/generated/ios`) - - ReactCodegen (from `build/generated/ios`) + - React-webperformancenativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/webperformance`) + - ReactAppDependencyProvider (from `build/generated/ios/ReactAppDependencyProvider`) + - ReactCodegen (from `build/generated/ios/ReactCodegen`) - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) + - ReactNativeDependencies (from `../node_modules/react-native/third-party-podspecs/ReactNativeDependencies.podspec`) + - RNAWSCognito (from `../node_modules/amazon-cognito-identity-js`) - "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)" - RNKeychain (from `../node_modules/react-native-keychain`) - RNReactNativeHapticFeedback (from `../node_modules/react-native-haptic-feedback`) @@ -2072,30 +2184,21 @@ DEPENDENCIES: SPEC REPOS: trunk: - AppAuth - - SocketRocket EXTERNAL SOURCES: - boost: - :podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec" - DoubleConversion: - :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" - fast_float: - :podspec: "../node_modules/react-native/third-party-podspecs/fast_float.podspec" FBLazyVector: :path: "../node_modules/react-native/Libraries/FBLazyVector" - fmt: - :podspec: "../node_modules/react-native/third-party-podspecs/fmt.podspec" - glog: - :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" hermes-engine: :podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec" - :tag: hermes-2025-06-04-RNv0.79.3-7f9a871eefeb2c3852365ee80f0b6733ec12ac3b - RCT-Folly: - :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" + :tag: hermes-v250829098.0.10 RCTDeprecation: :path: "../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation" RCTRequired: :path: "../node_modules/react-native/Libraries/Required" + RCTSwiftUI: + :path: "../node_modules/react-native/ReactApple/RCTSwiftUI" + RCTSwiftUIWrapper: + :path: "../node_modules/react-native/ReactApple/RCTSwiftUIWrapper" RCTTypeSafety: :path: "../node_modules/react-native/Libraries/TypeSafety" React: @@ -2104,6 +2207,8 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/callinvoker" React-Core: :path: "../node_modules/react-native/" + React-Core-prebuilt: + :podspec: "../node_modules/react-native/React-Core-prebuilt.podspec" React-CoreModules: :path: "../node_modules/react-native/React/CoreModules" React-cxxreact: @@ -2132,6 +2237,8 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/react/nativemodule/idlecallbacks" React-ImageManager: :path: "../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios" + React-intersectionobservernativemodule: + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/intersectionobserver" React-jserrorhandler: :path: "../node_modules/react-native/ReactCommon/jserrorhandler" React-jsi: @@ -2140,6 +2247,10 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/jsiexecutor" React-jsinspector: :path: "../node_modules/react-native/ReactCommon/jsinspector-modern" + React-jsinspectorcdp: + :path: "../node_modules/react-native/ReactCommon/jsinspector-modern/cdp" + React-jsinspectornetwork: + :path: "../node_modules/react-native/ReactCommon/jsinspector-modern/network" React-jsinspectortracing: :path: "../node_modules/react-native/ReactCommon/jsinspector-modern/tracing" React-jsitooling: @@ -2152,6 +2263,8 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon" React-microtasksnativemodule: :path: "../node_modules/react-native/ReactCommon/react/nativemodule/microtasks" + React-mutationobservernativemodule: + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/mutationobserver" react-native-app-auth: :path: "../node_modules/react-native-app-auth" react-native-document-picker: @@ -2164,10 +2277,14 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native-safe-area-context" React-NativeModulesApple: :path: "../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios" + React-networking: + :path: "../node_modules/react-native/ReactCommon/react/networking" React-oscompat: :path: "../node_modules/react-native/ReactCommon/oscompat" React-perflogger: :path: "../node_modules/react-native/ReactCommon/reactperflogger" + React-performancecdpmetrics: + :path: "../node_modules/react-native/ReactCommon/react/performance/cdpmetrics" React-performancetimeline: :path: "../node_modules/react-native/ReactCommon/react/performance/timeline" React-RCTActionSheet: @@ -2202,8 +2319,6 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/react/renderer/css" React-rendererdebug: :path: "../node_modules/react-native/ReactCommon/react/renderer/debug" - React-rncore: - :path: "../node_modules/react-native/ReactCommon" React-RuntimeApple: :path: "../node_modules/react-native/ReactCommon/react/runtime/platform/ios" React-RuntimeCore: @@ -2218,12 +2333,18 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/react/timing" React-utils: :path: "../node_modules/react-native/ReactCommon/react/utils" + React-webperformancenativemodule: + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/webperformance" ReactAppDependencyProvider: - :path: build/generated/ios + :path: build/generated/ios/ReactAppDependencyProvider ReactCodegen: - :path: build/generated/ios + :path: build/generated/ios/ReactCodegen ReactCommon: :path: "../node_modules/react-native/ReactCommon" + ReactNativeDependencies: + :podspec: "../node_modules/react-native/third-party-podspecs/ReactNativeDependencies.podspec" + RNAWSCognito: + :path: "../node_modules/amazon-cognito-identity-js" RNCAsyncStorage: :path: "../node_modules/@react-native-async-storage/async-storage" RNKeychain: @@ -2241,88 +2362,92 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: AppAuth: 1c1a8afa7e12f2ec3a294d9882dfa5ab7d3cb063 - boost: 7e761d76ca2ce687f7cc98e698152abd03a18f90 - DoubleConversion: cb417026b2400c8f53ae97020b2be961b59470cb - fast_float: 06eeec4fe712a76acc9376682e4808b05ce978b6 - FBLazyVector: b60fe06f0f15b7d7408f169442176e69e8eeacde - fmt: a40bb5bd0294ea969aaaba240a927bd33d878cdd - glog: 5683914934d5b6e4240e497e0f4a3b42d1854183 - hermes-engine: 13c84524b3b6e884b2cf3b3b1e002ffd147d88a3 - RCT-Folly: e78785aa9ba2ed998ea4151e314036f6c49e6d82 - RCTDeprecation: b9b1716eec53aaeaa859aa45e27de7b615cff732 - RCTRequired: 862acb469086f601f81aab298e00c2a13d572099 - RCTTypeSafety: 45120b9028ec6819266f3ef7a6b8e8a9f0a083d4 - React: 49e89943d7b1bc95c5895a05c6cf106ba112d037 - React-callinvoker: 9baafac613e363728c47ceaf65b9597bd1b96df0 - React-Core: 2f642fff28911adf30dd5169a7d9d2b95dc59bc9 - React-CoreModules: a499af0e4a8dfa78cbc04c131b59fa3286210148 - React-cxxreact: 1a485bb66f4bdde62f89eb0e5db1262182fc40e0 - React-debug: 40119ee63d9fb04f8b11d460c3c30b5997d9d737 - React-defaultsnativemodule: d578aae775984b79f126a0ffd8481b70c0f145fc - React-domnativemodule: 2351486bd32ead37c242b00a71cbdff8dabb274c - React-Fabric: 3e4c67dd7918274fe00fdc34a56696095e4d83f0 - React-FabricComponents: c82dfc3d8e1faf5cd87b08f5f9e2be0fe9b775f3 - React-FabricImage: a296eafd939fb33e0acf09d33239408fe4624582 - React-featureflags: 3fdf55dee69c3e165411fbde4f9f3acb9e428dfd - React-featureflagsnativemodule: 1139ddc9fc4c703ef9165a50c83cdca710baa674 - React-graphics: 4d1c605d894e9c9a887bb6934d9cca89d2ff36f5 - React-hermes: 59edcac48ec38831b40cf28ed34b6d4d735cbdd3 - React-idlecallbacksnativemodule: 23c6b73801992033086c2e8b9519bbf6aaf84165 - React-ImageManager: 2b2c8c39cc29e55a59dc1a0a9427ec7f89aae02b - React-jserrorhandler: 7d2f6eb3821818dc914a278f06586f047d623d72 - React-jsi: f6fee849355b8819936b02d5c5b23a55a3d69540 - React-jsiexecutor: cd6fd873482d7183206eb612ce362d02c6fb8556 - React-jsinspector: d2b58ae4a2fa080b3fcc4a5a81dfbd7727654a6d - React-jsinspectortracing: d3c7d7ec87d24f4c3832ecf141afcbf8844eee80 - React-jsitooling: bfde104a6ea4540830a246c6ffd9f1d07bf677b0 - React-jsitracing: 826dc37b6d98de03e0e64d8d6017b40af766dbf0 - React-logger: fbdc0814b62fefa412a90af7cacc666387f1bc9a - React-Mapbuffer: cfe4726ba1929b9dab4645c78376a9165375d62f - React-microtasksnativemodule: c99b8f1240609566de105b73f2569c0f22880ee1 + FBLazyVector: 24e62c765683b8d89006a88a2c8f5cf019f0074d + hermes-engine: b67b81fe7ddb88e0fbf838209990e9c2371da3f7 + RCTDeprecation: a4c521821fab57cbb125b36effe84d897d0dfa12 + RCTRequired: 9f3a7e5645d4bc3f551593de7550bb66ab6e42bc + RCTSwiftUI: 239ed2eb9e73de5a6f518810630f0c95e01c8702 + RCTSwiftUIWrapper: 966ca7f5f22ac0b2b2255fb09cffc381f5440b03 + RCTTypeSafety: 2a6403ba3492c04510e7c15bd635461646c43bb2 + React: e2dc35338068bbd299c66f043ae0d7f25de8499e + React-callinvoker: 28b25d21b124c26cebaea713ba7d801b9351dc48 + React-Core: 02ed7d2ffb70437bdf2aba074a13078a7b0b9ff0 + React-Core-prebuilt: 50f616ff0bdbd993b1893b4f13e543289192d3b5 + React-CoreModules: b3a5a42dadcde3b5d47b325bd912eb2ced89e146 + React-cxxreact: fe8f88dda044e5905e99a00f41b7a874c3908716 + React-debug: 92944dc4d89f56d640e75498266cbde557a48189 + React-defaultsnativemodule: cd64bc09d7ca24112bbaf1b91edbbcf3d81ea7dc + React-domnativemodule: dacf5bc055ae041039574f38b73a20b91e368774 + React-Fabric: bb0baa33d91839631d315800eb23e9aaa4338a44 + React-FabricComponents: c504d0b0e2f3054b2ba19af839f175cb361153c0 + React-FabricImage: 91eaea1cc58d25ae2596a9277bcfe028f92374c3 + React-featureflags: 5ac0455da0af12ca79b40402e2f42c5c7556b638 + React-featureflagsnativemodule: df7da181b064f10f5959a7cd529b5aab3686ecb2 + React-graphics: d25b1195baf24c7918543f4aff9be89cc080906f + React-hermes: 663286153a8ad6bf752b742654c766ff5e8991e7 + React-idlecallbacksnativemodule: 0bd5392cb67f1ab25df736814b7c05213b1d3c68 + React-ImageManager: a03eed3e3d4222130dc0ad503a1a5f3aa89de746 + React-intersectionobservernativemodule: 5d0f1c3c7b30031b0f6f730ee52dd9d607e2c966 + React-jserrorhandler: d5d6e7e20c5a2d6e8607e18d31d8712d7de676f6 + React-jsi: eb7cc4cffcf24796cc302d5b2bca0e92544139a9 + React-jsiexecutor: 65006f60e64c72c6b82f62ef6bd17c84846e73f8 + React-jsinspector: 01e32e2247b2486117fbb143db7f7717ef462c6d + React-jsinspectorcdp: f1cbb34ca41d188ba22efd9b663cf258a911f6cd + React-jsinspectornetwork: f61acc94c881c41451f508abfe6efa748b956c21 + React-jsinspectortracing: 9395894d9bd4d17931b9afcf230c0e7f4cb3d674 + React-jsitooling: 03ead841daa12a93b18479f5e400ceab3732d36d + React-jsitracing: 4ae61c79e14360d1c6ab566031c62c490da78439 + React-logger: bf149dea4343a9037b74bade36cced8b63f03f46 + React-Mapbuffer: fec3e025f0ffba6b32cd2a1d7bbdee3e269aae90 + React-microtasksnativemodule: ab33a818d339f5a1da308893c11b487be66121a8 + React-mutationobservernativemodule: a42d1626651ccd7d0dc02a56e69d4ec77c248893 react-native-app-auth: a492f1a49104ffd63e34ee914c6490fcc059faf0 - react-native-document-picker: ba3181e6ec97907f9266f2dbe16c0e5ce18ebb95 - react-native-image-picker: 8a3f16000e794f5381a7fe47bb48fd8d06741e47 - react-native-netinfo: 13eee913178a42d9ee572acfab58843cb56955d9 - react-native-safe-area-context: 26634d9b636a98ceee20cb6fa5dc946922f1e90f - React-NativeModulesApple: 74051ff264ce0b89ac799b56314f8f440a95ee4d - React-oscompat: 0047f0ce53a328ce225777a6c617970556602c7c - React-perflogger: bf00d816c3c3ad91658b44f93ce9ee343b4c70df - React-performancetimeline: 75139687f2db7ca68fd0377466949af0b3408995 - React-RCTActionSheet: 9b3b04bbe75241c964d59a3ec18716d0bec22b2c - React-RCTAnimation: 2ffefa3b11df9aa1248182fac5b74e6a9b5ebd21 - React-RCTAppDelegate: 535dd2b407b204bbdd0c46d4c7050ee1a28fa6f9 - React-RCTBlob: 3cf08a694a3f7b082e23717c7587b8d914685582 - React-RCTFabric: 2026fe43aa1142896e7e68237f6e88e283f8cab3 - React-RCTFBReactNativeSpec: 43cea3b898e0e7e81abfeafd2dd4084dd8afe662 - React-RCTImage: 4eaca67175ed2a33d39eeb8bad0e724c849bdc11 - React-RCTLinking: 5133d7bf648707bc3fb65fb7ab3cfa7f445e9893 - React-RCTNetwork: 708cf70b59721a23cc362cde08dd204375c9d0ac - React-RCTRuntime: b361aa130a54eeb9bd3129fe0335513c981353b3 - React-RCTSettings: 6d413683ae5a36e80c7965f1ff8efa893b211a17 - React-RCTText: 0bd1e63583ba3dab0358f62ade056732b76463f8 - React-RCTVibration: bab25bb8bc2f017e4729deb59d26bb32240b16db - React-rendererconsistency: 32ded9b29e3dc4c2607b2c2f774bc16320fbf7ed - React-renderercss: a1e299ffd55c69fbc57e4a77a0e4dbf4a8069ada - React-rendererdebug: b640acffa5b80be66f7c5e463ffef60fa74fbbce - React-rncore: 6faaf52d39dca54cb3e63fd45cd4bd2004bceba7 - React-RuntimeApple: c734fb41922e0d6afbcbf6326b04c41c44d4e166 - React-RuntimeCore: b84b58450e647cb1e912857b81b9761317e29af0 - React-runtimeexecutor: e6aceac245c2e4f0dca15c2c57182d1dabc90e11 - React-RuntimeHermes: 9ae57e883b94d3da384b52ab3e4b22a7ac49d639 - React-runtimescheduler: e7a8619f43121a426f1ea44a6a76b22259bc56cc - React-timing: 10c2421a49f1c2906d6bb95027248a4543ac113f - React-utils: 9ec29e69f3e6347a4c93745f84c2a214b5b1ce64 - ReactAppDependencyProvider: b203bace11326361b7f0513b3f5854cd340aa929 - ReactCodegen: 6a29ad4365aeeceecb951cfd6546a99ce617cc50 - ReactCommon: 4e460daed3ccb6af9e3de3176920362d8b888a17 - RNCAsyncStorage: a1c8cc8a99c32de1244a9cf707bf9d83d0de0f71 - RNKeychain: 2bf484cf3cb7daa075095ecd55b5f5b34085b981 - RNReactNativeHapticFeedback: 641348029ab3f739c4bf308ad50156a70a3c9b02 - RNScreens: 5621e3ad5a329fbd16de683344ac5af4192b40d3 - RNShare: 77a71b295790a75e901bba139b0220025a2e1c35 - RNVectorIcons: 1fe59cfa2d3ac94ceb9d373a59c54609471b8d56 - SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748 - Yoga: 9663a18d096f7f7e17a535cf00849db756709955 + react-native-document-picker: dbb2852adc7e2fcbd522268006aa71ebbe542e24 + react-native-image-picker: 16b96bec669da30b8f196145a1ed1ee565e60e69 + react-native-netinfo: 2f906d5d9a639090ed1c079135d6485a95f749f1 + react-native-safe-area-context: 6b4966397ada0f7dd481e4486a2ef936834861a1 + React-NativeModulesApple: deba264b03bd79c6bd61014fa30e40321b5e443a + React-networking: 35e6070b084f435429f85c5db40b4d5b38652fe9 + React-oscompat: 64a0c7ef5441855dc6e2a6afe8ba8f92aa05075e + React-perflogger: ca04287f205086a1edb5c95882be7b6068458889 + React-performancecdpmetrics: cf1d0a3178ccd59353cedcacbda421f40100a889 + React-performancetimeline: c9771212e7a43032d6f8d5edfb58280d46a7ce1f + React-RCTActionSheet: ab545c1e7b5f1ce4f8b40b6fa06afe2869095884 + React-RCTAnimation: 343147a9cd68c93d0ca280799fedfc7102d76ce4 + React-RCTAppDelegate: 5054754e92aaa9f8bfabe0f1022b84e46f3dcb57 + React-RCTBlob: 8c7ae3422ca4e72bc64b7a0142fd730efc5d4dfb + React-RCTFabric: be458db054b206c4d8e4f20f666e75d5f2c2d420 + React-RCTFBReactNativeSpec: 06db2e8d0f352d9fa23321aed1dd2cde25a3e83c + React-RCTImage: 481457bca63e039eb997f7d16c7560472f49657e + React-RCTLinking: 76cbb871240cec2dc5e7aa26c60f59e0ebbcf5a2 + React-RCTNetwork: e23a778225b7672e38545d3c5c24e1f4aad6d15f + React-RCTRuntime: 93c830b3ab3f7b494bbe7ae7289784f8b07b3947 + React-RCTSettings: 96196b535bef147381f96cc60ce9bda85d8be848 + React-RCTText: 749ebbd1a999fd84d80f37002ea3bf597fcea6df + React-RCTVibration: 5b41a7f274757c2928845981d970916ef9e4ca14 + React-rendererconsistency: 6708acd4bc39c1c5b00164370d0010d93b324c1f + React-renderercss: 80eb778756fed511d6128fc005188ac9008b0baf + React-rendererdebug: b46f338fb9d3f0bea6cf0621016c6c5a7a18e72e + React-RuntimeApple: c494b2089fad4a0c553cf63c2bb265f7eca2285d + React-RuntimeCore: b0bb151c3e2b26c6309d45d05c54aa65a6e0c094 + React-runtimeexecutor: 00b18635b6216a1708f6eb35dbadfd993ec91c7b + React-RuntimeHermes: bb44c4c574ce1b9507cad2e6be015344d18b94a9 + React-runtimescheduler: e1631e57209cb94b3efc29002b6a049cac3f6599 + React-timing: 356b88317ca60d373b0d94b6e7a71b0a572899f5 + React-utils: ccc01da318979af773259c4f6cdb1876f6f86f1a + React-webperformancenativemodule: f8b97c2cb6cfa94e92a503c09ad6d491c50a1390 + ReactAppDependencyProvider: 25c9c516839be2c5e3d3344f95dc7da5f7e63fc2 + ReactCodegen: c8f81e6c6f762dcf442a6203a1fb58f7dafc8014 + ReactCommon: 7dfc3250793bf36cf221096ff59e1179e13eef7f + ReactNativeDependencies: a7ad051b0407301b2517e48c24807d5acdc49e35 + RNAWSCognito: c271cb77af824c5fbfb5060cb22ecae245376939 + RNCAsyncStorage: 2ad919e88b8bc2cd80e8697ce66d04d006743283 + RNKeychain: 8955c9c09edf7dbfd708538ae0f40f3799f2e21e + RNReactNativeHapticFeedback: 576e23c1ad2d800ded4502be3f66b767308b63a1 + RNScreens: 75d04ea58bd7a8e8ac60b7968d0382aa71631a7d + RNShare: 797e2b90368e41f3fcfa12c52125fcf201b7eac4 + RNVectorIcons: 97f26211c07d69e45b189f9dd0dbbe5e2d2b0b92 + Yoga: 77dfa8673de2874e1855002ae59c68b8be9b007b PODFILE CHECKSUM: 32b514c49e2e1d1509daf2dc28b26ccbec830ae7 diff --git a/mobile/ios/ProposalSystem/Info.plist b/mobile/ios/ProposalSystem/Info.plist index 982884f..e205bb5 100644 --- a/mobile/ios/ProposalSystem/Info.plist +++ b/mobile/ios/ProposalSystem/Info.plist @@ -8,6 +8,8 @@ Sea Haven Proposals CFBundleExecutable $(EXECUTABLE_NAME) + CFBundleIconName + AppIcon CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion @@ -20,6 +22,17 @@ $(MARKETING_VERSION) CFBundleSignature ???? + CFBundleURLTypes + + + CFBundleURLName + com.seahavenind.proposals + CFBundleURLSchemes + + com.seahavenind.proposals + + + CFBundleVersion $(CURRENT_PROJECT_VERSION) LSRequiresIPhoneOS @@ -31,35 +44,14 @@ NSAllowsLocalNetworking - CFBundleURLTypes - - - CFBundleURLSchemes - - com.seahavenind.proposals - - CFBundleURLName - com.seahavenind.proposals - - NSCameraUsageDescription Sea Haven Proposals needs camera access to capture vendor proposal documents. - NSPhotoLibraryUsageDescription - Sea Haven Proposals needs photo library access to attach vendor proposal images. NSFaceIDUsageDescription Sea Haven Proposals uses Face ID to secure your login session. - UILaunchStoryboardName - LaunchScreen - UIRequiredDeviceCapabilities - - arm64 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - + NSPhotoLibraryUsageDescription + Sea Haven Proposals needs photo library access to attach vendor proposal images. + RCTNewArchEnabled + UIAppFonts MaterialCommunityIcons.ttf @@ -82,9 +74,19 @@ FontAwesome6_Brands.ttf MaterialIcons.ttf + UILaunchStoryboardName + LaunchScreen + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + UIViewControllerBasedStatusBarAppearance - CFBundleIconName - AppIcon diff --git a/mobile/package-lock.json b/mobile/package-lock.json index 003672b..009b160 100644 --- a/mobile/package-lock.json +++ b/mobile/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "proposal-system-mobile", "version": "0.1.0", + "hasInstallScript": true, "dependencies": { "@proposal-system/api-contracts": "file:../shared/api-contracts", "@react-native-async-storage/async-storage": "^2.1.0", @@ -18,7 +19,7 @@ "@tanstack/react-query": "^5.100.10", "amazon-cognito-identity-js": "^6.3.0", "axios": "^1.16.0", - "react": "^19.0.0", + "react": "19.2.3", "react-native": "^0.85.3", "react-native-app-auth": "^8.0.0", "react-native-document-picker": "^9.3.0", @@ -5835,9 +5836,9 @@ } }, "node_modules/react": { - "version": "19.2.6", - "resolved": "https://registry.npmjs.org/react/-/react-19.2.6.tgz", - "integrity": "sha512-sfWGGfavi0xr8Pg0sVsyHMAOziVYKgPLNrS7ig+ivMNb3wbCBw3KxtflsGBAwD3gYQlE/AEZsTLgToRrSCjb0Q==", + "version": "19.2.3", + "resolved": "https://registry.npmjs.org/react/-/react-19.2.3.tgz", + "integrity": "sha512-Ku/hhYbVjOQnXDZFv2+RibmLFGwFdeeKHFcOTlrt7xplBnya5OGn/hIRDsqDiSUcfORsDC7MPxwork8jBwsIWA==", "license": "MIT", "engines": { "node": ">=0.10.0" diff --git a/mobile/package.json b/mobile/package.json index 50c68a9..eb3ae86 100644 --- a/mobile/package.json +++ b/mobile/package.json @@ -20,7 +20,7 @@ "@tanstack/react-query": "^5.100.10", "amazon-cognito-identity-js": "^6.3.0", "axios": "^1.16.0", - "react": "^19.0.0", + "react": "19.2.3", "react-native": "^0.85.3", "react-native-app-auth": "^8.0.0", "react-native-document-picker": "^9.3.0", diff --git a/mobile/src/App.tsx b/mobile/src/App.tsx index 026dbce..8f8a506 100644 --- a/mobile/src/App.tsx +++ b/mobile/src/App.tsx @@ -1,10 +1,10 @@ -import React, { useEffect } from 'react'; +import React, { useEffect, Component, ErrorInfo, ReactNode } from 'react'; import { Provider as ReduxProvider, useDispatch } from 'react-redux'; import { PaperProvider } from 'react-native-paper'; import { QueryClientProvider } from '@tanstack/react-query'; import { SafeAreaProvider } from 'react-native-safe-area-context'; import NetInfo from '@react-native-community/netinfo'; -import { Alert } from 'react-native'; +import { Alert, Text, View } from 'react-native'; import { store } from './store'; import { theme } from './theme'; @@ -15,6 +15,26 @@ import { setUser, setLoading } from './store/slices/authSlice'; import { processOfflineQueue } from './hooks/useOfflineDraft'; import { proposalsApi, CreateProposalRequest } from './lib/api/proposals'; +class ErrorBoundary extends Component<{ children: ReactNode }, { error: Error | null }> { + state = { error: null as Error | null }; + static getDerivedStateFromError(error: Error) { return { error }; } + componentDidCatch(error: Error, info: ErrorInfo) { + console.error('ErrorBoundary caught:', error, info.componentStack); + } + render() { + if (this.state.error) { + return ( + + App Error + {this.state.error.message} + {this.state.error.stack?.slice(0, 500)} + + ); + } + return this.props.children; + } +} + function AuthBootstrap({ children }: { children: React.ReactNode }) { const dispatch = useDispatch(); @@ -61,16 +81,18 @@ function AuthBootstrap({ children }: { children: React.ReactNode }) { export default function App() { return ( - - - - - - - - - - - + + + + + + + + + + + + + ); } diff --git a/mobile/src/hooks/usePaginatedList.ts b/mobile/src/hooks/usePaginatedList.ts index 8d439df..261b761 100644 --- a/mobile/src/hooks/usePaginatedList.ts +++ b/mobile/src/hooks/usePaginatedList.ts @@ -21,6 +21,7 @@ export function usePaginatedList( const [pageSize, setPageSize] = useState(DEFAULT_PAGE_SIZE); const [totalCount, setTotalCount] = useState(0); const [loading, setLoading] = useState(true); + const [refreshing, setRefreshing] = useState(false); const [err, setErr] = useState(''); const debounceRef = useRef | null>(null); @@ -37,8 +38,7 @@ export function usePaginatedList( }; }, [search]); - const reload = useCallback(() => { - setLoading(true); + const fetchData = useCallback(() => { setErr(''); fetchFn({ search: debouncedSearch, page, pageSize, ...extraParams }) .then(({ items, totalCount: total }) => { @@ -46,13 +46,22 @@ export function usePaginatedList( setTotalCount(total); }) .catch((e: Error) => setErr(e.message || 'Failed to load')) - .finally(() => setLoading(false)); + .finally(() => { + setLoading(false); + setRefreshing(false); + }); // eslint-disable-next-line react-hooks/exhaustive-deps }, [fetchFn, debouncedSearch, page, pageSize, extraKey]); useEffect(() => { - reload(); - }, [reload]); + setLoading(true); + fetchData(); + }, [fetchData]); + + const reload = useCallback(() => { + setRefreshing(true); + fetchData(); + }, [fetchData]); return useMemo( () => ({ @@ -65,9 +74,10 @@ export function usePaginatedList( setPageSize, totalCount, loading, + refreshing, err, reload, }), - [rows, search, page, pageSize, totalCount, loading, err, reload], + [rows, search, page, pageSize, totalCount, loading, refreshing, err, reload], ); } diff --git a/mobile/src/lib/api/auth.ts b/mobile/src/lib/api/auth.ts index 24ea9a3..ac94406 100644 --- a/mobile/src/lib/api/auth.ts +++ b/mobile/src/lib/api/auth.ts @@ -9,6 +9,22 @@ import { StoredUser, } from '../storage'; +function parseUserFromIdToken(idToken: string): StoredUser { + const base64Url = idToken.split('.')[1]; + const base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/'); + const payload = JSON.parse(atob(base64)); + const groups: string[] = payload['cognito:groups'] || []; + const role = groups.includes('admins') || groups.includes('sysadmins') + ? 'Admin' + : 'Dispatcher'; + return { + id: payload.sub, + email: payload.email, + displayName: payload.name || payload.email, + role: role as StoredUser['role'], + }; +} + const cognitoConfig = { clientId: Config.COGNITO_CLIENT_ID, redirectUrl: Config.COGNITO_REDIRECT_URI, @@ -53,7 +69,12 @@ export const authApi = { }; await tokenStorage.save(tokens); - const profile = await authApi.getMe(); + let profile: StoredUser; + try { + profile = await authApi.getMe(); + } catch { + profile = parseUserFromIdToken(cognitoTokens.idToken); + } await userStorage.save(profile); return profile; }, diff --git a/mobile/src/lib/api/cognito-auth.ts b/mobile/src/lib/api/cognito-auth.ts index de78e3f..23e259f 100644 --- a/mobile/src/lib/api/cognito-auth.ts +++ b/mobile/src/lib/api/cognito-auth.ts @@ -1,4 +1,3 @@ -import type { CognitoUserSession } from 'amazon-cognito-identity-js'; import Config from '../../config'; export interface CognitoTokens { @@ -8,7 +7,8 @@ export interface CognitoTokens { expiresAt: string; } -function extractTokens(session: CognitoUserSession): CognitoTokens { +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function extractTokens(session: any): CognitoTokens { const accessToken = session.getAccessToken(); return { accessToken: accessToken.getJwtToken(), @@ -22,7 +22,6 @@ export async function authenticateWithCredentials( email: string, password: string, ): Promise { - // Lazy-load to keep amazon-cognito-identity-js out of the startup module graph const { CognitoUserPool, CognitoUser, diff --git a/mobile/src/screens/SettingsScreen.tsx b/mobile/src/screens/SettingsScreen.tsx index eea9c95..4bf446e 100644 --- a/mobile/src/screens/SettingsScreen.tsx +++ b/mobile/src/screens/SettingsScreen.tsx @@ -8,7 +8,7 @@ export function SettingsScreen() { const { user, logout } = useAuth(); return ( - + diff --git a/mobile/src/screens/admin/ProposalQueueScreen.tsx b/mobile/src/screens/admin/ProposalQueueScreen.tsx index 3788d74..9a2fbfd 100644 --- a/mobile/src/screens/admin/ProposalQueueScreen.tsx +++ b/mobile/src/screens/admin/ProposalQueueScreen.tsx @@ -30,6 +30,7 @@ export function ProposalQueueScreen() { search, setSearch, loading, + refreshing, reload, } = usePaginatedList( (params) => @@ -90,7 +91,7 @@ export function ProposalQueueScreen() { handlePress(item)} /> )} refreshControl={ - + } contentContainerStyle={rows.length === 0 ? styles.empty : styles.list} ListEmptyComponent={ diff --git a/mobile/src/screens/dispatcher/DashboardScreen.tsx b/mobile/src/screens/dispatcher/DashboardScreen.tsx index 0360bc5..2c55c7f 100644 --- a/mobile/src/screens/dispatcher/DashboardScreen.tsx +++ b/mobile/src/screens/dispatcher/DashboardScreen.tsx @@ -52,7 +52,7 @@ export function DashboardScreen() { } > - Welcome, {user?.displayName?.split(' ')[0] || 'there'} + Welcome, {user?.displayName?.includes('@') ? user.displayName.split('@')[0] : user?.displayName?.split(' ')[0] || 'there'} {stats && ( diff --git a/mobile/src/screens/dispatcher/NewProposalScreen.tsx b/mobile/src/screens/dispatcher/NewProposalScreen.tsx index 2686f05..2bab4a0 100644 --- a/mobile/src/screens/dispatcher/NewProposalScreen.tsx +++ b/mobile/src/screens/dispatcher/NewProposalScreen.tsx @@ -11,6 +11,7 @@ import { TextInput, Button, Text, + Chip, SegmentedButtons, Snackbar, } from 'react-native-paper'; @@ -146,16 +147,19 @@ export function NewProposalScreen() { Service Category - updateDraft({ serviceCategory: v })} - buttons={SERVICE_CATEGORIES.map((c) => ({ - value: c, - label: c, - }))} - style={styles.segmented} - density="small" - /> + + {SERVICE_CATEGORIES.map((c) => ( + updateDraft({ serviceCategory: c })} + style={styles.chip} + > + {c} + + ))} + Priority @@ -247,6 +251,15 @@ const styles = StyleSheet.create({ segmented: { marginBottom: 16, }, + chipRow: { + flexDirection: 'row', + flexWrap: 'wrap', + gap: 8, + marginBottom: 16, + }, + chip: { + marginBottom: 0, + }, hint: { color: '#9E9E9E', marginBottom: 12, diff --git a/web/src/App.tsx b/web/src/App.tsx index 99a77e4..ca5169a 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -3,7 +3,7 @@ import { useSelector } from 'react-redux'; import { Box, Toolbar, Typography } from '@mui/material'; import { selectSidebarOpen } from './app/slices/uiSlice'; import type { RootState } from './app/store'; -import ProtectedRoute from './components/ProtectedRoute'; +import ProtectedRoute, { RoleGuard } from './components/ProtectedRoute'; import Topbar from './components/Topbar'; import Sidebar from './components/Sidebar'; import LoginPage from './pages/auth/LoginPage'; @@ -50,10 +50,10 @@ export default function App() { } /> {/* Admin Routes */} - } /> - } /> - } /> - User Management — Coming Soon} /> + } /> + } /> + } /> + User Management — Coming Soon} /> } /> diff --git a/web/src/components/ProtectedRoute.tsx b/web/src/components/ProtectedRoute.tsx index f0a5824..8e77202 100644 --- a/web/src/components/ProtectedRoute.tsx +++ b/web/src/components/ProtectedRoute.tsx @@ -10,3 +10,13 @@ export default function ProtectedRoute({ children }: { children: React.ReactNode return <>{children}; } + +export function RoleGuard({ roles, children }: { roles: string[]; children: React.ReactNode }) { + const { user } = useAuth(); + + if (!user || !roles.includes(user.role)) { + return ; + } + + return <>{children}; +} diff --git a/web/src/constants/index.ts b/web/src/constants/index.ts index ac30c2d..ed93bf0 100644 --- a/web/src/constants/index.ts +++ b/web/src/constants/index.ts @@ -19,3 +19,17 @@ export const STORAGE_KEY_SIDEBAR = 'sidebarOpen'; export const PROPOSAL_STATUSES = ['Draft', 'InReview', 'Approved', 'Sent', 'Revised'] as const; export const SERVICE_CATEGORIES = ['HVAC', 'Plumbing', 'Electrical', 'General', 'Renovation'] as const; export const PRIORITIES = ['Standard', 'Urgent', 'Emergency'] as const; + +export const STATUS_COLORS: Record = { + Draft: 'default', + InReview: 'info', + Approved: 'success', + Sent: 'success', + Revised: 'warning', +}; + +export const PRIORITY_COLORS: Record = { + Standard: 'default', + Urgent: 'warning', + Emergency: 'error', +}; diff --git a/web/src/lib/api/admin.ts b/web/src/lib/api/admin.ts index f7dfc06..c0eb2e3 100644 --- a/web/src/lib/api/admin.ts +++ b/web/src/lib/api/admin.ts @@ -19,7 +19,7 @@ export interface AuditEntry { userId: string; userName: string; action: string; - details: Record; + details: string | null; timestamp: string; ipAddress: string | null; } @@ -66,11 +66,8 @@ export const adminApi = { }, getPdf: async (id: string): Promise<{ downloadUrl: string; expiresAt: string } | null> => { - try { - const res = await apiClient.get(`/proposals/${id}/pdf`); - return res.data; - } catch { - return null; - } + const res = await apiClient.get(`/proposals/${id}/pdf`); + if (res.status === 202) return null; + return res.data; }, }; diff --git a/web/src/lib/api/proposals.ts b/web/src/lib/api/proposals.ts index 09fdbb9..6afe5b5 100644 --- a/web/src/lib/api/proposals.ts +++ b/web/src/lib/api/proposals.ts @@ -67,6 +67,7 @@ export interface ProposalFilters { priority?: string; fromDate?: string; toDate?: string; + mine?: boolean; } export const proposalsApi = { @@ -83,6 +84,7 @@ export const proposalsApi = { if (filters.status) params.append('status', filters.status); if (filters.serviceCategory) params.append('serviceCategory', filters.serviceCategory); if (filters.priority) params.append('priority', filters.priority); + if (filters.mine) params.append('mine', 'true'); const res = await apiClient.get(`/proposals?${params.toString()}`); return res.data; diff --git a/web/src/lib/format.ts b/web/src/lib/format.ts new file mode 100644 index 0000000..3a72acc --- /dev/null +++ b/web/src/lib/format.ts @@ -0,0 +1,18 @@ +export function formatCurrency(amount: number): string { + return new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(amount); +} + +export function formatDate(iso: string): string { + return new Date(iso).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' }); +} + +export function formatDateTime(iso: string | null): string { + if (!iso) return '-'; + return new Date(iso).toLocaleString('en-US', { + month: 'short', + day: 'numeric', + year: 'numeric', + hour: 'numeric', + minute: '2-digit', + }); +} diff --git a/web/src/pages/admin/dashboard/AdminDashboard.tsx b/web/src/pages/admin/dashboard/AdminDashboard.tsx index bdc54a8..e6c22c3 100644 --- a/web/src/pages/admin/dashboard/AdminDashboard.tsx +++ b/web/src/pages/admin/dashboard/AdminDashboard.tsx @@ -1,3 +1,4 @@ +import { useState } from 'react'; import { useNavigate } from 'react-router-dom'; import { useQuery } from '@tanstack/react-query'; import { @@ -28,29 +29,8 @@ import { usePaginatedList } from '../../../hooks/usePaginatedList'; import { proposalsApi, type ProposalListItem } from '../../../lib/api/proposals'; import { adminApi, type DashboardStats } from '../../../lib/api/admin'; import { QUERY_KEYS } from '../../../constants/queryKeys'; -import { SERVICE_CATEGORIES, PRIORITIES } from '../../../constants'; - -const STATUS_COLORS: Record = { - Draft: 'default', - InReview: 'info', - Approved: 'success', - Sent: 'success', - Revised: 'warning', -}; - -const PRIORITY_COLORS: Record = { - Standard: 'default', - Urgent: 'warning', - Emergency: 'error', -}; - -function formatCurrency(amount: number): string { - return new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(amount); -} - -function formatDate(iso: string): string { - return new Date(iso).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' }); -} +import { SERVICE_CATEGORIES, PRIORITIES, STATUS_COLORS, PRIORITY_COLORS } from '../../../constants'; +import { formatCurrency, formatDate } from '../../../lib/format'; function StatCard({ icon, label, value, color }: { icon: React.ReactNode; label: string; value: string; color: string }) { return ( @@ -76,6 +56,9 @@ export default function AdminDashboard() { queryFn: adminApi.getDashboard, }); + const [categoryFilter, setCategoryFilter] = useState(''); + const [priorityFilter, setPriorityFilter] = useState(''); + const { rows, search, @@ -87,7 +70,10 @@ export default function AdminDashboard() { totalCount, loading, err, - } = usePaginatedList(proposalsApi.getAll); + } = usePaginatedList(proposalsApi.getAll, { + ...(categoryFilter && { serviceCategory: categoryFilter }), + ...(priorityFilter && { priority: priorityFilter }), + }); return ( @@ -167,9 +153,9 @@ export default function AdminDashboard() { size="small" select label="Category" - value="" + value={categoryFilter} sx={{ width: 160 }} - onChange={() => {}} + onChange={(e) => setCategoryFilter(e.target.value)} > All {SERVICE_CATEGORIES.map((c) => ( @@ -180,9 +166,9 @@ export default function AdminDashboard() { size="small" select label="Priority" - value="" + value={priorityFilter} sx={{ width: 140 }} - onChange={() => {}} + onChange={(e) => setPriorityFilter(e.target.value)} > All {PRIORITIES.map((p) => ( diff --git a/web/src/pages/admin/workspace/AdminWorkspace.tsx b/web/src/pages/admin/workspace/AdminWorkspace.tsx index 680d916..fc6e4eb 100644 --- a/web/src/pages/admin/workspace/AdminWorkspace.tsx +++ b/web/src/pages/admin/workspace/AdminWorkspace.tsx @@ -34,14 +34,7 @@ import { QUERY_KEYS } from '../../../constants/queryKeys'; import LineItemEditor, { type EditableLineItem } from '../../../components/admin/LineItemEditor'; import VendorDataPanel from '../../../components/admin/VendorDataPanel'; import SimilarProposalsPanel from '../../../components/admin/SimilarProposalsPanel'; - -const STATUS_COLORS: Record = { - Draft: 'default', - InReview: 'info', - Approved: 'success', - Sent: 'success', - Revised: 'warning', -}; +import { STATUS_COLORS } from '../../../constants'; export default function AdminWorkspace() { const { id } = useParams<{ id: string }>(); @@ -115,10 +108,17 @@ export default function AdminWorkspace() { }); const approveMutation = useMutation({ - mutationFn: () => adminApi.approveProposal(id!), + mutationFn: async () => { + if (dirty) { + await saveMutation.mutateAsync(); + } + await adminApi.approveProposal(id!); + }, onSuccess: () => { queryClient.invalidateQueries({ queryKey: [QUERY_KEYS.proposals, id] }); + queryClient.invalidateQueries({ queryKey: [QUERY_KEYS.proposalLineItems, id] }); setApproveDialogOpen(false); + setDirty(false); toast.success('Proposal approved'); }, }); diff --git a/web/src/pages/auth/LoginPage.tsx b/web/src/pages/auth/LoginPage.tsx index 2ea1e04..6866e2e 100644 --- a/web/src/pages/auth/LoginPage.tsx +++ b/web/src/pages/auth/LoginPage.tsx @@ -39,10 +39,17 @@ export default function LoginPage() { } }, [isAuthenticated, navigate]); + const devUsers: Record = { + SysAdmin: { email: 'adam@seahavenind.com', name: 'Adam Moussa' }, + Admin: { email: 'sarah@seahavenind.com', name: 'Sarah Chen' }, + Dispatcher: { email: 'mike@seahavenind.com', name: 'Mike Torres' }, + }; + const handleDevLogin = async (role: string) => { setLoading(true); try { - const user = await authApi.devLogin('adam@seahavenind.com', 'Adam Moussa', role); + const dev = devUsers[role] ?? devUsers['SysAdmin']!; + const user = await authApi.devLogin(dev.email, dev.name, role); dispatch(setUser(user)); navigate('/', { replace: true }); } catch (err) { diff --git a/web/src/pages/dashboard/Dashboard.tsx b/web/src/pages/dashboard/Dashboard.tsx index 31a46dd..10be34c 100644 --- a/web/src/pages/dashboard/Dashboard.tsx +++ b/web/src/pages/dashboard/Dashboard.tsx @@ -23,22 +23,8 @@ import CheckCircleIcon from '@mui/icons-material/CheckCircle'; import SendIcon from '@mui/icons-material/Send'; import { proposalsApi, type ProposalListItem, type ProposalStats } from '../../lib/api/proposals'; import { QUERY_KEYS } from '../../constants/queryKeys'; - -const STATUS_COLORS: Record = { - Draft: 'default', - InReview: 'info', - Approved: 'success', - Sent: 'success', - Revised: 'warning', -}; - -function formatCurrency(amount: number): string { - return new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(amount); -} - -function formatDate(iso: string): string { - return new Date(iso).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' }); -} +import { STATUS_COLORS } from '../../constants'; +import { formatCurrency, formatDate } from '../../lib/format'; function KpiCard({ icon, label, value }: { icon: React.ReactNode; label: string; value: string }) { return ( @@ -61,7 +47,7 @@ export default function Dashboard() { const { data: recentData, isLoading: recentLoading } = useQuery<{ items: ProposalListItem[]; totalCount: number }>({ queryKey: [QUERY_KEYS.proposals, 'dashboard-recent'], - queryFn: () => proposalsApi.getAll({ page: 1, pageSize: 5 }), + queryFn: () => proposalsApi.getAll({ page: 1, pageSize: 5, mine: true }), }); const { data: stats, isLoading: statsLoading } = useQuery({ diff --git a/web/src/pages/proposals/detail/ProposalDetailPage.tsx b/web/src/pages/proposals/detail/ProposalDetailPage.tsx index cacbecc..4c87695 100644 --- a/web/src/pages/proposals/detail/ProposalDetailPage.tsx +++ b/web/src/pages/proposals/detail/ProposalDetailPage.tsx @@ -16,30 +16,10 @@ import { } from '@mui/material'; import ArrowBackIcon from '@mui/icons-material/ArrowBack'; import { proposalsApi, type ProposalDetail } from '../../../lib/api/proposals'; +import { STATUS_COLORS } from '../../../constants'; +import { formatCurrency, formatDateTime } from '../../../lib/format'; -const STATUS_ORDER = ['Draft', 'InReview', 'Approved', 'Sent']; -const STATUS_COLORS: Record = { - Draft: 'default', - InReview: 'info', - Approved: 'success', - Sent: 'success', - Revised: 'warning', -}; - -function formatCurrency(amount: number): string { - return new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(amount); -} - -function formatDateTime(iso: string | null): string { - if (!iso) return '-'; - return new Date(iso).toLocaleString('en-US', { - month: 'short', - day: 'numeric', - year: 'numeric', - hour: 'numeric', - minute: '2-digit', - }); -} +const STATUS_ORDER = ['Draft', 'InReview', 'Approved', 'Sent', 'Revised']; function InfoRow({ label, value }: { label: string; value: React.ReactNode }) { return ( diff --git a/web/src/pages/proposals/form/ProposalFormPage.tsx b/web/src/pages/proposals/form/ProposalFormPage.tsx index a18f5e1..8337342 100644 --- a/web/src/pages/proposals/form/ProposalFormPage.tsx +++ b/web/src/pages/proposals/form/ProposalFormPage.tsx @@ -1,4 +1,4 @@ -import { useState, useCallback } from 'react'; +import { useState, useCallback, useRef } from 'react'; import { useNavigate } from 'react-router-dom'; import { useMutation } from '@tanstack/react-query'; import { @@ -37,6 +37,7 @@ export default function ProposalFormPage() { const [customerLoading, setCustomerLoading] = useState(false); const [addresses, setAddresses] = useState([]); const [vendorFile, setVendorFile] = useState(null); + const searchDebounceRef = useRef | null>(null); const handleChange = (field: keyof CreateProposalRequest, value: string) => { setForm((prev) => ({ ...prev, [field]: value })); @@ -90,6 +91,9 @@ export default function ProposalFormPage() { toast.success(`Proposal ${proposal.proposalNumber} submitted`); navigate(`/proposals/${proposal.id}`); }, + onError: (error: Error) => { + toast.error(error.message || 'Failed to submit proposal'); + }, }); const handleSubmit = (e: React.FormEvent) => { @@ -130,7 +134,13 @@ export default function ProposalFormPage() { options={customers} getOptionLabel={(opt) => (typeof opt === 'string' ? opt : opt.name)} loading={customerLoading} - onInputChange={(_, value) => searchCustomers(value)} + onInputChange={(_, value, reason) => { + if (reason === 'input') { + handleChange('customerName', value); + } + if (searchDebounceRef.current) clearTimeout(searchDebounceRef.current); + searchDebounceRef.current = setTimeout(() => searchCustomers(value), 300); + }} onChange={handleCustomerSelect} renderInput={(params) => ( = { - Draft: 'default', - InReview: 'info', - Approved: 'success', - Sent: 'success', - Revised: 'warning', -}; - -function formatCurrency(amount: number): string { - return new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(amount); -} - -function formatDate(iso: string): string { - return new Date(iso).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' }); -} +import { STATUS_COLORS } from '../../../constants'; +import { formatCurrency, formatDate } from '../../../lib/format'; export default function ProposalListPage() { const navigate = useNavigate(); + const mineParams = { mine: true }; const { rows, search, @@ -51,7 +38,7 @@ export default function ProposalListPage() { totalCount, loading, err, - } = usePaginatedList(proposalsApi.getAll); + } = usePaginatedList(proposalsApi.getAll, mineParams); return (