Jonathan Rainville
baea10cacf
refactor(chat-model): flatten chat model to only have chat items
...
Fixes #5286
2023-01-30 15:36:48 -05:00
Michał Cieślak
63a0f51305
chore(CommunityPermissions): Adjust behavior of 'Hide permission' switch depending on selected permission
...
Closes : #9050
2023-01-26 13:03:26 +01:00
Michał Cieślak
5c3b9881c5
chore(CommunityPermissions): Setting icon/default values for 'In' section depending on chosen permission
2023-01-26 13:03:26 +01:00
Michał Cieślak
e2dadeb15e
chore(CommunityPermissions): Disable granting admin permission for non-owners
2023-01-26 13:03:26 +01:00
Michał Cieślak
9ac0c159fe
feat(CommunityPermissions): prevent adding tokens and ens names that are already chosen
...
Closes : #8817
2023-01-26 01:20:28 +01:00
Noelia
a3313b563f
feat(Community Permission): Add conflicts warning panel
...
It adds conflicts warning in `New permission` page. Mocked data.
Closes #8738
2023-01-25 17:05:27 +01:00
Jonathan Rainville
fdc0dce782
chore: remove public chat functionnalities
...
Fixes #8504
Removes the ability to create public chats, see public chats and even leaves previously active public chats
2023-01-25 10:05:55 -05:00
Noelia
3136ffb54d
feat(Community Permissions): Update `Who holds` tokens dropdown design and flow according to the new design
...
- Updated initial dropdown view for assets and collectibles to directly show the list of corresponding elements.
- Updated assets and collectibles panel when an item is selected, according to new design.
- Updated collectibles logic when amount is 1.
- Added collectibles group item as part of the selectable's options.
- Updated `storybook` according to new changes.
- Created reusable `TokenItem` component.
- Updated `CommunityPermissionsHelpers`.
Closes #9043
2023-01-24 14:16:38 +01:00
Noelia
e08fdcb78c
feat(Community Permissions): Hide `Who holds - Add` button when there are 5 items already added
...
Added logic to hidden 'Add' button when the number of items 5 is reached.
Closes #9195
2023-01-24 08:45:34 +01:00
Michał Cieślak
d980c177a4
chore(CommunityPermissions): ENS tab simplified according to updated design
...
Closes : #8818
2023-01-20 14:00:02 +01:00
Michał Cieślak
a6dc4e9011
fix(CommunityPermissions): ens icon fixed, locale fixed in AmountInput
2023-01-20 14:00:02 +01:00
Igor Sirotin
8736dd8a94
fix: Community importing notification fixes and improvements
2023-01-20 13:15:50 +03:00
Alex Jbanca
54e91e0ba7
perf(chatScroll): Reduce loadMoreMessagesIfScrollBelowThreshold to 100.
2023-01-19 19:24:18 +02:00
Alex Jbanca
e44427ceed
perf(chatScroll): Prepare more data for scroll
2023-01-19 19:24:18 +02:00
Alex Jbanca
bf1d59c0ad
perf(chatScroll): Avoid calling the backend on delegate creation/binding
...
Provide the needed data from the nim model directly to the delegate. This way whenever a delegate needs to display the data it doesn't need to reach the backend.
perf(chatScroll): Fix comments on Avoid calling the backend on delegate creation/binding
perf(chatScroll): Avoid calling the backend on delegate creation/binding - add TODO comment on senderColorHash default
perf(chatScroll): merge quotedMessageAuthor details
perf(chatScroll): Fix nim tests
perf(chatScroll): Fix merge error - messages_model.nim
2023-01-19 19:24:18 +02:00
Michał Cieślak
162fe76273
chore(CommunityPermissions): don't PermissionQualificationPanel for MVP
2023-01-19 13:38:47 +01:00
Michał Cieślak
769a41ea9c
feat(CommunityPermissions): UI support to show the % of members fulfilling permission
...
Closes : #9044
2023-01-19 13:38:47 +01:00
Igor Sirotin
7f67c885c8
fix(ContactsColumnView): Open add/remove group member on context menu
2023-01-19 12:35:03 +03:00
Patryk Osmaczko
ae55e78faf
feat(chat): ignore not loaded messages
...
closes : #8838
2023-01-17 18:58:53 +01:00
Jonathan Rainville
f8c4682885
chore(contact-request): remove old contact request button and popup
...
Fixes #9072
I made clicking on the OS notification open the AC instead of the old popup
2023-01-13 16:16:14 -05:00
Noelia
ea0db55361
fix(Community Permissions): Update `tokens` names to `assets`
...
- Updated enumerators that were defining `tokens` instead of `assets`.
- Updated property names and labels.
- Updated signals and components names.
- Updated storybook.
Fixes #8816
2023-01-13 14:51:31 +01:00
Noelia
5676fb96ef
fix(Community Permissions): Update `Who holds` add new item with always AND action
...
- Logic related to operators removed.
- Dropdown `and/or` removed.
- Updated `PermissionItem` to display only the tag and not the operator.
- Updated `storybook` according to new changes.
Fixes #8500
2023-01-13 10:51:10 +01:00
Jonathan Rainville
af0c9767d1
feat(context-menu): add Copy message action in message context menu
...
Adds the action to copy the right-clicked message's text.
It copies the unparsed text (no html).
For that, I had to add it in the MessageItem and expose it in the model.
I also fixed the copy MessageId action that didn't show + didn't work even if it would have shown.
Plus some small cleanups.
2023-01-12 16:15:17 -05:00
Jonathan Rainville
c3945f33c0
feat(replies): add deleted to QuotedMessage to change msg displayed
...
Adds `deleted` to the QuotedMessage object so that on the frontend, we can show "Delete message" only when we know the message was deleted.
Otherwise, when we don't know the quoted message, we show "Unknown message [...]"
2023-01-12 15:18:03 -05:00
Jonathan Rainville
91c2e6d257
feat: use QuotedMessage object for replies to better show the replies
...
Fixes #7754
ok
2023-01-12 15:18:03 -05:00
Alexandra Betouni
055fec9109
fix(Community): banners where overlapping
...
Closes #8947
2023-01-11 16:46:51 +02:00
mprakhov
3de073edb8
fix(@desktop/community): empty tag string creation
2023-01-11 15:41:57 +02:00
mprakhov
3994f8b2fb
fix(@desktop/chat): show message which was sent during group chat creation
2023-01-10 23:53:46 +02:00
Jonathan Rainville
5e8f3e6565
fix(CreateChatView): enable mentioning people selected in create chat
...
Fixes #8749
I couldn't fully test it because it needs #8991 to be fixed to see if the message is sent correctly
2023-01-10 13:58:37 -05:00
Lukáš Tinkl
9e396f7344
chore: refactor/improve/optimize StatusMessage & friends
...
- drop dead code
- reduce number of direct bindings
- use Loaders whenever possible
Fixes #8744
2023-01-10 10:55:53 +01:00
mprakhov
0cc64774af
fix(desktop/chat) show the badge during receiving the mention in inactive section
2023-01-09 20:00:51 +02:00
Boris Melnik
9b8a86a3cb
feat(communities): Add ban state for spectated community
...
Fixes : #8761
2023-01-09 10:30:54 -05:00
mprakhov
0675d6a7d9
fix(@desktop/chat): message box buttons do not work in group chat creation screen
2023-01-09 12:51:35 +02:00
Lukáš Tinkl
b086d432d1
fix: Chat Input isn't focused after editing a message
...
Fixes #8966
2023-01-06 14:35:07 +01:00
Lukáš Tinkl
6fc1d0951b
fix: Cannot open the link in the channel's description
...
Hook up the signal to open a hyper link
Fixes #8939
2023-01-04 18:54:14 +01:00
Jonathan Rainville
235c0d3042
test(community): add a test where the admin can delete a user's message
...
Fixes #6891
2023-01-04 11:12:47 -05:00
Jonathan Rainville
29450d34a7
feat(admin): enable admins to delete messages from other users
...
Fixes #8869
2023-01-04 11:12:47 -05:00
Alexandra Betouni
ba811acc27
fix(improvements): remove console warnings pt1
...
Closes #7959
2023-01-04 17:28:59 +02:00
mprakhov
8b3319a1f3
fix(@desktop/communities): empty chat view during adding/removing active channel to the category
2022-12-22 20:02:09 +02:00
Pascal Precht
f3eb29bfea
feat(chat): allow for editing last user message using arrow-up key
2022-12-22 17:31:32 +01:00
Michał Cieślak
fe7884cd29
feat(CommunityPermissions): InDropdown integration
...
Closes : #6041
2022-12-21 21:48:51 +01:00
Noelia
265b0b5a8f
fix(CommunityPermissions/NewPermissionsView): Holdings tags icon size/position didn't fit the design
...
- Updated `StatusItemSelector` API to allow other asset sizes and leftPadding.
- Applied different asset size in holdings tags in `NewPermissionView` to fit the design.
2022-12-21 18:42:16 +01:00
Pascal Precht
865ed32deb
feat: introduce ability to @everyone
...
Closes #8479
This needs: status-im/status-go#3026
2022-12-21 10:19:48 +01:00
Noelia
a9d25697dd
feat(CommunitySettings): Implement UI for`edit`, `duplicate` and `remove` actions in community permissions page
...
feat(CommunitySettings): Implement UI for`edit`, `duplicate` and `remove` actions in community permissions page
- Enabled `duplicate` action (mocked).
- Enabled `delete` action (mocked) and added / updated navigations in case all permissions are removed.
- Added delete confirmation popup.
- Enabled `edit` action (mocked) where changes are detected and the `dirty changes toast` appears properly.
Closes #8581
2022-12-19 15:25:16 +01:00
Patryk Osmaczko
87674064d0
feat(chat/messages): implement new messages marker
...
closes : #8572
iterates: #7488
2022-12-16 19:12:12 +01:00
Michał Cieślak
7234e49fee
chore(Storybook): Add HoldingsDropdown page
2022-12-16 00:52:09 +01:00
Boris Melnik
f35468963c
fix(warnings): Rid off warnings
...
Fixes : #8293
2022-12-15 19:31:18 +03:00
Noelia
8a749846df
fix(CommunityPermissions): Change `Flickable` to `StatusScrollView`
...
Modified `Flickable` in `CommunityNewPermissionView`, CommunityWelcomePermissionsView` and CommunityPermissionView` to `StatusScrollView`
Fixes #8584
2022-12-14 16:38:59 +01:00
Boris Melnik
123b8e320a
fix(warnings): Fix chat, community settings warnings
...
Fixes : #8293
2022-12-13 17:46:30 +03:00
Jonathan Rainville
194e3048bc
fix(messages): fix Resend btn not working and add Sending visual state
...
Fixes #7643
This adds the backend to resend. It then hooks the button to it.
This also adds a visual state for when we are sending. This gives a good indication that a message was sent.
2022-12-12 11:56:21 -05:00