- 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>
* Implement code changes to enhance functionality and improve performance
Signed-off-by: Innei <tukon479@gmail.com>
* chore: update @follow-app/client-sdk to version 0.2.6 and add new dependencies
refactor: adjust types in server configs and features to use ExtractResponseData
feat: implement followApi for server configurations and API client context
Signed-off-by: Innei <tukon479@gmail.com>
* feat: move to client-sdk
Signed-off-by: Innei <tukon479@gmail.com>
* feat: update @follow-app/client-sdk to version 0.3.22 and add ShrinkingFocusBorder component
- Updated the version of @follow-app/client-sdk in pnpm-workspace.yaml from 0.3.15 to 0.3.22.
- Introduced a new ShrinkingFocusBorder component that animates a focus border effect using a canvas element.
- Implemented resize observer for persistent border and animation logic for visibility changes.
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
- Add ai_en and ai_ja imports to Electron default resources
- Include ai translations in all language configurations
- Use English fallback for zh-CN and zh-TW until translations are available
- Fixes AI settings page showing translation keys instead of text
Updated various components in the entry column layout to improve spacing and styling. Changes include adjusting top margins in grid and list components, modifying item class names for consistency, and refining layout properties in the EntryColumnWrapper and EntryListHeader. Additionally, updated button sizes in action components for better alignment with design specifications.
Fix issue where useMasonryColumn hook was calculating incorrect currentItemWidth due to clientWidth being 0 or incorrect during initial render. Added proper timing guards to ensure calculations only happen after DOM elements have correct dimensions.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* chore: update ja.json
* chore: update 6 ja.json files
chore: update and bump 6 ja.json files.
* chore: update error/ja.json
fix locale/error/ja.json
* chore: auto-fix linting and formatting issues
* chore: update app/ja.json
* chore: update ja.json
* chore: update ja.json
* chore: update ja.json and tested local.
* chore: update ja.json
update settings/ja.json
* feat(i18n): update Japanese locale files with new error messages and dialog options
* chore(vscode): set default formatter for JSON and JSONC files
* Remove JSON and JSONC formatter settings
so sorry, @hyoban 😢
Perhaps my local settings are in. I have restored it to the original. Thanks for your kindness.
You have always been a great help.
* chore: auto-fix linting and formatting issues
* chore: update ja.json
sync and update settings/ja.json
* chore: update Japanese translations for clarity and consistency
* chore: update some ja.json
* chore(locales): update Japanese translations with new entry actions and settings
* fix: update Japanese translations for user actions and login prompts
* feat(locales): add Japanese translations for login and registration features
* feat(locales): update Japanese translations for RSSHub and related settings
* chore: auto-fix linting and formatting issues
* feat(i18n): update Japanese locale with new toolbar customization and profile link social fields
* feat(locales): update Japanese translations for search results and two-factor authentication
* feat: 日本語ローカライズの更新
* Add and update Japanese locale translations
Added new Japanese translations for AI features in locales/ai/ja.json. Updated various Japanese locale files with new keys and improved existing translations for app features, error messages, external integrations, mobile UI, settings, and shortcuts. Also fixed typos and enhanced descriptions for better clarity and consistency.
* Update zh-CN.json
---------
Co-authored-by: dai <dai@users.noreply.github.com>
Co-authored-by: Innei <i@innei.in>
Co-authored-by: Innei <Innei@users.noreply.github.com>
* fix: button is not disabled when in starred list
* fix: button is not disabled when in starred list
* rollback action-button.tsx
* refactor: rename isButtonHided to showButtons for clarity
* Update apps/desktop/layer/renderer/src/modules/entry-column/layouts/EntryListHeader.tsx
Co-authored-by: Innei <tukon479@gmail.com>
* rollback changes
---------
Co-authored-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
Updated the DateItem component to conditionally render SocialMediaDateItem based on the AI feature flag. This allows for improved flexibility in displaying date items depending on the feature's availability.
Changed from range-based tracking to entry ID-based tracking to prevent
newly refreshed entries from being incorrectly marked as read. The bug
occurred when entry lists refreshed, causing the same range indices to
be processed again but with different content.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Added entries for .claude/settings.local.json and PRPS/* to the .gitignore file to prevent local configuration and generated files from being tracked in the repository.
Disabled placeholder items in picture waterfall to fix bug where
the layout would redraw when reaching the last page, causing
rendered elements to shift positions and degrading user experience.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Fix issue where picture items in waterfall view had incorrect heights on first render due to timing issues with dimension loading. Changed stableRadio calculation to use useMemo and added proper fallback for initial render.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* feat: remove the entry content column
* feat: remove entryColWidth
* feat: entry list styles
* feat: ai column
* feat: implement EntryColumnLayout and integrate routing for entry content
- Added EntryColumnLayout component to manage entry display and interactions.
- Integrated Outlet for nested routing within the CenterColumnLayout.
- Updated EntryItemWrapper to navigate to entry content instead of using a modal.
- Enhanced EntryContent with scroll handling and exit functionality.
- Introduced new SVG icon for scroll hint in entry content.
* fix: date item bg
* refactor: simplify line clamping and layout adjustments in ListItem component
- Removed the settingWideMode dependency for line clamping calculations, standardizing title and description clamping values.
- Adjusted media width and audio cover width calculations for consistent layout.
- Updated class names and styles for improved readability and maintainability.
* feat: enhance feature management and layout adjustments
- Introduced a new `withFeature` higher-order component to manage feature toggling for the ListItem component.
- Updated the ListItem component to conditionally render based on the AI feature flag.
- Adjusted layout settings for entry columns, including entryColWidth and improved responsiveness.
- Added new templates for list items to support different display modes.
- Updated the CenterColumnLayout to integrate with the new feature management system.
* feat: implement feature flag management for AI functionality
- Introduced `useFeature` hook to manage feature toggling based on server configurations.
- Updated components to utilize the new `useFeature` hook for AI-related features, enhancing modularity and maintainability.
- Refactored `EntryLayoutContent`, `EntryItemWrapper`, and other components to check AI feature status through the new hook.
- Added a legacy list item template to support fallback rendering when AI features are disabled.
* refactor: comment out unused setTimeout in EntryItemWrapper
- Commented out the setTimeout function that dispatches an event to focus on the entry render, marking it as a TODO for future implementation.
- This change improves code clarity and prepares for potential feature adjustments.
* feat: debug feature
- Changed icon classes in ChatHeader and ChatMoreDropdown to improve visual consistency and styling.
- Updated icons to use new size and opacity classes for better integration with the overall UI design.
Signed-off-by: Innei <tukon479@gmail.com>