Commit Graph

7 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 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
Noelia 8d5f625364 feat(storybook/CommunityIntroDialogPage): Improved storybook related page
Improved storybook for `CommunityIntroDialogPage`.
2023-02-10 18:03:05 +02: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 a543f46de5 chore(communities/portal): extend curated communites model 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 2b6150177b feat(Storybook): First sample page (CommunitiesPortalLayout) 2022-10-10 15:09:12 +02:00