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/ADR/0000-fork-oan-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ is doing right now:
| **Copy an answer** | Client-side |
| **Retry a failed answer** | Client-side |
| **Light and dark theme** | Client-side |
| **Language picker** | Ten languages. The chosen one is kept between visits and sent with each question as both the question and answer language. Opens in `defaultLanguage` until one is picked |
| **Location** | The browser is asked once for the user's coordinates, which are attached to each chat request. A denied prompt is a normal outcome: the request is sent without them |
| **Runtime configuration** | Brand, theme and the flags below are read from `/config.json` at boot and can be changed on a running deployment without a rebuild |

Expand All @@ -154,7 +155,6 @@ configuration change rather than a rewrite.
| **Spoken answers** | Text-to-speech in the Experience API |
| **Image questions** | The DSS image content item, and upload in the Experience API |
| **Follow-up suggestions** | A suggestions endpoint |
| **Languages other than English** | A DSS that answers in them. The client is pinned to English; the other nine remain in the translation files |

### 6.3 The rule this expresses

Expand Down
1 change: 0 additions & 1 deletion src/__tests__/features.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ describe("feature flags", () => {
expect(FEATURES.voiceInput).toBe(true);
expect(FEATURES.textToSpeech).toBe(false);
expect(FEATURES.imageQuestions).toBe(false);
expect(FEATURES.languageSelector).toBe(false);
});

it("treats anything other than true as off", async () => {
Expand Down
2 changes: 1 addition & 1 deletion src/config/app-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"imageQuestions": false,
"suggestions": false,
"geolocation": true,
"languageSelector": false
"languageSelector": true
},
"brand": {
"appName": "Agri Assistant",
Expand Down
Loading