patternfly / patternfly/react-component-groups

Provide a ContextMenu component

Offen
#103 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

enhancement
Vorherrschende Sprache
TypeScript
Sterne
10
Forks
40
Ø Merge
3 T. 22 Std.
Gemergte PRs (30 T.)
4

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem Vergleich von Cockpit's pkg/lib/cockpit-components-context-menu.jsx mit der contextmenu-Komponente unter react-topology's packages/module/src/components/contextmenu. Ermittle, ob die react-topology-Komponente die genannten Cockpit- und anderen PatternFly-Anwendungsfälle unterstützt, und definiere anschließend den Umfang und den Integrationspunkt der wiederverwendbaren Komponente. Erledigt ist die Aufgabe, wenn eine gemeinsame ContextMenu-Komponente für den Plugin-Anwendungsfall verfügbar ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
frontend
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.