Skip to content

Commit

Permalink
Adjust names of overridable components to match naming conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahW91 authored and kpsherva committed Nov 9, 2023
1 parent c8c9d67 commit 9fcfd35
Showing 1 changed file with 16 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ class CommunityProfileForm extends Component {
/>

<Overridable
id="CommunityProfileForm.Description"
id="InvenioCommunities.CommunityProfileForm.TextAreaField.MetadataDescription"
community={community}
>
<TextAreaField
Expand All @@ -396,7 +396,10 @@ class CommunityProfileForm extends Component {
/>
</Overridable>

<Overridable id="CommunityProfileForm.Type" community={community}>
<Overridable
id="InvenioCommunities.CommunityProfileForm.SelectField.MetadataType"
community={community}
>
<SelectField
search
clearable
Expand All @@ -418,7 +421,7 @@ class CommunityProfileForm extends Component {
</Overridable>

<Overridable
id="CommunityProfileForm.Website"
id="InvenioCommunities.CommunityProfileForm.TextField.MetadataWebsite"
community={community}
>
<TextField
Expand All @@ -435,7 +438,7 @@ class CommunityProfileForm extends Component {
</Overridable>

<Overridable
id="CommunityProfileForm.Organizations"
id="InvenioCommunities.CommunityProfileForm.RemoteSelectField.MetadataOrganizations"
community={community}
>
<RemoteSelectField
Expand Down Expand Up @@ -486,7 +489,10 @@ class CommunityProfileForm extends Component {
</div>
</AccordionField>

<Overridable id="CommunityProfileForm.Funding" community={community}>
<Overridable
id="InvenioCommunities.CommunityProfileForm.AccordionField.MetadataFunding"
community={community}
>
<AccordionField
includesPaths={["metadata.funding"]}
label={i18next.t("Funding information")}
Expand Down Expand Up @@ -607,7 +613,7 @@ class CommunityProfileForm extends Component {
floated="right"
>
<Overridable
id="CommunityProfileForm.ProfilePicture"
id="InvenioCommunities.CommunityProfileForm.LogoUploader.ProfilePicture"
community={community}
>
<LogoUploader
Expand All @@ -620,7 +626,10 @@ class CommunityProfileForm extends Component {
</Overridable>
</Grid.Column>
</Grid.Row>
<Overridable id="CommunityProfileForm.DangerZone" community={community}>
<Overridable
id="InvenioCommunities.CommunityProfileForm.GridRow.DangerZone"
community={community}
>
<Grid.Row className="danger-zone">
<Grid.Column as="section" width={16}>
<DangerZone
Expand Down

0 comments on commit 9fcfd35

Please sign in to comment.