cheminfo / nmrium

React component to display and process nuclear magnetic resonance (NMR) spectra.
https://docs.nmrium.org
MIT License
55 stars 26 forks source link

Redo the design of column configuration tables #3282

Open stropitek opened 3 weeks ago

stropitek commented 3 weeks ago

The objective is to do a new presentational component which improves the design and functionalities of the existing configuration table.

The project has several of those tables scattered in different parts of the interface, but the first goal is to improve on of them: the one in the general settings "Title block" (see screenshot below)

Image

This should be all done using a new presentational component that does not do any action on the application's state. For example, re-ordering the columns or editing a cell should call a callback which then dispatches the action outside of this component.

Don't hesitate to ask if there are questions regarding the API design of this component along the way.

https://github.com/user-attachments/assets/01b7fd3b-746a-4230-ad13-ee061191ca7d