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

semantic-ui: CommunitySelectionModal: Remove unused Footer component #1868

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

sakshamarora1
Copy link
Contributor

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.

Reviwed with @sakshamarora1 👀

Copy link
Member

@zzacharo zzacharo left a comment

Choose a reason for hiding this comment

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

There are more places of this being hardcoded, see for example here

@@ -17,7 +17,7 @@ export const CommunitySelectionFooter = () => {
<p>
<Trans>
Did not find a community that fits you? Upload without a community or{" "}
<a href="/communities/new">create your own.</a>
<a href="/communities-new">create your own.</a>
Copy link
Member

Choose a reason for hiding this comment

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

also all these places should be changed to utilize the config rather the hardcoded values

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a javascript file, I'm not sure if we are already injecting config?

@sakshamarora1 sakshamarora1 changed the title semantic-ui: CommunitySelectionModal: Update new community endpoint semantic-ui: CommunitySelectionModal: Remove unused Footer component Nov 19, 2024
@zzacharo zzacharo merged commit a18b2cf into inveniosoftware:master Nov 19, 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.

Exclude 'new' from available community ids / slugs
3 participants