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

ref(quick-start): Add task completion animation #82523

Merged
merged 11 commits into from
Jan 7, 2025

Conversation

priscilawebdev
Copy link
Member

@priscilawebdev priscilawebdev commented Dec 23, 2024

closes https://github.com/getsentry/projects/issues/337

Preview

Screen.Recording.2024-12-23.at.15.54.57.mov

Note
Maybe we want to add a delay when skipping the last task in the group? 🤔

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 23, 2024
@priscilawebdev priscilawebdev marked this pull request as ready for review December 23, 2024 14:41
@priscilawebdev
Copy link
Member Author

@ale-cota @evanpurkhiser what do you think of the animation?

@priscilawebdev priscilawebdev requested a review from a team December 23, 2024 14:42
Copy link

codecov bot commented Dec 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #82523       +/-   ##
===========================================
- Coverage   87.56%   80.50%    -7.06%     
===========================================
  Files        9410     7304     -2106     
  Lines      536906   320229   -216677     
  Branches    21118    20882      -236     
===========================================
- Hits       470131   257806   -212325     
+ Misses      66409    62017     -4392     
- Partials      366      406       +40     

@evanpurkhiser
Copy link
Member

Feels a bit slow

/**
* How long (in ms) to delay before beginning to mark tasks complete
*/
const INITIAL_MARK_COMPLETE_TIMEOUT = 600;
Copy link
Member

Choose a reason for hiding this comment

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

nit: Should we maybe make this smaller, it seems pretty slow in the video you have shared, i am not sure if users will wait and keep attention that long at the tasks list?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes the same feedback I got from Evan... I will set 450 and see if it improves

Copy link
Member

Choose a reason for hiding this comment

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

I think the speed of the animation itself also feels slow. Like the actual motion. I would expect them to switch around a bit snappier. We had animation on these before right?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes we did have but I find the animation not very smooth/natural. do you prefer that?

Screen.Recording.2024-12-23.at.16.34.03.mov

Copy link
Member

Choose a reason for hiding this comment

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

I actually think this feels better. Snappier animation generally makes the app feel a little bit "faster" if that makes sense

.map(task => task.task);

for (const task of unseenTasks) {
updateOnboardingTask(api, organization, {task, completionSeen: true});
Copy link
Member

@vgrozdanic vgrozdanic Dec 23, 2024

Choose a reason for hiding this comment

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

is there no way to have only 1 api call?

Copy link
Member Author

Choose a reason for hiding this comment

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

no we have to update the backend

@priscilawebdev
Copy link
Member Author

@evanpurkhiser I applied your feedback and updated the animation to be snappier for now. We're discussing this internally, so I might need to make further changes in another PR. Let's see 🙂

…etsentry/sentry into priscila/ref/quick-start/add-animation
Copy link

codecov bot commented Jan 3, 2025

Bundle Report

Changes will increase total bundle size by 524 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
app-webpack-bundle-array-push 32.2MB 524 bytes (0.0%) ⬆️

…etsentry/sentry into priscila/ref/quick-start/add-animation
@priscilawebdev priscilawebdev enabled auto-merge (squash) January 7, 2025 07:11
@priscilawebdev priscilawebdev merged commit dfa10eb into master Jan 7, 2025
43 checks passed
@priscilawebdev priscilawebdev deleted the priscila/ref/quick-start/add-animation branch January 7, 2025 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants