Open braughtg opened 2 months ago
It seems that a separate issue should be opened to address what was discussed yesterday concerning an inflexibility of the CustomTableComponent: buttons. Every time a new button needs to be added to a table, the component shouldn't have to grow every time.
A potential discussed solution to the button problem: We remove all the buttons currently in the CustomTableComponent (save/cancel/edit/delete) and just add a general button prop that can be added to the end of the component. This increases the flexibility of the component because it reduces the burden of adding buttons to the component and puts that responsibility back on the page which should handle those button presses. We would have to think about how one prop will account for many buttons, but I'm sure that wouldn't be too difficult.
NOTE: Addressed in Issue #530.
Comment by FutzMonitor Tuesday Jul 12, 2022 at 14:49 GMT
Issue #530 addresses potential updates to the CustomTableComponent that may affect a solution to this issue.
Comment by braughtg Tuesday Jul 12, 2022 at 21:31 GMT
I believe it would be worthwhile to consult with Matt which elements of the logs should be editable from the report table. Here are a couple of bugs concerning edits and the report table that I have witnessed.
Comment by FutzMonitor Wednesday Jul 20, 2022 at 23:03 GMT
Which columns in the seeding report should be editable and when?
Issue by braughtg Tuesday Jun 07, 2022 at 19:37 GMT Originally opened as https://github.com/DickinsonCollege/FarmData2/issues/466