appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Improvement]: Migrate JS Library Icons to Use Internal CDN Instead of Third-Party URLs

Open rishabhrathod01 opened this issue 2 years ago • 12 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Summary

Within the JS Library feature of our application, we currently rely on third-party URLs to source icons for various JavaScript libraries. This dependency on external resources can lead to issues such as broken icons and inconsistent user experiences if those URLs become unavailable.

Proposed Solution:

Migrate all JS Library icons to be hosted on our internal CDN to ensure their consistent availability and performance. Update the icon fields in the JS Library configurations to point to the new CDN-hosted versions.

Benefits:

Ensures that icons for JS libraries are always available and not dependent on external services. Potentially faster icon loading times by reducing reliance on third-party hosts. Enhanced security and greater control over the assets used in our application.

Why should this be worked on?

This should be worked on to ensure reliability, performance, and security. By moving JS Library icons to our internal CDN, we eliminate the risk of broken icons from third-party outages, reduce load times, and maintain better control over our resources. This leads to a more consistent and dependable user experience.

rishabhrathod01 avatar Aug 09 '24 02:08 rishabhrathod01

Starting my contribution to open source with this repository - attempt #35560

DivyDeshmukh avatar Sep 01 '24 08:09 DivyDeshmukh

@DivyDeshmukh thanks for you interest in contributing to appsmith! This particular issue may not be suitable, because we will need to get the relevant icons, etc. Can I encourage you to take a look at the issues with label Inviting contribution? Here's the filter: https://github.com/appsmithorg/appsmith/issues?q=is%3Aopen+is%3Aissue+label%3A%22Inviting+Contribution%22

rohan-arthur avatar Sep 02 '24 11:09 rohan-arthur

@DivyDeshmukh thanks for you interest in contributing to appsmith! This particular issue may not be suitable, because we will need to get the relevant icons, etc. Can I encourage you to take a look at the issues with label Inviting contribution? Here's the filter: https://github.com/appsmithorg/appsmith/issues?q=is%3Aopen+is%3Aissue+label%3A%22Inviting+Contribution%22

Ok thanks for informing me.

DivyDeshmukh avatar Sep 02 '24 12:09 DivyDeshmukh

hey, is the issue currently open? I can help in solving the issue.

DeadpoolX7 avatar Dec 26 '24 10:12 DeadpoolX7

Hi, can me and my team tackle this problem ?

JoseG2003-g avatar Feb 07 '25 16:02 JoseG2003-g

Sure, It would be great if we can collaborate on this and solve this issue.

On Fri, 7 Feb, 2025, 9:57 pm JoseG2003-g, @.***> wrote:

Hi, can me and my team tackle this problem ?

— Reply to this email directly, view it on GitHub https://github.com/appsmithorg/appsmith/issues/35560#issuecomment-2643403570, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6JWVQDNX4JAT4CWA26GZNL2OTNH3AVCNFSM6AAAAABMHT354CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNBTGQYDGNJXGA . You are receiving this because you were mentioned.Message ID: @.***>

DivyDeshmukh avatar Feb 07 '25 16:02 DivyDeshmukh

Hi there! 👋

I'd like to work on this issue to migrate JS Library icons from third-party URLs to Appsmith's internal CDN. I'm new to contributing to Appsmith, and this seems like a great first issue to tackle.

Before I begin, I'd appreciate some guidance on:

  1. The location of the current JS Library icon configurations in the codebase
  2. The process for uploading icons to Appsmith's CDN
  3. The preferred base URL pattern for the CDN assets
  4. Any specific naming conventions I should follow for the icons

Would it be possible to get this issue assigned to me? I'll make sure to follow the contribution guidelines and maintain clear communication throughout the process.

Thank you!

vishalpatel011 avatar Mar 22 '25 19:03 vishalpatel011

Hi again! 👋

I've submitted a pull request (#39866 ) that implements this feature. The solution includes:

  • Migrated all library icons to local assets in app/client/src/assets/icons/libraries/
  • Created a maintenance script (download-icons.js) to easily update/add new icons
  • Updated recommendedLibraries.ts to use local icon paths
  • Added documentation for the icon management process

Would appreciate your review when you have a chance. Thank you!

vishalpatel011 avatar Mar 22 '25 21:03 vishalpatel011

Hi @everyone,

want to know if this issue is still open. want to work upon it. pls respond.

Amanpatel2002-g avatar Jun 29 '25 13:06 Amanpatel2002-g

Hi, I’m new to contributing and would love to work on this issue. Could you please assign it to me?

sdarif981 avatar Aug 11 '25 04:08 sdarif981

Hi @rohan-arthur Is this issue still open, I would like to contribute to it

RicoNzioki avatar Apr 20 '26 09:04 RicoNzioki

Hi! I would like to work on this issue. Could you please assign it to me? Thanks!

Budatichethana avatar Jun 24 '26 13:06 Budatichethana