2
0
mirror of https://github.com/status-im/status-desktop.git synced 2025-02-16 08:37:12 +00:00

5482 Commits

Author SHA1 Message Date
Lukáš Tinkl
7d9fe2d8ca chore: update en translations
some plurals were missing (mostly some "n member(s)")
2023-02-23 15:05:31 +02:00
Michał Cieślak
ad006cf105 fix(CommunityTokenPermissionsPopup): required models provided, storybook page fixed 2023-02-23 11:51:30 +01:00
Michał Cieślak
e352dcfc11 chore(CommunityPermission): Use typed properties for CommunitiesStore
Additionally, pass assets/collectibles models to HoldingsDropdown
directly instead of store to reduce dependency.
2023-02-23 11:51:30 +01:00
Michał Cieślak
44a13eedfc chore(CommunityPermissions): Dissect real and mocked CommunitiesStore, adapt Storybook's pages
Closes: 
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: 
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: 
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: 
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 
2023-02-22 12:27:37 +01:00
Khushboo Mehta
4c0bd1058f fix(@desktop/wallet): Preferred network doesn't reflect in advanced view
fixes 
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 
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 
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: 
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: 
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: 
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: 
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
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
c1e3050d06 feat(MintingTokens): Created welcome view
- Created minting tokens welcome view.
- Added basic navigations.

Closes 
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: 
2023-02-20 08:36:36 +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 
2023-02-17 17:43:51 +01:00
MishkaRogachev
b70e1f0fb4 feat(ActivityCenter): Add indication for visited/unvisited AC state
Close 
2023-02-17 16:13:43 +04: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: 
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 
2023-02-17 11:22:21 +01:00
MishkaRogachev
165271dbea fix(ActivityCenter): Fix CommunityBadge eliding
Close 
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 
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
Lukáš Tinkl
42445d4b73 fix: App crashes on uploading an image containing "+" in its name
as we're dealing with local file URLs only here, we don't want to turn
the plus signs (`+`) into spaces (leads to failing to open the file,
emits an exception, crashes later on in our JS code)

Fixes 
2023-02-16 16:09:53 +01:00
Alex Jbanca
009861c7b4 fix(SplashScreen): Add Did You Know Splash screen
Closing 
Adding Did You Know Splash Screen that will be shown when AppMain is completed.
The SplashScreen runs for 30 seconds and will randomly iterate through `fun messages` every 5 seconds.
2023-02-16 16:06:50 +02:00
Michał Cieślak
c05334c327 chore(CommunityPermissions): Use enum for token category, keep string labels in UI only
Closes: 
2023-02-16 13:39:55 +01:00
Alexandra Betouni
bb23131f0e fix(statusChatInput): do not replace text with emojis on links
Closes 
2023-02-16 13:20:54 +02:00