Commit Graph

194 Commits

Author SHA1 Message Date
Patryk Osmaczko e0a5afebee chore(translations): transform `qsTrId` to `qsTr`
issue: #4544
2022-07-06 19:09:50 +02:00
Lukáš Tinkl 94bf0a0f88 fix(gif popup): fix the popup after sending a GIF
Close #6083
2022-07-05 12:37:56 +02:00
Lukáš Tinkl 6d8cee9541 fix(gif/emoji popup): pre-focus the search field
Close #6165
2022-07-05 10:16:52 +02:00
Anthony Laibe ce7340b9a5 feat(@wallet): multi network history 2022-07-04 09:58:39 +02:00
Jonathan Rainville 9d2862a602 fix(chat): fix gifs staying active in the background when switching chat 2022-06-29 16:48:01 -04:00
Iuri Matias 7927c99985 bug(@status-desktop): only run animations when they are visible to avoid cpu issues
chore(status-q): update status-q

bug(@status-desktop): only run animations when they are visible to avoid cpu issues

bump status-q
2022-06-28 11:23:38 -04:00
Sale Djenic 8f4e9bb3da fix(@desktop/chat): filter paid stickers if the wallet is not enabled
Fixes: #5923
2022-06-21 13:18:43 -04:00
Boris Melnik 954acf0df4 fix(StatusChatInput): Fix emoji button click arguments
Closes: #3565
2022-06-14 14:34:34 -04:00
Anthony Laibe 00ed4f9c44 feat(@wallet): multi transaction simple view 2022-06-09 15:22:24 +02:00
Boris Melnik aa1dae9e20 fix(@desktop/warnings): Fix bunc of qml/nim warnings
Closes: #5162
2022-05-25 14:27:25 -04:00
Boris Melnik c3c82bd6ac fix(gifs): Change `Image` to `AnimatedImage` in StatusImageModal
Closes: #5251
2022-05-24 00:09:46 +03:00
Igor Sirotin 7b001b5099 fix(@chat): Used `StatusEmoji` component 2022-05-23 14:36:13 +03:00
Sale Djenic 03d7632f32 fix(@desktop/notifications): revamp notifications settings & behaviour
- signal for adding notification to the Activity Center introduced
and emitted, but that part is not handled within this commit since
there are some details needed to be discussed in the PR#5334
- signal for displaying ephemeral app notification is introduced
and emitted, but that part is not handled within this commit since
we don't have yet ephemeral notificaiton in place.

Fixes #4902
2022-05-13 14:58:39 -04:00
Igor Sirotin 993499567b fix(@chat): Fixed blurry emojis 2022-05-13 14:03:50 -04:00
mishkarogachev 7b45ce60a7 fix(@desktop/chat): Show text for messages with gif image
Close #5434
2022-05-12 12:28:41 -04:00
Jonathan Rainville 9586ff9dc5 fix: fix emoji icon picker and create channel inputs
Fixes #5673
2022-05-10 16:10:38 -04:00
Anthony Laibe 5dd0ad36be feat(@communities): create general channel when creating community 2022-05-10 15:43:32 +02:00
mishkarogachev 79642f1c6f fix(Chat): Remove extra button to clear text in gif search
Closes: #5432
2022-05-09 16:56:07 -04:00
Pascal Precht b72f53e62c fix(StatusEmojiPopup): remove unnecessary spacing
Fixes #5433
2022-05-04 17:45:11 +02:00
Anthony Laibe 5e05a7613c fix(@settings): fix Gas selector for snt
fixes #5572
2022-04-21 14:05:31 +02:00
Anthony Laibe bda2114209 feat(@chat): disable tx in chat when no wallet
fixes #5461
2022-04-21 11:51:52 +02:00
Noelia 0ee91a1d1f fix(Chat/Stickers): Recent stickers icon is missing
It has been changed footer layout from Item to row.
The colour of the Add button has been changed to match the rest of the style.
The recent tab control has been changed to be consistent with other popups like gifts or emojis and the used component directly controls the different themes.

Fixes #5458
2022-04-11 12:48:30 -04:00
Alexandra Betouni 8ece8e9fd1 fix(StatusChatInput): missbehavior when text exceeds 2000 chars
Closes #5107
2022-04-07 16:24:53 -04:00
Alexandra Betouni 6d9c5c4286 fix(refactor): cleaning up assets folder
Closes #5179
2022-04-04 13:38:50 -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 #5263
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
Anthony Laibe 08131e1d2d feat(@wallet): move suggested fees to status-go 2022-03-30 09:41:10 +01:00
Jonathan Rainville b4a1fb1a14 feat(SearchBox): use StatusInput for SearchBox and add clear button
Fixes #5090
2022-03-28 15:17:23 -04:00
Stefan D 1c52dd3b8e fix(chat): fix removal of emojis in reply preview
Emojis are parsed in a message to transform from special emojis characters
in qml image links. After this transformation, an XSS filter was applied
that "fixes" all the image URLs introduced by the previous stage.
Reversing the order of these opperations fixed the issue.

fixes #4899
2022-03-23 18:02:27 -04:00
Sale Djenic 94e1511644 fix(@desktop/chat): cannot create a group chat by hitting `Confirm`
Fixes #5094
2022-03-23 10:14:56 -04:00
Khushboo Mehta f5e67fc658 feat(@desktop/wallet): adapt receive modal design
closes  #5039
2022-03-16 15:27:00 -04:00
Alexandra Betouni 8cab96fd24 feat(desktop/chat): Updated create new chat/group flow
As per new designs

Closes #4781
2022-03-11 14:31:51 -05:00
Sale Djenic 4ff700681f fix(@dekstop/chat): mentioning oneself display the full key instead of username
Fixes #4897
2022-03-11 13:14:14 +01:00
Richard Ramos 3c7779305b feat: move stickers business logic to status-go 2022-03-09 12:16:42 -04:00
Stefan Dunca 12b6500fbe fix(chat): Show beam mouse cursor over the chat message field
Fixes #4896
2022-03-09 11:51:55 +01:00
Jonathan Rainville be9d2f94e2 feat: enable emojis as channel icons
Fixes #4809
2022-03-08 15:15:25 -05:00
Alexandra Betouni 76123f3b14 fix(chat/textInput): prevent break mentions when ctrl+left is pressed
Closes #4981
2022-03-08 14:41:47 -05:00
Iuri Matias 5937c7d3aa chore: update applayout imports 2022-03-08 14:02:24 -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
Alexandra Betouni f8aebda0dd fix(statusChatInput): update mentions behavior when text is pasted
Fixed to update mentions positions when text is pasted or
added before those

Closes #4867
2022-03-03 15:00:51 -05:00
Jonathan Rainville 35e50d186b fix(drag-zone): make drag zone only work in correct chats
Fixes #4904

Moves drag zone to the AppMain so that we can check if the current chat accepts the images
Also disables the Input Connection if the channel is not active
2022-03-03 13:01:53 -05:00
Jonathan Rainville 6fa74b7ba9 refactor: re-hook disconnected and re-connected signals and banner 2022-03-02 09:27:45 -05:00
Anthony Laibe bfda545646 refactor: add back eip1559 2022-03-01 15:10:23 -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
Sale Djenic 52fb195b39 fix(@dekstop/chat): trying to unblock a contact by hitting 'Unblock' via the chat view does not do anything
Fixes #4835
2022-02-24 16:19:51 +01:00
Sale Djenic c855de98b6 fix(@dekstop/chat): higher cpu usage after opening gif selector
Fixes #4829
2022-02-23 15:43:21 -05:00
Jonathan Rainville 713e6685ca fix: make mentions work with ensname, alias and nickname
Fixes #3707
2022-02-17 11:59:23 -05:00
Jonathan Rainville 3b43d2f9ea fix: [re-add] The text entry box shouldn't highlight invalid @mentions
Fixes #4678

The text input in chat was highlighting whatever was starting
with @. Fixed to highlight only valid user mentions.
2022-02-14 10:08:09 -05:00
Jonathan Rainville 426b230b3a fix(link-message): fix link unfurling display and height
Fixes #4608
2022-02-11 09:37:58 -05:00
Jonathan Rainville 306471be60 fix(ChatInput): fix clicking on emoji suggestion
Fixes #4768
2022-02-10 09:25:06 -05:00
Jonathan Rainville b7bfd334f3 feat(ens): [re-add] new backend
Fixes #4694

also add back pending transaction
2022-02-10 09:24:38 -05:00
Patryk Osmaczko ba7a6d5d34 style: remove trailing whitespaces 2022-02-09 11:16:23 +01:00
Patryk Osmaczko 914c7b2839 fix(@desktop/sections): make ctrl+k display chats from communities
Closes: #4059
2022-02-09 10:38:34 +01:00
Sale Djenic aa6036b78b fix(@desktop/chat): mention suggestion list fixed 2022-02-08 12:33:45 -05:00
Khushboo Mehta 6f5fcd8623 fix(@desktop/chat): context menu is gone for pictures
fixes #4609
2022-02-01 11:19:56 -05:00
Noelia 9673c399e5 fix(@desktop/wallet): [base_bc] can't copy wallet address
Store propagation in order to use the global copyToClipboard method.

It is also applied in WalletV2.

Fixes #4636
2022-02-01 11:51:31 +01: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
Noelia d8a7a3d812 fix(desktop/chat): [base_bc] selecting a channel does not auto-focus on the text input field
When new channel/chat is displayed, text input field focus is forced properly.

Fixes #4524
2022-02-01 11:50:50 +01:00
Jonathan Rainville 311abcd23a fix(ChannelPicker): re-hook channel picker with new model and functions
Fixes #4550
2022-02-01 11:50:17 +01:00
Sale Djenic 69fc5bec5e refactor(@desktop/settings-ens-usernames): ens usernames module added and corresponding ui updated 2022-02-01 11:50:14 +01:00
Anthony Laibe 848308ed04 refactor(@desktop): gif section 2022-02-01 11:49:14 +01:00
Boris Melnik 35568d1d6b fix(Replies): Fix reply button
Closes: #4396
2022-02-01 11:49:04 +01:00
Sale Djenic f0ca1a4cc3 refactor(@desktop/general): many errors from the log are fixed
- various issues on app start in console
- various issues when logging out in console
- `node_section` module delete method error
- SyntaxError: JSON.parse: Parse error from the MessageStore
2022-02-01 11:49:04 +01:00
Sale Djenic e220599612 refactor(@desktop/general): necessary changes applied due to refactored `Contacts` sub-section of the `Settings` section 2022-02-01 11:47:46 +01:00
Jonathan Rainville 9016999ec2 refactor(chat): hook chat commands to qml and fix ens resolve 2022-02-01 11:46:40 +01:00
Alexandra Betouni 0eb40287fa refactor: removed dynamic scoping from shared module
Properties and functions moved to Global:
- toastMessage
- openProfilePopup()
- getProfileImage()
- popupOpened

Closes #4248
2022-02-01 11:46:39 +01:00
Sale Djenic 6e1438d241 refactor(@desktop/general): `globalUtils` instance added (changed old `utilsModel`) 2022-02-01 11:44:56 +01:00
Khushboo Mehta 1977420db2 refactor: remove dynamic scoping from profile module
closes #4247
2022-02-01 11:43:27 +01:00
Sale Djenic b3f8af8e06 refactor(@desktop/general): qml code referring to the old code base commented out
Qml code referring to the old code base commented out, but not deleted,
due to easier refactoring the rest of the app.
2022-02-01 11:42:42 +01:00
Sale Djenic 7f40ae0f57 refactor(@desktop/chat-communities): unused component removed
- `NormalMessageView` component is removed since we work with `CompactMessageView`
and it's the only and default message component in the app.
- `useCompactMode` property removed from local settings since it's not in use as
well and corresponding code is updated accordingly
2022-02-01 11:41:38 +01:00
Sale Djenic e5a414a927 refactor(@desktop/chat-communities): qml part handles messages from refactored backend
- `chatType` added to `Constants` to group chat type related values
- `messageContentType` added to `Constants` to group message content type related
values
- `MessageStore` maintained per message list now
- added new `ChatContentView` component used to display chat/channel content
- components updated to display messages from the new backend
- `StatusChatToolBar` appropriately updated
- mute/unmute feature added to chat/channel list as well as to `StatusChatToolBar`
2022-02-01 11:41:22 +01:00
Alexandra Betouni f0b39ce4f6 Refactor: Moved openPopup function to Global
The openPopup function was declared in AppMain
and used via dynamic scoping in many places in the
application. Moved function to Global component
and updated all places to call it via Global instead.

Closes #4267
2022-02-01 11:38:46 +01:00
Jonathan Rainville d8a90eda6c fix(stickers): fix stickers appearing as loading when on a new account 2022-02-01 11:37:32 +01:00
Sale Djenic c8b429388f refactor(user-profile): `name`, `icon` and `isIdenticon` properties added to global instance `userProfile`
Apart of all properties we have, now we have 3 new added props which will be used
almost always when we need the following details about logged in user:
- `name` - this will return an ens name in a pretty form or an alias if ens name
was not set (verified). Apart of this there are still `username` and `ensName`
properties for fetching them when it's needed.
- `icon` - this will return a thumbnail image if it's set, otherwise it will
return identicon. Apart of this there are still `identicon` and `thumbnailImage`
properties for fetching them when it's needed.
- `isIdenticon` - this will return `false` if a thumbnail image is set, otherwise
it will return `true`
2022-02-01 11:37:29 +01:00
Jonathan Rainville 22595f5032 refactor(chat): move stickers to the new architecture
Fixes #4060
2022-02-01 11:36:59 +01:00
Jonathan Rainville 3f12796b45 Revert "refactor(chat): move stickers to the new architecture"
This reverts commit 47aa079e0d.
2022-02-01 11:36:59 +01:00
Jonathan Rainville 792397987c refactor(chat): move stickers to the new architecture
Fixes #4060
2022-02-01 11:36:44 +01:00
Alexandra Betouni 6eff051504 fix: The text entry box shouldn't highlight invalid @mentions
The text input in chat was highlighting whatever was starting
with @. Fixed to highlight only valid user mentions.

Closes #3542
2022-01-13 17:23:59 +02:00
Pascal Precht b57bb21e13 fix(StatusChatInput): ensure anchors of textfield are set correctly
This broke when we removed timeline support. Most likely because `profileImage`
is undefined, the entire expression fails, leaving `anchors.left` `undefined`,
causing the text area to be slammed to the right.
2021-12-07 10:45:16 +01:00
Alexandra Betouni 5e88a9a91b refactor(desktop): Removed all timeline related code
Removed all timeline associated code from base_bc.
This feature is deprecated and shall be removed

Closes #4064
2021-12-03 19:55:45 +02:00
Alexandra Betouni b4b28d2f98 feat(desktop/contacts) Improvements in contacts
Contacts updates currently in base_bc

Closes #4100
2021-12-01 20:51:06 +02:00
Sale Djenic cc5ccbc951 refactor(@desktop/general): qml updated according to the new `userProfile` instance 2021-11-24 13:15:15 +01:00
Pascal Precht db45130a1e uiux: inform user early when there's no stickers installed
This makes sure we don't wait until all sticker packs are loaded
to show the user that now packs were installed (we know this much earlier).

Fixes #4127
2021-11-24 11:18:10 +01:00
Anthony Laibe ebaa150082 fix(@desktop/tx): Fix tx modal 2021-11-22 10:04:12 +01:00
Alexandra Betouni b9fcbcf5d3 fix(desktop/chatInput) sticker was not shown in reply area
Closes #4023
2021-11-10 12:25:25 -05:00
Pascal Precht a465ab97fb cleanup: remove non-existant components from shared qmldir 2021-11-05 15:09:45 -04:00
Pascal Precht b6a79fd61b refactor: move StatusChatCommandsPopup to ui/shared/popups
This was already done in 9ba07575bd
I assume this got accidentally reintroduced in 426c116bac
2021-11-05 15:09:34 -04:00
Pascal Precht cfca6f42a5 cleanup: remove legacy StatusChatCommandButton
That component is now provided by StatusQ
2021-11-05 15:05:18 -04:00
Alexandra Betouni 36f1ea8832 fix: make user profile images work again 2021-11-05 15:00:50 -04:00
Anthony Laibe 43e10aa4cf fix: transaction request 2021-11-05 11:02:45 -04:00
Pascal Precht d814484c72 fix: make emoijs work again 2021-11-05 11:02:45 -04:00
Sale Djenic f0b2ed6cca refactor(@desktop/general): `appSettings` moved to Nim 2021-11-05 11:02:45 -04:00
Pascal Precht b91a423801 refactor: replace StatusWalletColor components with StatusQ components 2021-10-28 11:31:21 +02:00
Alexandra Betouni 426c116bac refactor(desktop) Made shared a QML module
Use it as import shared 1.0, import shared.controls 1.0
etc instead of import "../../../shared"

Closes #3934
2021-10-27 18:05:45 -04:00