Commit Graph

2343 Commits

Author SHA1 Message Date
Richard Ramos 3a042a4a09 feat: use new pending transfer API 2021-05-18 15:24:05 -04:00
Richard Ramos 7d56e66a86 fix: check null 2021-05-18 15:24:05 -04:00
Richard Ramos 19d4279237 use new wallet api to receive wallet signals 2021-05-18 15:24:05 -04:00
Eric Mastro 65a0cfbcd3 fix: show emoji in reaction tooltip
Fixes: #2387.

Shows the emoji in the emoji reaction tooltip instead of the shorthand (ie 👎 instead of `👎`).
2021-05-14 12:17:48 -04:00
Richard Ramos 9493839b65 force messages to dissapear if a contact is blocked 2021-05-14 11:56:07 -04:00
Richard Ramos fdf6be5f64 feat: delete messages on block 2021-05-14 11:56:07 -04:00
Pascal Precht 636b39d082 fix(StatusLetterIdenticon): ensure letterSize is correct
Due to historic reasons, conditionally assign a font size for the letter
identicon, based on whether or not the app's compact mode is active.

Compact mode has become the new default a while back and the component's
`isCompact` property isn't set anywhere in throughout the application,
resulting in `letterSize` to always be `21`, which is too big.

This commit removes the condition, defaulting to always having a letter size
of 15 pixels as designed.
2021-05-14 11:48:37 -04:00
Eric Mastro 3deb75b2fe fix: support closing login window using native buttons 2021-05-14 10:28:14 -04:00
Eric Mastro 29ac475385 feat: add DockClicker event filter
Add an event filter to `qApp` that can detect a dock icon click (in macos) when the main window is hidden or closed.

When the event has been triggered, the main window will be shown again.

Co-authored-by: Boris Melnik <82511785+borismelnik@users.noreply.github.com>
2021-05-14 10:28:14 -04:00
Eric Mastro 46caa67d49 fix: add mention hover
Fixes: #2388

Adds a specific background color to hovered mentions.
2021-05-14 10:28:05 -04:00
Eric Mastro 590192ad9e fix: show suggestion profile pics for contacts only
Fixes: #2365.

Previously, suggestions for mentions were showing profile pics even for users who were not contacts. Now, profile pics are only shown for those users who are contacts. The user’s identicon is shown otherwise.

fix: user thumbnail not shown when no profile pic
When a user was a contact, but didn’t have a profile pic, an image would not be loaded and a ‘reload’ image would be shown instead. With this PR, if the user is a contact and they do not have a profile pic, their identicon will be shown instead.
2021-05-14 10:27:53 -04:00
Jonathan Rainville a0029ce270 refactor(ChatInput): refactor text formation to increase perfo and enbale undo 2021-05-14 10:27:47 -04:00
Eric Mastro ee1287b71d fix: prevent crash on generate account wrong password
Fixes #2448.

Currently, if a wrong password is entered when generating a wallet account, the app will crash due to attempting to decode a `GeneratedAccount ` from an rpc response containing only an error.

With this PR, we are detecting if an error is returned in the response, and if so, raising a StatusGoException. This exception is caught in the call chain, and translated in to a `StatusGoError` which is serialised and sent to the QML view, where it is parsed and displayed as an invalid password error in the input box.

refactor: remove string return values as error messages in wallet model
In the wallet model, we were passing back empty strings for no error, or an error as a string. This is not only confusing, but does not benefit from leaning on the compiler and strong types. One has to read the entire code to understand if a string result is returned when there is no error instead of implicitly being able to understand there is no return type.

To alleviate this, account creation fundtions that do not need to return a value have been changed to a void return type, and raise `StatusGoException` if there is an error encountered. This can be caught in the call chain and used as necessary (ie to pass to QML).

refactor: move invalid password string detection to Utils
Currently, we are reading returned view model values and checking to see if they include a known string from Status Go that means there was an invalid password used. This string was placed in the codebased in mulitple locations.

This PR moves the string check to a Utils function and updates all the references to use the function in Utils.
2021-05-14 10:27:37 -04:00
Iuri Matias 4cfe7411ac document communities 2021-05-13 16:37:46 -04:00
Iuri Matias f1fd0457ae document installation and build 2021-05-13 16:37:46 -04:00
Iuri Matias ae804edd3c document onboarding 2021-05-13 16:37:46 -04:00
Iuri Matias c910613131 update sections for dev guide 2021-05-12 17:02:23 -04:00
Iuri Matias 6009a6f01e update baseurl config 2021-05-12 17:02:23 -04:00
Iuri Matias 927d47b31b change config 2021-05-12 17:02:23 -04:00
Iuri Matias e06e5de3d1 document settings 2021-05-12 17:02:23 -04:00
Iuri Matias 08f64387cf remove github action 2021-05-12 16:14:44 -04:00
Iuri Matias a27168ff51 test action 2021-05-12 16:09:04 -04:00
Iuri Matias c02380285a test action 2021-05-12 16:01:39 -04:00
Iuri Matias ca71d90d6e document onboarding/login & some settings 2021-05-12 07:47:34 -04:00
Iuri Matias 730e1def68 document rest of the chat secion and onboarding 2021-05-12 07:47:34 -04:00
Iuri Matias 432648e7e4 update wallet user guide docs 2021-05-12 07:47:34 -04:00
Jonathan Rainville 9e474a3def fix(Onboarding): show warning screen at the start of no account 2021-05-11 14:44:47 -04:00
Iuri Matias 8bae313a2d document app behaviour for chat section, timelines, and wallet 2021-05-11 09:12:36 -04:00
Iuri Matias 51ff63a086 document chat list, other chat functionality 2021-05-11 09:12:36 -04:00
Iuri Matias 80148fa3ce add structure for dev_guide section, fix links 2021-05-11 09:12:36 -04:00
Iuri Matias b71fec3ca1 adjust readme 2021-05-07 16:32:41 -04:00
Iuri Matias 17c2409d6b add action to create site 2021-05-07 16:30:28 -04:00
Iuri Matias f29576d76d update readme & cleanup 2021-05-07 16:12:12 -04:00
Iuri Matias 5bc8629a41 add other sections for main docs 2021-05-07 16:12:12 -04:00
Iuri Matias bcd1983c74 doc: add keyfile for adding a favourite with the star icon 2021-05-07 16:12:12 -04:00
Iuri Matias 88dfad39b4 initial user guide & dev docs 2021-05-07 16:12:12 -04:00
Jonathan Rainville 17b3a44458 fix(Community): leave community from Community profile popup 2021-05-07 11:12:02 -04:00
Jonathan Rainville d2b6bf9310 fix(Input): fix mention formation on rewriting a mention
Fixes #2325
2021-05-05 17:26:48 -04:00
Richard Ramos 521d2372f3 fix: code review 2021-05-05 17:16:12 -04:00
Richard Ramos efd1677b24 show confirmation dialog when leaving chat 2021-05-05 17:16:12 -04:00
Iuri Matias 38be2889cd use StatusIconButton component to avoid pixelized close button 2021-05-05 17:15:40 -04:00
RichΛrd efe550ccd5 Update ui/app/AppLayouts/Chat/ChatColumn.qml
Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
2021-05-05 17:13:02 -04:00
Richard Ramos fbbfa30b1b Allow image drag/drop in communities 2021-05-05 17:13:02 -04:00
Iuri Matias 3f35bad846 make url color blue 2021-05-05 17:09:43 -04:00
Iuri Matias cfe2139524 fix text formatter icons size & pixelation 2021-05-05 17:09:28 -04:00
Iuri Matias a2655c9b7b hide node tab toggle for now 2021-05-05 17:09:17 -04:00
Jonathan Rainville c45fe44ad5 feat(Community): show community description in CommunityColumn
Fixes #2400
2021-05-04 15:52:35 -04:00
Pascal Precht a53a32c5c0 chore: remove wrong git submodule
As mentioned in https://github.com/status-im/status-desktop/pull/2489/files#r626020553
2021-05-04 15:40:31 -04:00
Jonathan Rainville 9d625016ff chore: fix spacing and width of chat identifier 2021-05-04 14:52:37 -04:00
Jonathan Rainville 49d130a111 feat(ChatMessages): show chat identifier at the top of the window 2021-05-04 14:52:37 -04:00