tables icon indicating copy to clipboard operation
tables copied to clipboard

Add action handler

Open 2Bornot2BequalsFF opened this issue 5 months ago • 2 comments

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

Depending on a conditions, the app "tables" triggers an action handler. Actions could be:

  • Sending a mail
  • initiating an api call

Describe alternatives you've considered

No response

Additional context

No response

2Bornot2BequalsFF avatar Jan 30 '24 13:01 2Bornot2BequalsFF

Related to https://github.com/nextcloud/tables/issues/56

enjeck avatar Feb 16 '24 07:02 enjeck

I'ld appreciate some action possibilities within the tables app.

my usecase is that i maintain some data in tables, but i want to trigger an external program, that reads my "tables" table in the DB and on significant changes it updates a config file before triggering remote actions foe this config file to become active on other servers.

i would like to see the possibilitiy of placing some links to websites that in turn trigger actions, favorable buttons that call a configurable api and show color depending on the result. nothing directly connected to tables contents but only to a per table configuration for the buttons.

if such color changing buttons were available one could do a sanity check of table contents and if good, push the next button that triggers i.e. the rollout.

i currently do that with another webpage, simply opening it in a browser, but having configurable buttons for each table in "tables" would be really great.

i think this could also help those who want to trigger actions only on new entries, the entries could have a "new" flag per default set to true and the program behind the api call would only look for those and after whatever action the new=true would be set to false. all logic would be done in external programs with access to the database, all needed in the tables app would be configurable buttons with colors/texts per result code (i.e. "done" in green for 200 or "timeout" in purple), no changes to the db when pressing the button would be needed. i'ld very much like to see such without full automation but only actions on request, as i sometimes want to predefine entries and do the update later on.

on the other hand a simple api call for "every" change in a table could do a lot too, but i personally would want to see the actions result in some way.

right now my externally triggered program sends me an email with the changes done to remote configurations which isn't perfect

tobinq avatar Apr 30 '24 08:04 tobinq