Skip to content

fix(proto-plugin): align Kittens UI with current OpenProject#26

Open
iam-deepaknagaraj wants to merge 1 commit intoopf:devfrom
iam-deepaknagaraj:fix/proto-plugin-toolbar-and-sidebar
Open

fix(proto-plugin): align Kittens UI with current OpenProject#26
iam-deepaknagaraj wants to merge 1 commit intoopf:devfrom
iam-deepaknagaraj:fix/proto-plugin-toolbar-and-sidebar

Conversation

@iam-deepaknagaraj
Copy link
Copy Markdown

This pull request updates the UI for the kittens index page and cleans up a plugin hook template. The main focus is on improving the kittens page header and action button using the new Primer components, and removing unused or placeholder content.

UI improvements on kittens index page:

  • Replaced the legacy toolbar with the new Primer::OpenProject::PageHeader and SubHeader components in app/views/kittens/index.html.erb. This modernizes the page header, adds breadcrumbs, and updates the "New Kitten" button to use the new design system.
  • Improved breadcrumb logic to show the project name when viewing kittens within a project.

Code cleanup:

  • Removed placeholder sidebar content from app/views/hooks/proto_plugin/_view_layouts_base_sidebar.html.erb and replaced it with a comment explaining the hook.

- Replace removed `toolbar` helper with Primer PageHeader and SubHeader
- Remove misleading sidebar hook demo text
- Pass project_id on New Kitten link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant