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, backgroundColor: Theme.of(context).colorScheme.primary,
onPressed: () { onPressed: () => showDialog(
// TODO: Open room or join room dialog, or user popover context: context,
showAboutDialog(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, required bool isSentByMe,
MessageGroupStatus? groupStatus, MessageGroupStatus? groupStatus,
}) => InkWell( }) => InkWell(
onTap: () => showAboutDialog( onTap: () => showDialog(
context: context, context: context,
), // TODO: Download builder: (_) => Dialog(
child: Text(
"TODO: Download Attachments", // TODO
),
),
),
child: FlyerChatFileMessage( child: FlyerChatFileMessage(
topWidget: TopWidget( topWidget: TopWidget(
message, message,

View file

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