antares icon indicating copy to clipboard operation
antares copied to clipboard

Custom SVG icon for connections

Open adibpwd opened this issue 2 years ago • 3 comments

Feature Request: Enhanced Icon Selection

Problem: I often find it challenging when I need to choose an icon for my application from a limited set of pre-defined options. It can limit creativity and customization for users.

Solution: I'd like to propose an enhancement to the application's icon selection feature. Specifically, I suggest adding the ability for users to upload SVG (Scalable Vector Graphics) files directly from their file manager. This would provide users with greater flexibility and enable them to personalize their experience further.

How I Envision It:

Implement a dedicated "Upload SVG" button within the application's icon selection menu. Allow users to browse and select SVG files from their device's file manager. Once an SVG is selected, it should replace the default icon, giving users the freedom to choose their preferred visual representation. Alternative Considerations: I've thought about alternative approaches, such as allowing users to change icons by clicking on the existing one and selecting an SVG from the file manager. However, I believe that having a distinct "Upload SVG" button would be more intuitive and user-friendly.

Additional Context: I've attached some screenshots to illustrate the current limitations of the icon selection process and how this proposed feature could improve the user experience.

image maybe next to the postgree icon, you can add a custom input file, provided it has to be SVG

adibpwd avatar Sep 11 '23 02:09 adibpwd

@Fabio286 I can implement this, just let me know and I'll make a PR,

My preferred location to add custom icons would be the settings dialog.

64knl avatar Sep 12 '23 14:09 64knl

@Fabio286 I can implement this, just let me know and I'll make a PR,

My preferred location to add custom icons would be the settings dialog.

That's fine with me, maybe changing the name of the themes tab to appearance and putting custom icon management there. Also to be evaluated is where is the best place to save these icons.

I am currently just making changes to the icons in Antares, switching from icon fonts to SVGs. In doing this I am implementing a base component that is dedicated to rendering SVG paths.

Within a few days I should be able to commit these changes to the develop branch, so I would tell you to start implementing after these changes. I will let you know when it is ready.

Fabio286 avatar Sep 13 '23 07:09 Fabio286

@64knl I committed to develop.

Fabio286 avatar Sep 18 '23 08:09 Fabio286