Skip to content

Staging#39

Open
Raphsant wants to merge 24 commits into
mainfrom
staging
Open

Staging#39
Raphsant wants to merge 24 commits into
mainfrom
staging

Conversation

@Raphsant
Copy link
Copy Markdown
Collaborator

No description provided.

SnehMehta23 and others added 23 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.
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.
# Conflicts:
#	components/googleReviewsWidget.vue
#	components/layout/appFooter.vue
#	components/layout/homeContentSection.vue
#	components/resultCard.vue
#	components/searchBar.vue
#	pages/about.vue
#	pages/index.vue
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 14, 2025

Deploy Preview for hampshirepharmacy failed. Why did it fail? →

Name Link
🔨 Latest commit 15e1774
🔍 Latest deploy log https://app.netlify.com/sites/hampshirepharmacy/deploys/67aea63f087e8d0008241339

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