* refactor: translate on server
* refactor: remove summary and translation action
* enable summary and translation from settings
* remove translate and summary from action
* follow setting
* ignore whitespace change
* correct content translation for social item
* update
* update
* fix content
* global setting for summary on mobile
* translation store
* show and cache translation
* update migrate sql
* token header for social sign in
* remove readabilityContent in web view
* ci debug
* check repository
* ci check condition
* fix readability
* show entry content translation
* update
* update
* translation for social item
* Revert "remove translate and summary from action"
This reverts commit c8a195a9b224b308cbcd86a6293ffae03e946a72.
* update text
* support global,once,action summary and translation
* fix condition
* refactor
* refactor: extract use entry translation hook
* update
* rename
* Revert "rename"
This reverts commit 672092f88c04670c7e1017aaf8b9caa6499f1877.
* update
* update
* fix
* translation header action
* unsave prompt
* chore: auto-fix linting and formatting issues
* connect and row
* prompt on mobile before leave
* update
* follow action setting
* hide button when follow action
* update changelog
- Implement FollowImageURLSchemeHandler for custom image loading and caching
- Update ImagePreview to support loading images from URLs
- Modify WebView configuration to use new image URL scheme handler
- Remove deprecated image preview methods
- Update bridge data structure for image preview
- Refactor image preview logic across multiple modules
Signed-off-by: Innei <tukon479@gmail.com>
- Add CI environment variable to GitHub Actions workflow for iOS build
- Update app configuration to use CI-specific asset paths
- Modify Vite configuration for HTML renderer to support CI build output
Signed-off-by: Innei <tukon479@gmail.com>
- Introduce WrappedElementProvider to track element size and position
- Create ProviderComposer for composing multiple context providers
- Add hooks for accessing wrapped element details
- Update HTML component to use new provider
- Enhance image rendering with dynamic width calculation
Signed-off-by: Innei <tukon479@gmail.com>
- Enhance PreviewImage with optional Accessory component
- Update PreviewPageProvider to support rendering accessories in image preview
- Add noMedia prop to EntryContentWebView for selective media rendering
- Implement EntryGridItemAccessory to show entry details in image preview
- Update HTML renderer to support noMedia configuration
Signed-off-by: Innei <tukon479@gmail.com>
This commit includes several structural changes:
- Added Vite alias for `~` to simplify imports
- Moved atoms and hooks into `src` directory
- Updated import paths across components
- Removed unused hooks and files
Signed-off-by: Innei <tukon479@gmail.com>
- Remove Media.xcassets and Accent color set
- Update Utils.swift to hardcode accent color
- Enhance AISummary component with error handling and retry functionality
- Adjust layout and styling for AI summary
- Update image size calculation to handle undefined dimensions
Signed-off-by: Innei <tukon479@gmail.com>
- Implement dynamic inline style rendering for WebView content
- Create new atom for managing reader inline style preference
- Update EntryContentWebView to support toggling inline style rendering
- Modify HTML renderer to conditionally apply inline styles
Signed-off-by: Innei <tukon479@gmail.com>
- Add CORS headers to CustomURLSchemeHandler for cross-origin requests
- Implement custom URL scheme protocol for image loading in MarkdownImage
- Replace HTTP/HTTPS URLs with a custom protocol to enable cross-origin image rendering
Signed-off-by: Innei <tukon479@gmail.com>
- Add blurhash and image scaling to MarkdownImage component
- Implement useCalculateNaturalSize hook for responsive image sizing
- Create atoms and types for entry model and media
- Update HTML renderer to support dynamic image rendering with Jotai state management
- Improve iOS image preview with save functionality and dynamic root view controller retrieval
Signed-off-by: Innei <tukon479@gmail.com>
- Add SDWebImage dependency to FollowNative.podspec
- Refactor ImagePreview and PreviewControllerController for robust image preview
- Implement dynamic file extension handling for image preview
- Update WebView bridge to support more flexible image preview payload
- Improve MarkdownImage component to use Uint8Array for image conversion
Signed-off-by: Innei <tukon479@gmail.com>
- Add ImagePreview helper class for displaying images using QuickLook
- Extend HelperModule with previewImage function to load and display images
- Update WebView bridge to support image preview from web content
- Implement MarkdownImage component with base64 image conversion
- Add cross-platform quickLookImage method for native image preview
Signed-off-by: Innei <tukon479@gmail.com>