Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/architecture/agent_corpus_actions_design.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,5 +430,5 @@ Tests covering agent task execution:

- [Corpus Actions Intro](../corpus_actions/intro_to_corpus_actions.md)
- [Document Versioning](./document_versioning.md)
- [Agent Framework](../llms/README.md)
- [Agent Framework](llms/README.md)
- [Permissioning Guide](../permissioning/consolidated_permissioning_guide.md)
2 changes: 1 addition & 1 deletion docs/architecture/websocket/frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ getThreadUpdatesWebSocket(conversationId, authToken?)
## Related Files

- [`frontend/src/components/widgets/chat/ChatMessage.tsx`](../../../frontend/src/components/widgets/chat/ChatMessage.tsx): Message rendering component
- [`frontend/src/components/annotator/context/ChatSourceAtom.ts`](../../../frontend/src/components/annotator/context/ChatSourceAtom.ts): Source state management
- [`frontend/src/components/annotator/context/ChatSourceAtom.tsx`](../../../frontend/src/components/annotator/context/ChatSourceAtom.tsx): Source state management
- [`frontend/src/components/chat/get_websockets.ts`](../../../frontend/src/components/chat/get_websockets.ts): WebSocket URL utilities
- [`frontend/src/graphql/queries.ts`](../../../frontend/src/graphql/queries.ts): GraphQL conversation queries
- [`frontend/src/hooks/useNetworkStatus.ts`](../../../frontend/src/hooks/useNetworkStatus.ts): Network/visibility status for reconnection
2 changes: 1 addition & 1 deletion docs/configuration/frontend-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The frontend uses different environment variable prefixes depending on the deplo

**How it works**: In production, the container entrypoint script writes a runtime-loaded file at `frontend/public/env-config.js` that populates `window._env_` with the `REACT_APP_*` variables converted from `OPEN_CONTRACTS_REACT_APP_*`. For example, `OPEN_CONTRACTS_REACT_APP_USE_AUTH0` becomes `window._env_.REACT_APP_USE_AUTH0` in the frontend code. The browser fetches `env-config.js` on every page load, so configuration changes do **not** require a frontend rebuild — only a container restart (or `env-config.js` regeneration) is needed.

See [`frontend/public/env-config.js`](https://github.com/Open-Source-Legal/OpenContracts/blob/main/frontend/public/env-config.js) for the file structure and the [Frontend Telemetry doc](../telemetry/Frontend.md) for how the same mechanism is used to inject PostHog keys.
See [`frontend/env.sh`](https://github.com/Open-Source-Legal/OpenContracts/blob/main/frontend/env.sh), the entrypoint script that generates it, for the file structure and the [Frontend Telemetry doc](../telemetry/Frontend.md) for how the same mechanism is used to inject PostHog keys.

## Available Configuration Options

Expand Down
2 changes: 1 addition & 1 deletion docs/frontend/auth_flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ See `frontend/src/components/auth/AuthGate.test.tsx` for test examples.

## Related Documentation

- [Authentication Pattern](../frontend/src/docs/AUTHENTICATION_PATTERN.md) - Detailed AuthGate pattern documentation
- [Authentication Pattern](../../frontend/src/docs/AUTHENTICATION_PATTERN.md) - Detailed AuthGate pattern documentation
- [Routing System](./routing_system.md) - How routing works with auth
- [Apollo Cache](../architecture/apollo_cache.md) - Cache management details

Expand Down
2 changes: 1 addition & 1 deletion docs/walkthrough/step-8-data-extract.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ points, represented as columns in a grid, that will be asked of every document i
You can define complex extract schemas, including python primitives, Pydantic models (no nesting - yet) and lists.

Under the hood, the extraction system uses an agent-based pipeline powered by PydanticAI that intelligently retrieves
and processes document content. For technical details, see the [LLM Framework documentation](../../architecture/llms/README.md).
and processes document content. For technical details, see the [LLM Framework documentation](../architecture/llms/README.md).

## Building a Datagrid

Expand Down
4 changes: 2 additions & 2 deletions frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ You will also see any lint errors in the console.
### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
See the section about [running tests](https://create-react-app.dev/docs/running-tests) for more information.

### `npm run build`

Expand All @@ -27,7 +27,7 @@ It correctly bundles React in production mode and optimizes the build for the be
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
See the section about [deployment](https://create-react-app.dev/docs/deployment) for more information.

### `npm run eject`

Expand Down
Loading