Skip to content

feat: improve task creation to support multiple URLs.#569

Merged
arabcoders merged 2 commits intomasterfrom
dev
Feb 17, 2026
Merged

feat: improve task creation to support multiple URLs.#569
arabcoders merged 2 commits intomasterfrom
dev

Conversation

@arabcoders
Copy link
Owner

  • Added support in the API (POST /api/tasks) for submitting an array of task objects, with logic to backfill missing fields from the first task, infer names from URL metadata, and offset CRON timers by 5-minute increments for each subsequent task to avoid simultaneous execution.
  • Enhanced the TaskForm.vue component to support multi-line URL input (shift+enter or paste), dynamically switch between input and textarea, and display a summary/info message when multiple URLs are detected.
  • Implemented logic to split the input into multiple tasks, emit all tasks on submit, and show the URL count and multi-URL instructions in the UI.
  • Refactored tasks_add route to accept a list of tasks, inherit settings, apply timer offsets, infer names, and return all created tasks in the response.
  • Expanded API documentation to clearly explain new multi-task creation, field inheritance, name/timer logic, and response format.

@arabcoders arabcoders merged commit d9c9a85 into master Feb 17, 2026
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant