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

feat: add organisation overview page #746

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

kabaros
Copy link
Contributor

@kabaros kabaros commented Dec 16, 2024

This PR adds an organisation overview page, to support the page, it:

  • extends the call to /organisation/:id to optionally include the apps
  • adds a description field to the organisation
    • only the owner of the organisation (the user who created it by default) can edit this description
  • Links to the new organisation page from App pages

A followup ticket will expose ability to filter by organisation to the app.

implements HUB-122.

image

apphub-organisation-page.webm

@kabaros
Copy link
Contributor Author

kabaros commented Dec 16, 2024

PR created vs changelog branch (until that one is merged)

@kabaros kabaros requested review from a team, amcgee and Birkbjo December 16, 2024 11:46
Copy link
Member

@amcgee amcgee left a comment

Choose a reason for hiding this comment

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

Minor comment but LGTM!

by{' '}
<a
className={styles.link}
href={`/organisation/${organisationSlug}/view`}
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible that organisationSlug will be null/undefined here leading to a broken link? Or is it guaranteed to always be populated by the backend?

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 is guaranteed to not be null/undefined, but the guarantee is happening at the application layer not the DB, there is no way that it could end up being null/undefined (we use slugify based on the name which is required) unless someone manually alters the DB ..

@kabaros kabaros force-pushed the feat/organisation-page branch from a7f6bad to 2cc4de2 Compare December 16, 2024 17:28
@kabaros kabaros force-pushed the feat/organisation-page branch from 2cc4de2 to 1a0826a Compare December 16, 2024 20:14
@kabaros kabaros merged commit 8bc5c3f into feat/show-changelog-and-plugins Dec 16, 2024
5 checks passed
@kabaros kabaros deleted the feat/organisation-page branch December 16, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants