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

Refactor the initials package in order to be able to accept new implementations #3819

Merged
merged 5 commits into from
Mar 7, 2023
Merged

Refactor the initials package in order to be able to accept new implementations #3819

merged 5 commits into from
Mar 7, 2023

Conversation

Peltoche
Copy link
Contributor

@Peltoche Peltoche commented Mar 6, 2023

This PR is a preliminary work for solving #3679 .

This is a required work to propose several implementation for the
avatar generation
This package is responsible to handling avatars, the initials are only
one possible way to implement avatars and for what I have understood a
gravatar implementation could be implemented in the future.
Copy link
Member

@nono nono left a comment

Choose a reason for hiding this comment

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

LGTM, waiting for the comment to merge

pkg/config/config/config.go Outdated Show resolved Hide resolved
Copy link
Member

@nono nono left a comment

Choose a reason for hiding this comment

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

Is it expected to have a testdata directory with jd.png and jd2.png?

@Peltoche
Copy link
Contributor Author

Peltoche commented Mar 7, 2023

Erf, good catch. That was a test because I didn't understand why the files didn't match. I remove jd2.png now

@nono nono merged commit 27d3383 into cozy:master Mar 7, 2023
@Peltoche Peltoche deleted the initials branch March 7, 2023 10:19
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.

2 participants