Commit Graph

32 Commits

Author SHA1 Message Date
Anthony Laibe 542e5fdb6c feat(@wallet): remove usage of wallet section current 2023-04-27 11:58:27 +02:00
Lukáš Tinkl a2a6287537 fix(StatusStickersPopup): fix reloading views with online status changes
- hide the market and other stuff that can't be used while offline
- recent stickers and already installed packs can still be used; they
will be sent when we return online
- when we return online, reload the views instead of closing the popup
- fix an evil NIM typo that prevented reloading the already installed
sticker packs
- remove the NIM parts that haven't been ported to the async nature; just
`loadStickers()` on the QMl side does the trick
2023-04-18 13:45:38 +02:00
Lukáš Tinkl 7a5dbbd952 chore(StatusStickerButton): refactor to use StatusButton
- make it possible for StatusBaseButton to be icon-only (ie just icon, no
text, rounded if needed)
2023-04-18 13:45:38 +02:00
Lukáš Tinkl 05e5b3dad6 fix(StatusStickerPackClickPopup): fix passing/parsing price
when trying to buy a sticker pack
2023-04-18 13:45:38 +02:00
Lukáš Tinkl bfe44ca4a8 fix(StatusStickerList): add scrollbar to the grid view
and remove unused properties
2023-04-18 13:45:38 +02:00
Lukáš Tinkl 70fa0bf3b2 chore(StatusStickerMarket): add scroll bar
and extract the buyPopup component out of the delegate
2023-04-18 13:45:38 +02:00
Lukáš Tinkl 0cd7e3650a fix(StatusStickerMarket): do not confirm enabling wallet
wallet is already enabled by default for users and there's no way to
enable it if it gets disabled by using an env var
2023-04-18 13:45:38 +02:00
Lukáš Tinkl 8d322092cf fix: `packId` is a string in NIM backend
fixes the currently selected sticker pack not being highlighted in the
popup footer

The strict equality operator would no longer yield true here:
```
property int selectedPackId
...
selected: stickerPackListView.selectedPackId === packId
```
2023-04-18 13:45:38 +02:00
Khushboo Mehta 98a2328517 fix(@desktop/wallet): Browser: can't do transactions in simpledapp
fixes #10192
2023-04-07 14:10:46 +02:00
Khushboo Mehta 2501520dda fix(@desktop/wallet): Handle errors in ENS and stickers views. Disbale action and show tooltip.
fixes #8597, #10034
2023-04-05 19:05:54 +02:00
Ivan Belyakov 02ebc8744c feat(@desktop/wallet): remove isWalletEnabled from local settings and
use ENABLE_WALLET env instead
2023-03-22 10:39:59 +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
Khushboo Mehta 9825a48eec fix(@desktop/wallet): Fix for wrong link is generated when transaction is done on testnet
fixes #8681
2022-12-12 15:23:52 +01:00
Khushboo Mehta 779df7628b fix(@desktop/wallet): Remove gas selector for slow, optimal and fast
fixes #8516
2022-12-05 14:51:39 +01:00
Khushboo Mehta 0c7442d696 fix(@desktop/wallet): Wrong Password error should not be handled in the SendModal
fixes #8527
2022-12-05 13:59:06 +01:00
Khushboo Mehta aec7a30d03 feat(@desktop/wallet): Updated UI for bridge and multi routing support
fixes #7334
2022-10-26 18:48:30 +02:00
Jonathan Rainville 6bd1cfde72 test(chat): add a test that install a sticker pack and sends a sticker
Fixes #6962
2022-08-29 10:52:00 -04:00
MishkaRogachev 9aa1a1073e fix(@desktop): Fix scrolling in chat components, wallet fixes 2022-07-21 18:44:30 +03: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
Anthony Laibe 00ed4f9c44 feat(@wallet): multi transaction simple view 2022-06-09 15:22:24 +02:00
Richard Ramos 3c7779305b feat: move stickers business logic to status-go 2022-03-09 12:16:42 -04: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
Patryk Osmaczko ba7a6d5d34 style: remove trailing whitespaces 2022-02-09 11:16:23 +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 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
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 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
Sale Djenic f0b2ed6cca refactor(@desktop/general): `appSettings` moved to Nim 2021-11-05 11:02:45 -04: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