Skip to content

[Backport version-16-hotfix] feat: clear dependency results, task links and date-only schedules - #42

Merged
aakvatech merged 1 commit into
version-16-hotfixfrom
backport-41-to-version-16-hotfix
Oct 10, 2026
Merged

aakvatech merged 1 commit into
version-16-hotfixfrom
backport-41-to-version-16-hotfix

Conversation

@github-actions

Copy link
Copy Markdown

Backport of #41 to version-16-hotfix.


Link and Unlink now show a persistent result panel plus native Desk alerts. Report links created, links already existing and left unchanged, dependencies removed, attempts with no existing dependencies, and failed operations. APIs return per-relationship outcome details. Replaces invisible toast calls that had no mounted toast renderer.

Task names and dependency references open native Task forms in new tabs using Frappe's route helper. Both Predecessors and Successors appear beside Task Name, showing relationship type and lag/lead. Start and Finish show date only using Desk's date format; stored timestamps are retained.

A visible scheduling notice explains that saving dependencies runs ERPNext validation/scheduling hooks and can change dates/times, that existing links remain unchanged, and that unlinking does not restore prior dates. After saving, compare loaded task schedules before and after refresh and report actual changes, zero changes, or a failed refresh. This does not add a new scheduling engine; dependency type and lag/lead behavior still depends on installed hooks.

Validation: 6 UI interaction tests and 17 backend tests pass; Python compilation, production frontend build, and diff checks pass. Tests cover successful/no-op/error feedback, schedule change detection, clickable task routes, dependency columns, and date-only values. API transport is mocked in UI tests; the live site has not been tested.

Deployment: rebuild frontend assets and reload Desk. Backport to version-16-hotfix.

@aakvatech
aakvatech merged commit 0583a8c into version-16-hotfix Oct 10, 2026
@aakvatech
aakvatech deleted the backport-41-to-version-16-hotfix branch October 10, 2026 03:59
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