adding invitations, other message handling improvements #77

Merged
sarah merged 4 commits from sendinvites into trunk 2021-05-11 23:00:45 +00:00
Owner
  • send inline invitations, which uses new overlay types 100/101 and new DropdownContacts widget
  • special chrome to allow accepting/rejecting inline invites
  • adds loadingmessage placeholder, will be used to prevent "blinking" later
  • make groupsettingsview group address copyable
  • remove unused messagerow decorations
  • click portraits to add contacts in groupchats
* send inline invitations, which uses new overlay types 100/101 and new DropdownContacts widget * special chrome to allow accepting/rejecting inline invites * adds loadingmessage placeholder, will be used to prevent "blinking" later * make groupsettingsview group address copyable * remove unused messagerow decorations * click portraits to add contacts in groupchats
sarah was assigned by erinn 2021-05-11 04:38:31 +00:00
Owner
Drone Build Status: success https://build.openprivacy.ca/flutter/flutter_app/298
Owner
Drone Build Status: failure https://build.openprivacy.ca/flutter/flutter_app/297
sarah reviewed 2021-05-11 17:22:43 +00:00
@ -125,2 +145,4 @@
void placeHolder() => {};
void _modalSendInvitation(BuildContext ctx) {
Owner

comment the context weirdness as that took some time to debug and we might need to refer to it again in the future.

comment the context weirdness as that took some time to debug and we might need to refer to it again in the future.
sarah reviewed 2021-05-11 17:22:59 +00:00
@ -0,0 +3,4 @@
import '../model.dart';
class DropdownContacts extends StatefulWidget {
Owner

add class comment

add class comment
sarah reviewed 2021-05-11 17:23:14 +00:00
@ -0,0 +8,4 @@
import '../settings.dart';
class InvitationBubble extends StatefulWidget {
Owner

add class comment

add class comment
sarah reviewed 2021-05-11 17:23:46 +00:00
@ -0,0 +119,4 @@
}
void _btnReject() {
//todo: how should we track inline invite rejections?
Owner

probably via profile attributes?

probably via profile attributes?
Author
Owner

probably

probably
sarah reviewed 2021-05-11 17:24:13 +00:00
@ -27,3 +33,3 @@
widgetRow = <Widget>[
wdgSpacer,
wdgIcons,
//wdgIcons,
Owner

uncomment or delete?

uncomment or delete?
Author
Owner

absolutely not

absolutely not
sarah reviewed 2021-05-11 17:24:43 +00:00
@ -0,0 +46,4 @@
var messageStr = "";
if (fromMe) {
//todo: get group name?
messageStr = "You sent an invitation for "+(isGroup ? "a group" : Provider.of<MessageState>(context).message ?? "");
Owner

//todo translations...

//todo translations...
erinn referenced this issue from a commit 2021-05-11 22:56:21 +00:00
Owner
Drone Build Status: success https://build.openprivacy.ca/flutter/flutter_app/306
Owner
Drone Build Status: success https://build.openprivacy.ca/flutter/flutter_app/307
sarah merged commit 17af04af12 into trunk 2021-05-11 23:00:45 +00:00
Sign in to join this conversation.
No description provided.