Skip to content

Dashboard styling #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 18, 2025
Merged

Dashboard styling #27

merged 4 commits into from
Apr 18, 2025

Conversation

dgomie
Copy link
Owner

@dgomie dgomie commented Apr 18, 2025

No description provided.

@dgomie dgomie requested a review from Copilot April 18, 2025 17:28
Copy link

vercel bot commented Apr 18, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
legionoftones ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2025 5:28pm

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements dashboard styling improvements and enhances user notification handling. Key changes include:

  • Enhancements to FCM token handling in the Login component with additional logic to update related legion documents.
  • Introduction of a new DashboardHeader component for improved mobile and desktop navigation.
  • Integration of the DashboardHeader component into the Legions and Dashboard pages.

Reviewed Changes

Copilot reviewed 4 out of 7 changed files in this pull request and generated no comments.

File Description
src/components/login/Login.js Updated FCM token retrieval and propagation to legion documents with additional token logic.
src/components/dashboardHeader/DashboardHeader.js New header component with client-side navigation and image click handlers.
src/app/legions/page.js Integrated DashboardHeader into the mobile header area and added a title for the view.
src/app/dashboard/page.js Incorporated DashboardHeader for mobile view and updated the desktop welcome layout.
Files not reviewed (3)
  • src/app/dashboard/dashboard.module.css: Language not supported
  • src/app/legions/Legions.module.css: Language not supported
  • src/components/dashboardHeader/DashboardHeader.module.css: Language not supported
Comments suppressed due to low confidence (1)

src/components/login/Login.js:44

  • If using the Firestore modular SDK, document references do not have a get() method. Consider replacing this with getDoc(userDocRef) after importing getDoc from 'firebase/firestore'.
const userDocSnap = await userDocRef.get();

@dgomie dgomie merged commit 97b955a into main Apr 18, 2025
2 checks passed
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