Commit Graph
17 Commits
Author SHA1 Message Date
westfarnandCursor f703ebcc25 Update favicon to new AI ML Operations logo.
Unit Tests / test (pull_request) Successful in 10s
Closes #18. Replace stale favicon.jpg/ICO assets with multi-size ICO, PNG, and apple-touch-icon generated from the new brand mark, and point index.html/manifest at them.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-26 06:34:31 -05:00
westfarn 45d441dcba Fix ESLint and CSS Minimizer errors blocking npm run build (#17)
Unit Tests / test (push) Successful in 10s
## Summary
- Closes #16
- Clear unused imports/bindings, empty `{}` prop patterns, `==` vs `===`, and hook dependency gaps across App, contexts, and pages
- Replace invalid `calc(3rem + unset)` in `index.css` so Css Minimizer no longer fails

## Test plan
- [x] `npm run build` in `llm-fe` succeeds (no ESLint / postcss-calc errors)
- [ ] Spot-check SignIn, dashboard, account, feedback, document storage pages still render
- [ ] Confirm WebSocket/message flows still work after MessageContext dep cleanupReviewed-on: #17
2026-07-25 04:43:21 -07:00
westfarn 5a7a4dd4eb Deploy chat_web_app via server-infra (node-static) (#15)
Unit Tests / test (push) Successful in 10s
## Summary

Implements [chat_web_app#13](#13) Part A: wire the CRA frontend into the same **node-static** deploy path as `dta_webapp` (no Docker for serving).

- `build:prod` / `build:beta` write into `/var/www/{env}.chat.aimloperations/html`
- API/WS URLs come from `REACT_APP_*` (`.env.production` / `.env.beta`) instead of hardcoded localhost
- Gitea unit tests + auto deploy-prod on `master`; deploy-beta via `workflow_dispatch`
- README documents local dev, env files, and webroot layout

Branch includes the #11 unit-test commit (`test:ci`) so CI has a green suite.

Companion server-infra branch (Part B): `issue-13-register-chat-web-app` on `ai_ml_operations/server-infra`.

## Test plan

- [ ] `cd llm-fe && npm run test:ci`
- [ ] Merge + ensure Unit Tests workflow passes on PR
- [ ] Merge server-infra `issue-13-register-chat-web-app`, then sync/pull on runner
- [ ] Redeploy web-static (or full host provision) so nginx listens on **8082**
- [ ] Manual: `server-infra/scripts/deploy.sh --app chat_web_app --env prod --ref <sha>`
- [ ] NPM: point `chat.aimloperations.com` at `adama:8082` + `roslin:8082` + `ai-server-4080:8082`
- [ ] Confirm built assets hit `https://chatbackend.aimloperations.com`Reviewed-on: #15
2026-07-25 04:34:12 -07:00
westfarn c0d83359cc Add unit tests (#11) (#14)
## Summary
- Add Jest/RTL unit tests for data models, Card, Footer, CustomTextField/PasswordField, CustomToastMessage, ConversationCard, AuthContext, and SignIn
- Remove the broken CRA `App.test.tsx` placeholder that expected "learn react"
- Add `npm run test:ci` for non-interactive CI runs

Closes #11

## Test plan
- [ ] `cd llm-fe && npm install`
- [ ] `npm run test:ci` — expect 9 suites / 32 tests passing

Reviewed-on: #14
2026-07-14 18:03:24 -07:00
westfarn 40db2495f2 Closes #10 2025-12-09 05:39:35 -06:00
westfarn caf2c6481f host of Quality of life fixes 2025-12-08 13:51:29 -06:00
westfarn 95f351c5aa final set of updates for the upgrade 2025-12-07 06:17:48 -06:00
westfarn 5c449e1036 UI Redesin! 2025-11-24 06:26:50 -06:00
westfarn 2657334e0c fixing the rebase 2025-09-24 12:02:59 -05:00
westfarn b120f85ccd update button based on state 2025-09-24 11:58:38 -05:00
westfarn 0acfcc0d08 Updated the FE to be able to display warnings and images 2025-09-24 11:57:40 -05:00
westfarn 1306ba9ed1 Removed the model selector 2025-05-18 06:12:12 -05:00
westfarn f7a6fefa2a Fix some base html 2025-05-14 03:25:29 -05:00
westfarn 004153617b Tons of updates. Rags paginated tables, site tracking 2025-05-14 03:23:18 -05:00
westfarn 5d054026d8 Update llm-fe/src/index.tsx 2025-04-27 07:31:56 +00:00
westfarn 626d471a15 inital check in 2025-03-07 12:21:37 -06:00
westfarn a1d67c7c15 inital checkin 2025-03-07 12:18:16 -06:00