Skip to content

feat(greenhouse): add plugin instance detail page#1462

Open
taymoor89 wants to merge 2 commits intomainfrom
1325-plugin-instance-detail
Open

feat(greenhouse): add plugin instance detail page#1462
taymoor89 wants to merge 2 commits intomainfrom
1325-plugin-instance-detail

Conversation

@taymoor89
Copy link
Contributor

@taymoor89 taymoor89 commented Feb 13, 2026

Summary

This PR implements plugin instance detail page that can be accessible at /admin/plugin-presets/$pluginPresetName/plugin-instances/$pluginInstance.

Changes Made

  • Added plugin instance detail page
  • Removed Admin from breadcrumb.
  • Fixed conditions. Now only Ready condition is color coded rest of these show as default.
  • Removed Teams page entry as we're not gonna need that.

Related Issues

Screenshots (if applicable)

Testing Instructions

  1. pnpm i
  2. pnpm TASK

Checklist

  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.
  • I have made corresponding changes to the documentation (if applicable).
  • My changes generate no new warnings or errors.
  • I have created a changeset for my changes.

PR Manifesto

Review the PR Manifesto for best practises.

@taymoor89 taymoor89 requested a review from a team as a code owner February 13, 2026 16:20
@changeset-bot
Copy link

changeset-bot bot commented Feb 13, 2026

🦋 Changeset detected

Latest commit: c157997

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cloudoperators/juno-app-greenhouse Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@taymoor89 taymoor89 self-assigned this Feb 13, 2026
@taymoor89 taymoor89 marked this pull request as draft February 13, 2026 16:20
@taymoor89 taymoor89 added the greenhouse-pr-preview Builds a PR preview for greenhouse shell app and plugins. label Feb 13, 2026
@taymoor89 taymoor89 force-pushed the 1325-plugin-instance-detail branch 2 times, most recently from 043fd97 to 6350305 Compare February 16, 2026 09:38
@taymoor89 taymoor89 force-pushed the 1325-plugin-instance-detail branch 4 times, most recently from bb7c1c6 to 4f9eb70 Compare February 16, 2026 16:42
@taymoor89 taymoor89 marked this pull request as ready for review February 17, 2026 09:31
@taymoor89 taymoor89 force-pushed the 1325-plugin-instance-detail branch from 4f9eb70 to 135e286 Compare February 17, 2026 13:30
@taymoor89 taymoor89 linked an issue Feb 17, 2026 that may be closed by this pull request
TilmanHaupt
TilmanHaupt previously approved these changes Feb 17, 2026

return (
<Tooltip triggerEvent="hover">
<TooltipTrigger asChild>
Copy link
Contributor

@TilmanHaupt TilmanHaupt Feb 17, 2026

Choose a reason for hiding this comment

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

Image

Tooltip could be improved

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good point, but this is in the /plugin-presets page where the list has this icon which by default shows the name of the icon as title.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed!

</DataGrid>
</Stack>
</Stack>
)
Copy link
Contributor

@TilmanHaupt TilmanHaupt Feb 17, 2026

Choose a reason for hiding this comment

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

could either here or at least in detail contain the supportGroup. It filters correctly, but the Zweifel of the user stays

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good point, added support group column to show it.

return auth?.data?.raw?.groups?.find((g: any) => g.startsWith("organization:"))?.split(":")[1]
}
organization: auth?.data?.raw?.groups?.find((g: any) => g.startsWith("organization:"))?.split(":")[1] ?? "",
// @ts-expect-error - auth?.data type needs to be properly defined
Copy link
Contributor

@TilmanHaupt TilmanHaupt Feb 17, 2026

Choose a reason for hiding this comment

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

why not check with zod

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Auth data is not typed at all atm. We can do it later at some point because it has to be properly typed either manually or using zod but a type that can be created/inferred once and used everywhere.

TilmanHaupt
TilmanHaupt previously approved these changes Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

greenhouse-pr-preview Builds a PR preview for greenhouse shell app and plugins.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task](greenhouse): implement the plugin instance details view

2 participants