copilot -> ATOMS – AI Assistant

main_production_copilot
Sikander Saleem 4 weeks ago
parent 37a553c4bb
commit cd9d761212

@ -113,7 +113,7 @@ class _CopilotChatPageState extends State<CopilotChatPage> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
appBar: DefaultAppBar( appBar: DefaultAppBar(
title: "Copilot Assistant", title: "ATOMS – AI Assistant",
actions: [ actions: [
IconButton( IconButton(
onPressed: () => Navigator.push(context, MaterialPageRoute(builder: (_) => const CopilotHistoryPage())), onPressed: () => Navigator.push(context, MaterialPageRoute(builder: (_) => const CopilotHistoryPage())),
@ -362,7 +362,7 @@ class _ShimmerBubble extends StatelessWidget {
).toShimmer(context: context, isShow: true); ).toShimmer(context: context, isShow: true);
final name = Text( final name = Text(
isSender ? "Me" : "Copilot", //check the api if they send the user name isSender ? "Me" : "Assistant", //check the api if they send the user name
style: AppTextStyles.bodyText.copyWith(color: AppColor.neutral50, fontWeight: FontWeight.w600), style: AppTextStyles.bodyText.copyWith(color: AppColor.neutral50, fontWeight: FontWeight.w600),
).toShimmer(context: context, isShow: true); ).toShimmer(context: context, isShow: true);

@ -109,7 +109,7 @@ class CopilotMessageBubble extends StatelessWidget {
decoration: BoxDecoration(color: AppColor.background(context), shape: BoxShape.circle, border: Border.all(color: Colors.transparent)), decoration: BoxDecoration(color: AppColor.background(context), shape: BoxShape.circle, border: Border.all(color: Colors.transparent)),
child: "copilot_logo".toSvgAsset(width: 14, height: 14)), child: "copilot_logo".toSvgAsset(width: 14, height: 14)),
8.width, 8.width,
const InfoTextLabelWidget(label: "Copilot"), const InfoTextLabelWidget(label: "Assistant"),
// Text( // Text(
// "Copilot", // "Copilot",
// overflow: TextOverflow.ellipsis, // overflow: TextOverflow.ellipsis,

Loading…
Cancel
Save