Commit Graph

16 Commits

Author SHA1 Message Date
Lukáš Tinkl 2537cdc2f2 fix(CommunityPortal): don't show PermissionsRow for free communities
- hide the permissions row and tokens when the community is free to join
- fix evaluating the `requirementsMet` property which affects the lock
icon state; that role was never part of the model
- add a helper C++ method `isTokenGatedCommunity`
- adjust the SB models, adding different variations of the
permissionsModel for the CommunitiesPortalLayoutPage

Fixes #14671
2024-05-13 16:21:07 +02:00
Noelia 88c09b3941 feat(@desktop/communtiies): Set signer flow
Setting signer logic and computing fees.
AC messages for different transfer ownership states.
Declining ownership logic.
Added `CommunityTokensStore.qml` stub.
Removed deprecated property.

Issue #11964
2023-11-08 14:35:51 +01:00
Michał Cieślak 75dd3f7cb6 chore(Storybook): Figma links moved from figma.json to pages
Closes: #12229
2023-10-03 21:32:41 +02:00
Michał Cieślak cb07625a57 Storybook: `PagesModel.qml` removed, adding new pages simplified
Closes: #11716
2023-08-01 13:10:56 +02:00
Noelia 0ab8a62896 feat(Communities): Communities folder reorganization
- Renamed main `CommunitiesPortal` folder to `Communities`.
- Created new `layouts` folder.
- Moved layout files from chat to communities.
- Created new `helpers` folder.
- Moved helpers files from chat to communities.
- Moved `controls/community` files from chat to communities `controls`.
- Moved `panels/communities` files from chat to communities `panels`.
- Moved `popups/community` files from chat to communities `popups`.
- Moved `views/community` files from chat to communities `views`.
- Moved `CommunityBanner` file from shared to `Communities/controls`. Only used in communities context.
- Moved `CommunitySettingsView` and `CommunityColumnView` files from chat to communities `views`.
- Moved `PermissionsStore.qml` file to `shared/stores`.
- Updated imports.
- Updated storybook.

Part of #6204
2023-06-28 14:28:47 +02:00
Noelia 8ccd091ebc feat(CommunityPortal/StatusCommunityCard): Prepared `StatusCommunityCard` to display permissions row
- `StatusCommunityCard` updated with a new hearder component.
- `CommunitiesGridView` updated to use `CommunityPermissionsRow` component inside card.
- Added needed models.
- Updated storybook.

Pending backend integration: Part of task #10410
2023-04-27 16:10:20 +02:00
Lukáš Tinkl f5d6c538c2 chore: consolidate & refactor popup handling
- all remaining global popup components moved into a separate Popups
entity
- removed some static objects from the Global singleton (appMain,
pinnedMessagesPopup, communityProfilePopup, sounds); rationale:
singletons should not contain any state
- fixed support for popups in storybook
- fixed some warnings (most of them broke the popups in one way or the other)
2023-02-09 15:01:57 +01:00
Dario Gabriel Lipicar 7c4022e4ac feat(@desktop/wallet): implement unified currency formatting
Fixes #8640
2023-01-12 15:21:27 -03:00
Patryk Osmaczko db2be47ee1 feat(storybook): extended editing of communities portal page
- added tags editor
- added active members editor
- refactored icon/banner models (removed imperative transforms)
- refactored icon/banner selection (removed single shots)

closes: #8032
2022-10-27 13:55:06 +02:00
Patryk Osmaczko fa1f396a86 fix(communities/portal): navigate or spectate community
fixes: #7244
2022-10-18 21:21:10 +02:00
Patryk Osmaczko a2b88d7b77 feat(storybook): extend communities portal cards with tags 2022-10-18 12:53:41 +02:00
Michał Cieślak 5537f5edd7 feat(Storybook): Light/dark mode switch
Moreover:
- load asynchronously switch fixed
- storybook refactored to rely on build-in components only
- some explicit sizes/spacings removed
- some bigger components split into smaller

Closes: #7898
2022-10-14 09:27:19 -04:00
Michał Cieślak d5a4ab5967 feat(Storybook): LoginView - initial setup
Closes: #7865
2022-10-12 10:54:55 -04:00
Michał Cieślak cb7e67ce8c chore(Storybook): LogsView added
Closes: #7818
2022-10-11 16:39:39 +02:00
Michał Cieślak 347c9b2fc3 chore(CommunitiesPortalLayoutPage): model editor added
Closes: #7816, #7819
2022-10-11 16:39:39 +02:00
Michał Cieślak 2b6150177b feat(Storybook): First sample page (CommunitiesPortalLayout) 2022-10-10 15:09:12 +02:00