brave / store-brave-com

https://store.brave.com
Mozilla Public License 2.0
10 stars 2 forks source link

Update Nala, and other design changes #259

Closed AlanBreck closed 2 months ago

AlanBreck commented 2 months ago
github-actions[bot] commented 2 months ago

[puLL-Merge] - brave/store-brave-com@259

Description

This PR implements a significant update to the Brave Merch Store codebase. It includes updates to dependencies, UI improvements, code formatting changes, and the implementation of new features such as view transitions. The changes span across multiple files and components, affecting both the frontend and backend of the application.

Possible Issues

  1. The removal of font files from the static directory might cause issues if these fonts are still referenced elsewhere in the code.
  2. The changes to the GraphQL schema and types might require updates to any code that relies on the old schema structure.
  3. The implementation of view transitions might not be supported in all browsers, potentially causing inconsistent user experiences.

Security Hotspots

No significant security issues were identified in this PR. However, developers should ensure that the updated dependencies don't introduce any new vulnerabilities.

Changes ### Changes 1. Dependencies: - Updated various dependencies in `package.json` and `api/package.json`. - Removed Poppins font files from `static/fonts/Poppins/`. - Added new font imports in `src/routes/+layout.svelte`. 2. UI and Styling: - Updated various components to use new design tokens and classes. - Implemented view transitions in `src/routes/+layout.svelte`. - Updated icon usage to use the new Leo component library. 3. GraphQL and API: - Updated GraphQL schema and types in `src/lib/graphql/` directory. - Modified API routes and queries to match updated schema. 4. Code Structure and Formatting: - Applied consistent formatting across multiple files. - Updated import statements to use new paths for Leo components. 5. Feature Implementations: - Added category navigation in product listing pages. - Implemented view transitions for smoother page navigation. 6. Configuration: - Updated Tailwind configuration to use new Leo tokens. - Modified SvelteKit configuration for CSP directives and prerendering. 7. Backend: - Updated Keystone configuration and admin UI components. - Modified server-side load functions and API handlers. Overall, this PR represents a significant update to the Brave Merch Store, focusing on improving the UI, updating dependencies, and implementing new features for a better user experience.
AlanBreck commented 2 months ago

Tagging @thypon for a review due to dependency updates.