pierrejeambrun commented on code in PR #50732:
URL: https://github.com/apache/airflow/pull/50732#discussion_r2107456565


##########
airflow-core/src/airflow/ui/src/pages/DagsList/DagsFilters.tsx:
##########
@@ -62,11 +65,22 @@ export const DagsFilters = () => {
   const isRunning = state === "running";
   const isFailed = state === "failed";
   const isSuccess = state === "success";
+  const limit = 50;
 
+  const [pattern, setPattern] = useState<string>("");
+  const [offset, setOffset] = useState<number>(0);
+  const [tagsList, setTagsList] = useState<Array<string>>([]);
   const { data } = useDagServiceGetDagTags({

Review Comment:
   I don't think so. We cannot edit the generated code. You can just add your 
own hook in `queries` to do infinite scrolling on the tags, and leave the 
classic generated paginated `getTag` for non infinite use cases.



-- 
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]

Reply via email to