question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Absolute URLs in Font Awesome CSS [BUG]

See original GitHub issue

Willingness to contribute

Yes. I would be willing to contribute a fix for this bug with guidance from the MLflow community.

MLflow version

1.28.0

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04.4 LTS
  • Python version: 3.8.0
  • yarn version, if running the dev UI: No, installed by pip.

Describe the problem

Should the Font Awesome CSS use relative URLs?

CSS from Python package /js/build/:

image

Tracking information

No response

Code to reproduce issue

MLflow behind proxy with base_url different from /.

Stack trace

image

Other info / logs

No response

What component(s) does this bug affect?

  • area/artifacts: Artifact stores and artifact logging
  • area/build: Build and test infrastructure for MLflow
  • area/docs: MLflow documentation pages
  • area/examples: Example code
  • area/model-registry: Model Registry service, APIs, and the fluent client calls for Model Registry
  • area/models: MLmodel format, model serialization/deserialization, flavors
  • area/pipelines: Pipelines, Pipeline APIs, Pipeline configs, Pipeline Templates
  • area/projects: MLproject format, project running backends
  • area/scoring: MLflow Model server, model deployment tools, Spark UDFs
  • area/server-infra: MLflow Tracking server backend
  • area/tracking: Tracking Service, tracking client APIs, autologging

What interface(s) does this bug affect?

  • area/uiux: Front-end, user experience, plotting, JavaScript, JavaScript dev server
  • area/docker: Docker use across MLflow’s components, such as MLflow Projects and MLflow Models
  • area/sqlalchemy: Use of SQLAlchemy in the Tracking Service or Model Registry
  • area/windows: Windows support

What language(s) does this bug affect?

  • language/r: R APIs and clients
  • language/java: Java APIs and clients
  • language/new: Proposals for new client languages

What integration(s) does this bug affect?

  • integrations/azure: Azure and Azure ML integrations
  • integrations/sagemaker: SageMaker integrations
  • integrations/databricks: Databricks integrations

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ruialcommented, Nov 16, 2022

Is there any update on this issue? We are currently monkey patching our MLflow Docker image to get the icons back.

0reactions
danilopeixotocommented, Sep 28, 2022

Hi @harupy,

I would proceed with Option 1:

  • This would help other issues like #597 and #111.
  • The other assets are already using relative URL. Font Awesome looks like an exception.

At same time, I don’t have mechanism to debug it in the Databricks platform.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Absolute path not working in some files - Stack Overflow
I'm building a website and I'm using Font Awesome. The home page of the site is located in the root (/); a page...
Read more >
Load fontawesome form absolute path in source - Themeco
As I see it the fa fonts will not be loaded through hide my wp because they are called from CSS with relative...
Read more >
[DEVELOPER-303] Absolute http link for FontAwesome in app.css ...
app.css contains absolute link for FontAwesome including http protocol. But this makes style unusable for https hosted sites (eg. sso server) as http ......
Read more >
url() - CSS: Cascading Style Sheets - MDN Web Docs
The url() CSS function is used to include a file. The parameter is an absolute URL, a relative URL, a blob URL, or...
Read more >
Eye Icon | Font Awesome
Eye icon in the Solid style. Make a bold statement in small sizes.. Available now in Font Awesome 6.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found