Skip to content

UI - Fix Task Instance note refresh when clearing a TI with a note #53085

@pierrejeambrun

Description

@pierrejeambrun

Body

Video example here: #53069 (comment)

Currently when we clear a TI and add the node, we invalidate the query cache correctly.

On the other hand in the TaskInstance/Header.tsx component we use a note state to handle the input.

This state is not refreshed when the TI is refreshed from new cache value and keeps reference to the old value.

Expected behavior:
We should still be able to edit the node with the EditableMarkdownArea, but if the input is not dirty (no typing made) then if the TI change it should be reflected in the displayed value.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Metadata

Metadata

Assignees

Labels

area:UIRelated to UI/UX. For Frontend Developers.good first issuekind:bugThis is a clearly a bugkind:metaHigh-level information important to the community

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions