Skip to content

Conversation

tizmagik
Copy link

@tizmagik tizmagik commented Jul 16, 2025

  • Added essential project files including package.json, vite.config.ts, and Tailwind CSS configuration.
  • Implemented core components such as Header, CartDrawer, and ProductCard.
  • Established context for cart management and integrated Shopify API queries.
  • Created pages for Home, Categories, and About with routing support.
  • Included ESLint and PostCSS configurations for code quality and styling.
  • Set up a basic .gitignore file to exclude unnecessary files.

👀 Would love some feedback on the .bolt/prompt especially

Example deployment: https://gilded-boba-7d74ef.netlify.app/

tizmagik added 2 commits July 16, 2025 13:09
- Added essential project files including package.json, vite.config.ts, and Tailwind CSS configuration.
- Implemented core components such as Header, CartDrawer, and ProductCard.
- Established context for cart management and integrated Shopify API queries.
- Created pages for Home, Categories, and About with routing support.
- Included ESLint and PostCSS configurations for code quality and styling.
- Set up a basic .gitignore file to exclude unnecessary files.
@d3lm d3lm changed the title feat: initialize Shopify Vite React TypeScript starter template feat: add Shopify Vite React TypeScript starter template Jul 24, 2025
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's remove the comments from this file too.

Copy link
Contributor

Choose a reason for hiding this comment

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

This component is quite large already and it'd be nice for the starter if this was already a bit more modular so the edits are faster and cheaper.

Copy link
Contributor

Choose a reason for hiding this comment

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

Let's remove comments from this file.

Copy link
Contributor

@d3lm d3lm left a comment

Choose a reason for hiding this comment

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

Left some minor comments. What stands out is that there are quite a few larger files and it'd be nice if we can modularize this a bit more. We are working on improving edits in Bolt but it'd be best if the files were smaller I'd say.

@tizmagik
Copy link
Author

Left some minor comments. What stands out is that there are quite a few larger files and it'd be nice if we can modularize this a bit more. We are working on improving edits in Bolt but it'd be best if the files were smaller I'd say.

Thanks @d3lm -- I've made some updates. Let me know if you have more thoughts or suggestions for further improvements

- Refactored App component to utilize new ProductDetails, ProductImageGallery, and Header components for improved structure and readability.
- Introduced QuantitySelector for managing product quantities.
- Added loading, error, and empty state components for better user experience.
- Updated CartContext to support addProductToCart and buyNow functionalities.
- Improved .gitignore to exclude unnecessary editor files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants