* init
Signed-off-by: Innei <tukon479@gmail.com>
* feat(ai-chat): enhance file handling with category-based icon retrieval
- Introduced `getFileCategoryFromMimeType` function to categorize file types based on MIME type, improving the clarity of file handling in the AI chat interface.
- Updated `FileAttachmentBlock` and `AIChatContextBar` components to utilize the new categorization function for determining file icons, streamlining the code and enhancing maintainability.
- Removed redundant MIME type checks, simplifying the logic for icon assignment.
These changes improve the user experience by ensuring accurate file representation and reduce code complexity.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: preview image
* Update avatar upload to use followApi and bump deps
* feat: Refactor AI chat context blocks and file upload handling
- Introduced new components for rendering AI chat context blocks, including AIDataBlockItem and AIDataBlockPart.
- Enhanced file attachment handling by updating the structure of AIChatContextBlock to separate file attachments from other block types.
- Implemented a new file upload hook (useFileUpload) to manage file uploads with progress tracking and toast notifications.
- Added UploadProgress and CircularProgress components for visual feedback during file uploads.
- Improved file processing logic to simulate realistic upload progress and handle errors more effectively.
- Updated existing components to utilize the new block structure and file upload logic.
- Created utility functions for managing block styles, icons, and labels for better code organization.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: Enhance chat message rendering with Suspense and add ThinkingIndicator component
Signed-off-by: Innei <tukon479@gmail.com>
* fix: Remove error check for message metadata in AIChatMessage component
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
* refactor: upgrade FlashList to v2
* chore: upgrade @shopify/flash-list to v2.0.0
* chore: update packageManager version to pnpm@10.14.0
* fix: revert packageManager version to pnpm@10.12.1
* chore: update ref type for TimelineSelectorMasonryList component
- Introduced `useDifferentFontSizeForContent` and `mobileContentFontSize` settings in UISettings.
- Updated Appearance screen to allow users to toggle and select content-specific font sizes.
- Added localization for new settings in English, Japanese, Simplified Chinese, and Traditional Chinese.
Signed-off-by: Innei <tukon479@gmail.com>
- Modified Text component to accept a ref prop for better integration with React Native components.
- Updated NavigationLink to use the new ref type for improved type safety.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated PlayerScreen to use consistent import statements and improved structure.
- Refactored CoverArt component to enhance animation handling with Reanimated.
- Added typography specifications to typography.ts for better text management.
- Extended Tailwind configuration to include custom font sizes.
- Implemented font scaling options in settings localization files for accessibility.
- Added a script to replace Text imports from react-native with a new import path.
- Updated package dependencies for Babel and added glob for file handling.
Signed-off-by: Innei <tukon479@gmail.com>
* chore: allow pause audio when playing
* refactor: update PlayerAction props to use state instead of isPlaying and isLoading
* refactor: remove playingAudioUrl from EntryExtraData
* refactor: simplify audio state
* refactor: simplify audio state handling
* chore: review
The entry list was incorrectly marking entries as read during pull-to-refresh
operations. This happened because when the refresh control rebounds from
negative contentOffset back to 0, the scroll direction is detected as "down"
causing entries to be mistakenly marked as read.
The fix adds a condition to only mark entries as read when:
1. Scroll direction is down (user swiping up)
2. Current offset is greater than 0 (not at the top or rebounding)
This ensures entries are only marked as read during genuine upward scrolling,
not during pull-to-refresh rebounds.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add skeleton loading states for all entry list view types (Articles, Pictures, Social, Videos)
- Show loading skeleton when entries are not ready and no data yet
- Add proper padding to avoid overlap with header and tab bar
- Create realistic skeletons that match actual entry item structures:
- Articles: 7 items with title, description, and image placeholders
- Pictures: 8 items (4 per column) with varied heights and footer content
- Social: 5 items with social-specific layout
- Videos: 6 items (3 per column) with video thumbnail and metadata
- Improve UX by showing loading state instead of empty message during data fetch
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>