Michał Cieślak
44a13eedfc
chore(CommunityPermissions): Dissect real and mocked CommunitiesStore, adapt Storybook's pages
...
Closes : #9612
2023-02-23 11:51:30 +01:00
Michał Cieślak
9693e19ba5
fix(CommunityPermissions): Adjust store API to not take models as parameters, move conversion to the caller
...
Closes : #9611
2023-02-22 18:27:19 +01:00
Michał Cieślak
34676d0ec7
fix(CommunityPermissions): clean warnings by preventing assigning when some roles doesn't exist
...
Closes : #9608
2023-02-22 14:43:40 +01:00
Michał Cieślak
1e7e2084a7
fix(CommunityNewPermissionView): Use only key/amount to compare holdings when tracking duplicates
2023-02-22 14:43:40 +01:00
Michał Cieślak
c85a8d3647
fix(StatusQ/Utils): Fix ModelChangeTracker and ModelUtils to handle properly
2023-02-22 14:43:40 +01:00
Michał Cieślak
51928f5c20
fix(StatusQ): Removed nonexisting/unused imports from Sandbox pages
...
Closes : #9594
2023-02-22 13:35:14 +01:00
Lukáš Tinkl
340866612b
feat: relative or absolute timestamping depending on time/date proximity
...
- implement LocaleUtils.formatRelativeTimestamp() that does all the heavy
lifting
- use it in StatusTimeStampLabel -> propagates to all message timestamps
(chat, activity center, settings, etc)
Closes #9397
2023-02-22 12:27:37 +01:00
Khushboo Mehta
e4d03a903e
fix(@desktop/wallet): Wallet -> Bridge: can't send txn with bridge, code 32000: not available for chainID
...
fixes #9483
2023-02-22 09:40:32 +01:00
Anthony Laibe
9ec94488a0
fix(@wallet): hash password lowercase
2023-02-21 18:45:13 +01:00
Khushboo Mehta
4c0bd1058f
fix(@desktop/wallet): Preferred network doesn't reflect in advanced view
...
fixes #9456
2023-02-21 17:47:30 +01:00
Lukáš Tinkl
79645b53ce
fix: truncation of channel description and pinned message text
...
The chat title/subtitle no longer bleed into the action buttons
- handle long texts in chat description, elide them and show the whole
text in a tooltip
- minor UI fixes in ChatHeaderContentView and StatusToolBar
- adjust Sandbox' Controls page
Fixes #9583
2023-02-21 16:53:06 +02:00
Lukáš Tinkl
ff75e862e5
fix(StatusLinkText): no duplicate import
...
- do not shadow/redefine builtin property `linkColor`
- minor typo fixes
2023-02-21 16:53:06 +02:00
Noelia
852a826126
fix(CommunityPermissions): Update initial page dark mode image
...
Closes #8497
2023-02-21 08:46:52 +01:00
Michał Cieślak
e2811fa290
feat(CommunityPermissions): Handle update/remove by permission's key instead of index
2023-02-20 22:54:43 +01:00
Michał Cieślak
03e1636cff
feat(StatusQ): Add cpp model utils to allow handling ListModel and generic QAbstractItemModel uniformly
...
Closes : #9562
2023-02-20 22:25:56 +01:00
Michał Cieślak
89b767cf2a
chore(StatusQ): register StatusQ's cpp types for SanityChecker
2023-02-20 22:25:56 +01:00
Patryk Osmaczko
9f97ce2cde
fix(StatusQ/Sandbox): move and update build script
2023-02-20 20:36:05 +01:00
Michał Cieślak
c23f4e173e
fix(CommunityPermissions): Typos corrected
2023-02-20 18:40:59 +01:00
Michał Cieślak
f6ac937dfd
fix(CommunityPermissions): Warning regarding color assignment fixed
2023-02-20 18:40:59 +01:00
Michał Cieślak
d025f17e2a
feat(CommunityPermissions): Check if form filled completely when
...
updating
Closes : #9388
2023-02-20 18:40:59 +01:00
Michał Cieślak
a97c8a720e
feat(CommunityPermissions): Implement duplication checking
...
Moreover:
- adapt flow to the design
- introduce ModelChangeTracker utility component
Closes : #9048
2023-02-20 18:40:59 +01:00
Michał Cieślak
c78eaef2b6
chore(CommunityPermissions): Permissions model and backend API simplified, separation of concerns improved
2023-02-20 18:40:59 +01:00
Michał Cieślak
9757002c7d
chore(CommunityPermissions): Permissions model & backend API simplified, dirty state handling simplified
...
Additionally, permission types metadata excluded to PermissionTypes
singleton component, PermissionsDropdown simplified by using inline
components.
2023-02-20 18:40:59 +01:00
Michał Cieślak
7388bbfef3
chore(CommunityPermissionsView): component api unified and simplified
2023-02-20 18:40:59 +01:00
Michał Cieślak
0af9c27910
chore(CommunityNewPermissionView): simplified by introducing ModelsComparator component for tracking dirty state
...
Closes : #8830
2023-02-20 18:40:59 +01:00
Michał Cieślak
9f884605cb
chore(CommunityNewPermissionView): Operations on models excluded to ModelUtils singleton
2023-02-20 18:40:59 +01:00
Michał Cieślak
fb19385438
chore(CommunityNewPermissionView): refactor to improve separation of concerns, create/save actions moved up
2023-02-20 18:40:59 +01:00
Michał Cieślak
3a3d1657f0
chore(CommunityNewPermissionView): exclude subcomponent HidePermissionPanel
2023-02-20 18:40:59 +01:00
Michał Cieślak
f8f4757a0b
fix(Storybook): fix cmake config to show qmldirs in QtCreator
2023-02-20 18:40:59 +01:00
Michał Cieślak
9a0c682ca4
chore(CommunityNewPermissionView): Simplify dirty values handling, extend Storybook page
2023-02-20 18:40:59 +01:00
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
Lukáš Tinkl
a23726ffa1
fix(CurrenciesStore): fix missing import and raw backend access
...
- import needed for LocaleUtils
- do not access raw backend objects; hard to mock/abstract in Storyboook
- fixed missing `isToken` value, leading to semi-broken model roles
2023-02-20 12:44:36 +01:00
Lukáš Tinkl
888d8495e6
fix(InformationTag): fix default size
...
Control is smart enough to deduce the implicitSize; fixes text
overflowing
2023-02-20 12:44:36 +01:00
Noelia
1e282cabba
feat(MintTokens/storybook): Added storybook page for mint tokens welcome page
...
Added storybook support for mint tokens welcome page.
2023-02-20 12:06:22 +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
Sale Djenic
bd1a778a0a
fix(@desktop/keycard): some pictures are not modified for dark mode
...
Closes : #7897
2023-02-20 08:36:36 +01:00
Anthony Laibe
5a8bc256b3
feat(@general): lower case password
2023-02-19 11:43:27 +01:00
Lukáš Tinkl
277de1b544
fix: contact ID verification and community intro sizing issues
...
- port to StatusDialog
- fix binding loops
- fix `timestamp` to be a double rather than a `string`
Fixes #9563
2023-02-17 17:43:51 +01:00
Dario Gabriel Lipicar
27b8180fdd
feat(@desktop/Wallet): use new status-go currency formatting API
...
Fixes #9453
2023-02-17 13:06:52 -03:00
MishkaRogachev
b70e1f0fb4
feat(ActivityCenter): Add indication for visited/unvisited AC state
...
Close #347
2023-02-17 16:13:43 +04:00
Jonathan Rainville
3b9b514191
fix(main): create loading item for activeSection on start
...
Fixes #9508
The issue was caused by some calls that try to update the activeSection's item, but during chat loading, the activeSection had the possibility of being empty, thus causing a crash.
The fix here is to create a LoadingItem and set it as active during the time the chats load (if the last active section was a community or chat). Then, the updates go to that Item and do nothing, but that's normal.
2023-02-17 12:28:52 +01:00
Sale Djenic
8cc80694e2
fix(@desktop/general): qml warnings caused by undefined context props handled
2023-02-17 12:25:44 +01:00
Sale Djenic
86fb93ecb7
fix(@desktop/keycard): Keycard -> Factory reset: $NaN amount is shown in factory reset flow when account has no funds
...
Fixes : #9418
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
Sale Djenic
a4bce9e130
fix(@desktop/keycard): update logic of enabling action buttons during the flow
2023-02-17 10:01:21 +01:00