Skip to content

Gtm testing#38

Open
Raphsant wants to merge 27 commits into
mainfrom
gtm_testing
Open

Gtm testing#38
Raphsant wants to merge 27 commits into
mainfrom
gtm_testing

Conversation

@Raphsant
Copy link
Copy Markdown
Collaborator

No description provided.

SnehMehta23 and others added 15 commits February 5, 2025 11:27
Replaced Apollo GraphQL with RESTful APIs for meds-related operations. Added user authentication and authorization modules, including login, signup, JWT handling, and middleware. Refactored existing components and pages to integrate new backend endpoints and streamline functionality.
Implement authentication and API integration for meds management
Simplified the code by removing the redundant `isAuthenticated` function and directly handling the authentication check within the middleware. Improved readability and ensured a streamlined flow for navigating unauthenticated users to the login page.
Updated login navigation to return the route result and simplified the fetch logic in medIndex by replacing reactive `useFetch` with a direct `$fetch` call. Removed unnecessary reactivity and log statements for improved performance and clarity.
Replaced GraphQL queries and mutations with REST API calls across multiple components for medication handling (e.g., add, delete, update). Added a delete functionality with confirmation in the medication card. Improved responsive layout and optimized medication data handling using Nuxt's data fetching mechanisms.
Refactored template and script sections for better code formatting and consistency in style. Enhanced input validation to ensure at least 3 characters are entered before performing a search. These changes improve maintainability and user experience.
The GraphQL server and associated modules, resolvers, and configurations have been removed from the codebase. This includes Apollo Server setup, WebSocket support, and Nuxt's GraphQL integrations. Remaining configurations are adjusted to streamline the project structure.
Updated login navigation to return the route result and simplified the fetch logic in medIndex by replacing reactive `useFetch` with a direct `$fetch` call. Removed unnecessary reactivity and log statements for improved performance and clarity.
Commented out unused GTM setup and migrated to new script-based configuration. Improved search bar code readability, added event tracking via dataLayer, and implemented better search query handling. Updated dependencies to include necessary GTM scripts.
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 11, 2025

Deploy Preview for hampshirepharmacy ready!

Name Link
🔨 Latest commit ce31abb
🔍 Latest deploy log https://app.netlify.com/sites/hampshirepharmacy/deploys/67abd06aae86fd000884689a
😎 Deploy Preview https://deploy-preview-38--hampshirepharmacy.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 52
Accessibility: 80
Best Practices: 75
SEO: 81
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Commented out all logic and markup for the Google Reviews widget, likely due to deprecation or no longer being needed. This prepares the component for potential future removal or replacement.
Commented out the Google Tag Manager configuration to disable it temporarily. Additionally, reformatted the `modules` array for better readability and consistency. No functional changes to app behavior expected.
Commented out the Google Tag Manager configuration to disable it temporarily. Additionally, reformatted the `modules` array for better readability and consistency. No functional changes to app behavior expected.
Uncommented the scripts section in nuxt.config.ts to activate Google Tag Manager with the specified ID. This change ensures tracking and analytics functionality is properly configured.
Uncommented the scripts section in nuxt.config.ts to activate Google Tag Manager with the specified ID. This change ensures tracking and analytics functionality is properly configured.
Uncommented the scripts section in nuxt.config.ts to activate Google Tag Manager with the specified ID. This change ensures tracking and analytics functionality is properly configured.
Uncommented the scripts section in nuxt.config.ts to activate Google Tag Manager with the specified ID. This change ensures tracking and analytics functionality is properly configured.
Uncommented the scripts section in nuxt.config.ts to activate Google Tag Manager with the specified ID. This change ensures tracking and analytics functionality is properly configured.
Reinstated the use of `useScriptGoogleTagManager` for accessing the `dataLayer`. This ensures proper analytics tracking functionality in production environments.
Reinstated the use of `useScriptGoogleTagManager` for accessing the `dataLayer`. This ensures proper analytics tracking functionality in production environments.
Reinstated the use of `useScriptGoogleTagManager` for accessing the `dataLayer`. This ensures proper analytics tracking functionality in production environments.
Reinstated the use of `useScriptGoogleTagManager` for accessing the `dataLayer`. This ensures proper analytics tracking functionality in production environments.
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