Chainlit / chainlit

Build Conversational AI in minutes ⚡️
https://docs.chainlit.io
Apache License 2.0
6.25k stars 799 forks source link

Is there a way to change the display name of Readme in chainlit app? #765

Open PrashantSaikia opened 4 months ago

PrashantSaikia commented 4 months ago

I would like to have it replaced with something like "User Guide" or "Instructions".

Screenshot 2024-02-25 at 11 21 29 AM

How do I do that? There's nothing in the UI documentation about this.

puppetm4st3r commented 4 months ago

in the new version you could do that with the JS injection feature, its overkilling but is better than nothing if there is not support for change in the settings.

pranjal-ngi commented 4 months ago

The js injection is not working. I added a custom.js file in the public folder and added custom_js = "/public/custom.js" in config.toml. It does not show up in sources of inspect element. Or console log messages show up.

dahifi commented 4 months ago

app/.chainlit/translations/en-US.json L130

            "header": {
                "chat": "Chat",
                "readme": "AWESOME"
            }
dahifi commented 4 months ago

Above PR to add this to the customization overview and update Translation page.