patternfly / patternfly/react-component-groups

Provide a ContextMenu component

Open
#103 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
10
Forks
40
Avg merge
3d 22h
Merged PRs (30d)
4

Description

In Cockpit we currently have our own ContextMenu component , currently not really re-usable. Now that we are working on a plugin that also needs a ContextMenu, I've been thinking about making it re-usable.

In today's PF community meeting I noticed that the react-topology package also includes a contextmenu component.

Maybe it would be beneficial if that was moved here? I haven't looked into the re-usability of the react-topology's contextmenu for our use case but I can imagine there might be more projects using PF which could use it.


Jira Issue: PF-2017

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing Cockpit's pkg/lib/cockpit-components-context-menu.jsx with the contextmenu component under react-topology's packages/module/src/components/contextmenu. Determine whether the react-topology component supports the stated Cockpit and other PatternFly use cases, then define the reusable component's scope and integration point. Done means a shared ContextMenu component is available for the plugin use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.