https://flyte.org logo
#flytekit
Title
# flytekit
d

Dave Liu

01/03/2023, 11:16 PM
Hi Flyte team, I want to confirm that “Show only Archived Workflows” shows archived-only, but unchecking the box doesn’t show Archived workflows during search? Am I doing something wrong, or is the wording of the checkbox misleading?
s

Samhita Alla

01/04/2023, 7:39 AM
Do you mean to say the search has to return archived workflows in addition to the unarchived workflows?
y

Yee

01/04/2023, 5:40 PM
i think the wording is misleading… @Jason Porter can you verify the filter that gets applied to the admin request?
j

Jason Porter

01/06/2023, 6:03 PM
Yeah @Dave Liu - I suppose this is poor wording but the intended behavior is that users can see/search only either archived or unarchived (ie, it is not "include" archived but rather a toggle between show only archived or show only unarchived). That said we're definitely open to suggestions on how we could word this better - or even if you have ideas of a different experience in general?
d

Dave Liu

01/06/2023, 6:07 PM
So I had a workflow that I was looking for, and couldn’t find it until I realized I had to select for only-archived, which then prevented me from comparing against the currently-existing workflow names (names contain detailed info)
I guess if default could be to search across everything, with two options: Archived and un-archived, that would be helpful. I’m not sure if that would cause scaling issues with the search functionality though.
j

Jason Porter

01/06/2023, 9:56 PM
I see what you're saying; what if we made the toggle to be inclusive rather than reductive - meaning clicking 'show archived' would toggle include archived within the search rather than having the toggle filter out all non-archived? Would that work?
d

Dave Liu

01/06/2023, 9:57 PM
Definitely, and if that’s easier I’d say that’d be helpful
So then the toggle could be “hide/show Archived” instead of “only / not only”
j

Jason Porter

01/06/2023, 10:33 PM
Okay let us look into this (to make sure there isn't some sort of performance/UX constraint, etc) but i'll cut an issue regardless to track it and keep you updated 👍 https://github.com/flyteorg/flyteconsole/issues/661
75 Views