nicer placeholders

This commit is contained in:
Henry Hiles 2026-01-15 20:03:36 -05:00
commit fae1a81153
No known key found for this signature in database
3 changed files with 24 additions and 10 deletions

View file

@ -15,9 +15,11 @@ class MentionChip extends StatelessWidget {
),
),
backgroundColor: Theme.of(context).colorScheme.primary,
onPressed: () {
// TODO: Open room or join room dialog, or user popover
showAboutDialog(context: context);
},
onPressed: () => showDialog(
context: context,
builder: (_) => Dialog(
child: Text("TODO: Open room or join room dialog, or user popover"),
), // TODO
),
);
}

View file

@ -500,9 +500,14 @@ class RoomChat extends HookConsumerWidget {
required bool isSentByMe,
MessageGroupStatus? groupStatus,
}) => InkWell(
onTap: () => showAboutDialog(
onTap: () => showDialog(
context: context,
), // TODO: Download
builder: (_) => Dialog(
child: Text(
"TODO: Download Attachments", // TODO
),
),
),
child: FlyerChatFileMessage(
topWidget: TopWidget(
message,

View file

@ -51,8 +51,12 @@ class TopWidget extends ConsumerWidget {
return Padding(
padding: EdgeInsets.only(bottom: 12),
child: InkWell(
// TODO: Scroll to original message
onTap: () => showAboutDialog(context: context),
onTap: () => showDialog(
context: context,
builder: (_) => Dialog(
child: Text("TODO: Scroll to original message"),
), // TODO
),
child: Quoted(
Row(
mainAxisSize: MainAxisSize.min,
@ -91,8 +95,11 @@ class TopWidget extends ConsumerWidget {
groupStatus?.isFirst != false ||
message.metadata?["reply"] != null)
InkWell(
onTap: () =>
showAboutDialog(context: context), // TODO: Show user profile
onTap: () => showDialog(
context: context,
builder: (_) =>
Dialog(child: Text("TODO: Show user profile")), // TODO
),
child: Row(
mainAxisSize: MainAxisSize.min,
spacing: 8,