Skip to content

Leaderboard update#46

Open
AdityaK2905 wants to merge 6 commits into
mainfrom
leaderboardUpdate
Open

Leaderboard update#46
AdityaK2905 wants to merge 6 commits into
mainfrom
leaderboardUpdate

Conversation

@AdityaK2905

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the app’s leaderboard UI to a new “podium + scrollable list + footer CTA” layout for both signed-in and guest users, while also introducing build/config changes (EAS + Babel plugins) and removing/disablement of Firebase notification plumbing.

Changes:

  • Rebuilds leaderboard and leaderboard_guest screens with new styles, podium rendering, and “Go to My Ranking” scrolling behavior.
  • Adds EAS configuration (eas.json + extra.eas.projectId) and updates Babel plugins for Expo Router/Reanimated.
  • Disables/removes Firebase notification-related code paths (service, hook usage, toggle UI).

Reviewed changes

Copilot reviewed 10 out of 17 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
patches/react-native-webview+13.12.5.patch Adds a patch-package patch for react-native-webview (currently includes IDE metadata + a rename).
lib/firebase.ts Removes the Firebase notification service implementation.
hooks/useFirebaseNotifications.ts Comments out the notifications hook implementation.
eas.json Adds EAS build/submit profiles and CLI version constraint.
components/misc/NotificationToggle.tsx Comments out the notification toggle UI (currently breaks consumers that still import it).
babel.config.js Adds expo-router/babel + react-native-reanimated/plugin (last) and keeps NativeWind.
app/(tabs)/leaderboard/leaderboard.tsx Replaces the signed-in leaderboard screen with new podium + list + footer design.
app/(tabs)/leaderboard/leaderboard_guest.tsx Replaces guest leaderboard screen with new design and dummy data list.
app/_layout.tsx Adds leaderboard fonts and disables useFirebaseNotifications() initialization.
app.config.js Adds extra.eas.projectId for EAS project configuration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1 to +6
// import React, { useState, useEffect } from 'react';
// import { View, Text, Alert, Linking, Platform, AppState } from 'react-native';
// import { Ionicons } from '@expo/vector-icons';
// import { AnimatedSwitch } from '@/components/switch/AnimatedSwitch';
// import { useFirebaseNotifications } from '@/hooks/useFirebaseNotifications';
// import FirebaseService from '@/lib/firebase';
Comment thread app/_layout.tsx
Comment thread app/(tabs)/leaderboard/leaderboard.tsx
Comment thread app/(tabs)/leaderboard/leaderboard.tsx
Comment thread app/(tabs)/leaderboard/leaderboard.tsx
Comment thread app/(tabs)/leaderboard/leaderboard_guest.tsx
Comment thread app/(tabs)/leaderboard/leaderboard_guest.tsx
Comment thread app/(tabs)/leaderboard/leaderboard_guest.tsx
Comment thread patches/react-native-webview+13.12.5.patch
Comment thread patches/react-native-webview+13.12.5.patch
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