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

chore: add a test for datefilter emit behavior #665

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

farosFreed
Copy link
Contributor

@farosFreed farosFreed commented Dec 9, 2024

Connected to APPS-3099

Stories: ~/stories/DateFilter.stories.js

Spec: ~/stories/DateFilter.spec.js

Notes:

This PR addresses some tech debt that I left behind while making changes to the DateFilter component for APPS-3073.

This PR edits the default datefilter story to display the currently selected date object.
It also adds a test to check that the date display is updated after a date is selected and done is clicked, but not before.

Here is the slack thread for full context

Checklist:

  • I checked that it is working locally in the dev server
  • I checked that it is working locally in the storybook
  • [ ] I checked that it is working locally in the
    library-website-nuxt dev server
  • [ ] I added a screenshot of it working
  • [ ] UX has reviewed and approved this
  • I assigned this PR to someone on the dev team to review
  • I used a conventional commit message
  • I assigned myself to this PR

@farosFreed farosFreed self-assigned this Dec 9, 2024
Copy link
Contributor

github-actions bot commented Dec 9, 2024

Percy Screenshots

In order to conserve our percy screenshot allowance, percy is not configured to run automatically. Please make sure the PR is ready and all other checks are passing, then start it manually:

  1. Visit https://github.com/UCLALibrary/ucla-library-website-components/actions/workflows/percy.yml 2. Click the 'Run workflow' button in the blue bar. 3. Select the correct branch for this PR and click 'Run workflow' again to confirm.

Copy link
Contributor

github-actions bot commented Dec 9, 2024

@github-actions github-actions bot temporarily deployed to storybook--pull_request-665 December 9, 2024 19:53 Inactive
@farosFreed farosFreed marked this pull request as ready for review December 9, 2024 21:55
@github-actions github-actions bot temporarily deployed to storybook--pull_request-665 December 10, 2024 23:57 Inactive
@farosFreed farosFreed merged commit 8b94fe8 into main Dec 13, 2024
9 checks passed
@farosFreed farosFreed deleted the APPS-3099_datefilter_emit_tests branch December 13, 2024 16:59
@pghorpade
Copy link
Contributor

🎉 This PR is included in version 3.43.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

3 participants