feat: add earnings tab and connect accounts screen#35
Open
ReinaMaze wants to merge 4 commits into
Open
Conversation
- Add Earnings tab at src/app/(tabs)/earnings.tsx with: - Total earnings card showing \,840.50 with +12.5% change badge - Progress bar showing 65% toward monthly goal - Platform bar chart with TikTok, YouTube, Reels, and Twitch - Payout history list with method, date, status, and amount - View All Payouts button - All monetary values formatted with commas and two decimals - Add Connect Accounts screen at src/app/connect-accounts.tsx with: - 2-column grid layout for integrations - Social accounts: X/Twitter, Discord, Instagram - Web3 wallets: MetaMask, Phantom, WalletConnect - Connected status indicators (green dot) - Connect/Disconnect actions with toast notifications - Placeholder OAuth handlers - Reorganize app structure to use (tabs) directory for tab screens - Update root layout to use Stack with (tabs) group
- Remove Connect Accounts screen (src/app/connect-accounts.tsx) - Update root layout to remove connect-accounts Stack.Screen reference - Focus branch on Earnings tab implementation only The Earnings tab now includes: - Total earnings display (\,840.50) with +12.5% change badge - Progress bar showing % toward monthly goal - Platform bar chart with TikTok, YouTube, Reels, and Twitch - Tallest bar highlighted in teal - Last 30 Days label with filter toggle - Payout history list (method, date, status, amount) - View All Payouts button to full payout history screen - All monetary values formatted with commas and two decimals
- Add Earnings screen at src/app/(tabs)/earnings.tsx - Total Earnings card: \,840.50 with +12.5% change badge - Progress bar showing 65% toward \,000 monthly goal - Platform bar chart: TikTok, YouTube, Reels, Twitch - Highest bar (TikTok) highlighted in teal (#14B8A6) - Last 30 Days section with Filter toggle - Payout history list with: - Payment method (Bank Transfer / PayPal / BTC) - Date - Status (Pending/Completed) with color indicator - Amount - View All Payouts button for full history screen - All monetary values formatted with commas and two decimals - Light/dark theme support included - Restored original app structure with explore/index in root
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
close #16