GithubHelp home page GithubHelp logo

Comments (7)

znicholasbrown avatar znicholasbrown commented on August 16, 2024 1

Hi @gabrielcalderon - sorry for the slow reply. This is something we may end up doing but it's not on the immediate roadmap since there's a workaround described above; these dependencies are few enough and change infrequently enough that the setup shouldn't be particularly arduous for someone deploying in an airgapped environment.

from ui.

znicholasbrown avatar znicholasbrown commented on August 16, 2024 1

Hi @gabrielcalderon - we selectively use Font Awesome 5 icons, which we cherry pick from all but the Duotone libraries.

There are a few icon packages that would cover it (fortawesome core comes to mind) but installation of that as a node module would most likely require changes to main.js to register the package and pull in the new assets; I'm not sure exactly what will be needed there, perhaps just a .css and .js import but maybe more.

from ui.

gaby avatar gaby commented on August 16, 2024 1

Correct, the changes will go in main.js before the imports for Vue. That's where I have the changes for the fonts and material icons. I will try the FontAwesome core packages. Thanks!

from ui.

gaby avatar gaby commented on August 16, 2024

I'm having the same issue. Currently there's no way to run PrefectHQ/ui in an airgapped system.

The ui resource is requesting Javascript libraries and Fonts from the internet which are not available on private/corporate networks.

from ui.

gaby avatar gaby commented on August 16, 2024

@znicholasbrown Any thoughts on this use case?

from ui.

gaby avatar gaby commented on August 16, 2024

@znicholasbrown I have been working on a PR for getting the Fonts and Icons installed through NPM. The only thing left is the FontAwesome icons. It seems the UI is using the following:

https://kit.fontawesome.com/f222ce9ce9.js

Is there a way to get the list of Icon packs Prefecthq/ui is using? I can't get them from that URL. I'm going to try with the full-package and see if that covers all the icons left.

from ui.

bralbral avatar bralbral commented on August 16, 2024

Good day! Any news on this? Should I wait for a fix?

from ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.