Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a settings link to the footer with i18n options & pwa instructions #10254

Open
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

abidlabs
Copy link
Member

@abidlabs abidlabs commented Dec 25, 2024

Adds a new Settings link in the footer:

image

Clicking on the Settings link opens up a page that allows toggling the theme, localization, and pwa installation instructions:

image

While I was at it, I also went through and filled in many of the missing entries in our i18n translation files (thanks Claude!) in 35f8706.

Closes: #655, Closes: #785

@gradio-pr-bot
Copy link
Collaborator

gradio-pr-bot commented Dec 25, 2024

🪼 branch checks and previews

Name Status URL
Spaces ready! Spaces preview
Website ready! Website preview
Storybook ready! Storybook preview
🦄 Changes detected! Details

Install Gradio from this PR

pip install https://gradio-pypi-previews.s3.amazonaws.com/576cbb8e2b61c40676af620f1f2f0b0fc7df8b37/gradio-5.9.1-py3-none-any.whl

Install Gradio Python Client from this PR

pip install "gradio-client @ git+https://github.com/gradio-app/gradio@576cbb8e2b61c40676af620f1f2f0b0fc7df8b37#subdirectory=client/python"

Install Gradio JS Client from this PR

npm install https://gradio-npm-previews.s3.amazonaws.com/576cbb8e2b61c40676af620f1f2f0b0fc7df8b37/gradio-client-1.8.0.tgz

Use Lite from this PR

<script type="module" src="https://gradio-lite-previews.s3.amazonaws.com/576cbb8e2b61c40676af620f1f2f0b0fc7df8b37/dist/lite.js""></script>

@gradio-pr-bot
Copy link
Collaborator

gradio-pr-bot commented Dec 25, 2024

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
@gradio/client minor
@gradio/core minor
gradio minor
  • Maintainers can select this checkbox to manually select packages to update.

With the following changelog entry.

Add a settings link to the footer with i18n options & pwa instructions

Maintainers or the PR author can modify the PR title to modify this entry.

Something isn't right?

  • Maintainers can change the version label to modify the version bump.
  • If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can update the changelog file directly.

@abidlabs abidlabs changed the title Add a settings link to the footer Add a settings link to the footer with i18n options & pwa instructions Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants