Commit Graph

6608 Commits

Author SHA1 Message Date
Lukáš Tinkl a8a3f5285e chore: optimize StatusDateGroupLabel some more
since this component is performance critical, optimize it some more by
extracting some common constants so that they don't have to revaluted
every time
2023-01-25 19:58:19 +01:00
Lukáš Tinkl a55a207bb2 fix: user display name discrepancies
restore taking local nickname into account in various places
2023-01-25 19:58:19 +01:00
Alexandra Betouni 0fb954b640 fix(StatusMessage): stickers were not aligned correctly
Closes #8944
2023-01-25 11:42:19 -05:00
mprakhov 763041dab5 refactor(@desktop/channel): refactor members list to only have one list per community 2023-01-25 11:28:36 -05:00
Noelia d28bcdb58a feat(storybook): It adds `PermissionConflictWarningPanel` into storybook.
Added new pages and updated figma files.
2023-01-25 17:05:27 +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
Noelia 75711aef2e test: Skip broken/unstable tests
Tagged with `@mayfail` some scenarios that seem to be unstable / broken on CI and also locally.
2023-01-25 10:55:39 -05:00
Jonathan Rainville 4a93fa14bc chore(tests_: remove tests that use public chats 2023-01-25 10:05:55 -05: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
Richard Ramos 519f08241e fix: call logout on exit 2023-01-25 09:08:32 -05:00
Richard Ramos 8d75e7dced fix: cancel mailserver requests on shutdown 2023-01-25 09:08:32 -05:00
Igor Sirotin f899b09082 fix(Makefile): Fixed ANSI coloring 2023-01-25 11:08:40 +03:00
Michał Cieślak 14eb06b158 fix(StatusSwitch): Colors adjusted when disabled, cursor shape fixed
Closes: #9212
2023-01-24 15:03:04 +01: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
Anthony Laibe 66c62e472f feat(@wallet): Integrate api to check service up or down 2023-01-24 11:55:35 +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
Richard Ramos 05c86e25aa chore: bump status-go to fix mailserver timeout 2023-01-23 15:48:13 -05:00
Sale Djenic 2a967e4d55 chore(@desktop/onboarding): remove `Create a new profile with the same chatkey` screen from onboarding flow
Closes: #9223
2023-01-23 21:18:30 +01:00
Sale Djenic 2146843e93 fix(@desktop/onboarding): back button actions fixed part 1/2 2023-01-23 18:02:44 +01:00
Sale Djenic 3ca03bdd49 feat(@desktop/onboarding): `Lost Keycard` - `Create replacement Keycard with seed phrase` flow
This commit introduces:
- `Create replacement Keycard with seed phrase` flow
- `Order new keycard` option

Closes: #7641
2023-01-23 18:02:44 +01:00
Sale Djenic d3fffac4be refactor(@desktop/onboarding): `state_factory` splitted in three more files
Old `state_factory` logic is splitted in three more files. Now it represents only
an interface, but implementation logic is placed in the following three files:
- `state_factory_general_implementation.nim`
- `state_factory_state_onboarding_implementation.nim`
- `state_factory_state_login_implementation.nim`
2023-01-23 18:02:44 +01:00
Alexandra Betouni 7f2563edf4 fix(message): removed extra markup when typing before mention
Closes #8495
2023-01-23 16:17:36 +02:00
Noelia 7a1c768898 test(suite_settings): Restore broken tests
Updated `walletInitSteps` and `settingsSteps` properly: `settingsSteps.py` was referring to some `wallet_init_steps` methods but it was not imported. Reorganization and cleanup.
2023-01-23 15:04:14 +01:00
Pascal Precht 6293c8f21f chore: update status-go 2023-01-23 12:48:11 +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
Dario Gabriel Lipicar be26dc049b feat(@desktop/wallet) implement price cache 2023-01-20 08:55:10 -03:00
Dario Gabriel Lipicar 53ee992c25 feat(@desktop/wallet): implement unified currency formatting for transaction details
Fixes #9019
2023-01-20 08:55:10 -03:00
Igor Sirotin 8736dd8a94 fix: Community importing notification fixes and improvements 2023-01-20 13:15:50 +03:00
Michal Iskierko 0242f943f2 fix(@desktop/chat): Do not change screen when showing profile window
Fix #8789
2023-01-20 10:35:14 +01:00
Pascal Precht ae4d59de9a fix(Chat): ensure message context menu preserve mentions in copied messages
Because the context menu relied on `unparsedTex` it was unable to preserve the pubkey<->displayName conversion when
copying messages to the clipboard.

This commit fixes it by introducing a new `replacePubKeysWithMentions` utility
which is used when message items are initialized, resulting in `unparsedText`
to keep th`@`mentions around.

Closes #9168
2023-01-19 16:47:36 -05:00
Alex Jbanca 54e91e0ba7 perf(chatScroll): Reduce loadMoreMessagesIfScrollBelowThreshold to 100. 2023-01-19 19:24:18 +02:00
Alex Jbanca 27bb6bf665 perf(chatScroll): Optimize StatusTextMessage size and hover binding for the delegate 2023-01-19 19:24:18 +02:00
Alex Jbanca 2723ef1293 perf(chatScroll): Fix image loading from https url and raw data
perf(chatScroll): Fix comments on Fix image loading from https url and raw data
2023-01-19 19:24:18 +02:00
Alex Jbanca 6c76026d53 perf(chatScroll): Use Qt.callLater to release the main thread when parsing and loading links data
perf(chatScroll): Undo Use Qt.callLater to release the main thread

perf(chatScroll): Undo Use Qt.callLater to release the main thread
2023-01-19 19:24:18 +02:00
Alex Jbanca 4e3e245675 perf(chatScroll): Fix connection warnings 2023-01-19 19:24:18 +02:00
Alex Jbanca eb60d90346 perf(chatScroll): Lazy load message header components
perf(chatScroll): fix StatusMessageHeader comment

perf(chatScroll): Lazy load message header components - remove comment

perf(chatScroll): Remove unneeded indentation in Loaders
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 719e0a34f6 perf(chatScroll): Optimise timestamps
The date parsing is time consuming and it needs to be used with care in the delegate

perf(chatScroll): Fix StatusDateGroupLabel comment - standaloneMonthName

perf(chatScroll): fix comments on Optimise timestamps

perf(chatScroll): Optimise timestamps - bring back comment

perf(chatScroll): fix activity notification
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
Alex Jbanca 15fe97c90c perf(chatScroll): Improve performance of the commonly used js libraries
Adding .pragma library to the js libraries because the entry point on these libraries were called multiple times. There is no need to share the qml context with these libraries.
Use find() instead of forEach() on emoji array to find an item
2023-01-19 19:24:18 +02:00
Richard Ramos 7adcbebb53 chore: bump status-go to restart discv5 on connection status change 2023-01-19 10:29:12 -05:00
Jonathan Rainville 470a872659 fix(replies): update quoted message data when receiving new messages
Fixes #9156
2023-01-19 09:40:56 -05:00
Michał Cieślak 162fe76273 chore(CommunityPermissions): don't PermissionQualificationPanel for MVP 2023-01-19 13:38:47 +01:00
Michał Cieślak 7153207d1f chore(Storybook): page for PermissionQualificationPanel added 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
Lukáš Tinkl 6bd0dca983 fix: Highlight color of jump-to-message has too little contrast
Use the colors defined by design:
```
Light theme: Light Desktop / Blue 20% (4360DF 20%)
Dark theme: Dark Desktop / Blue 20% (869EFF 20%)
```

Fixes #8271
2023-01-18 18:30:39 +01:00
Lukáš Tinkl 3d2537d4ca chore: don't redefine theme palette category QtObjects
just assign to them, no need to duplicate the properties
2023-01-18 18:30:39 +01:00
Igor Sirotin 6f7c1c6b6a feat(scripts): Added python password hash script for manual database access 2023-01-18 18:11:35 +03:00