Project Details

avriti

jattin01/avriti · Github · Default branch main
Back to Projects

AI Reviews

Commit review results and suggestions.
CommitDeveloperQualitySecuritySummary
a36e988f Amit Kumar Mishra 80 50 This commit adds a new order-confirmation popup to the checkout page with a redirect after 5 seconds, links to order list and shop, and improves the services page with service-tier selection and corresponding pricing. It also adds service CSS for rich content formatting and improves image rendering in order cards and order pages. The commit message is brief and has typos. The code improvements increase usability and user feedback after order submission.
c86691df Amit Kumar Mishra 75 60 The commit introduces functionality to fill and validate billing and shipping addresses separately, primarily focusing on services that only need billing address information. The code clearly separates billing and shipping data management with UI changes, ensures validation for billing fields, and handles conditionals for services appropriately. However, the commit message is unclear and contains multiple typos, reducing communication clarity. The code does not indicate any explicit security fixes or enhancements beyond email validation, and there is a moderate risk of bugs if address data handling or UI toggling is improperly tested. Overall the changes improve user experience and correctness for billing vs shipping address handling but could benefit from clearer documentation and some security hardening.
906e3861 Varinder Kaur 75 90 The commit addresses pagination issues for slider dots across multiple components by calculating and setting snap points and active pages. The approach is systematic and improves UX responsiveness with auto-scroll and snap point calculation. However, some repeated patterns across similar components could be better abstracted to reduce code duplication and potential future bugs.
4c8515a5 Amit Kumar Mishra 85 60 This commit introduces frontend enhancements including a banner and service-related features. It adds service support in the checkout and my-order pages, fetches and displays banners, and builds a detailed service detail page with tabs and consultation fee display. The code generally follows React and Next.js conventions with appropriate type usage and state handling. Some parts use dangerouslySetInnerHTML which presents potential security risks if data isn't sanitized server-side. There is no explicit input validation or error handling in fetch calls beyond basic try/catch. Shipping logic update for all-service orders is a good business optimization.
bcbf98f1 Amit Kumar Mishra 75 60 This commit adds social media logo links to the contact page and implements a ScrollToTop component that scrolls to the top on route changes. It also updates the site header to scroll smoothly to top on homepage clicks, and adds some Excel files to .gitignore. The changes increase user navigation convenience and social media presence but have minor issues with security and UX consistency.
5699d310 Amit Kumar Mishra 40 50 The commit deletes multiple Excel files without additional context. While removal of obsolete or unwanted files can be valuable, lack of explanation, tests, or associated code changes lowers the quality and business value. Deleting files carries low bug risk and moderate security impact. The commit message is minimal, increasing fake work risk.
118441d1 Amit Kumar Mishra 75 40 This commit adds a comprehensive blog page including fetching blog data, rendering it with SEO metadata, and a sidebar with search, tags, and recent posts. The code is organized and includes error handling for missing posts. However, there is moderate bug risk due to usage of dangerouslySetInnerHTML without sanitization, which also reduces security score. The implementation provides relevant business value by enabling blog content display with SEO metadata. The styling adds good presentation but no direct impact on functionality or security.
550bbd50 Amit Kumar Mishra 75 40 The commit adds a new product detail field 'caringForCrystal' to multiple components, including state management, UI display in product details, and product accordion content. The update improves user experience by providing more product information. However, the use of 'dangerouslySetInnerHTML' introduces potential XSS security risks, the commit message is vague, and there is no input sanitation visible. The code quality is good but could improve with more descriptive commits and security considerations.
ab8c8576 Amit Kumar Mishra 75 30 The commit adds multiple frontend improvements including UI elements, image rendering, CSS styling for products, and content rendering with innerHTML. There are some concerns about security with the widespread use of dangerouslySetInnerHTML which can introduce XSS risks. Quality is decent given CSS and UI updates, but better validation or sanitization of HTML content would improve safety. Business value is moderate reflecting user-facing feature completions. Bug risk is moderate due to potential unsafe HTML injection and some dependencies on environment variables without error handling. Fake work risk is low as changes are substantial and related to frontend functionality.
dfd8e1d8 Amit Kumar Mishra 85 80 The commit adds fully implemented Privacy Policy and Terms & Conditions pages with detailed sections relevant to the business. The text is clear, structured, and covers critical legal and privacy topics. The implementation includes metadata for SEO and uses a shared LegalPage component, demonstrating good reuse. Minor improvements could be made to enhance security and maintainability.
432ef877 Amit Kumar Mishra 75 40 The commit adds multiple new state variables and props related to product details for an enhanced product page feature. It includes UI updates for displaying more detailed product information, images, and accordions. While the new data fields and UI improvements add business value, the commit message is unclear and contains a typo, impacting maintainability. Usage of 'dangerouslySetInnerHTML' poses a moderate security risk if the input is not sanitized. There are some redundant null checks and potential improvements in code documentation and consistency.
17a7ce7c Varinder Kaur 60 30 The commit primarily consists of many styling and layout changes across multiple frontend components, along with some minor logic related to auto-scrolling and navigation link activation. There is minimal indication of critical bug fixes or security improvements, and the commit message is vague. The risk of introducing bugs is moderate due to the many UI changes, and there is some technical debt from not detailing specific fixes. The security risk is low, but no explicit mitigation was observed. The business value is moderate given it improves user experience mostly.
17339969 Varinder Kaur 70 80 The commit introduces CSS styling for list dots and an offer banner slider with controls using React state and effects. The code uses reasonable React patterns and semantic HTML with aria attributes. However, there are duplicated image paths in the offerBanners array and some commented-out unused code remains, reducing clarity and code quality. The commit message is generic and uninformative.
0a78979e Amit Kumar Mishra 75 25 This commit adds dynamic tax calculation and display on cart and checkout pages, and loads services on the contact page. It improves business value by showing accurate tax info and available services. However, error handling and API usage could be improved. The commit message is vague and there is minor inconsistent API environment variable usage. Some security exposure risk exists since API URLs are built client-side without authentication or error feedback. Minor UI improvements and validation could enhance quality and reduce bug risk.
be60e61b Amit Kumar Mishra 85 70 This commit improves the frontend by adding support for combo products in the cart and checkout pages. It introduces additional state management and UI elements to handle combo products and coupons, and updates shipping and payment options dynamically. The code shows good UI/UX improvements and logical handling of combos and coupons. However, error handling in fetch requests could be improved with more detailed feedback and retry logic. Also, some variable naming could be clearer to improve maintainability, and security could be enhanced by handling token retrieval and API errors more robustly.
9f357d88 Amit Kumar Mishra 75 40 The commit adds new product detail fields to UI components and renders them conditionally, increasing the product information richness. The implementation is mostly straightforward but includes several uses of 'dangerouslySetInnerHTML' which could pose security risks if not properly sanitized. Some tabs and fields are commented out or partially implemented.
ce7fa175 Amit Kumar Mishra 60 80 The commit adds a home page section with visual elements and content focusing on business value. However, large sections of code remain commented out, which reduces clarity and may create confusion on what is active. The implementation does not introduce significant security concerns. The changes are primarily presentational with moderate business impact. There is some unused commented code and minor inconsistency in JSX attributes (e.g. stroke-linecap etc.).
9cdebe6b Amit Kumar Mishra 75 20 The commit adds contact information including a phone number, email, and consultation support details on the contact page and a WhatsApp call-to-action. The changes improve business value by enhancing user accessibility to support and inquiries. The risk of bugs is low as this is mainly UI/displays and hyperlink additions. However, hardcoding personal contact details presents privacy and security risks. The styling contains invalid CSS syntax for color that could cause styling issues.
2e94c8c4 Amit Kumar Mishra 75 50 This commit implements Razorpay integration including loading the Razorpay SDK on the checkout page, handling Razorpay payment flow with verification, and updates to UI pages to reflect Razorpay payment method and status. The integration adds significant business value by enabling online payments. However, there are security concerns such as using 'any' type for Razorpay in the global declaration and limited input validation. Additionally, error handling is implemented but some edge cases may be unhandled. Minor improvement is needed in code consistency and security practices.
a64300a4 Amit Kumar Mishra 75 40 The commit adds significant frontend functionality including cart quantity updates, contact form submission, and user authentication handling. While these features add business value, the implementation has several concerns such as silent catch blocks, minimal error handling, no validation or sanitization on fetched data, and some code duplication. These aspects lower the security and bug risk scores. The commit message is generic and doesn't describe the specifics of the changes.
9568835f Varinder Kaur 70 30 The commit adds several UI elements and SVG icons across multiple files, improving the UI visually. However, it includes use of dangerouslySetInnerHTML which poses security risks, and there are commented out legacy code fragments. The commit message is vague and uninformative.
8968526f Varinder Kaur 40 50 The commit adds a UI element indicating an item was added to the cart, but the commit message contains a spelling error and lacks detail. The diff shows only a single div addition, which might be incomplete or lacking context, limiting business value and increasing fake work risk.
31ad905b Amit Kumar Mishra 75 50 This commit adds dynamic handling of cart and product detail page addresses including CRUD operations, form handling, and UI state management. The implementation covers address loading, selection, editing, saving, and deleting with basic validation. However, there is limited error handling for network/fetch errors and no validation for phone numbers or other inputs beyond required fields. Some error cases have empty catch blocks which reduces robustness and security. The commit adds meaningful business logic and enhances user experience by allowing dynamic address updates. Security-wise, bearer tokens are used but more thorough validation and error feedback would improve the security and reliability.
8bb9c632 Amit Kumar Mishra 75 60 The commit adds functionality for card checkout and order management, including mapping product attributes, formatting attribute labels, and navigation to checkout or login. It improves user experience by handling UI state (wishlist, cart) and redirects based on login status. However, it relies on any typed parameters without strict types, and there is some code repetition in formatting functions across files. Security score is moderate due to localStorage usage without encryption and redirect using window.location.href, which could lead to open redirect risks if input is not sanitized.
0b2ae90b Amit Kumar Mishra 85 50 This commit adds a profile page with customer profile management including profile image upload and address display. It includes appropriate states, API calls with authentication headers, and form handling. The user can edit and save their profile information, which is reflected in localStorage for persistence. The UI supports both display and edit modes with clear feedback messages. The profile image upload uses FormData and updates the UI upon success. Some improvements in security checks, input validation, and error handling are recommended.
1c0bae73 Amit Kumar Mishra 75 40 The commit adds frontend features including improved error handling on login and registration, detailed display of billing and shipping addresses in orders, and a profile image modal with upload capability. The user experience is enhanced by clear UI elements and fallback values for missing data. However, error handling could be clearer and more uniform. There are security risks around profile image upload, such as missing validation or protection from malicious files. The commit message is vague and doesn't clearly explain the changes. Some repetitive code for error messaging can be refactored for maintainability.
ac5a7838 Amit Kumar Mishra 85 60 This commit adds a reset password form with validation, loading state, error and success handling, and a secure reset password API call. It also introduces a product details page update with an accordion component and a share button in the product detail section. Overall, the code implements user interface improvements and UX enhancements for password resets and product interaction. However, the API call error handling might miss some edge cases, and there is no explicit input sanitization or password strength validation beyond length. Further emphasis on security and improved error feedback would enhance quality.
3b141198 Amit Kumar Mishra 70 20 The commit introduces various user interface changes related to product details and checkout, including SKU handling and handling of 'howToUse' instructions. However, there are concerns around use of dangerouslySetInnerHTML which may introduce XSS risks. The commit message is vague and incomplete, reducing clarity and traceability. The changes moderately improve UI functionality and product display, but could be clearer and safer.
53dd87bf Amit Kumar Mishra 65 50 The commit adds optional product ID and attribute name properties and improves cart merging on user registration. However, there is a lack of detailed comments or tests to ensure proper integration. Some conditional checks could be more robust to avoid silent failures. Security considerations around data handling are not explicitly addressed.
b5537fd5 Amit Kumar Mishra 80 60 The commit integrates the PDP API with the cart page, introducing client-side state management, loading of cart items from API or local storage, and rendering with quantity and removal handlers. The code is well-structured and covers main user flows with API integration and local fallbacks. However, error handling is minimal, and some UI/network failures are silently caught. Security can be improved with better error and input validation. The commit message is minimal and contains a typo.
87aba3cc Amit Kumar Mishra 75 40 The commit adds a detailed checkout page with state management, form fields, and order placement functionality with saved addresses UI. It improves user experience by auto-filling user details and handles 'Buy Now' priority over Cart. However, the commit lacks error handling detail and secure storage/access for sensitive data. The commit message is minimal and unclear.
91656aee Amit Kumar Mishra 75 80 This commit adds multiple UI fixes by including new properties such as selling_price and mrp across many components and files. It improves the display and pricing logic on product-related components by handling null values and adding fallbacks. However, there is noticeable code repetition especially in accessing nested attributes, and potential for minor bugs due to many optional chaining without strict typing or validation. The commit message is vague, lacking detailed description of changes and their impact.
3db65a43 Amit Kumar Mishra 80 85 This commit adds variant_name fields across multiple files and enhances attribute value formatting and price calculation on cart and checkout pages. The changes improve data completeness and user interface clarity, reducing potential bugs related to missing variant info and inconsistent value formatting.
81787a9e Gourav Arora 80 60 This is an initial commit generated by create-next-app with standard Next.js configuration and starter files. It includes proper .gitignore rules, basic global styles, layout, and homepage with links to documentation and deployment. The code is of reasonable quality for a bootstrap project though minimal in features. Security considerations are basic but appropriate for an initial setup. Bug risk is low given limited logic but will increase as project grows. Business value is limited as this is scaffold code but lays good foundation.
d5616452 Gourav Arora 70 30 The commit introduces new UI components for the About, Contact, Consult redirect pages, and global styles for a spiritual wellness site. The work adds business-relevant content and navigation but lacks detail in commit message and some input form handling. The redirect logic in consult pages is straightforward and low risk, while the new UI and CSS provide good user experience but no interactivity or backend integration for the contact form.
ff940e0a Varinder Kaur 80 30 This commit adds homepage layout and styling, including fonts, colors, components for products, services, and FAQ sections. It enhances the user interface and content relating to the brand Avriti, driving user engagement and potential sales. The commit imports fonts multiple times redundantly and lacks alt text best practices for images in some cases, and does not address security aspects beyond frontend styling.
833fa76a Varinder Kaur 65 35 The commit adds multiple page components including about, contact, login, and shop pages mostly focusing on UI layout and basic state management. Quality is moderate due to repeated content and lack of modularization. Business value is reasonable as it adds key website pages. Bug risk is elevated since the login logic is mocked and incomplete. Security score is low given lack of real authentication or data validation. Fake work risk is moderate as the majority of changes are UI placeholders and repeated text.
5f65ff47 Varinder Kaur 70 30 This commit adds skeleton UI components to various dashboard pages, including About, Cart, Contact, Login, and My Order pages. The UI is heavily static with no hooks or backend integration coded, minimal interactivity, and no form validation or state management evident. Although it improves visual structure, it lacks functional logic to handle real user data or interaction.
cdc09151 Varinder Kaur 70 30 The commit adds dashboard pages with static user data and basic navigation tabs for profile and orders. The implementation is visually structured and uses React components properly but lacks integration with a backend or real authentication, uses localStorage insecurely, and hardcoded user data limits business value. The UI lacks handlers for editing or deleting, raising bug risk. The commit message is generic and vague.
1d1a49b8 Varinder Kaur 70 40 The commit adds multiple UI content sections for about, cart, and contact pages with images, text, and lists describing the brand and products. The changes enhance business value by providing better brand storytelling and product visibility. Quality is moderate with clear JSX structure and CSS for list styling but lacks code comments and reusable components. Bug-risk is low as there are no logic or state changes. Security score is moderate due to external image sources and empty anchor href links potentially causing navigation issues. Fake work risk is low to moderate given the substantial UI content changes but the commit message is generic and does not describe any feature or fix.