Jorricks commented on code in PR #26457:
URL: https://github.com/apache/airflow/pull/26457#discussion_r981324388
##########
airflow/www/static/js/dag/details/taskInstance/index.tsx:
##########
@@ -90,6 +92,8 @@ const TaskInstance = ({
if (!group || !run || !instance) return null;
+ const updateTaskInstanceNotesCallable = (newNotes: string) => {
instance.notes = newNotes; };
Review Comment:
Yes so the idea in both cases is that we update the data we fetched from the
API.
The reason for that is that when we switch DagRuns/TaskInstance views and go
back, that it will still show you the most up to date task note. I figured we
could either reload the entire dataset, or we could simply update the data we
fetched, so I went for the second option.
How would you approach this issue?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]