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

components/commmon: Gallery component improvements #1708

Merged
merged 3 commits into from
Jan 20, 2024

Conversation

sashko9807
Copy link
Member

@sashko9807 sashko9807 commented Jan 19, 2024

  • Improved logic to render the Gallery Component more efficiently
  • Increased the size of the images, when Gallery full screen is toggled
  • Added a button to minimize full screen slider
Before After
before after

- Improved logic to render the Gallery Component more efficiently
- Expanded the size of the images, when FullScreen is toggled
- Added a button to minimize fullscreen slider
Copy link

github-actions bot commented Jan 19, 2024

✅ Tests will run for this PR. Once they succeed it can be merged.

@sashko9807 sashko9807 added the run tests Allows running the tests workflows for forked repos label Jan 19, 2024
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Jan 19, 2024
@slavcho
Copy link
Contributor

slavcho commented Jan 19, 2024

Great. Can you add a couple of screenshots?

In some situations, only a single image is uploaded, and in that case child.props.children is an object rather, than an array to map it over.
@sashko9807
Copy link
Member Author

Great. Can you add a couple of screenshots?

Done. Check PR message.

@sashko9807 sashko9807 added the run tests Allows running the tests workflows for forked repos label Jan 19, 2024
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Jan 19, 2024
Avoid minimizing gallery due to accidental touches
@sashko9807 sashko9807 added the run tests Allows running the tests workflows for forked repos label Jan 19, 2024
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Jan 19, 2024
@slavcho slavcho merged commit 04c5d2d into podkrepi-bg:master Jan 20, 2024
10 of 11 checks passed
slavcho pushed a commit to slavcho/frontend that referenced this pull request Jan 22, 2024
* components/commmon: Gallery component improvements
- Improved logic to render the Gallery Component more efficiently
- Expanded the size of the images, when FullScreen is toggled
- Added a button to minimize fullscreen slider

* common/Gallery: Fix component crash when child is a single image
In some situations, only a single image is uploaded, and in that case child.props.children is an object rather, than an array to map it over.

* common/ImageSlider: Hide backdrop on FullScreenImageSlider
Avoid minimizing gallery due to accidental touches
slavcho pushed a commit to slavcho/frontend that referenced this pull request Jan 22, 2024
* components/commmon: Gallery component improvements
- Improved logic to render the Gallery Component more efficiently
- Expanded the size of the images, when FullScreen is toggled
- Added a button to minimize fullscreen slider

* common/Gallery: Fix component crash when child is a single image
In some situations, only a single image is uploaded, and in that case child.props.children is an object rather, than an array to map it over.

* common/ImageSlider: Hide backdrop on FullScreenImageSlider
Avoid minimizing gallery due to accidental touches
slavcho added a commit that referenced this pull request Jan 24, 2024
* Remove unused translations, add EN translations for bank transactions (#1703)

* Remove unused import and translations

* Remove unused translations, added EN translations for bank transactions

* Remove unused translations from campaigns.json

* Remove unused translations from campaign.json

* Add missing EN trnlations in campaigns.json

* Add missing translations for common.json

* Fix lint error

---------

Co-authored-by: ani-kalpachka <[email protected]>

* Update email address on FAQ (#1705)

Co-authored-by: ani-kalpachka <[email protected]>

* Update translations (#1706)

* Update translations

* Update tranlations

* Update translations

---------

Co-authored-by: ani-kalpachka <[email protected]>

* Update translations (#1707)

* Add missing EN translations

* Update translations for support.json and reccurong-donation.json

* Update translations for validation.json and transfer.json

* Update translations

---------

Co-authored-by: ani-kalpachka <[email protected]>

* components/commmon: Gallery component improvements (#1708)

* components/commmon: Gallery component improvements
- Improved logic to render the Gallery Component more efficiently
- Expanded the size of the images, when FullScreen is toggled
- Added a button to minimize fullscreen slider

* common/Gallery: Fix component crash when child is a single image
In some situations, only a single image is uploaded, and in that case child.props.children is an object rather, than an array to map it over.

* common/ImageSlider: Hide backdrop on FullScreenImageSlider
Avoid minimizing gallery due to accidental touches

* The amount of the withdrawals can be a decimal number. It should not be limited to integers only.

---------

Co-authored-by: Ani <[email protected]>
Co-authored-by: ani-kalpachka <[email protected]>
Co-authored-by: Aleksandar Petkov <[email protected]>
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.

3 participants