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

fix: APPS-3073 Datefilter bugs & enhancements #660

Merged
merged 7 commits into from
Dec 6, 2024

Conversation

farosFreed
Copy link
Contributor

@farosFreed farosFreed commented Nov 27, 2024

Connected to APPS-3073

Component Created: DateFilter.vue

Stories: ~/stories/DateFilter.stories.js

Spec: ~/stories/DateFilter.spec.js

Notes:

In progress, just starting

Work Breaks down into 2 categories:

[X] Make sure emits only happen on done & clear click, and make sure they include date formatted as needed

I had wanted to cover this with some tests, but I went down a whole rabbit hole trying to get cypress to let me detect emits from a component, which I never fully solved. Here is the slack conversation. I would like to go back and solve this soon as part of a Learning Monday, since I have already spent so much time on this task.

[X] Make sure component does not throw errors / fail when moving between mobile & desktop

We accomplish this by clearing the date selection on screen resize

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 Nov 27, 2024
@farosFreed farosFreed added the fix label Nov 27, 2024
Copy link
Contributor

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 Nov 27, 2024

@github-actions github-actions bot temporarily deployed to storybook--pull_request-660 November 27, 2024 21:30 Inactive
@github-actions github-actions bot temporarily deployed to storybook--pull_request-660 December 5, 2024 17:04 Inactive
@github-actions github-actions bot temporarily deployed to storybook--pull_request-660 December 5, 2024 17:07 Inactive
@github-actions github-actions bot temporarily deployed to storybook--pull_request-660 December 5, 2024 17:10 Inactive
@github-actions github-actions bot temporarily deployed to storybook--pull_request-660 December 5, 2024 17:30 Inactive
@github-actions github-actions bot temporarily deployed to storybook--pull_request-660 December 5, 2024 18:51 Inactive
@farosFreed farosFreed marked this pull request as ready for review December 5, 2024 18:59
Copy link
Contributor

@pghorpade pghorpade left a comment

Choose a reason for hiding this comment

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

👍

@pghorpade pghorpade merged commit 64b7825 into main Dec 6, 2024
9 checks passed
@pghorpade pghorpade deleted the APPS-3073_datefilter_bug_fixes branch December 6, 2024 18:12
pghorpade pushed a commit that referenced this pull request Dec 6, 2024
## [3.39.1](v3.39.0...v3.39.1) (2024-12-06)

### Bug Fixes

* APPS-3073 Datefilter bugs & enhancements ([#660](#660)) ([64b7825](64b7825))
@pghorpade
Copy link
Contributor

🎉 This PR is included in version 3.39.1 🎉

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.

2 participants