Commit Graph

48 Commits

Author SHA1 Message Date
Michał Cieślak 2af0d6668b stores: access shared/RootStore via explicit property instead of singleton 2024-10-03 20:08:32 +02:00
Lukáš Tinkl c5598d9ff9 chore(StatusMemberListItem): refactor to use ItemDelegate
- simpler, standard property based API
- much lighter than deriving from the heavy StatusListItem
- should reduce RAM usage significantly, esp. with large communities

Iterates 
2024-09-12 15:04:22 +02:00
Michał Cieślak 77fd4e78eb GifStore excluded from shared root store, StatusChatInput made indepedent from singeton stores
Closes: 
2024-09-11 11:26:30 +02:00
Seitseman 2275fe4f1f fix(Stored): Make stores typed
Adding types instead of var for stores used in qml components

Closes: 
2024-08-27 10:52:18 +02:00
Michał Cieślak f8347af7b7 StatusChatInput: remove unmaintained integration with ChatCommandsPopup
The functionality for sending/receiving funds directly from chat
is currently not supported, both code and designs are outdated.
This commit removes integration part but leaves ChatCommandsPopup
component for potential future use.

Closes: 
2023-09-11 14:37:16 +02:00
Jonathan Rainville 0e5c566dcd fix(newChat): fix sending messages in new ad hoc chat with new store
Fixes 

The problem was that the CreateChatView now uses an isolated Chat RootStore, since we can't be sure if the personal chat section will be loaded yet.

To fix that, I created a new store that is only for storing the properties needed for that new chat. That way we are sure that it is created and shared to necessary components.
2023-05-05 09:36:14 -04:00
MishkaRogachev b70e1f0fb4 feat(ActivityCenter): Add indication for visited/unvisited AC state
Close 
2023-02-17 16:13:43 +04: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 

I couldn't fully test it because it needs  to be fixed to see if the message is sent correctly
2023-01-10 13:58:37 -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
Jonathan Rainville 312dd72955 fix(windows): fix windows chat list empty because of popup overflow
Fixes 
2022-11-16 15:41:32 -05:00
Noelia 4cdc2f8a91 fix(CreateChat): Text input is displayed when choosing contacts for new chat
Applied the following solution agreed with design team: When a user types their message, hitting enter, or pressing send, should automatically create the chat and send the message, removing the 'To' input field and Confirm/Reject buttons (that means, directly navigating to the new created chat).

Fixes 
2022-11-16 09:33:56 +01:00
Alexandra Betouni 019a65a786 fix(CreateChatView): fixed tagselector various issues
Closes 
2022-11-14 09:46:22 -05:00
MishkaRogachev 6a72773ab6 feat(ActivityCenter): Refactor AC Store and fix notifications counting
Close 
2022-10-28 12:29:40 +03:00
Noelia 03691ba4b1 test(GroupChat): Broken tests updated
The create a group chat related objects have been updated according to new qml changes.
Now these tests are working (if they don't work it is bc of mailserver reliability).
2022-10-04 11:17:47 +02:00
Igor Sirotin 010bdc9956 feat(CreateChatView): Support pasting chat key 2022-09-28 09:55:25 -04:00
Alexandra Betouni 311cf5332c fix(Createchat/EditGroupChat view): fixed spacing all over
Closes 
2022-09-21 17:39:51 +03:00
Patryk Osmaczko 6760870dc9 fix(@desktop/chat): rework members selector
fixes: 
fixes: 
fixes: 
fixes: 
fixes: 
fixes: 
fixes: 
fixes: 
2022-09-13 12:33:34 +02:00
Jonathan Rainville 7544bd6fb5
fix: change gateway and remove old code to decode the hash
Fixes:
- https://github.com/status-im/status-desktop/issues/6964
Depends on:
- https://github.com/status-im/status-go/pull/2795
- https://github.com/status-im/status-jenkins-lib/pull/44

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-26 19:47:02 +02:00
PavelS 35d4a7c44d fix(@desktop/chat): adjust start chat page
Fixes 
2022-08-22 16:00:23 +03:00
Boris Melnik fbc10e7665 fix(CreateChatView): Move `ActivityCenterPopup` to appmain
Closes: 
2022-08-15 14:10:27 +03:00
Jonathan Rainville 430c5eb0b7 Revert "fix(CreateChatView): Move `ActivityCenterPopup` to appmain"
This reverts commit f1651ce4aa.
2022-08-05 13:46:32 -04:00
Boris Melnik f1651ce4aa fix(CreateChatView): Move `ActivityCenterPopup` to appmain
Closes: 
2022-08-05 18:38:28 +03:00
Alexandra Betouni d1577e4b75 fix(CreateChatView): activity center button issues
Also fixed create chat view width to follow its parent

Closes 
2022-08-04 11:49:52 +03:00
Noelia 7b4802db83 test(CreateGroupChat): Create Group Chat
- Created new test case with basic create group chat scenario.
- Added specific data folder for `tst_groupChat`.
- Removed deprecated data folder.
- Added dynamic login (depending on the account).
- Added global account information in `suite_status/data` folder.
- Added new group chat validations, title, history texts, members added and send chat message.
- Replaced some ids by objectNames.
- Some improvements in `names.py`.
- Onboarding objects refactor.

Fixes 
2022-07-28 14:21:32 +02:00
Michał Cieślak 2847849de7 fix(@desktop/chat): chat content overlapping with Start Chat dialog 2022-07-22 16:30:52 +02:00
MishkaRogachev 58e0fce819 feat(@desktop): Fix twitchy scrolling issues
Close 
2022-07-21 18:44:30 +03:00
Alexandra Betouni 44df79d671 fix(CreateChatView): updated layout spacing and sizes
Closes 
2022-07-19 19:55:32 +03:00
Alexandra Betouni 48229e94c8 fix(CreateChatView): Updated top margin based on designs
Closes 
2022-07-15 14:30:30 +03:00
Alexandra Betouni 8433ed9545 fix(CreateChatView): fixed no contacts text alignment
Closes 
2022-07-14 16:00:30 +03:00
Lukáš Tinkl aa804ffaef fix(CreateChatView): hide the Contacts label when no contacts
- hide the TagSelector's `listLabel` and disable the `textEdit` when the
  contacts model is empty
- add forgotten `qsTr()`
- remove some no-op positioniers/anchors/width/height bindings (these are
  handled automatically for QQC2 Control's header and contentItem)
2022-07-08 09:40:02 +02:00
Jonathan Rainville 6f14921c9b chore(community): replace plus button by adhoc btn
Fixes 
2022-06-22 09:01:45 -04:00
Alexandra Betouni 7acacee80e fix(CreateChatView): clicking new group chat duplicates contacts
Closes 
2022-06-21 11:02:26 -04:00
Alexandra Betouni af2f387961 fix(GroupChatPanel): drop down was showing empty entries
Closes 
2022-06-17 13:55:06 +03:00
Boris Melnik d58c6eb577 feat(notifications): Add notification icon to create chat view
Closes: 
2022-06-15 13:04:31 -04:00
Patryk Osmaczko 524c91dbab fix(@desktop): post user model refactor issues 2022-06-13 10:53:58 +02:00
Alexandra Betouni f68e53bb38 fix(CreateChatView): icon color was not correct
Closes 
2022-06-08 16:33:18 +03:00
Noelia 7c92d39359 feat(GroupChat/Add-Remove-Contacts): Implement "Add / remove from group" button for group chats
Added new option add / remove contacts in dropdown and created navigation to modify the loaded component in the toolbar.

Enabled addition of new members into a group chat by the admin.

Enabled removal of members of a group chat by the admin.

Added into `ChatContentView` components related to chat toolbar:
- `StatusTagSelector` and its corresponding logic
-  Moved `StatusChatInfoButton` from toolbar to content view.

Added `esc` key event to leave the group chat add / remove panel.

Updated `StatusQ` link.

Closes 
2022-06-01 08:47:21 +02:00
Alexandra Betouni fdb1f375ab fix(CreateChatView): Members should show online status
Closes 
2022-05-19 13:45:08 +03:00
Alexandra Betouni 8eddc40920 fix(CreateNewChat): Increased name tag limit to 20
Closes 
2022-05-12 13:16:40 -04:00
Anthony Laibe 1f2521586b fix(@chat): press esc leave create chat view
fixes 
2022-05-05 15:46:27 +02:00
Alexandra Betouni 45db0594d7 fix(CreateChatView): fixed bigg text goes outside text edit
Depends on: https://github.com/status-im/StatusQ/pull/633

Closes 
2022-04-07 16:13:28 -04:00
Sale Djenic a70d800e6d fix(@desktop/chat): the app is crashed after sending gif to a group chat
The issue was happening because adding gif to the recently used gifs model
was initiated after `gifSelected` action was fired and that action actually removed
the context within `addToRecentsGif` ought to be called and the app crashed.

That's fixed now updating the order of those two calls.

Fixes 
2022-04-04 13:29:14 -04:00
Patryk Osmaczko 25c6a5f5ca chore(@desktop): remove identicon related code 2022-04-04 17:50:48 +02:00
Alexandra Betouni e26befb6c2 fix(statustagselector): contacts list was not visible
Closes 
Closes 
2022-04-01 17:37:22 +03:00
Alexandra Betouni 14c15ebbfa fix(StatusTagSelector): move suggestions popup inside component
Closes https://github.com/status-im/StatusQ/issues/531
2022-03-24 18:06:45 -04:00
Sale Djenic 94e1511644 fix(@desktop/chat): cannot create a group chat by hitting `Confirm`
Fixes 
2022-03-23 10:14:56 -04:00
Alexandra Betouni 8cab96fd24 feat(desktop/chat): Updated create new chat/group flow
As per new designs

Closes 
2022-03-11 14:31:51 -05:00