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

Added ability to use custom favicon #202

Merged
merged 23 commits into from
Jul 10, 2022
Merged

Added ability to use custom favicon #202

merged 23 commits into from
Jul 10, 2022

Conversation

slaveeks
Copy link
Member

resolves #201

Copy link
Member

@neSpecc neSpecc left a comment

Choose a reason for hiding this comment

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

Add a readme please, how to use it

@slaveeks slaveeks requested a review from neSpecc June 16, 2022 15:20
@talyguryn
Copy link
Member

i don't like this idea about uploading favicon to somewhere and use its url to download it back to the server. this way it would be better to use only it's url in rc file with site's name and menu params.

i think that this problem with site's config should solved with some settings page and on-boarding guide. it would be better product experience and it should be done before the release. but anyway it depends only on product owner.

src/backend/utils/uploadFavicon.ts Outdated Show resolved Hide resolved
src/backend/views/layout.twig Outdated Show resolved Hide resolved
src/backend/routes/favicon.ts Outdated Show resolved Hide resolved
src/backend/routes/favicon.ts Outdated Show resolved Hide resolved
@slaveeks slaveeks requested a review from nikmel2803 July 6, 2022 09:11
src/backend/routes/middlewares/locals.ts Outdated Show resolved Hide resolved
src/backend/utils/uploadFavicon.ts Outdated Show resolved Hide resolved
src/backend/app.ts Outdated Show resolved Hide resolved
src/backend/routes/pages.ts Outdated Show resolved Hide resolved
src/backend/app.ts Outdated Show resolved Hide resolved
src/backend/utils/downloadFavicon.ts Outdated Show resolved Hide resolved
src/backend/utils/downloadFavicon.ts Outdated Show resolved Hide resolved
@slaveeks slaveeks requested a review from neSpecc July 7, 2022 08:32
}
});

return { destination: `/favicon/favicon.${format}`,
Copy link
Member

Choose a reason for hiding this comment

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

strange linebreaks, use our eslint config please

Copy link
Member Author

@slaveeks slaveeks Jul 7, 2022

Choose a reason for hiding this comment

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

I use eslint command using config from our project, but it shows only this

eslint -c ./.eslintrc src/backend/utils/downloadFavicon.ts

image

@slaveeks slaveeks requested a review from neSpecc July 7, 2022 10:14
@slaveeks slaveeks requested a review from nikmel2803 July 7, 2022 12:59
@slaveeks slaveeks merged commit 5c4183b into main Jul 10, 2022
@robonetphy robonetphy deleted the feature/favicon_changing branch October 13, 2022 03:04
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.

Add option for passing custom favicon
4 participants