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: add ThumbnailSize to exported constants #100

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

spaenleh
Copy link
Member

@spaenleh spaenleh commented Mar 8, 2023

This PR exports the ThumbnailSize constant enum to be used in @graasp/ui, @graasp/query-client, @graasp/builder and @graasp/player.

closes #99

@spaenleh spaenleh linked an issue Mar 8, 2023 that may be closed by this pull request
@spaenleh spaenleh added the chore Generic task or chore label Mar 8, 2023
@spaenleh spaenleh self-assigned this Mar 8, 2023
@spaenleh spaenleh requested review from codeofmochi and pyphilia March 8, 2023 12:45
Copy link
Contributor

@codeofmochi codeofmochi left a comment

Choose a reason for hiding this comment

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

What is the reason for not putting this in @graasp/ui?

@spaenleh
Copy link
Member Author

spaenleh commented Mar 8, 2023

@dialexo It is also used in query-client. I would find it weird to import a constant from ui inside query-client. Do you think we should do it differently ?

@spaenleh spaenleh merged commit ae23fb3 into main Mar 8, 2023
@spaenleh spaenleh deleted the 99-upstream-thumbnailsize branch March 8, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Generic task or chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upstream ThumbnailSize
2 participants