Skip to content

Commit 79fbfb9

Browse files
committed
Rename AppContent to ChatSession
1 parent a41020c commit 79fbfb9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ The app's settings are handled by a `SettingsContext` object, which has dialog U
5757
| File | Type | Information |
5858
| --- | --- | --- |
5959
| App.tsx | `App` | Root of the app, publishes the `StylesContext` and `SettingsContext` |
60-
| AppContent.tsx | `ChatSession` | Owns the `ChatElement` list, and handles any writes to that list |
61-
| AppContent.tsx | `AutomatedChatSession` | Populates the `ChatSession` with either scripted responses or by creating components that query OpenAi |
60+
| ChatSession.tsx | `ChatSession` | Owns the `ChatElement` list, and handles any writes to that list |
61+
| ChatSession.tsx | `AutomatedChatSession` | Populates the `ChatSession` with either scripted responses or by creating components that query OpenAi |
6262
| Chat.tsx | `Chat` | The scrolling list of chat entries. Publishes the `FeedbackContext`, `ChatHistoryContext`, and `ChatScrollContext` services. Hosts a `ChatEntry` for the user input. Hosts the dialogs of the app (`FeedbackPopup` and `SettingsPopups`).
6363
| Chat.tsx | `ChatEntry` | Takes in the user's text input |
6464
| Feedback.tsx | `FeedbackPopup` | Popup for giving feedback on AI responses |

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { Appearance } from 'react-native';
3-
import { ChatSession } from './AppContent';
3+
import { ChatSession } from './ChatSession';
44
import {
55
StylesContext,
66
CreateStyles,
File renamed without changes.

0 commit comments

Comments
 (0)