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

feat: APPS-3089 Update StaffSubjectLibrarian components for FTVA #674

Merged
merged 10 commits into from
Jan 23, 2025

Conversation

farosFreed
Copy link
Contributor

@farosFreed farosFreed commented Jan 10, 2025

Connected to APPS-3089

Component(s) Updated: BlockStaffSubjectLibrarian.vue, SectionStaffSubjectLibrarian.vue,

Stories: ~/stories/BlockStaffSubjectLibrarian.stories.js, ~/stories/SectionStaffSubjectLibrarian.stories.js, ~/stories/SectionWrapper.stories.js,

Notes:

This makes some changes to the BlockStaffSubjectLibrarian component to allow us to use it for Filmography data for the FTVA website.

  • Add 'numExtraCells' prop & dynamic slots to BlockStaffSubjectLibrarian.vue, enabling it to wrap any content in table cells using slots.
  • Upgraded SectionStaffSubjectLibrarian.vue to allow another item type, FilmographyListItemType
  • Implemented display of new Filmography type data using new slots
  • Implemented new storybook stories for BlockStaffSubjectLibrarian.vue, SectionStaffSubjectLibrarian.vue, and SectionWrapper.vue to show implementation of ftva filmography section at every level of the process
  • Add theme & FTVA styles to both components
  • Add notes about APPS-3132, additional refactor work that will be done as part of tech debt

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 added the feature feature label Jan 10, 2025
@farosFreed farosFreed self-assigned this Jan 10, 2025
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.

@farosFreed farosFreed changed the title chore: start documenting ftva data structure in stories feat: APPS-3089 Update StaffSubjectLibrarian components for FTVA Jan 10, 2025
Copy link
Contributor

github-actions bot commented Jan 10, 2025

@github-actions github-actions bot temporarily deployed to storybook--pull_request-674 January 10, 2025 23:45 Inactive
@github-actions github-actions bot temporarily deployed to storybook--pull_request-674 January 15, 2025 17:41 Inactive
@github-actions github-actions bot temporarily deployed to storybook--pull_request-674 January 15, 2025 17:54 Inactive
@github-actions github-actions bot temporarily deployed to storybook--pull_request-674 January 15, 2025 18:00 Inactive
@github-actions github-actions bot temporarily deployed to storybook--pull_request-674 January 15, 2025 20:58 Inactive
@github-actions github-actions bot temporarily deployed to storybook--pull_request-674 January 16, 2025 23:49 Inactive
@github-actions github-actions bot temporarily deployed to storybook--pull_request-674 January 16, 2025 23:52 Inactive
@github-actions github-actions bot temporarily deployed to storybook--pull_request-674 January 22, 2025 00:17 Inactive
@farosFreed
Copy link
Contributor Author

Screenshot 2025-01-22 at 10 59 41 AM

@github-actions github-actions bot temporarily deployed to storybook--pull_request-674 January 22, 2025 18:08 Inactive
@farosFreed farosFreed marked this pull request as ready for review January 22, 2025 18:20
tinuola
tinuola previously approved these changes Jan 22, 2025
Copy link
Contributor

@tinuola tinuola left a comment

Choose a reason for hiding this comment

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

@farosFreed Looks good! And a great start to refactoring into a generic and dynamic table component! 👍🏾

@farosFreed
Copy link
Contributor Author

Tinu caught that I had missed the class names for the elements surrounding the slots

That has been added, thanks for the eagle eyes @tinuola!

Screenshot 2025-01-22 at 4 59 29 PM

@farosFreed farosFreed merged commit a953ae2 into main Jan 23, 2025
9 checks passed
@farosFreed farosFreed deleted the APPS-3089_update-staff-subject-librarian branch January 23, 2025 15:11
pghorpade pushed a commit that referenced this pull request Jan 23, 2025
# [3.44.0](v3.43.7...v3.44.0) (2025-01-23)

### Features

* APPS-3089 Update StaffSubjectLibrarian components for FTVA ([#674](#674)) ([a953ae2](a953ae2))
@pghorpade
Copy link
Contributor

🎉 This PR is included in version 3.44.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
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants