HomePhabricator

Quick fix for annimation. It could be improved (when you clear more than one…

This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Quick fix for annimation. It could be improved (when you clear more than one dag run at once, the animation of the older dag run aborts...).
For future improvments: The :key attribute of the button contains null ('loader') at the beginning, but @click he contains a index. So in this way the usecase of 'loader' is to transport the information which loader
object in loaders (loaders[i]; i = :key; :key = loader => loader default is null) should be set on 'true'. But :key is very important, because this is responsible the element rerender if you click.
So the rule is: Every time the value inside of :key is changed, the element rerender.
So to improve this it would be also good if not only 'loaders' would be a list of booleans, but also 'loader' wouldn't be a single object but rather be a list of indexes. This would fix the problem with
parallel animation.

Details

Provenance
m139lAuthored on Dec 23 2020, 1:32 PM
m139lPushed on Dec 23 2020, 1:59 PM
Tasks
Restricted Maniphest Task

Commit No Longer Exists

This commit no longer exists in the repository.