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

A component to view configurations in a compact key-value style #606

Closed
mperrotti opened this issue Sep 20, 2023 · 1 comment
Closed

A component to view configurations in a compact key-value style #606

mperrotti opened this issue Sep 20, 2023 · 1 comment

Comments

@mperrotti
Copy link
Contributor

Add a component to Primer that can show a lot of configuration data in a compact (but still easy to parse) format. There should be buttons to add or edit data. To maintain simplicity, this should not allow inline editing.

This component should handle:

  • A single configuration object
  • A group of configurations
  • Controls to edit each item in a configuration object

Design WIP

🎨 Figma

Wireframe of a group of configurations

Wireframe showing details of an individual configuration

Demo

2 configurations

A collection of configurations with different amounts of defined data

Hierarchically grouped configurations

Component API

  • ConfigurationMapGroup
    • ConfigurationMapGroup.Title
    • ConfigurationMapGroup.Description
  • ConfigurationMap
    • ConfigurationMap.Title
    • ConfigurationMap.Description
    • ConfigurationMap.Action
    • ConfigurationMap.Section
    • ConfigurationMap.Item
    • ConfigurationMap.Label
    • ConfigurationMap.Value
    • ConfigurationMap.ItemAction
@mperrotti
Copy link
Contributor Author

Filed in wrong repo

@mperrotti mperrotti closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant