Skip to content

feat: Enhance UserBlogs component with improved layout and loading state#65

Open
Amanlakhera16 wants to merge 1 commit intokhushi2706:mainfrom
Amanlakhera16:main
Open

feat: Enhance UserBlogs component with improved layout and loading state#65
Amanlakhera16 wants to merge 1 commit intokhushi2706:mainfrom
Amanlakhera16:main

Conversation

@Amanlakhera16
Copy link
Copy Markdown

  • Refactored UserBlogs.js to include a more structured layout with an introduction section.
  • Added loading state handling while fetching user blogs.
  • Updated blog rendering to use a grid layout for better responsiveness.
  • Introduced a handleEdit function for navigating to the blog edit page.
  • Improved error handling in API requests.

style: Update global styles and typography

  • Imported new fonts from Google Fonts for a modern look.
  • Defined CSS variables for consistent theming across the application.
  • Enhanced body styles for better visual appeal and responsiveness.

fix: Update API response handling in blog and user controllers

  • Modified blog-controller.js to populate user data in blog responses.
  • Updated user-contoller.js to exclude password from user responses.
  • Improved error handling and response structure for better client-side integration.

chore: Add project reports for frontend and backend

  • Created detailed reports outlining project structure, setup instructions, and core functionalities for both frontend and backend.

build: Update server configuration for larger payloads

  • Increased JSON and URL-encoded body size limits in server.js to support larger blog content.

test: Add environment variable configuration for MongoDB connection

  • Introduced .env file for MongoDB URI configuration to streamline local development setup.

- Refactored UserBlogs.js to include a more structured layout with an introduction section.
- Added loading state handling while fetching user blogs.
- Updated blog rendering to use a grid layout for better responsiveness.
- Introduced a handleEdit function for navigating to the blog edit page.
- Improved error handling in API requests.

style: Update global styles and typography

- Imported new fonts from Google Fonts for a modern look.
- Defined CSS variables for consistent theming across the application.
- Enhanced body styles for better visual appeal and responsiveness.

fix: Update API response handling in blog and user controllers

- Modified blog-controller.js to populate user data in blog responses.
- Updated user-contoller.js to exclude password from user responses.
- Improved error handling and response structure for better client-side integration.

chore: Add project reports for frontend and backend

- Created detailed reports outlining project structure, setup instructions, and core functionalities for both frontend and backend.

build: Update server configuration for larger payloads

- Increased JSON and URL-encoded body size limits in server.js to support larger blog content.

test: Add environment variable configuration for MongoDB connection

- Introduced .env file for MongoDB URI configuration to streamline local development setup.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 9, 2026

Someone is attempting to deploy a commit to the Khushi Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant