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

feat: use favicon_url instead of logo_url for favicon #800

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

alex-lambdaloopers
Copy link
Contributor

@alex-lambdaloopers alex-lambdaloopers commented Aug 13, 2024

Hello everyone,

I recently started using sqladmin and I need to add a favicon.

I saw this merged PR #787 and I noticed that the same variable is used for both the logo and the favicon.

I updated the Admin definition so it accepts a favicon_url, and updated the base template.

Note: I followed the contribution guide, but have been unable to run the hatch commands locally. I am getting this error:

$ hatch run lint
/bin/sh: line 1: lint: command not found

I tried using other commands and subcommands (hatch run lint.check) but I get the same result.

Edit: I see the commands were successful on github actions

Copy link

@CodeBooster97 CodeBooster97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this makes sense.

@maxim-f1
Copy link

Hello everyone,

I recently started using sqladmin and I need to add a favicon.

I saw this merged PR #787 and I noticed that the same variable is used for both the logo and the favicon.

I updated the Admin definition so it accepts a favicon_url, and updated the base template.

Note: I followed the contribution guide, but have been unable to run the hatch commands locally. I am getting this error:

$ hatch run lint
/bin/sh: line 1: lint: command not found

I tried using other commands and subcommands (hatch run lint.check) but I get the same result.

Edit: I see the commands were successful on github actions

I'm facing the same problem. This command helped me

hatch run lint:check

@alex-lambdaloopers
Copy link
Contributor Author

@maxim-f1 thanks, that was it

Copy link
Owner

@aminalaee aminalaee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, looks good 👍

@aminalaee aminalaee merged commit a5f6d13 into aminalaee:main Aug 20, 2024
5 checks passed
@alex-lambdaloopers alex-lambdaloopers deleted the add-favicon branch September 3, 2024 10:19
@aminalaee aminalaee mentioned this pull request Sep 6, 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
Development

Successfully merging this pull request may close these issues.

4 participants