[FR] Database Buttons
Description
I think it would be convenient to be able to setup a button in a Database, that acts as a Cell wherein the action can perform a mutation on the row itself, depending on it's current data.
Take for example a Database that has a Single Select field that is used as "Status". It would be nice to have a way to easily move it through the flow, so depending on the status, the button would do certain things:
Status == "Waiting approval" => "Approve" => "Approved"
Status == "Approved" => ["Unapprove" => "Waiting approval" | "To do" => "To do" ]
Notice how the second option has multiple actions, I think we can be flexible and support up to 2 actions in a ButtonCellFieldType, and should be able to setup conditions and what it should change on pressed.
Impact
Simplify task/project management in Databases by being able to setup a certain flow and be able to easily move items in the flow to the next/previous state.
Additional Context
No response