Commit Graph

3130 Commits

Author SHA1 Message Date
Khushboo Mehta 8ff967578d feat(@desktop/chat): Added support for copy or click on link from channel descriptions
fixes #3517
2021-09-29 15:29:29 -04:00
Richard Ramos 8339fe5cf9 fix: missing lib 2021-09-29 14:50:09 -04:00
Richard Ramos 5c937a28a3 chore: remove status-go from desktop 2021-09-29 14:50:09 -04:00
Michael Bradley, Jr c9319c3968 refactor: remove unused imports of nbaser and nim-base32
Closes #1268.

Another PR in the status-im/status-lib repo will be needed to close related
issue https://github.com/status-im/status-lib/issues/56.
2021-09-29 13:51:56 -04:00
Pascal Precht 2e68be238c fix(Communities): make channel popup validation work again
This was a reference error as there's no `errors` object on `StatusValidator`.
When accessing errors exposed by `StatusInput` we need to dot into the component
reference.
2021-09-29 13:11:53 -04:00
Iuri Matias 03f088461a bump status-lib 2021-09-29 11:57:01 -04:00
Anthony Laibe 3fa328f8b8 Fix: loading bookmark from type 2021-09-29 11:57:01 -04:00
Jakub Sokołowski 145652d2d0 ci: upgrade library and use of pkgFilename()
Depends on: https://github.com/status-im/status-jenkins-lib/pull/36

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-09-29 10:19:15 +02:00
B.Melnik 4b73d68490 fix(ui): Resolve conflict between click on text message and click on message
Closes: #3593
2021-09-28 15:37:06 -04:00
¨Anthony e0c5e9b9b0 fix(@desktop/wallet): gas error position 2021-09-28 15:36:11 -04:00
Eric Mastro 5b63bc14bc fix(ui): Chat commands popup hide on second click
Partially fixes #3558.
2021-09-28 15:35:47 -04:00
Eric Mastro b8d4192c02 fix(ui): User presence popup hide on second click
Partially fixes #3558.
2021-09-28 15:35:47 -04:00
Eric Mastro 1ee3bba598 fix(ui): new chat menu popup hide on second click
Partially fixes #3558.
2021-09-28 15:35:47 -04:00
Michael Bradley, Jr b94b932572 refactor(@desktop/profile): don't display footer or chat settings in profile popup for own profile
Closes #3462.
2021-09-28 15:35:28 -04:00
Alexandra Betouni 7ac4eba9e2 fix(desktop/chat) fixed position view at index
Position view at chosen message when coming
from either search or notifications was not
working properly, especially when coming from
another channel (eg from desktop to test).
Added timer to delay positioning action until
the messages model is almost fully loaded so
that the view knows all indexes

Depends on #3562
Closes #3592, #3683
2021-09-28 15:32:25 -04:00
Alexandra Betouni 4ee21ada05 feat(desktop) Added image function in Style
Introduced Style.svg() Style.png() Style.emoji() and
Style.icon() in Style.qml. Those should be used to
set the source in Images instead of using relative
paths. Usage:
Image {
   source: Style.svg("check)
   ....

Also moved all Singletons inside a new "utils"
folder and made it a QML module, to use
import utils 1.0 instead of relative paths

Closes #3678
2021-09-28 15:28:00 -04:00
Anthony Laibe 1ae0b91014 refactor: gif store return object 2021-09-28 15:27:38 -04:00
Anthony Laibe 336ea968de refactor: browser use object 2021-09-28 15:25:57 -04:00
Anthony Laibe d519843e52 refactor: contact store use object 2021-09-28 15:23:40 -04:00
Anthony Laibe 1cea69b331 feat(@desktop/wallet2): Toggle network 2021-09-28 15:20:43 -04:00
Khushboo Mehta 6e3ac7d5dc fix(@desktop/chat): Remember the last tab (in nav bar) opened when status app is reopened
With this fix after a restart the tab which the user was last one (chat, community, wallet, browser, settings) will be the active one.
If the user was on the timeline tab when the app is closed, the app will be launched with the chat tab.

fixes #3559
2021-09-28 15:17:56 -04:00
Iuri Matias 38a1528598 bump status-go & qr-code-generator 2021-09-28 15:17:28 -04:00
Richard Ramos 36e4fb2f8f crosscompile to amd64 when building on darwin/arm64 2021-09-28 15:17:28 -04:00
Richard Ramos 85250211ea feat: add mailserver request signals 2021-09-28 14:55:37 -04:00
Richard Ramos 176b559877 fix: message history issues
- Display loading indicator on login when mailserver messages are requested
- Fix bug where the mailserver that's selected as soon as you login is disconnected while being still in the process of connecting instead of waiting until 10s have passed to try connecting to a different mailserver
- Use status-go version that fixes an issue fetching mailserver messages when more than 999 messages are being verified if they're in the cache
2021-09-28 14:55:37 -04:00
Richard Ramos f43a1a65ea fix: message history issues
- Display loading indicator on login when mailserver messages are requested
- Fix bug where the mailserver that's selected as soon as you login is disconnected while being still in the process of connecting instead of waiting until 10s have passed to try connecting to a different mailserver
- Use status-go version that fixes an issue fetching mailserver messages when more than 999 messages are being verified if they're in the cache
2021-09-28 14:26:19 -04:00
Andrei Smirnov b3d551eeb2 fix(@desktop/mentions): editing mentions 2021-09-28 14:20:19 -04:00
Michael Bradley, Jr 4ddb50573c fix: ensure Nim recompile after make update
These changes are a follow-up to #3582.

Also support `REBUILD_NIM=true` and `REBUILD_UI=true` variables so that it's
possible to ensure a rebuild for the next invocation of `make` or `make run`.

Dev docs have been updated: https://hackmd.io/OtFjDnH6QtOl3K65fKKEGg

Also adjust run targets so that e.g. `make -j16 run` works correctly.

Closes #3639.
2021-09-27 13:38:26 -05:00
Alexandra Betouni 16d6196aea feat(desktop/searchMessage) Updating highlight animation
Added animation to highlight selected message
from search popup. Currenly when a message is clicked
from the search results, the user is navigated to
that message but it's not clear where is the
message in the screen

Closes #3562
2021-09-24 16:15:42 -04:00
Sale Djenic e66f95c436 fix(@desktop/chat): scrolling of the chat with code blocks and reactions is repetitive
Fixes: #3594
2021-09-24 16:12:46 -04:00
Sale Djenic faaaa24f39 fix(@desktop/chat): abnormal CPU usage and slowness
Fixes: #3626
2021-09-24 15:53:51 -04:00
Michael Bradley, Jr 32ca947850 build: regenerate package-lock.json with npm v7
Also modify `package.json` so that npm version must be >= 7 and node version
must be >= 10 (same as npm v7). This will avoid `package-lock.json` churn if
someone builds with npm version < 7.
2021-09-24 13:33:08 -05:00
Michael Bradley, Jr d969766e67 fix: on macOS download openssl@1.1 bottle because openssl bottle is now alias for openssl@3 2021-09-24 11:44:43 -05:00
Iuri Matias 633526abfa bump status-q 2021-09-23 15:33:07 -04:00
Eric Mastro 3dcf9cc38c fix(chat): GIF widget UI bugs
Fixes: #3564.

Several UI bug fixes have been made for the gif widget:

1. Star now only appears once the gif is hovered
2. Default hover star colour is “grey”
3. Once the star is hovered, the star turns yellow
4. If the gif is favourited, the star fills in yellow
5. Removed square border around the gif
6. Added invisible padding around the star to increase the mouse surface area for hover/click
7. Added tooltip to the star for adding/removing from favourites

NOTE:
1. An initial attempt at changing star state based on gif thumb hover and star hover proved unsuccessful. Changing visibility of the star had to depend on both the hover state of the thumb AND the star — relying on only the thumb hover caused a flicker.
2. Relying on the local hover state of the star and the thumb hover state caused inconsistencies where the hover state of the star would become true after not being hovered. I’m still unsure as to why this was happening. A workaround was to create a signal to a HOC as to the last hovered gif id. From there, we could rely on matching `model.id` to the last hovered gif id in the HOC.
2021-09-23 15:33:07 -04:00
Anthony Laibe 50ad0f768e fix(@desktop/chat): Open popup on click
fixes #3670
2021-09-23 13:37:01 -04:00
Iuri Matias 533123c435 bump status-lib 2021-09-23 13:36:36 -04:00
Anthony Laibe 3660bad243 fix(@desktop/wallet): emit wallet2 event
fixes #3659

Wallet2 needs its own event otherwise they wallet1/2 mixes
and as not everything is implemented in wallet2, it crashes
In this particular case, the account is added into wallet1 but trigger
an event intercepted by wallet2, wallet2 doesn't have the new account
and crash
2021-09-23 13:36:36 -04:00
Khushboo Mehta 3e8313d176 fix(@desktop/chat): Fix small UI issues
1. Removed back button from pinned popup
2. Added border to user identifier in members list

fixes #3552
2021-09-23 13:21:43 -04:00
Sale Djenic f54f3a61bf fix(@desktop/chat): removing contact results in the same contact's contact request showing up again
Fixes: #3418
2021-09-22 15:27:52 -04:00
Anthony Laibe 2322f501fa fix(@desktop/members): Fix missing app settings 2021-09-22 15:06:45 -04:00
Khushboo Mehta d840ecab12 fix(@desktop/settings): Navbar icon shows a profile icon instead of settings icon
fixes #3615
2021-09-22 15:06:08 -04:00
Iuri Matias c908b4abb0 bump status-lib & status-go 2021-09-22 14:17:49 -04:00
Anthony Laibe 83a0ea391d feat(@desktop/wallet): Add chain id to internal API 2021-09-22 14:17:49 -04:00
Alexandra Betouni efbc8073e1 feat(wallet2) Implementing new architecture proposal
Introducing stores, panels, views and controls in
order to implement the new architecture proposal in
WalletV2

Closes #3479
2021-09-22 13:48:39 -04:00
Michael Bradley, Jr 9e742e4b4a feat(@desktop/settings): set "Just @mentions" as the new default in Notifications preferences
Closes #3532.
2021-09-21 14:29:14 -04:00
Sale Djenic da6c42fd19 fix(@desktop/chat): custom userpic appearance is not consistent for blocked/unblocked user
Fixes: #3420
2021-09-21 14:27:53 -04:00
Khushboo Mehta 2381ad08cd fix(@desktop/chat): Online/offline labels are hard to read in darkmode
fixes #3550
2021-09-21 14:24:09 -04:00
Khushboo Mehta bd9ae45ae0 fix(@desktop/chat): Create separate chatInput for each conversation
Moved the statusChatInput to the repeater in stackview so that each conversation has its own separate textInput area which maintains its own state

fixes #1351
2021-09-21 14:23:11 -04:00
Alexandra Betouni 2b408fe6cd fix(desktop/chatInput) mentions were misused
formattedPlainTextFilter was not reset when suggestion
box was closed causing the insertMention function to be
called again even thought there was no mention in the
chat input

Closes #3535
2021-09-21 14:22:24 -04:00