code100x / tiplink

MIT License
174 stars 197 forks source link

Added skeleton fallback ui when status is loading #185

Closed Bhushan-04 closed 2 months ago

Bhushan-04 commented 2 months ago

Pull Request Title

Thank you for contributing to our project! Please provide a summary of your changes and reference any related issues below.

Issue Number: Fixes

🛠️ Type of Change

✅ Checklist

To ensure a smooth review process, please check off each item as you complete it:


We appreciate your contributions! If you have any questions or need further assistance, feel free to reach out.

problem : Session is picked up after the page fully loads and therefore leading to a delay in the rendering of user image and wallet icon

Solution : Added Skeleton when status is loading to avoid delay in rendering of image and wallet icon

Before: https://github.com/user-attachments/assets/adb44bf2-7dd9-4665-84a9-a5f92fa9fff5

After:
When User is not logged in-

https://github.com/user-attachments/assets/c9514979-1745-422e-a18c-3e0fd4b1eb86

When User is logged in-

https://github.com/user-attachments/assets/2a5d25cb-7a5e-4374-a625-ededc18d94dc