-
Couldn't load subscription status.
- Fork 48
Add green indicator dot to online user count #57
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
Conversation
Add a small green dot (#52bf1c) to the left of the online user count text in the pull-to-refresh indicator for better visual indication. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
There was a problem hiding this 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 adds a visual indicator to the online user count display by placing a small green dot next to the count text in the pull-to-refresh header view.
- Adds a 6x6pt green circle (#52bf1c) as a status indicator
- Implements HStack layout with 4pt spacing to position the dot before the text
- Uses the existing Color.hex() utility for color specification
Code Coverage Report ❌Current coverage: 0% |
Improvements to the online user count display: 1. Apply SwiftUI numericText animation when count changes (iOS 16+) 2. Add 300ms delay before hiding refresh indicator when count changes 3. Record previous count to detect changes during refresh This creates a smoother UX by: - Animating number transitions instead of instant changes - Keeping the indicator visible longer when data updates - Allowing users to see the count change before it disappears 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Code Coverage Report ❌Current coverage: 0% |
Problem: - In v1.1.4, online count always shows as 0 - animatedOnlineCount is initialized to 0 as default - When onlineStats changes from nil to a value, animatedOnlineCount stays at 0 - onChange only triggers when the value changes, not on initial load Solution: - Add onAppear to initialize animatedOnlineCount from stats.onlineCount - Check if animatedOnlineCount is 0 and stats has valid count - This ensures the count displays correctly on first load Fixes the regression introduced in PR #57 where animated count feature broke the initial display of online user count.
* fix: Initialize animatedOnlineCount when view appears with stats Problem: - In v1.1.4, online count always shows as 0 - animatedOnlineCount is initialized to 0 as default - When onlineStats changes from nil to a value, animatedOnlineCount stays at 0 - onChange only triggers when the value changes, not on initial load Solution: - Add onAppear to initialize animatedOnlineCount from stats.onlineCount - Check if animatedOnlineCount is 0 and stats has valid count - This ensures the count displays correctly on first load Fixes the regression introduced in PR #57 where animated count feature broke the initial display of online user count. * chore: Change default TestFlight release to internal testing - Set distribute_external to false (internal testing only) - Remove public beta groups and external tester notifications - Skip beta review submission for internal builds - Update workflow and lane descriptions - Simplify upload_to_testflight parameters This allows faster iteration and testing without requiring Beta App Review approval for each build. Public beta releases can still be done manually through App Store Connect when needed. * feat: Add configurable release channel parameter - Add 'release_channel' workflow input (internal/public_beta) - Default to 'internal' for automatic releases - Support 'public_beta' for manual workflow_dispatch - Fastlane beta lane now accepts channel parameter - Dynamically configure TestFlight distribution based on channel: - internal: No beta review, internal testers only - public_beta: Submit for beta review, notify external testers - Update GitHub Release notes to reflect selected channel - Update notification messages based on channel Usage: - Automatic (push to main): Uses 'internal' by default - Manual workflow: Can select 'public_beta' in workflow dispatch UI - Local fastlane: fastlane beta channel:public_beta
Summary
Changes
HeadIndicatorView.swift:.contentTransition(.numericText())(iOS 16+)UpdatableView.swift:Features
Test Plan
🤖 Generated with Claude Code