Several integrations in Dagster show a small icon ...
# ask-ai
g
Several integrations in Dagster show a small icon in Dagit, for example the sling and dbt integration. Can I add icons to custom code, too?
s
Yes, you can add custom icons to represent different compute kinds in Dagit for your assets or operations. This is done by associating a
compute_kind
with a specific icon. The documentation mentions that users have expressed interest in extending the list of icons associated with
compute_kind
tags for their specific use cases. However, as of the latest information available, there isn't a built-in feature that allows you to upload custom icons directly through Dagit or Dagster configuration. There has been discussion about adding this kind of customization to Dagster Cloud and possibly re-imagining these compute tags as part of a larger effort. A short-term workaround suggested in the discussions is to use emojis as custom compute kinds, which can be displayed in Dagit. This approach doesn't involve uploading custom icons but rather uses available emoji characters to visually distinguish compute kinds. If you're looking for a way to add custom icons beyond using emojis, this might require a feature that is not yet available in Dagster. The maintainers have acknowledged the interest in this feature and have discussed it as part of their roadmap, but it would likely be part of a larger update to Dagster Cloud or Dagit customization options. For the most current status on this feature and any potential updates, you should check the latest Dagster documentation or the GitHub issues and discussions for any recent developments.