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-2904 #857

Merged
merged 4 commits into from
Sep 27, 2024
Merged

feat: APPS-2904 #857

merged 4 commits into from
Sep 27, 2024

Conversation

pghorpade
Copy link
Contributor

@pghorpade pghorpade commented Sep 27, 2024

Connected to APPS-2904

The draft previews broke in Nuxt3, first because the layout was broken and then the layout data was missing.

This PR will fix the broken layout , the layout data is still missing in the header , but footer is showing up.
The ticket to work to fix the layoutdata for header is this

To fix this, the component library is updated to address the issues mentioned above in this PR UCLALibrary/ucla-library-website-components#623

Remove the use of winwidth check on the Nuxt client side, instead, we have added useWindowSize composable in the component library from vueuse package.

Future work, create a composable or a component to extract some of the duplicate code in app.vue and default.vue

What is broken right now on test and production:
https://uclalibrary-test.library.ucla.edu/about/programs/testing-program-perviews?preview=true&x-craft-preview=V73wpUkkA2&token=4HH8CzUt8cU-l3rbjVbreA9A4IoHqBgv
image

Fixed:
https://deploy-preview-857--uclalibrary-test.netlify.app/about/programs/testing-program-perviews?preview=true&x-craft-preview=V73wpUkkA2&token=4HH8CzUt8cU-l3rbjVbreA9A4IoHqBgv
image

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/library-website-nuxt/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

🚀 Preview deployment available at: Netlify Preview

@pghorpade pghorpade merged commit 1491fa6 into main Sep 27, 2024
9 checks passed
@pghorpade pghorpade deleted the APPS-2904 branch September 27, 2024 21:07
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.

1 participant