-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Show info text at empty connections page. #52032
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
b0f5879 to
66ad6c6
Compare
airflow-core/src/airflow/ui/src/pages/Connections/NothingFoundInfo.tsx
Outdated
Show resolved
Hide resolved
66ad6c6 to
0b630bf
Compare
|
updated @jscheffl |
0b630bf to
8690776
Compare
8690776 to
1bf1da2
Compare
jscheffl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the extension (and small rework because of my translation nit)
|
@jscheffl was fun. 🤝 |
Keep it coming :-D (I mean you said you'd do the same for Variables...) |
|
@jscheffl should I continue here? |
I'd propose a separate PR. Oh, some static checks fail here. Probably you can install pre-commit locally then you see it directly before CI throws an error... |
Yep. |
1bf1da2 to
9f83895
Compare
Understood (though i am a big fan!). Just FYI |
|
@potiuk I'm not big fan of breeze (yet) also since it is container based and much slower to "native" experience. I actually use |
|
Indeed And actually breeze does not use containers to run static-checks. Mostly what it does is to map the "nicer" options we have (like And pre-commit itself automatically selects which pre-commit to run based on your changes, so usually there is even no need to specify which pre-commit to run. BTW. I tried to contribute some of those changes (auto-complete and nice shortcuts for |
|
@potiuk noted, thanks, I'll give it another try. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the pull request, nice job.
Just for future work @potiuk @jscheffl I don't think we should accept PRs that update all translation at the same time. Most likely because this can (and will) introduce translation approximations unless translation owners for each language approves the PR (which will delay it quite a lot). (for instance in French you need a space before ! and ?, that's not ultra important, but that could have been a plain wrong translation, same for other languages).
|
@pierrejeambrun I did my best to scan locales around for proper punctuation style (and I have detected, some of them are not using at all and skipped them on purpose), but I have missed that in French (sorry, I'll fix in PR), since I have seen |
|
No worries @simi, that is not your fault, people contributing PR can't be proficient in so many languages and this is why I am suggesting slightly different approach so you don't have to actually make the translation for all of them (using AI tools or translation tools without the ability to actually review the outcome) when you try to contribute a new feature to the UI. (There is already a fallback to english to give translation owners time to contribute the additional missing keys.) |
But this one did not add any translations - it only moved the translations when the key was moved. We still have to translate the added strings :) |
|
I think moving keys is "OK" to do in translations at the same time |
|
Ah! This one is tricky, my bad you are right, I reviewed it too fast and assumed it was new added keys, while in fact it's updating a key (the punctuation) which ended up not accurate in french. |
|
I update my recommendation:
|
💯 |
I actually had very same impression when I saw it and I wanted to make exactly the same comment. But then I looked closer :D |
...and to contribute to the discussion I requested @simi to move the keys for all languages :-D with the request not to change the text. So 100% with you. |


@potiuk follow up to #52014 (creating related link)
happy to repeat the same for variables (and DRY it a little)
PS: Hyperlinks are not super easy to detect with current Chakra UI theme, but it is out of scope of this PR. They looks similar to text and just get underline on hover.