App icon indicating copy to clipboard operation
App copied to clipboard

[$250] Implement animation to the switch expandable sections

Open mountiny opened this issue 1 year ago • 8 comments

This is a request from @dubielzyk-expensify to add animation to the expanding section in Workflows (and other similar places in the app) where after toggling the switch, we open the section like this https://github.com/user-attachments/assets/43e48c18-6b18-4ec6-bc7f-3238f125d616

cc @sumo-slonik @blazejkustra would like to implement this - can you please comment

@dubielzyk-expensify do you have some specifics about the easing/ animation at this moment?

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021866452926963427651
  • Upwork Job ID: 1866452926963427651
  • Last Price Increase: 2024-12-10
Issue OwnerCurrent Issue Owner: @sumo-slonik

mountiny avatar Dec 09 '24 15:12 mountiny

Current assignee @dubielzyk-expensify is eligible for the Design assigner, not assigning anyone new.

melvin-bot[bot] avatar Dec 09 '24 15:12 melvin-bot[bot]

Triggered auto assignment to @stephanieelliott (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

melvin-bot[bot] avatar Dec 09 '24 15:12 melvin-bot[bot]

@dubielzyk-expensify do you have some specifics about the easing/ animation at this moment?

Let's start with an ease-out and see how that feels. Excited about this :)

dubielzyk-expensify avatar Dec 10 '24 03:12 dubielzyk-expensify

Hi, I am very eager to get started on this :) I have an idea how to do it using reanimated and I'm already on it

sumo-slonik avatar Dec 10 '24 09:12 sumo-slonik

Assign me here for review please.

shubham1206agra avatar Dec 10 '24 11:12 shubham1206agra

Job added to Upwork: https://www.upwork.com/jobs/~021866452926963427651

melvin-bot[bot] avatar Dec 10 '24 12:12 melvin-bot[bot]

Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia (External)

melvin-bot[bot] avatar Dec 10 '24 12:12 melvin-bot[bot]

I think we can just use the autoassigner, its a new task and no rush

mountiny avatar Dec 10 '24 12:12 mountiny

Is already working, I am checking where in other places of the application could be used such acordition element with switch

https://github.com/user-attachments/assets/e140f142-05cb-4ca0-8739-50b71bd966c0

https://github.com/user-attachments/assets/b335ce22-d00b-46f6-bb2d-0d96379039af

sumo-slonik avatar Dec 10 '24 15:12 sumo-slonik

@sumo-slonik we also use it in accounting settings

mountiny avatar Dec 10 '24 15:12 mountiny

you have to connected to QBO for example

mountiny avatar Dec 10 '24 15:12 mountiny

It is already working everywhere the last place with a problem is the accounting tab, there I have a problem when importing because the component changes before the widget collapses and this causes the illusion of not smooth animation, I have to change the logic of state management in this place, but we are getting closer :D

https://github.com/user-attachments/assets/7002a31e-5547-4376-8b52-696c1aad4ff7

sumo-slonik avatar Dec 11 '24 14:12 sumo-slonik

while working on animations in imoprt I found such a bug on main branch, I wanted to fix it within this task but it is more work than what is related to animations so I think it deserves a separate issiue:

https://github.com/user-attachments/assets/7a78fbec-ca59-4ffa-9b7f-747fdc88d029

sumo-slonik avatar Dec 12 '24 13:12 sumo-slonik

All switch animations completed:

https://github.com/user-attachments/assets/01a96de6-9e03-4e23-994f-c6cbcd195e0e

sumo-slonik avatar Dec 12 '24 13:12 sumo-slonik

@mountiny What do we want to do about this bug? https://github.com/Expensify/App/issues/53759#issuecomment-2538865532

sumo-slonik avatar Dec 12 '24 14:12 sumo-slonik

@sumo-slonik I dont think we ahve to worry about this, its a replay effect issue no need to spend time on it

mountiny avatar Dec 12 '24 15:12 mountiny

@dubielzyk-expensify how does the animation look to you?

mountiny avatar Dec 12 '24 15:12 mountiny

Also draft PR already has recordings from all platforms: https://github.com/Expensify/App/pull/53938

sumo-slonik avatar Dec 12 '24 15:12 sumo-slonik

PR is ready: https://github.com/Expensify/App/pull/53938

sumo-slonik avatar Dec 16 '24 08:12 sumo-slonik

@thesahindia I think you can have a look at the code and start reviewing 😄 Let us know if you have any questions

blazejkustra avatar Dec 16 '24 15:12 blazejkustra

PR is still under review!

stephanieelliott avatar Jan 06 '25 23:01 stephanieelliott

This issue has not been updated in over 15 days. @stephanieelliott, @mountiny, @sumo-slonik, @thesahindia, @dubielzyk-expensify eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

melvin-bot[bot] avatar Jan 08 '25 09:01 melvin-bot[bot]

PR is still being actively reviewed

stephanieelliott avatar Jan 15 '25 23:01 stephanieelliott

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

melvin-bot[bot] avatar Jan 17 '25 21:01 melvin-bot[bot]

Commented on the PR 👍

dubielzyk-expensify avatar Jan 21 '25 04:01 dubielzyk-expensify

Reviewing label has been removed, please complete the "BugZero Checklist".

melvin-bot[bot] avatar Jan 21 '25 08:01 melvin-bot[bot]

The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.87-3 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

  • https://github.com/Expensify/App/pull/53938

If no regressions arise, payment will be issued on 2025-01-28. :confetti_ball:

For reference, here are some details about the assignees on this issue:

  • @sumo-slonik does not require payment (Contractor)
  • @thesahindia requires payment through NewDot Manual Requests

melvin-bot[bot] avatar Jan 21 '25 08:01 melvin-bot[bot]

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [ ] [@thesahindia] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
  • [ ] [@stephanieelliott] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

melvin-bot[bot] avatar Jan 21 '25 08:01 melvin-bot[bot]

Payment Summary

Upwork Job

  • Contributor: @sumo-slonik is from an agency-contributor and not due payment
  • Reviewer: @thesahindia owed $250 via NewDot

BugZero Checklist (@stephanieelliott)

  • [ ] I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • [ ] I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1866452926963427651/hired)
  • [ ] I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • [ ] I have verified the payment summary above is correct

melvin-bot[bot] avatar Jan 28 '25 09:01 melvin-bot[bot]

We are continuing to wait here for the tick under the new PR after the reverting of the previous one, so we should not mark it as ready yet.

sumo-slonik avatar Jan 28 '25 09:01 sumo-slonik