You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add ability to pin Airflow Variable(s)/Connection(s) in the UI #21720
I'd like to see functionality in the UI to allow pinning some Airflow Variables/Connections at the top of the list.
Use case/motivation
In our deployment we have a couple of Airflow Variables, and Connections that are central to our operations. We typically have to use filter search in order to reach these Connection/Variable, since we maintain a long list.
It would be nice to have the ability to pin these few important artifacts to the top of the Variable/Connection list in the UI, such that they are readily accessible.
(Just an idea)
Maybe a user can mark his dags/variables/connections as favorites and we can show a separated view of the favorite ones? Then this is also a setting per user rather than some other global setting. In bigger organizations what you call few important artifacts may be a bit tricky as what is important to team A or individual A1 isn't the case for B/B1.
IMO having a Recent of DAGs/Connections/Variables etc is another good way to solve this. In general, I find it common that we don't un-favorite things & they just keep on adding up, like the number of bookmarks in our browsers.
Yeah. I actually hate when the "most recent" list keeps on changing. It does not help you to build "muscle memory" and "knowing where to search for". Adding "favourite" or "star" is a better idea IMHO.
And it does not have to be in the database - it could be easily kept in cookie of the user. This will automatically give you "per-person" setup that you would not have to really manage. I see that as a "personalization" layer. Later we could sync the settings for user via the DB, but I think a cookie stored list of favourites should be "good enough" - especially that it would be easy to redo if you change browser/PC.
Activity
pateash commentedon Feb 23, 2022
This looks interesting, let me look into this.
bbovenzi commentedon Feb 28, 2022
assigning you, @pateash
eladkal commentedon Feb 28, 2022
(Just an idea)
Maybe a user can mark his dags/variables/connections as favorites and we can show a separated view of the favorite ones? Then this is also a setting per user rather than some other global setting. In bigger organizations what you call few important artifacts may be a bit tricky as what is important to team A or individual A1 isn't the case for B/B1.
msumit commentedon Apr 27, 2022
IMO having a Recent of DAGs/Connections/Variables etc is another good way to solve this. In general, I find it common that we don't un-favorite things & they just keep on adding up, like the number of bookmarks in our browsers.
bbovenzi commentedon Apr 27, 2022
Maybe just added a updatedAt column and default the sort to the most recently changed?
eladkal commentedon Apr 28, 2022
Most recently changed doesn't necessarily mean most important one but sorting capabilities in general is a good thing to have.
potiuk commentedon Apr 28, 2022
Yeah. I actually hate when the "most recent" list keeps on changing. It does not help you to build "muscle memory" and "knowing where to search for". Adding "favourite" or "star" is a better idea IMHO.
And it does not have to be in the database - it could be easily kept in cookie of the user. This will automatically give you "per-person" setup that you would not have to really manage. I see that as a "personalization" layer. Later we could sync the settings for user via the DB, but I think a cookie stored list of favourites should be "good enough" - especially that it would be easy to redo if you change browser/PC.