Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

landing page: highlight verified community in communities list #2586

Merged

Conversation

@anikachurilova anikachurilova force-pushed the verified-icon-in-communities-list branch from 2d9adcc to 34ff283 Compare February 19, 2024 10:31
@@ -126,6 +126,7 @@ export class CommunitiesManagement extends Component {
error={error}
loading={loading}
maxDisplayedCommunities={MAX_COMMUNITIES}
branded={record.parent?.communities?.default}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question 1: only one community can have the verified icon?

question 2: why is the default community the one considered branded?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. For now, only 1 community can be verified per record. In future, we will probably add a field verified to the record, so then we can have more.
  2. Branded community is the one that displays on top of the record landing page (with themed communities it also changes the UI). It is controlled by record.parent.communities.default field. Users can change branding in the manage communities modal on the landing page

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

About (1) - just as info, records already have a verified field but it's related to content moderation.

@alejandromumo
Copy link
Member

Reviewed with @yashlamba

Copy link
Member

@0einstein0 0einstein0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, reviewed with @jrcastro2

@slint slint merged commit 83ceaaf into inveniosoftware:master Feb 23, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

record landing page: add "verified" badge to the list of communities -> try some mockups
4 participants