Commit Graph

3338 Commits

Author SHA1 Message Date
Michał Cieślak 411c2a0aab chore(CommunityNewPermissionView): refactor save/reset changes handlers 2023-02-20 18:40:59 +01:00
Lukáš Tinkl b8f6cbcfa1 fix(i18n): properly format floating point numbers
- the percentage/changes were left untreated
2023-02-20 12:44:36 +01:00
Noelia c1e3050d06 feat(MintingTokens): Created welcome view
- Created minting tokens welcome view.
- Added basic navigations.

Closes #8732
2023-02-20 12:06:22 +01:00
Noelia 8e9ae308d5 fix(qmlWarnings): Fixed minting module related warnings
Fixed minting module related warnings
2023-02-20 12:06:22 +01:00
Noelia 17fc999ca0 feat(CommunitySettings): Created base welcome settings view
- Component parametrised and renamed to `CommunityWelcomeSettingsView`. It will be the base class for some of the community settings functionalities.
- Updated `CommunityPermissionsSettingsPanel` to use the new welcome screen class.
2023-02-20 12:06:22 +01:00
MishkaRogachev b70e1f0fb4 feat(ActivityCenter): Add indication for visited/unvisited AC state
Close #347
2023-02-17 16:13:43 +04:00
Sale Djenic 8cc80694e2 fix(@desktop/general): qml warnings caused by undefined context props handled 2023-02-17 12:25:44 +01:00
Lukáš Tinkl 31be818e0e fix: Pinning messages - tweaks to UI and interactions
... to help align with original design intent

- dropped date breaks before msg groups
- show full date/timestamp in the msg header
- floating "Unpin" button on mouse hover
- no padding/spacing between messages
- some smaller code cleanups and dead code removals

Fixes #9396
2023-02-17 11:22:21 +01:00
MishkaRogachev 165271dbea fix(ActivityCenter): Fix CommunityBadge eliding
Close #9402
2023-02-17 14:01:30 +04:00
Noelia fe5abb60da feat(TokensPermissionsPoupup): Created new popup
- Created new dialog.
- Created storybook page for that.
- Model properties renames.

Closes #9433
2023-02-17 11:13:51 +02:00
Alex Jbanca 009861c7b4 fix(SplashScreen): Add Did You Know Splash screen
Closing #9470
Adding Did You Know Splash Screen that will be shown when AppMain is completed.
The SplashScreen runs for 30 seconds and will randomly iterate through `fun messages` every 5 seconds.
2023-02-16 16:06:50 +02:00
Michał Cieślak c05334c327 chore(CommunityPermissions): Use enum for token category, keep string labels in UI only
Closes: #9556
2023-02-16 13:39:55 +01:00
Stefan 3bb667bb7a feat(Wallet) cache fetched balance history to DB for efficiency
- Bump status-go head that include the required specific changes
  - fetch token balance (native or ERC20) and cache historical token quantity data
  - fetch FIAT currency
- Extend presentation layer (NIM and QML) to account for API changes
- Remove timed request and other optimizations from the time of fetching
  balance history every time instead of querying cache
- Add C++ integration debugging tests and update network chain configuration (outdated)

Closes: #8175
2023-02-15 18:52:37 +04:00
Alex Jbanca f9f860a215 fix(LinksMessageView): Refactor LinksMessageView to remove business logic from qml
LinksMessageView component will receive the urls from nim as string and it will only forward the string to getLinkPreviewData slot implemented in nim together with some settings (supported img extensions and unfurling preferences)
On nim side the urls will be parsed and validated using the settings received from qml.
Images are now validated before sending them to the UI using the HEAD request.
2023-02-14 08:55:24 +02:00
Lukáš Tinkl a93320f684 fix(main): replace the frozen splash screen with an animator
this runs on the GPU, therefore not prone to main thread being blocked

Fixes: #9524
2023-02-13 19:40:00 +01:00
Lukáš Tinkl 32dc26cba7 fix(ENS): For a ENS name the wrong release date is shown
`int` is not enough for a timestamp

Fixes #9381
2023-02-13 19:39:40 +01:00
Michal Iskierko b6f5c558a9 feat(@desktop:communities): Minting functionality with dummy data
Add Community Tokens testing UI with minting button, enabled by a Advanced Settings toggle.
Add minting module,view and needed models.
Add community_tokens service to call collectibles smart contract functions.

Issue #8921
2023-02-13 13:42:29 +01:00
Sale Djenic a12e599be2 feat(@desktop/wallet): adding wallet derivation path updates
Check box added to warn user if they want to add a path out of the
default Status' wallet derivation path. In case they do that, they are
not able to migrate such keypair to a Keycard.

Closes: #9118
2023-02-13 10:41:53 +01:00
Noelia 2c809a56e6 feat(JoinCommunity): Integrated join community popup into the new view `JoinCommunityView`
- Integrated join community popup into the new view `JoinCommunityView`.
- Added support in storybook related page.

Closes #9268
2023-02-10 18:03:05 +02:00
Lukáš Tinkl eafee302d8 fix: pasting a user's profile link in the ad-hoc chat search
... doesn't work in the community section

Extract the `Chat.RootStore` as a toplevel/shared property and pass it
down to ChatLayouts, instead of cross referencing it between different
components. This was also problematic since the ChatLayouts now live
inside a Loader, so it's more appropriate to refer to the
`Chat.RootStore` directly, instead of
`personalChatLayoutLoader.item.rootStore`, since the
`personalChatLayoutLoader.item` might not be visible (due to it being
inside a Loader and a StackLayout) or it might even be a different
component (`loadingStateComponent` or `errorStateComponent`).

This also caused similar problems for other components, such as
ActivityCenterPopup or StatusStickersPopup.

Fixes #9513
2023-02-10 11:23:26 +01:00
Noelia 8e45d6c50e feat(JoinCommunity): Created `JoinCommunityView` page
Created new view to be used when a community needs permissions to join:
- Left panel blur layout created.
- Header panel blur layout created.
- Central panel blur layout created.
- Join permission overlay panel integrated.

Closes #9267
2023-02-10 10:45:38 +02:00
Noelia ec8b03be6e feat(JoinCommunity): Created join permission overlay panel
Created needed components to display permission requirements to join a community.

Part of #9267
2023-02-10 10:45:38 +02:00
Noelia 842c90a31e feat(Community): Create `CommunityColumnHeaderPanel` component
- `CommunityColumnHeaderPanel` created.
- Added corresponding `storybook` page.
- Modified `CommunityColumnView` to use new component `CommunityColumnHeaderPanel` instead.
2023-02-10 10:45:38 +02:00
Lukáš Tinkl f5d6c538c2 chore: consolidate & refactor popup handling
- all remaining global popup components moved into a separate Popups
entity
- removed some static objects from the Global singleton (appMain,
pinnedMessagesPopup, communityProfilePopup, sounds); rationale:
singletons should not contain any state
- fixed support for popups in storybook
- fixed some warnings (most of them broke the popups in one way or the other)
2023-02-09 15:01:57 +01:00
mprakhov 36dc3e4c53 fix(@desktop/chats): Scroll chat to the bottom or last unread msg when chat is first time opening 2023-02-09 13:54:08 +02:00
Lukáš Tinkl 4dc97dde1a chore: unbreak bad merge
utils is imported twice
2023-02-09 12:02:35 +01:00
Jonathan Rainville f8ecd9dbce refactor(chat): make getChats async to speed up start time
Fixes #9340
2023-02-08 16:18:44 -05:00
Stefan 9b7c2b15c0 fix(wallet): add wallet account - enable advanced section all the time
Closes: #9357
2023-02-08 19:53:09 +01:00
Alexandra Betouni aa2e6386a2 fix(statusApp): resolving qml errors/warnings pt2.1
Relates to #8864
2023-02-08 18:43:51 +02:00
Alexandra Betouni d553934b45 fix(popups): set scrollview sizing 2023-02-08 18:43:51 +02:00
Lukáš Tinkl 6f9149428d fix: changing password with wrong current one fails
do not break/overwrite the Submit button's `enabled` property binding

Fixes #9465
2023-02-08 16:26:12 +02:00
Anthony Laibe 8ba10ce6b0 fix(@wallet): display network short name for collectible
fixes #8850
2023-02-08 09:26:59 +01:00
Khushboo Mehta 9e23f78180 feat(@desktop/wallet): Implement loading state for collectibles
fixes #9106
2023-02-08 09:25:04 +01:00
Anthony Laibe bc353a1ccc chores(@wallet): remove revert reason
It is never being used + couldn't get it from our node
2023-02-07 09:09:35 +01:00
Sale Djenic 3f52df4f87 fix(@desktop/wallet): opening add account popup causes the app to crash
Fixes: #9412
2023-02-03 12:57:39 +01:00
Sale Djenic 224fd3f42d fix(@desktop/general): invalid pin saved to keychain when enabling biometrics on account using keycard
Fixes: #7729
2023-02-03 10:55:22 +01:00
Lukáš Tinkl 78f4560a54 Nothing happens after clicking on a pinned message
implement jumping to message on a simple click

Fixes #9365
2023-02-02 18:33:19 +02:00
Lukáš Tinkl edc94c9d8d fix: unbreak community options layout
got broken with the recent scroll view fixes
2023-02-02 18:27:22 +02:00
Michał Cieślak dc3bcd7da1 feat(Community Permissions): Integrate In section with permission creation/editing
Closes: #8855
2023-02-02 16:36:46 +01:00
Michał Cieślak bd6dc02162 feat(Community Permissions): Add search option in assets / collectibles dropdown
Closes: #9042
2023-02-02 13:23:22 +01:00
Richard Ramos fb526840a4 feat: waku2 store
- add toggle to enable store functionality
- output messages to csv
- add custom waku2 nodes
2023-02-01 15:35:36 -05:00
Richard Ramos 810a6bb5f5 chore: remove bloom filter usage 2023-02-01 14:05:00 -05:00
Sale Djenic 91c8fe7414 fix(@desktop/keycard): broken keycard flows fixed
Running keycard flows was broken due to changes introduced in
commit `81a4d7093276d1e762cc3d3c88bbf58a4373a938`
2023-02-01 17:19:30 +01:00
Lukáš Tinkl 34686226d7 chore: point VERSION of source dev/builds to GH repo
For these source/dev builds:
- display "git master SHA" as the version number
- disable the "Check for updates" button
- use APP_VERSION in nim

Rationale: instead of updating git master VERSION text file manually each
time an official version is released, we will now mark source/dev builds
with the corresponding git commit hash and display that in the
Settings/About section
2023-02-01 16:55:30 +01:00
Sale Djenic c0d761aa78 fix(@desktop/wallet): unable to add account
Fixes adding account modal, which was broken due to incomplete
`SelectGeneratedAccount` enum change.
2023-02-01 14:12:55 +01:00
Igor Sirotin 1523c9f2a0 feat: Added `chainId` to ens usernames 2023-02-01 08:23:14 +03:00
Alex Jbanca 81a4d70932 chore(Qt5.15): Fix qml warnings after qt 5.15 migration
Fixing QML Connections warnings due to deprecated onFoo handlers. Now we're using function onFoo(params).
Fixing QML compilation error due to js filename format.
Fixing cyclic dependencies between qml components.
2023-01-31 20:39:19 +02:00
Alexandra Betouni 9a2ffc0fc7 Fix(desktopapp): adding scrollview to storybook
Cleaned up binding loop warnings related to
ScrollView and added StatusScrollView in
storybook

As part of #8864
2023-01-31 18:45:51 +02:00
Alexandra Betouni f7294c00f5 fix(statusApp): resolving qml errors/warnings pt2
Closes #8864
2023-01-31 18:45:18 +02:00
Khushboo Mehta dfcba80df2 fix(@desktop/wallet): Added missing LoadingGraphComponent in qmldir 2023-01-31 11:20:28 +01:00
Khushboo Mehta 169de5b5e1 feat(@desktop/wallet): Add loading State for Assets view and Wallet main navigation page 2023-01-31 07:57:37 +01:00
Jonathan Rainville baea10cacf refactor(chat-model): flatten chat model to only have chat items
Fixes #5286
2023-01-30 15:36:48 -05:00
mprakhov 44cc6bbf83 fix(@desktop/communities): enforce alphanumerical characters in community name, description, channel name 2023-01-30 20:51:31 +02:00
Lukáš Tinkl fbd936d151 fix: unbreak ModuleWarning banners
they stopped appearing after the introduction of `localAppSettings.testEnvironment`
2023-01-30 09:43:55 -05:00
Dario Gabriel Lipicar 20733272f2 feat(@desktop/wallet): implement new collectibles view
Fixes #8810
2023-01-30 15:30:11 +01:00
Sale Djenic 841a37e930 feat(@desktop/onboarding): `Lost Keycard` - start using account without keycard
This commit introduces:
- `Start using account without keycard` flow

Closes: #7642
2023-01-30 13:43:10 +01:00
Pascal Precht b00f0a80b5 Adjust import tool front-end to latest refactor
This adjust the front-end for the import tool by handling new
properties that have been added to the discord import progress signals.

Namely, the import is now done in chunks, so the progress signal
contains information about how many chunks have been processed.

This needs: https://github.com/status-im/status-go/pull/3134

Closes #9262 #9261
2023-01-30 13:28:06 +01:00
Igor Sirotin 470200a477 fix: Fixed tokens initialization. Fixed SendModal for ENS. 2023-01-30 13:52:54 +03:00
MishkaRogachev 5ff4c35bf0 feat(appMain): Add warning colors. Use warning color for story node banner 2023-01-30 12:40:31 +04:00
MishkaRogachev b474ef0024 feat(appMain): Hide mailserver banner on SIGNAL_MAILSERVER_AVAILABLE 2023-01-30 12:40:31 +04:00
MishkaRogachev e0ba80a085 feat(AppMain): Replace MailserverConnectionDialog with banner
Close #6213
2023-01-30 12:40:31 +04:00
MishkaRogachev 128ac8dbd8 feat(ActivityCenter): Move AC notifications counting to status-go
Close #8074
2023-01-30 11:24:50 +04:00
Ivan Belyakov e3086fd52c chore: Removed duplicated AddEditSavedAddressPopup.qml, fixed dependencies
fixes #8229
2023-01-27 05:57:55 +03:00
Igor Sirotin 6017a01b9a feat(tst_communityNavigation): Implemented community leave test 2023-01-26 19:27:13 +03:00
Anthony Laibe 55d39aa7c7 fix(@wallet): preview button instead of enter password/pin
fixes #9119
2023-01-26 16:58:23 +01: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 ecf999eb37 chore(CommunityPermissions): Simplify InDropdown popup (selecting only channels, no add channel button) 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
Ivan Belyakov f2549fc1ff feat(@desktop/wallet): update wallet navigation
Fixed StatusBaseButton to expose a property to load either normal
icon or a round one.
Implemented new wallet navigation according to design in Figma.
Fixed regression: small accounts icons in accounts list view.
Updated wallet test.

Fixes #8598
2023-01-26 09:49:29 +01:00
Sale Djenic 52597472ed fix(@desktop/keycard): keycard may be factory reseted during unlock flow in some scenarios (shared module part)
- Unexpected wiping out the data during the unlock flow handled (shared module part)

Fixes: #9183
2023-01-26 09:05:57 +01:00
Sale Djenic b44fc7a842 fix(@desktop/keycard): keycard may be factory reseted during unlock flow in some scenarios (onboarding part)
- Unexpected wiping out the data during the unlock flow handled (onboarding part)
- Back button actions fixed part 2/2 (onboarding part)

Fixes: #9183
2023-01-26 09:05:57 +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
Lukáš Tinkl 8569ea5b41 chore: Optimize StatusMessageReply using more Loaders
also fix the sender display name to respect ensName/nickname

Fixes: #9016
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
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
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
Alexandra Betouni 7f2563edf4 fix(message): removed extra markup when typing before mention
Closes #8495
2023-01-23 16:17:36 +02: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 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
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
MishkaRogachev 2890fe5845 hotfix(ActivityCenter): Fix warnings and text align with messageBadge 2023-01-18 18:01:56 +04:00
Anthony Laibe 9e1f596b6a fix(@wallet): related account heights
fixes #9032
2023-01-18 13:21:28 +01:00
Lukáš Tinkl abc3e9a33c chore(ProfileLayout): improve startup time / memory usage
- replace StackLayout with Loaders, activate them lazily and never unload
when staying inside the Settings sections
- drop some imperative code
- faster startup, subsection load times and quick switching between subsections

Fixes #8781
2023-01-18 11:00:29 +01:00
MishkaRogachev 0f1485fa4d fix(AppMain): Open only one popup per component
Close #9131
2023-01-17 16:02:03 -05:00
Dario Gabriel Lipicar a6afdb5266 fix(@desktop): use system locale across the application 2023-01-17 16:39:56 -03:00
Dario Gabriel Lipicar d11017f7b3 feat(@desktop/wallet): implement unified currency formatting in send/bridge modal
Fixes #8934
2023-01-17 16:39:56 -03:00
Patryk Osmaczko ae55e78faf feat(chat): ignore not loaded messages
closes: #8838
2023-01-17 18:58:53 +01:00
Lukáš Tinkl b2328d6643 chore: Consolidate date/time formatting
- simplify locale settings
- extract/fix datetime related functions into LocaleUtils
- port code to the new LocaleUtils

Closes #7230
2023-01-17 16:42:34 +01:00
Sale Djenic 25944f8928 feat(@desktop/onboarding): weird menu order on app login
Fixes: #9135
2023-01-17 15:29:08 +01:00
Pascal Precht 342d79e21c fix(BackupSeedModal): always show vertical scrollbar
This is to ensure users don't get confused with the fact there's
more checkboxes to check in the modal until they can continue.

Depending on viewport size, checkboxes can be hidden but it's not
obvious that the area is scrollable.

See #8651

Closes #8651
2023-01-17 13:52:03 +01:00
MishkaRogachev 2359dfe6a3 feat(Profile): Add SimplifiedMessageView for AC and verifiaction popups 2023-01-17 12:21:25 +04:00
Sale Djenic 368fa21b1a feat(@desktop/onboarding): onboarding - recover account flow - UI adjustments
Closes: #9120
2023-01-16 23:01:42 +01:00
Alex Jbanca d07136481c perf(chatScroll): Adding signals for chat settings in MessageStore
perf(chatScroll): Fix comment
2023-01-16 10:26:53 -05:00
Alexandra Betouni 7620061ba3 fix(CommunityEdit): content width should have fixed size
Closes #9051
2023-01-16 17:00:08 +02: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
Sale Djenic cae2a5bea3 feature(@desktop/keycard): sync a Keycard state on every usage
Closes: #8759
2023-01-13 21:02:36 +01:00
Igor Sirotin d98c462092 fix(AppMain): Show banner on startup if diconnected 2023-01-13 19:24:46 +03: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
Dario Gabriel Lipicar ac7b322ee7 fix(@desktop): fix AmountInput locale
Fixes #9103
2023-01-13 09:59:14 -03: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
Dario Gabriel Lipicar 7c4022e4ac feat(@desktop/wallet): implement unified currency formatting
Fixes #8640
2023-01-12 15:21:27 -03:00
Noelia 5e2fa14cd6 fix(Community Permissions): Update change detected buttons labels according to the new design
Exposed new properties in `SettingsDirtyToastMessage` to customise buttons texts.
Exposed new properties in `SettingsPageLayout` to customise dirty toast buttons texts.

Fixes #9046
2023-01-12 13:37:49 +01:00
Noelia cc4ebc0ec8 fix(Community Permissions): Update `PermissionItem` according to the new design
Removed `and` text between items in `In` section.

Fixes #9049
2023-01-12 11:17:00 +01:00
Noelia a181d1d867 fix(Community Permissions): Remove (hide) minting and import option in assets dropdown
Removed (hidden) minting and import option in assets dropdown

Fixes #8827
2023-01-12 08:58:43 +01:00
Lukáš Tinkl ab96c17fb2 chore(AppMain): use Loaders more aggressively, unloading any previous unused section
- another bit on the road to reduce startup time and be more conservative
towards RAM usage
- remove more imperative JS code
- only preload/prepare the currently active community, not all of them on
startup

Fixes #8782
2023-01-11 21:55:52 +01:00
mprakhov 52d336b5a6 fix(@desktop/chat): allow to send attached image without text input 2023-01-11 18:27:31 +02: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
MishkaRogachev 321496c807 feat(ActivityCenter): Update ActivityNotificationMessage's text maximum width
Close #8915, close #8950
2023-01-10 20:39:34 +04: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
Sale Djenic 4fb18e7cac fix(@desktop/onboarding): an issue handling date on Ubuntu fixed
It seems that `new Date` with only minutes set on Ubuntu generates different
datetime then on Mac.
2023-01-10 09:37:46 +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
Lukáš Tinkl 785110b410 chore: remove dead code 2023-01-09 16:41:51 +01: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
Anthony Laibe 364124b1ed chore(@wallet): remove dead code about estimage gas 2023-01-07 11:11:10 +01: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 f6355dc4a6 fix(StatusBaseInput): No padding for input fields
- make the left/right padding and internal spacing consistent with the
Figma design

- the padding itself got broken by a behavior-incompatible change introduced in
17aaec2d53 (diff-451194c72ab50ea2586b6f1d6521b81d9a93206069788117326788be28b638fd);
this change is however correct but we can no longer rely on the
implementation detail that used to "reset" the left/right padding to its
default value when we set  `leftPadding: 0`

Fixes #8910
2023-01-06 00:59:42 +01:00
Jonathan Rainville 67e0df17e1 test(contact): add a test that sends a contact request from the chat
Fixes #6883
2023-01-05 15:21:38 -05:00
Stefan 16af9dfae6 fix(wallet): fix rename account modal states
Considerations:

- Change validation mode for StatusText to have validity from the start
- Don't show a color selection if the selected color doesn't match the
  available color palette
- Don't enable button if nothing changed
- Tests
    - Add test for validation mode that shows how the valid property
    behaves based on findings.
    - Fix text to expect valid on no input for the default control

Fixes: #8211
2023-01-05 22:16:44 +04: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
Patryk Osmaczko fe87cbaada fix(chat/messages): load messages even if fetch is ongoing
fixes: #8831
2023-01-04 11:05:11 -05:00
Alexandra Betouni ba811acc27 fix(improvements): remove console warnings pt1
Closes #7959
2023-01-04 17:28:59 +02:00
Sale Djenic 0e65f2a7ff feature(@desktop/keycard): create a new Keycard account with a new seed phrase
Fixes: #7028
2023-01-04 14:24:55 +01:00
Sale Djenic b81f4dd150 fix(@desktop/onboarding): refetching backed up data added 2023-01-04 11:15:58 +01:00
Sale Djenic 19ba018a1d fix(@desktop/onboarding): onboarding flows for `I already use Status` path do not match figma requirements (1/2)
Profile fetching (display name and identity images) implemented on the status-go side and
integrated in the desktop app.

Signal notifying about the progress while fetching backed up data from waku implemented on
the status-go side and integrated in the desktop app.

`I already use Status -> Enter a seed phrase` and `I already use Status -> Login with Keycard`
updated so they match figma now.

Fixes: #8467
2023-01-04 11:15:58 +01:00
Sale Djenic 9d382b1c81 fix(storybook): profile fetching updated
Profile fetching page, which is part of onboarding flow, is updated so it matches
the latest figma changes now.
2023-01-04 11:15:58 +01:00
Pascal Precht f6660654f7 fix(AppSearch): close appsearch popup when sendmessage button is clicked
Closes #8903
2023-01-03 16:35:21 +01:00
MishkaRogachev c50cf988a7 fix(ActivityCenter): Update AC notification on contact changes
Close #8586
2022-12-30 18:35:51 +04:00
MishkaRogachev 130a5f48b4 fix(ActivityCenter): Unify ContactRequest and ContactVerification AC notifications 2022-12-30 12:13:42 +04:00
MishkaRogachev f70ccfc17d fix(ActivityCenter): Add identity verification AC notifications 2022-12-30 12:13:42 +04:00