Skip to content

Feat/design#67

Closed
best2025j wants to merge 7 commits intoNexacore-Org:mainfrom
best2025j:feat/design
Closed

Feat/design#67
best2025j wants to merge 7 commits intoNexacore-Org:mainfrom
best2025j:feat/design

Conversation

@best2025j
Copy link
Copy Markdown

📌 Refactor ProfileTab UI with Gradient Header and Loading States

📋 Description

This PR updates the ProfileTab component to match the new design UI.
It includes a gradient header, improved button states, and updated loading behavior for a smoother user experience.

🛠 Changes Implemented

  • Added gradient background to profile header section.
  • Updated Save Changes button with proper loading state (Saving...).
  • Introduced skeleton loader for initial data fetching.
  • Improved layout spacing and typography for better readability.
  • Cleaned up state management for language and fiat inputs.

✅ How to Test

  1. Setup:

    • Run the development server:
      npm run dev
    • Navigate to /dashboard/settings → Profile Tab.
  2. Run Tests:

    • Verify the UI renders with gradient header.
    • Change language or fiat currency and click Save Changes.
    • Ensure toast success/error messages display.
    • Check skeleton loader appears on initial load.
  3. Expected Output:

    • Profile header shows gradient background.
    • Buttons update state correctly (disabled while saving).
    • Profile updates trigger a toast notification.
    • Skeleton loader displays only during first load, not background refetch.

🔍 Screenshots (if applicable)

Screenshot from 2025-09-30 18-31-51 Screenshot from 2025-09-30 18-31-38 Screenshot from 2025-09-30 18-31-55 Screenshot from 2025-09-30 18-32-02

🚀 Checklist

  • Code follows project style guidelines.
  • Changes are tested and verified.
  • Documentation updated (if applicable).
Screenshot from 2025-09-30 18-31-28 Screenshot from 2025-09-30 23-41-32 Screenshot from 2025-09-30 23-41-44 Screenshot from 2025-09-30 23-41-18 Screenshot from 2025-09-30 18-31-34.png…]() 4

🔗 Related Issues

Copy link
Copy Markdown
Contributor

@portableDD portableDD left a comment

Choose a reason for hiding this comment

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

one build failed this is the error i am getting

./hooks/auth/useAuth.ts:2:10
Type error: Module '"@/services/api"' has no exported member 'userService'. Did you mean to use 'import userService from "@/services/api"' instead?

1 | import { useMutation, useQueryClient } from "@tanstack/react-query";

2 | import { userService } from "@/services/api";
| ^
3 | import { useState, useEffect } from "react";
4 |
5 | // Define types for auth state
Next.js build worker exited with code: 1 and signal: null
Error: Process completed with exit code 1., two, please use npm instead of pnpm, please and delete the pnpm lock files,

please fix all errors

@portableDD
Copy link
Copy Markdown
Contributor

@best2025j please clear the build error, and fix, you have till tomorror to fix that and revert back

@best2025j best2025j mentioned this pull request Oct 3, 2025
3 tasks
@portableDD portableDD closed this Jan 19, 2026
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.

Implement Settings Page with Partial API Integration

2 participants