Commit Graph

19 Commits

Author SHA1 Message Date
HoloPanio 4bec198db6 feat: sales opportunity detail, procurement filters, permission resilience
- Add sales opportunity detail page with tabs (overview, notes, contacts, products, forecasts, activity)
- Add sales note CRUD endpoints (create, update, delete) with server routes
- Add opportunity types, contacts, product sequencing, and refresh API methods
- Add AddProductModal component for catalog browsing
- Update procurement.fetchMany to accept CatalogItemFilters object
- Add procurement.fetchCategories and procurement.fetchFilters endpoints
- Add resilient permission check (no-token returns all-true with __checkFailed)
- Parallelize company detail data fetches for performance
- Remove stale console.log statements across modules
- Add comprehensive unit tests for all new API methods and permission edge cases
2026-03-01 13:08:58 -06:00
HoloPanio 27755d4a00 fix: default permissions to true on API failure to prevent UI hiding
- When the permission check API call fails (timeout, network error, etc.),
  permissions now default to true instead of false
- This prevents UI elements like the WiFi tab from disappearing when the
  permission check has a transient failure
- The API still enforces access server-side, so no security impact
- Added __checkFailed flag to PermissionMap for observability
2026-02-27 18:12:14 -06:00
HoloPanio cb8c6b3958 fix: restore permissions export compatibility and add regressions 2026-02-27 14:54:26 -06:00
HoloPanio 5a6970a4c5 feat: add procurement and sales sections 2026-02-27 14:42:19 -06:00
HoloPanio ae5ac35058 feat: add server deployment, desktop builds, and CI/CD pipeline
- Add Dockerfile with adapter-node for server deployment
- Add Kubernetes deployment and ingress manifests
- Add GitHub Actions workflow (server build, desktop builds, K8s deploy)
- Electron now loads hosted URL (https://optima.osdci.net) in production
- Add macOS DMG maker and make:macos script
- Switch to static imports in lib/index.ts
- Add .dockerignore
2026-02-26 12:58:24 -06:00
HoloPanio 6791a6735b Setup unifi wlans 2026-02-22 19:12:13 -06:00
HoloPanio a99c9f5102 So many things 2026-02-17 21:52:59 -06:00
HoloPanio 8e225aa254 Company listing, authentication, and page error handling are all working 2026-02-17 17:29:17 -06:00
HoloPanio 6d046e90ed restructure and reorganize 2026-02-16 07:47:08 -06:00
HoloPanio 561aef8ee3 MAKING CREDENTIALS WORKS 2026-02-15 16:38:55 -06:00
HoloPanio 140e6c416a CREDENTIAL TYPE MANAGEMENT WORKS 2026-02-14 15:16:06 -06:00
HoloPanio 51db9de171 I GOT COMPANY API DATA ON THE PAGE AHHHHHHH 2026-02-13 18:02:35 -06:00
HoloPanio 6b176196d3 Companys are now listing on the companies page. 2026-02-13 17:01:42 -06:00
HoloPanio 1a45f708ec todo 2026-01-26 18:16:00 -06:00
HoloPanio 7fb53acfa4 Setup a companies list page with dummy data. 2026-01-26 18:15:09 -06:00
HoloPanio e517a45c0f Working User Authorization Flow 2026-01-26 15:56:30 -06:00
HoloPanio e9a7ded305 Comment 2026-01-25 16:55:42 -06:00
HoloPanio 7b04aa3116 got some lib exports done and WIP user login flow 2026-01-25 16:53:56 -06:00
HoloPanio a9bf8317f4 It works-ish 2026-01-24 17:02:42 -06:00