Commit Graph

198 Commits

Author SHA1 Message Date
MishkaRogachev 25c5be2f78 feat(ActivityCenter): Refactor AC from chat and place in mainui
Close #7338
2022-09-15 12:21:06 +03:00
Lukáš Tinkl fda78a1003 fix(BackUpCommuntyBannerPanel): StatusButton port fix
the `clicked()` signal has no longer any parameter
2022-09-14 13:29:23 +02:00
MishkaRogachev ae4519a6be feat:(@desktop/activity-center): AC notification categories according new designs
Close #7161
2022-09-13 17:58:31 +04:00
Patryk Osmaczko 7fad1ed5db fix(@chat/members): display alias if displayName is empty 2022-09-13 12:33:34 +02:00
Patryk Osmaczko 740c5c3874 chore(@desktop/chat): remove unused GroupChatPanel 2022-09-13 12:33:34 +02:00
Patryk Osmaczko 6760870dc9 fix(@desktop/chat): rework members selector
fixes: #5941
fixes: #7234
fixes: #7235
fixes: #7236
fixes: #7237
fixes: #7238
fixes: #7239
fixes: #7240
2022-09-13 12:33:34 +02:00
Patryk Osmaczko 2d5c69bc6c feat(@desktop/group-chat): adjust members permissions
closes: #7154
closes: #7155
2022-09-13 12:33:34 +02:00
Lukáš Tinkl 326e9e09a5 fix: unbreak User List Panel context menu
StatusAssetSettings porting leftover

Closes #7302
2022-09-12 19:29:38 +02:00
Lukáš Tinkl 0d43852394 fix(UserListPanel): minor cleanup
- fix margins
- fix some warnings
- drop dead/duplicate code
2022-09-12 19:29:38 +02:00
Michal Iskierko b782cd1c93 fix(@desktop): Fix icons regressions
Icons in LoginView accounts list and Community members list.

Fixes #7284
2022-09-12 10:48:21 +02:00
Michal Iskierko 2bb346a09e fix(@desktop): Use colorId to find correct color of users&members
colorId is set in the model instead of using qml function.

Fix #6366
2022-09-08 13:56:27 +02:00
Alexandra Betouni e1c548696f feat(Desktop)!: Updating desktop app due to IconSettings refactor
As part of https://github.com/status-im/StatusQ/issues/781
2022-09-02 18:41:21 +03:00
PavelS 3bd6fe0fdf fix(@desktop/community): add online status to invite modal
Replace Contact component with StatusMemberListItem.
Add missing Nim functions to fill models with onlineStatus.
Adjust components paddings to match design.

Fixes #6985
2022-08-30 10:16:37 +03:00
Noelia 3d6e40fd79 feat(CommunityPermission): Added `How holds` collectibles dropdown
- Added collectibles tab component.
- Added extended dropdown base content component
- Added filter popup option.
- Added collectibles model
- Added subitems in model
- Added thumbnails mode view
- Created `CommunitiesStore` and moved mock data to there.
- Added forward subitems navigation and selection.
- Updated `statusq`.

Closes #6337
2022-08-26 18:06:58 +02:00
Pascal Precht 3509de8673 feat(AdvancedView): introduce feature flag for discord import tool
This adds a feature flag for the discord import tool so we can start
landing individual pieces of the feature without it being fully
implemented.

It also introduces the modal chooser for creating new communities but
it doesn't do anything more than that, as of this commit

Closes #6843
2022-08-26 10:18:49 +02:00
Pascal Precht e98a3b27fb refactor: move CommunityBanner to shared namespace 2022-08-26 10:18:49 +02:00
Boris Melnik 4f2db08a75 fix(StatusListItem): fix `sensor.onClicked` to `onClicked`
Closes: #7135
2022-08-25 11:55:55 +03:00
PavelS 38c77095b8 fix(@desktop/chat): adjust add members default picture
Update colorForPubkey to check if colorId is in bounds
Replace userCustomizationColors array usage with Utils function call

Fixes #6971
2022-08-23 13:07:58 +03:00
Michal Iskierko 346af7c245 feat(@desktop/chat): Add requests sections to members tab of the community management
Add tabs: "Pending requests", "Rejected"
Add getting declined requests from status-go

Issue #6279
2022-08-22 13:54:36 +02:00
Igor Sirotin 42a1cf995c fix(ChatMessagesView): Usage of `StatusMessage` WIP 2022-08-20 03:02:41 +03:00
Noelia 1334fbb5f4 test(chat): Can do a mention in a chat
`tst_chatFlow`:
- Commented out bc of `mailserver` issues and then weak.
- Added basic test scenario for sending a mention in a public chat with needed validations.
- Added basic test scenario to check a mention cannot be done if it is a non existing user.

`StatusChatScreen` updates:
- Updated join room method to validate the chat is loaded.
- Added methods for doing and verifying a mention.

`SquishDriver` updates:
- Added support in `SquishDriver` to click into a link in a text or label component.
- Minor function renames.

Closes #6879
2022-08-16 13:42:56 +02:00
Noelia 7b54bf31b4 feat(CommunitySettings / Permissions): Added `welcome` page and `How holds` tokens dropdown
- Added functionality as experimental advanced view button

feat(CommunitySettings / Permissions): Added welcome page
- Enabled new permissions tab.
- Created welcome page layout.
- Added permissions welcome image.
- Fixed top margin content in `SettingsPanelLayout` to fit designs.

Closes #6036

feat(CommunitySettings/Permissions): Created `new permission` page

- Added `new permission` page.
- Created first card layout.
- Added navigation between `welcome` and `newPermission` views.
- Improvements in base community settings layout pages.

Closes #6037

feat(CommunitySettings/Permissions): `Who holds` tokens dropdown component creation and integration

- Tokens dropdown component creation: main view, operators view and extended view.
- Logic to add new token and change operator.

Part of #6038
2022-08-16 13:42:11 +02:00
MishkaRogachev e67d649c46 feat(desktop): New invite to community popup with message 2022-08-12 11:54:51 +04:00
Jonathan Rainville 44cf440a05 test(community): add a test that edits a community
Fixes #6756
2022-08-10 16:24:26 -04:00
PavelS 1ab101c8b9 fix(@desktop/comminities) adjust Community members tab
Fixes #6786
2022-08-09 18:39:04 +03:00
Alexandra Betouni 6c562580ba fix(PublicChatPopup): sug channels were missaligned
Closes #6632
2022-08-05 13:22:21 +03:00
Alexandra Betouni 6b63d8ee7a fix(StatusModal): back button arrow was tiny
Closes #6727
2022-08-04 13:13:50 +03:00
Michal Iskierko 92c1e9ce18 feat(@desktop/chat): Add sections to members tab of the community management
Add tabs: "All members" and "Banned"
Add unban functionality

Issue #5979
2022-08-03 09:48:09 +02:00
Alexandra Betouni cbb6cd70a8 fix(CommunityIntroMessageInput): input height was set to 0
Closes #6697
2022-08-02 17:18:39 +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 #6444
2022-07-28 14:21:32 +02:00
Alexandra Betouni 84522bd7fe fix(CommunitiesPortal): fixed status input as per design
Closes #https://github.com/status-im/status-desktop/issues/6358
2022-07-25 15:07:27 +03:00
Patryk Osmaczko f9b3f91bf1 fix(@desktop/chat): sort users by online status
Users model has to be sorted by online status first, otherwise
`UserListPanel` sections will be duplicated. That's because:

> Note: Adding sections to a ListView does not automatically re-order
the list items by the section criteria. If the model is not ordered by
section, then it is possible that the sections created will not be
unique; each boundary between differing sections will result in a
section header being created even if that section exists elsewhere.

fixes: #6563
2022-07-22 09:03:57 +02:00
Patryk Osmaczko eeb77aeb51 fix(@desktop/chat): sort display names in UserListPanel
fixes: #6185
2022-07-22 09:03:57 +02:00
MishkaRogachev 58e0fce819 feat(@desktop): Fix twitchy scrolling issues
Close #6187
2022-07-21 18:44:30 +03:00
MishkaRogachev 0d3aed0611 fix(@desktop): Fix scrolling twitches using ScrollView amd Flickable items
Close #5781
2022-07-21 18:44:30 +03:00
Michał Cieślak 4f114ec513 fix(@desktop/onboarding): Remove EmptyViewPanel component 2022-07-18 11:00:57 +02:00
Alexandra Betouni 2bd685943f feat(chat): Removing dynamic scoping from chat section
Closes #4244
2022-07-15 17:00:36 +03:00
Lukáš Tinkl 61ea1d41cd fix(ContactsColumnView): fix layout issues to match design
Closes #6343 and #6344

- basically switch over to a column + row layout(s), bringing consistent
margins and paddings, scratches a lot of redundant code
- fix the icon colors
- fixed another bug when opening the create chat panel, and then clicking
on an existing channel in the list, doesn't close this create panel
- remove unused signals and connections
2022-07-12 09:39:22 +02:00
Jonathan Rainville 95407cc1e0 fix(contacts): remove isMutualContact, use isContact or isAdded indead
Fixes #6220

Fixes the issue with the mutual contact icon showing when just added.
It also does a huge cleanup of the codebase to remove isContact and replace it with either isAdded, when we care only about if we added, or isMutualContact if we want the contact to be mutual
Also fixes an issue with the MessageContextMenu not reflecting the added state correctly.
2022-07-11 09:34:29 -04: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
MishkaRogachev 6d72e19568 fix(@desktop): Refactor Backupseed modal
Close #6144
2022-07-07 14:47:12 +03:00
Patryk Osmaczko e0a5afebee chore(translations): transform `qsTrId` to `qsTr`
issue: #4544
2022-07-06 19:09:50 +02:00
Michal Iskierko 45448db90a feat(@desktop/general): Change user statuses
Handle user statuses from status-go: Always Online, Automatic, Inactive.
Handling updating own status on member list.

Issue #5886
2022-07-06 09:38:11 +02:00
Igor Sirotin c7d2157d20 fix(MyProfileView): New design 2022-07-04 21:56:04 +04:00
MishkaRogachev 3271aff7c7 fix(@desktop): Hotfix Popup's margins
This is a combination of 2 commits.

fix(@desktop): Hotfix Popup's margins

chore: bump statusq
2022-06-29 14:09:33 -04:00
MishkaRogachev a9b2459d79 fix(@desktop): Remove nested popups in create community
Close #6027
2022-06-27 13:12:52 -04:00
MishkaRogachev e30ba7e760 feat(@community): Add tags to communities
Close #5680
2022-06-24 19:44:35 +03:00
Sale Djenic 3aba152206 fix(@desktop/general): multiple ui issues fixed
- Channel is blank on first time joining - fixes: #6131
- Contacts list is empty when trying to invite/share community - fixes: #6139
- The same name is shown for all invited contacts - fixes: #6105
- The names and avatars of contacts are empty in the Contact requests - fixes: #6084
- 'Invite friends' dialog doesn't look good in the minimized app mode - fixes: #6106
2022-06-21 16:16:55 +02:00
Alexandra Betouni af2f387961 fix(GroupChatPanel): drop down was showing empty entries
Closes #5955
2022-06-17 13:55:06 +03:00
Patryk Osmaczko 6743bee1aa fix(@desktop/chat): extract chat menu items
It removes duplication and unifies menu items across the app.

fixes: #5985
2022-06-15 12:56:32 -04:00
Patryk Osmaczko 52f5a0f4fd fix(@desktop/chat): show compressed pubkey in members list
fixes: #5950
2022-06-14 16:49:53 -04:00
Boris Melnik 260f10a83e feat(CommunityOverview): Add Community Overview banners
Closes: #5978
2022-06-14 14:31:39 -04:00
Patryk Osmaczko 524c91dbab fix(@desktop): post user model refactor issues 2022-06-13 10:53:58 +02:00
Patryk Osmaczko 4a4cee7da7 chore(commonuty/popups): remove needless CommunityProfilePopup features
CommunityProfilePopup is deprecated and will be removed. Members
list and notifications are already covered by new community settings.
2022-06-12 15:45:49 +02:00
Patryk Osmaczko 62183cf60b chore: refactor/unify user_model and contact_model
This is first iteration. Models have been restructured and qml adapted
to the changes.

What is left to be done:
- populate new models with appropriate data (some fields were left
  default)
- use new fields in qml, use StatusMemberItem where possible
- fix all #FIXMEs introduced by this commit

iterates: #5951
2022-06-12 15:45:49 +02:00
Boris Melnik c7888f5aed feat(chat): Add crow to admins in group chat
Closes: #5897
2022-06-09 18:38:55 +03:00
Patryk Osmaczko c07a2feca7 chore(@community/settings): address PR suggestions 2022-06-04 12:00:11 +02:00
Patryk Osmaczko 51eefad5e5 feat(@community): add frontend for intro message
issue: #5746
2022-06-04 12:00:11 +02:00
Boris Melnik 49ca3e1c36 feat(Settings): Add communities settings
Closes: #4932
2022-06-02 18:58:50 +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 #5522
2022-06-01 08:47:21 +02:00
Stefan 7c74a0942d feat(Community/Logo): use crop control for community Logo
Note that this doesn't refactor status-go to use CroppedImage
for the community logo.

fixes: 5404
2022-05-31 19:04:49 +03:00
Stefan 9f633f0fcc feat(Communities/Settings): Communities banner editing
Use the generic EditCroppedImagePanel for banner cropping

- Depends on status-go IdentityImage banner extension

fixes #5118
2022-05-31 12:26:33 +03:00
Stefan 1bb19ba1de fix(CommunityArchive): add community archive support to the new edit view 2022-05-31 12:26:33 +03:00
Stefan 73fcbc92bc fix(CommunityEditSettingsPanel): fix wrong qsTrIds entries 2022-05-31 12:26:33 +03:00
Boris Melnik 0b0fa51c89 feat(Communities): Add context menu to communities view
Closes: #5842
2022-05-26 07:01:45 -04:00
Alexandra Betouni 7916f10a8e fix(onboarding): cleaned up/imporved images
Closes #5829
2022-05-25 18:04:57 -04:00
Alexandra Betouni 56b182c50b fix(communityMembers): Fixed member item width in list
Closes #5212
2022-05-25 13:01:20 +03:00
mishkarogachev 491abb7fda fix(Community): Use design color picker
Close #2395
2022-05-24 12:23:50 +03:00
Michal Iskierko 2e5f1c9c4d fix(@desktop/chat): Show badge and message in activity center for reply elements
Fix #5523
2022-05-18 13:59:45 +02:00
Jonathan Rainville 63c8e972c0 feat(CommunityColumn): add channels and categories admin banner
Fixes #5664
2022-05-12 13:11:45 -04:00
Noelia 2154626a5b feat(Language&Currency): Add Date & Time Format
Added Date & Time selectors in `Language & Currency" screen.

Added new properties in `local_app_settings` to set the date and time format.

Created all the chain from view to service to update date and time format.

Added date and time format functions in `Utils`.

Updated `FetchMoreMessagesButton`, `ChatTimePanel`,  `AppSearch`, `TransactionBubbleView` and `TransactionDelegate` date and time text depending on the selected format.

Closes #5386
2022-05-12 18:42:06 +02:00
Noelia 45f147fa95 fix(Chat/ActivityCenter): Activity center context menu keeps moving position
Fixes #5469.
2022-04-12 18:23:24 -04:00
Sale Djenic 9c9d633065 fix(@desktop/activity-center): mentions and replies in the activity centre does not display community icon
Fixes #5302
2022-04-12 20:08:33 +02:00
Jonathan Rainville 8763238369 fix(community): re-hook banning users
Fixes #5383
2022-04-11 11:55:33 -04:00
Patryk Osmaczko 58d1319946 fix(@desktop): unify user avatar fallback color
issue: #5358
2022-04-08 14:04:21 -04:00
Alexandra Betouni 6d9c5c4286 fix(refactor): cleaning up assets folder
Closes #5179
2022-04-04 13:38:50 -04:00
Patryk Osmaczko fa11b3bf67 fix(@desktop): show compressed multiformat public keys
closes: #5181
2022-04-04 12:55:31 -04:00
Patryk Osmaczko 25c6a5f5ca chore(@desktop): remove identicon related code 2022-04-04 17:50:48 +02:00
Patryk Osmaczko 2850ee75ee desktop(community-settings): add overview and members settings
this is first iteration for: #4938
2022-03-29 15:02:26 -04:00
Stefan D 768b10e03f fix(Chat/Communities): Don't allow HTML in communities name and description
Changes:

- Don't allow HTML tag special characters in Saved Addresses
- Don't show rich text in community description

Fixes: #4961
2022-03-28 23:05:32 +03:00
Patryk Osmaczko 7994faf756 fix(@desktop): add missing visual identity elements 2022-03-17 15:32:25 +01:00
Patryk Osmaczko e130953634 feat(@desktop): use emoji hash and identicon ring
Closes: #4782
2022-03-16 18:34:57 +01:00
Jonathan Rainville 68a4498d11 feat(privacy): reimplement show only contact pfp using status-go setting
Fixes #4900
2022-03-08 15:50:15 -05:00
Michal Iskierko ada9501fb9 fix(desktop/chat): Remove unused comments
Issue #3520
2022-03-08 15:29:42 -05:00
Michal Iskierko aefa7d8e26 fix(desktop/chat): Update copy button tooltip text in communities
Change copy buttons tooltip text from “Copy to clipboard” into “Copied!” in panels: "Add members" and "Manage community"

Fixes #3520
2022-03-08 15:29:42 -05:00
Alexandra Betouni c2977e468f feat(onboarding): Added SplashScreen
- Added SplashScreen as initial screen before
onboard as per new designs.
- Also moved all onboarding related code from
main to onboarding section and switched to
import this and all other sections as
qml modules, exposing this way only
necessary files.
- Cleaned up unecessary qmldir files and
imports.

Closes #4954
2022-03-08 14:02:24 -05:00
Jonathan Rainville a51aee1683 fix(community): re-hook kick user from community
Fixes #2274
2022-02-24 17:04:56 -05:00
Alexandra Betouni 5c30daab07 fix(chat/mentions) fixes in mentions behavior
Changed cursor behavior to jump over text when it
reaches a mention, either on left or right side.
Also made mention to behave as link when hovered
with mouse so that it cannot be clicked and place
cursor inside it.

Also fixed keyboard focus to navigate only in the
suggestions list when this is opened.

Closes #4423
2022-02-24 11:10:33 -05:00
Jonathan Rainville 18374a16d4 fix(user-list): use the same userlist for community and chats 2022-02-23 16:15:41 -05:00
Jonathan Rainville c2378e24aa fix(user-list): fix user list section labels
Fixes #4805 and #4806
2022-02-23 16:15:41 -05:00
Boris Melnik ea5b5716e5 refactoring(groups): Refactor groups popups
Closes: #4719 #4615
2022-02-17 21:04:29 +03:00
Jonathan Rainville 713e6685ca fix: make mentions work with ensname, alias and nickname
Fixes #3707
2022-02-17 11:59:23 -05:00
Patryk Osmaczko ba7a6d5d34 style: remove trailing whitespaces 2022-02-09 11:16:23 +01:00
Sale Djenic aa6036b78b fix(@desktop/chat): mention suggestion list fixed 2022-02-08 12:33:45 -05:00
Noelia 50fb0dc45f fix(@desktop/CopyToClipboard): [base_bc] can't copy from Invite friends as well as App Version and Node Version
Root store propagation in order to use the global copyToClipboard method.

Modify InviteFriendsPopup to use StatusQ components.

Fixes #4529
2022-02-01 11:51:00 +01:00
Boris Melnik 900c6528ac fix(groups): Hide unchecked users in group creation popup
Closes: #4532
2022-02-01 11:50:18 +01:00
Jonathan Rainville c20554d987 refactor(community): use user model for the community member list
Fixes #4471
2022-02-01 11:50:17 +01:00
Jonathan Rainville bd2bb8952a refactor(community): move community specific functions to chat_section
Fixes #4489
2022-02-01 11:50:02 +01:00
Jonathan Rainville e1deafa76b refactor(community): move membership functions to chat_section
Fixes #4473 and #4485
2022-02-01 11:50:01 +01:00
Jonathan Rainville 3e339ea094 refactor(community): add admin member request feature
Fixes #4442
2022-02-01 11:50:01 +01:00