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

Make hint for logo size translatable and adjust to 300 px #11982

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

drummer83
Copy link
Contributor

What? Why?

The hint for logo size was hard coded and recommended a size of 100 px x 100 px.
However, during registration process of an enterprise we are recommending 300 px x 300 px.

Instead of only adjusting the number I thought it would be better to make this editable in Transifex anyways.

During registration:
image

Before the PR:
image

After the PR:
image

What should we test?

  • Visit page /admin/enterprises/<enterprise_name>/edit#/images_panel.
  • Check that the hint is displayed correctly.

Release notes

Changelog Category (reviewers may add a label for the release notes):

  • User facing changes
  • API changes (V0, V1, DFC or Webhook)
  • Technical changes only
  • Feature toggled

The title of the pull request will be included in the release notes.

Dependencies

Documentation updates

@drummer83 drummer83 marked this pull request as ready for review December 26, 2023 16:49
@filipefurtad0 filipefurtad0 self-assigned this Jan 11, 2024
@filipefurtad0 filipefurtad0 added pr-staged-au staging.openfoodnetwork.org.au pr-staged-uk staging.openfoodnetwork.org.uk and removed pr-staged-au staging.openfoodnetwork.org.au labels Jan 11, 2024
@filipefurtad0
Copy link
Contributor

Hey @drummer83 ,

Thanks for the fix, it's looking good:

Before this PR:

image

After this PR:

image

Merging ;-)

@filipefurtad0 filipefurtad0 merged commit 2493ee5 into openfoodfoundation:master Jan 11, 2024
54 checks passed
@filipefurtad0 filipefurtad0 removed the pr-staged-uk staging.openfoodnetwork.org.uk label Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants