Skip to content

Feature/implement delete or update #1034

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

Merged
merged 10 commits into from
Mar 16, 2023
Merged

Conversation

planarvoid
Copy link
Contributor

@planarvoid planarvoid commented Feb 28, 2023

Fix

In this PR I'm adding a method that allows users to either remove or update a placeholder based on conditions. This is useful in cases like removing an image from a gallery. If the image is the last item in the gallery, we want to remove it instead of just updating the parameters. If it's not the last item, we'd probably want to remove the image params from the gallery.

Test

  1. This can be tested with the related Day One PR

Review

@[USER_NAME]

Make sure strings will be translated:

  • If there are new strings that have to be translated, I have added them to the client's strings.xml as a part of the integration PR.

Base automatically changed from feature/implement-merging-of-placeholders to trunk March 3, 2023 13:53
@planarvoid planarvoid requested a review from danilo04 March 3, 2023 15:13
@AmandaRiu AmandaRiu self-assigned this Mar 14, 2023
Copy link
Contributor

@AmandaRiu AmandaRiu left a comment

Choose a reason for hiding this comment

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

Tested using the day one app in this PR and all works well! Checked the code here as well and it looks like the existing logic was moved to a method and tests were added and all look good 👍🏻 :shipit:

@planarvoid planarvoid merged commit 7a5afb8 into trunk Mar 16, 2023
@planarvoid planarvoid deleted the feature/implement-delete-or-update branch March 16, 2023 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants