Skip to content
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

Update all icons to more recent versions #29

Closed
7 of 10 tasks
Potherca opened this issue May 2, 2021 · 13 comments · Fixed by #31 · May be fixed by #16, #17 or #26
Closed
7 of 10 tasks

Update all icons to more recent versions #29

Potherca opened this issue May 2, 2021 · 13 comments · Fixed by #31 · May be fixed by #16, #17 or #26
Assignees
Milestone

Comments

@Potherca
Copy link
Member

Potherca commented May 2, 2021

This issue is a catch-all for updating ALL the icons in this repo, rather than the individual MR/issues that are open(ed) now.

Individual issues will all be closed in favor of this issue, which takes the highest priority.

(It is assumed that all requests for missing icons will be resolved by using newer sources. If this turns out to be incorrect, those issues should be opened individually.)

Overview of requested (missing) icons:

  • Azure App Configuration

  • Azure Purview

  • generic "Internet" cloud that looks "azure-ish"

  • Azure Firewall

    - Source: Firewalls
      Target: AzureFirewall
    - Source: Azure Firewall Manager
      Target: AzureFirewallManager
    
  • Azure Blockchain Service

    - Name: Blockchain
    Services:
    - Source: Azure Blockchain Service
      Target: AzurBlockchainService
    - Source: Azure Token Service
      Target: AzurBlockchainTokenService
    - Source: ABS Member
      Target: AzurBlockchainMember
    - Source: Consortium
      Target: AzureBlockchainConsortium
    - Source: Outbound Connection
      Target: AzureBlockchainConnection
    
  • Azure Subnet

    - Source: VNet Subnets
      Target: AzureSubnet
    
  • Active Directory

    - Source: Azure Active Directory
      Target: AzureActiveDirectory
    - Source: Azure AD Domain Services
      Target: AzureActiveDirectoryDomainServices
    - Source: Azure AD B2C
      Target: AzureActiveDirectoryB2C
    - Source: Active Directory Connect Health
      Target: AzureActiveDirectoryConnectHealth
    - Source: Azure AD Identity Protection
      Target: AzureActiveDirectoryIdentityProtection
    - Source: Azure AD Roles and Administrators
      Target: AzureActiveDirectoryRolesAndAdministrators
    - Source: Groups
      Target: AzureActiveDirectoryGroup
    - Source: Users
      Target: AzureActiveDirectoryUser
    - Source: Identity Governance
      Target: AzureIdentityGovernance
    - Source: Managed Identities
      Target: AzureManagedIdentity
    - Source: Enterprise Applications
      Target: AzureEnterpriseApplication
    - Source: App Registrations
      Target: AzureAppRegistration
    
  • Azure Synapse

    - Source: Azure Synapse Analytics
      Target: AzureSynapseAnalytics  
    
  • Device Provisioning Service

    - Source: Device Provisioning Services
      Target: AzureDeviceProvisioningService  
    
  • PowerBI

    - Source: Power BI Embedded
      Target: AzurePowerBIEmbedded  
    
@phatcher
Copy link
Contributor

I've done a first-cut implementation of the icon update here - https://github.com/phatcher/Azure-PlantUML/tree/feature/iconupdate

I've changed the processing to use the latest icon set and rename the files as per the existing convention, trying to incorporate the new stuff without too many breaking changes.

Have a look and let me know what you think

@phatcher
Copy link
Contributor

@Potherca I've pushed a later change which avoids renaming the source files and includes 200+ new icons

Couple of issues...

  1. Some of the icons are malformed e.g. AzureCORS, even though the original svg looks ok - attempted to fix this with conditional FitToCanvas but it's still not working.
  2. I seem to have broken the PPTX generation, but can't figure out why.
  3. Should we remove obsolete services/icons or leave them in the distribution?

@Potherca
Copy link
Member Author

Hi! I've had a first look, nothing obviously wrong stands out.

I hope to have more time after the weekend to look into things in more detail and properly address your question.

@phatcher
Copy link
Contributor

phatcher commented Jul 1, 2021

@Potherca Can you free up sometime to progress this

@Potherca
Copy link
Member Author

Potherca commented Jul 2, 2021

I got roped into a government project related to COVID, so I've been running low on spare time. Starting this weekend, I should be able to allocate more time to FOSS projects. This project (and the rest of PlantUML StdLib) is high on my list.

I'll keep you posted!

@Potherca
Copy link
Member Author

Potherca commented Jul 5, 2021

@phatcher I've had some time to look through your feature/iconupdate branch. Could you open an merge-request? That would make it easier to talk about (and resolve) the specific issues you mentioned.

@phatcher
Copy link
Contributor

phatcher commented Jul 5, 2021

@Potherca Done

@Potherca Potherca linked a pull request Jul 5, 2021 that will close this issue
@Potherca
Copy link
Member Author

Potherca commented Jul 28, 2021

I've been incrementally reviewing the MR.

Thing that stands out thus far:

  • I think we'd want to replaced space characters in file names with a dash -
  • The .vscode/.aunch.json contains hard-coded C:/Users/paulh/.dotnet/ ... it should be possible to replace that with a variable, but I'd have to look up what/how
  • Same for paths in scripts/main.csx, should be variables if at all possible...

I need to take another final look at scripts/main.csx, but thus far everything is okay.

I'm thinking of splitting the MR into code changes and SVG/PNG/UML files. My browser doesn't like me looking at the MR much right now...

@phatcher
Copy link
Contributor

  • I'll update the file paths with -
  • I'll do some research on the hard coding
  • Not sure if it's possible to split the MR easily since the code + images are tightly coupled due to the change in structure in the official image zip

@Potherca
Copy link
Member Author

Not sure if it's possible to split the MR easily since the code + images are tightly coupled due to the change in structure in the official image zip

Fair point. A similar result might also be achieved by splitting the commits between code and non-code changes. Anything splits the binaries and code would help.

@phatcher
Copy link
Contributor

@Potherca I've pushed some more changes to the branch

  • Replaced the with a -
  • Replaced the hardcoded path in .vscode\launch.json with ${env:USERPROFILE}
  • Found a few more official icons, so added them in.

One idea would be that I take a branch from master and just apply the code changes to it, it won't run since all the images will be wrong etc but might simplify your review?

@phatcher
Copy link
Contributor

@Potherca I've pushed some more branches, let me know if you want a different pull request...

  • feature/iconupdate-code : Has all of the code changes
  • feature/iconupdate-img: Has the new manual images, plus the code
  • feature/iconupdate: Has everything including the changed dist folder

@Potherca
Copy link
Member Author

I've just reviewed the code. The separate branch helped a lot, thank your for that!

It all looks good to me. I'm currently not on a system that run .NET so I can't run the code right now. Once I've run the code to be 100% sure, this can be merged.

I would like to thank you again for your awesome work on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment