https://dagster.io/ logo
#dagster-feedback
Title
# dagster-feedback
s

Sanidhya Singh

05/30/2022, 5:07 AM
Dagit’s left nav now groups jobs by repository in 0.14.17. will be great if we can give some custom names to the repo tabs from
workspace.yaml
🤖 1
r

rex

05/30/2022, 7:32 PM
You can give a custom name to the repository tab by giving a custom name to your repository: https://docs.dagster.io/_apidocs/repositories#dagster.repository
s

Sanidhya Singh

05/31/2022, 4:27 AM
@rex I’m looking to have a nice display name on the Dagit UI for the repo
r

rex

05/31/2022, 4:40 AM
right, i believe if you update the name of the repository in code, it should be reflected in the Dagit UI
s

Sanidhya Singh

05/31/2022, 4:41 AM
yes, I was looking for a way to be able to add a display name (or something similar) in
workspace.yaml
instead of renamed the repository
r

rex

05/31/2022, 4:42 AM
so something like
Copy code
@repository(name="my-name")
def redpill_repository():
    ...
Would result a name
my-name
instead of
redpill_repository
s

Sanidhya Singh

05/31/2022, 4:44 AM
that’s what I tried but no luck. I suspect it could be using
attribute
from
workspace.yaml
instead
r

rex

05/31/2022, 4:45 AM
the name should be on the decorator, not on the function
s

Sanidhya Singh

05/31/2022, 4:45 AM
whoops, it’s working now! need to get some in me!
😂 1
r

rex

05/31/2022, 4:47 AM
sweet, glad its working for you