datashare icon indicating copy to clipboard operation
datashare copied to clipboard

As a `DEVELOPER` I should be able to create extension tasks

Open ClemDoum opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe. Currently as a developper it's not possible to create tasks from a Datashare extension:

  • the TaskManager interface is not accessible from the extension since it's in datashare.app.tasks
  • the TaskView class is not accessible either
  • it's not possible to get the app TaskManager through the mode.get(TaskManager.class) since the CommonMode and its Guice adapter are not accessible to the extension

Describe the solution you'd like Developer of extensions should be able to create/schedule/access/delete tasks one ways or another.

Potential solutions would involve:

  • making the main TaskManager accessible to extensions (moving the interface to the API ? + dependency injection ?)
  • letting the frontend directly create/schedule/access/delete arbitrary tasks through TaskResource. While being simpler this options offers less control

ClemDoum avatar Sep 19 '23 08:09 ClemDoum

This issue is stale because it has been open for 40 days with no activity.

github-actions[bot] avatar Nov 13 '23 00:11 github-actions[bot]

This issue is stale because it has been open for 40 days with no activity.

github-actions[bot] avatar Dec 24 '23 00:12 github-actions[bot]

This issue was closed because it has been inactive for 20 days since being marked as stale.

github-actions[bot] avatar Jan 13 '24 00:01 github-actions[bot]

Pending https://github.com/ICIJ/datashare/issues/1080

pirhoo avatar Feb 13 '24 10:02 pirhoo

This issue is stale because it has been open for 40 days with no activity.

github-actions[bot] avatar Mar 25 '24 00:03 github-actions[bot]

Replaced by #1384

ClemDoum avatar Apr 17 '24 17:04 ClemDoum