Compare commits
6 commits
feb3d97af5
...
fb3b19a27f
| Author | SHA1 | Date | |
|---|---|---|---|
|
fb3b19a27f |
|||
|
bd1d5ea745 |
|||
|
1ca802c78b |
|||
|
7b9eda2d36 |
|||
|
63eb001c09 |
|||
|
00c3503c1f |
6 changed files with 35 additions and 20 deletions
11
DEVELOPMENT.md
Normal file
11
DEVELOPMENT.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
## Build instructions
|
||||
|
||||
CBuild instructions can be found in [README.md](./README.md#build-it-yourself).
|
||||
|
||||
## Updating Gomuks
|
||||
|
||||
You can run the following command to update the Gomuks submodule:
|
||||
|
||||
```sh
|
||||
git submodule update --remote
|
||||
```
|
||||
|
|
@ -53,7 +53,7 @@ A simple and user-friendly Matrix client made with Flutter and a Gomuks backend.
|
|||
- [x] HTML/Markdown
|
||||
- [x] Replies
|
||||
- [x] Choose ping on/off
|
||||
- [ ] Per message profiles
|
||||
- [x] Per message profiles
|
||||
- [ ] Attachments
|
||||
- [ ] Commands with [MSC4391](https://github.com/matrix-org/matrix-spec-proposals/pull/4391)
|
||||
- [x] Mentions
|
||||
|
|
@ -120,6 +120,9 @@ A simple and user-friendly Matrix client made with Flutter and a Gomuks backend.
|
|||
- [ ] Align your message bubbles to left or right
|
||||
- [ ] Show media by default
|
||||
- [ ] Dynamic Theming
|
||||
- [ ] Personas
|
||||
- [ ] Setting per-message profiles for users (MSC4461)
|
||||
- [ ] Explain how to send messages using a certain PMP
|
||||
- [ ] Devices
|
||||
- [ ] Viewing devices
|
||||
- [ ] Verifying devices
|
||||
|
|
@ -218,6 +221,8 @@ Run the app:
|
|||
flutter run
|
||||
```
|
||||
|
||||
Development instructions can be found in [DEVELOPMENT.md](./DEVELOPMENT.md).
|
||||
|
||||
## Community
|
||||
|
||||
Join the [Nexus Client Matrix Room](https://matrix.to/#/#nexus:federated.nexus) for questions or help with developing or using Nexus Client.
|
||||
|
|
|
|||
2
gomuks
2
gomuks
|
|
@ -1 +1 @@
|
|||
Subproject commit daa0ba028e7d89ba9fc7580fc8099348e6145cb3
|
||||
Subproject commit fbe6fdbaabeaae46fb4c03e0d18260941f235d49
|
||||
|
|
@ -62,12 +62,6 @@ class ChatBox extends HookConsumerWidget {
|
|||
fontWeight: FontWeight.bold,
|
||||
);
|
||||
|
||||
final canSendMessages = ref.watch(
|
||||
PowerLevelController.provider(
|
||||
PowerLevelConfig(eventType: "m.room.message"),
|
||||
),
|
||||
);
|
||||
|
||||
return Positioned(
|
||||
bottom: 0,
|
||||
left: 0,
|
||||
|
|
@ -92,7 +86,12 @@ class ChatBox extends HookConsumerWidget {
|
|||
child: Row(
|
||||
spacing: 8,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: canSendMessages
|
||||
children:
|
||||
ref.watch(
|
||||
PowerLevelController.provider(
|
||||
PowerLevelConfig(eventType: "m.room.message"),
|
||||
),
|
||||
)
|
||||
? [
|
||||
EmojiPickerButton(
|
||||
context: context,
|
||||
|
|
@ -101,7 +100,6 @@ class ChatBox extends HookConsumerWidget {
|
|||
),
|
||||
PopupMenuButton(
|
||||
tooltip: "Add media",
|
||||
enabled: canSendMessages,
|
||||
itemBuilder: (context) => [
|
||||
PopupMenuItem(
|
||||
child: ListTile(
|
||||
|
|
@ -145,7 +143,6 @@ class ChatBox extends HookConsumerWidget {
|
|||
"#": style,
|
||||
},
|
||||
builder: (context, key) => TextFormField(
|
||||
enabled: canSendMessages,
|
||||
maxLines: 12,
|
||||
minLines: 1,
|
||||
autofocus: true,
|
||||
|
|
@ -164,7 +161,7 @@ class ChatBox extends HookConsumerWidget {
|
|||
),
|
||||
),
|
||||
IconButton(
|
||||
onPressed: !canSendMessages ? null : send,
|
||||
onPressed: send,
|
||||
icon: Icon(Icons.send),
|
||||
tooltip: "Send message",
|
||||
),
|
||||
|
|
|
|||
|
|
@ -365,13 +365,15 @@ class RoomChat extends HookConsumerWidget {
|
|||
text, {
|
||||
required shouldMention,
|
||||
required tags,
|
||||
}) => notifier.send(
|
||||
text,
|
||||
tags: tags,
|
||||
relationType: relationType.value,
|
||||
shouldMention: shouldMention,
|
||||
relation: relatedMessage.value,
|
||||
),
|
||||
}) => notifier
|
||||
.send(
|
||||
text,
|
||||
tags: tags,
|
||||
relationType: relationType.value,
|
||||
shouldMention: shouldMention,
|
||||
relation: relatedMessage.value,
|
||||
)
|
||||
.onError(showError),
|
||||
relationType: relationType.value,
|
||||
relatedMessage: relatedMessage.value,
|
||||
onDismiss: () => relatedMessage.value = null,
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ buildGoModule (finalAttrs: {
|
|||
|
||||
src = "${src}/gomuks";
|
||||
|
||||
vendorHash = "sha256-zBDfBZqUoHIfZ0AajZEvSBbskjpFB7yIsomt0KYDo7Y=";
|
||||
vendorHash = "sha256-9FsZkE8JmFDQyigQAaFn7i2OsH6Q8yFigPFt/l2FIoU=";
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue