-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Azure DevOps enhancements #2472
Conversation
What problem are you trying to solve? |
Although the Azure DevOps icon was listed, there was no case to match that this was being used as the remote server |
Is something not working for you? If so, please describe the issue in the following terms:
|
Working with the Azure Cloud, both with the CLI tools and DevOps have outdated/missing features. First of all, p10k detects if the user is typing an Azure CLI command. When it does, it shows the Azure subscription Name, followed by an Azure Icon. The icon included in the current version of p10k for Azure is depreciated on today's nerdfont standard. Currently (nf-mdi-azure) (outdated) Proposed changes (nf-cod-azure) The same can be said for the DevOps icons. There is a more adequate one that can be replaced. Still on Currently (nf-mdi-azure) (outdated) Proposed changes: In both cases the new icons are expected to show of, but instead, the Uyghur? Alphabet character shows off Finally, there is not a case to match that the git remote server that the user is working with is on Azure DevOps thru an HTTP method. This was only capable of matching SSH connections. The expression to match this case was modified like in the other Git Clouds. Currently (forces it to be an SSH connection, and there is not a case to match it). So when it is an Azure connetion, it shows the default
Proposed changes
|
What do the http remotes on Azure look like? Can you give an example? What is the problem with the icon? Does it not display for you? If not, please run |
Thanks for the details. Does the icon get fixed if you run |
No. If I use, MesloLGS NF I can see the old icon typing |
Could you post screenshots of the wizard screens related to icons along with your answers? |
Okay, I got you. I had a However, I still think it will be good to update those icons at least in nerdfont-v3, as well as applying the changes for the Azure DevOps git indicator, because after the new config, I still see the default git icon because is not detecting the https remote server. |
Replaced `AZURE_ICON` because of mdi, appended proper `VCS_GIT_AZURE_ICON` using DevOps icon
There was no case to match an Azure's DevOps git repository. A detection of an ssh or https remote server connection was included.
I'll update the pattern for the azure remote. It's not yet clear to me whether there is an issue with the icon. Do you have a font with which the icon does not render after you run |
Yes, but it was my bad because I had a p10k configuration answering with yes all question, but then I switched to a font that didn't meet that requirement (had a no in the upper arrow). So yeah, the only "issue" right now with the icons is that the Azure DevOps one is the same as the Azure Icon, and there is an specialized one for DevOps (code: ebe8 in nerdfonts), and there a new one for Azure icon (code: ebd8) because of the change of logo in Azure. In the fork I introduced the new logos for "nerdfont-v3", as well as the changes for the pattern for the azure remote |
I've updated the remote URL pattern for Azure devops and changed Azure and Azure DevOps icons when using NerdFonts v3. Thanks for bringing these issues to my attention. In the future please file an issue instead of sending a PR. It'll save us both time. |
Replaced
AZURE_ICON
because of mdi, appended properVCS_GIT_AZURE_ICON
using DevOps icon