Skip to content

Commit

Permalink
Merge various work from Orchid Labs master branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurik committed Nov 13, 2024
2 parents 6769ea1 + 6f5a852 commit acc996c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions gai-frontend/lib/chat/chat_bubble.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ChatBubble extends StatelessWidget {
return Center(
child: Column(
children: <Widget>[
Text(
SelectableText(
message.message,
style: const TextStyle(
fontFamily: 'Baloo2',
Expand Down Expand Up @@ -104,7 +104,7 @@ class ChatBubble extends StatelessWidget {
if (src == ChatMessageSource.provider)
Padding(
padding: EdgeInsets.only(left: iconTotalWidth),
child: Text(
child: SelectableText(
message.message,
style: const TextStyle(
fontFamily: 'Baloo2',
Expand All @@ -122,7 +122,7 @@ class ChatBubble extends StatelessWidget {
color: Colors.black,
borderRadius: BorderRadius.circular(10),
),
child: Text(
child: SelectableText(
message.message,
style: const TextStyle(
fontFamily: 'Baloo2',
Expand All @@ -138,7 +138,7 @@ class ChatBubble extends StatelessWidget {
const SizedBox(height: 4),
Padding(
padding: EdgeInsets.only(left: iconTotalWidth),
child: Text(
child: SelectableText(
message.formatUsage(),
style: TextStyle(
fontFamily: 'Baloo2',
Expand Down
2 changes: 1 addition & 1 deletion gai-frontend/lib/chat/chat_model_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class _ModelSelectionButtonState extends State<ModelSelectionButton> {
height: _menuHeight,
child: SizedBox(
width: _menuWidth,
child: Text('No models available', style: _textStyle),
child: Text('Enter an account to see models', style: _textStyle),
),
),
];
Expand Down
4 changes: 2 additions & 2 deletions gai-frontend/lib/chat/chat_prompt.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class _ChatPromptPanelState extends State<ChatPromptPanel> {
});
},
icon: _showPromptDetails
? const Icon(Icons.expand_more, color: Colors.white)
: const Icon(Icons.chevron_right, color: Colors.white),
? const Icon(Icons.tune, color: Colors.white)
: const Icon(Icons.tune, color: Colors.white),
),
Flexible(
child: OrchidTextField(
Expand Down
2 changes: 2 additions & 0 deletions gai-frontend/lib/chat/chat_settings_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ class _ChatSettingsButtonState extends State<ChatSettingsButton> {
SubmenuPopopMenuItemBuilder<String>(
builder: _buildIdenticonsPref,
),
/*
div,
SubmenuPopopMenuItemBuilder<String>(
builder: _buildLanguagePref,
Expand All @@ -144,6 +145,7 @@ class _ChatSettingsButtonState extends State<ChatSettingsButton> {
launchUrlString(githubUrl);
},
),
*/
];
},
child: SizedBox(
Expand Down

0 comments on commit acc996c

Please sign in to comment.