Innei
e3c2bb890f
feat(ui): enhance keyboard simulation with support for combination keys and additional key mappings
...
- Added functionality to handle combination keys (e.g., "Meta+B") in the simulateKeyPress function.
- Expanded keyCodes mapping to include additional keys such as brackets, backslash, and punctuation.
- Improved event creation for both single and combination key presses, ensuring accurate key event simulation.
This update enhances the keyboard interaction capabilities within the UI components.
Signed-off-by: Innei <tukon479@gmail.com >
2025-03-26 21:15:31 +08:00
Stephen Zhou
fa3cce2fa9
build: update lint config ( #3234 )
...
* build: update lint config
* update
* update
* update
2025-03-22 12:35:53 +08:00
Konv Suu and Stephen Zhou
3c2586df51
fix: incorrect formatting of time duration ( #3148 )
...
* feat(desktop): add duration formatting for audio entries
* update
* update
* update
* update
* update
---------
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2025-03-18 09:33:27 +08:00
Innei
892f782169
feat: Add SVG and suspended user support, #2945
...
- Extend markdown parsing to support SVG elements and attributes
Signed-off-by: Innei <tukon479@gmail.com >
2025-03-04 22:08:31 +08:00
Innei
d6795a0cab
fix: import resolver for web
...
Signed-off-by: Innei <tukon479@gmail.com >
2025-03-04 18:30:15 +08:00
DIYgod and DIYgod
8b07a9a573
chore: desktop dir ( #2924 )
...
* chore: desktop dir
* chore: desktop src and configs
* chore: auto-fix linting and formatting issues
* fix: path
* fix: path
* fix: path
* fix: path
* fix
* fix
* fix
* test
* test
* test
* test
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
---------
Co-authored-by: DIYgod <8266075+DIYgod@users.noreply.github.com >
2025-03-02 17:19:22 +08:00
DIYgod
8f422af1c1
feat: unifed image proxy and referer handler
2025-03-01 19:43:19 +08:00
DIYgod
c475ecd400
feat: timeline button width
2025-02-13 22:59:37 +08:00
Innei
64db32ef34
feat: Implement the webview sandbox using a microfront end for rn to implement the full html renderer ( #2691 )
...
* init
Signed-off-by: Innei <tukon479@gmail.com >
* feat: parser and renderer
Signed-off-by: Innei <tukon479@gmail.com >
* feat: shared webview
* feat: add UIColor hex conversion extension and accent color asset and xhr rewrite
* feat(mobile): enhance WebView and HTML rendering for iOS
- Refactor SharedWebView module with improved JavaScript injection and link handling
- Add ModalWebViewController for opening links in a modal view
- Implement dynamic content height measurement
- Update HTML renderer with Jotai state management
- Improve WebView configuration and debug mode
Signed-off-by: Innei <tukon479@gmail.com >
* lockfile
Signed-off-by: Innei <tukon479@gmail.com >
* chore: auto-fix linting and formatting issues
* fix(mobile): improve WebView debug mode and UI text styling
- Remove debug-only conditional for WebView inspector
- Add text label class to GroupedInsetListActionCell for consistent styling
Signed-off-by: Innei <tukon479@gmail.com >
* update
Signed-off-by: Innei <tukon479@gmail.com >
* feat(mobile): add FullScreenWKWebView for iOS WebView layout
- Create custom WKWebView subclass to override safe area insets
- Enables full-screen WebView rendering without default padding
Signed-off-by: Innei <tukon479@gmail.com >
* chore(mobile): remove FullScreenWKWebView Swift file
- Delete unused custom WKWebView subclass for iOS
- Cleanup unnecessary file after previous implementation
Signed-off-by: Innei <tukon479@gmail.com >
* feat(mobile): refactor iOS WebView infrastructure
Signed-off-by: Innei <tukon479@gmail.com >
* feat(mobile): add native helper module and improve entry detail screen
- Add HelperModule for iOS to open links in a modal WebView
- Implement cross-platform link opening mechanism
- Enhance entry detail screen with dynamic title and scroll behavior
- Add loading indicator for entry content
- Refactor navigation and scroll view components
Signed-off-by: Innei <tukon479@gmail.com >
* fix(mobile): improve WebView JavaScript and URL loading thread safety
- Dispatch JavaScript evaluation and URL loading on the main thread
- Ensure thread-safe WebView interactions for iOS
- Prevent potential race conditions in SharedWebViewModule
Signed-off-by: Innei <tukon479@gmail.com >
* refactor(mobile): remove useOpenLink hook and update link opening mechanism
- Replace custom useOpenLink hook with native openLink function
- Update WebView navigation and recommendation list item to use new link opening method
- Remove unnecessary hook and simplify link handling
Signed-off-by: Innei <tukon479@gmail.com >
---------
Signed-off-by: Innei <tukon479@gmail.com >
2025-02-07 23:15:29 +08:00
DIYgod
2f3655cf56
feat: optimize login modal
2025-02-07 20:08:37 +08:00
Innei
86ed6d4eed
fix(rn-entry): entry content layout
...
Signed-off-by: Innei <tukon479@gmail.com >
2025-01-26 23:05:54 +08:00
Stephen Zhou
e569681198
feat: basic masonry entry list and entry content view ( #2493 )
2025-01-22 22:23:56 +08:00
Stephen Zhou
364d23f729
feat: merge actions for toggling state ( #2617 )
2025-01-20 17:43:33 +08:00
Stephen Zhou
2cd1b5daf9
chore: enable noUncheckedIndexedAccess, better type check ( #2608 )
2025-01-18 22:35:23 +08:00
Stephen Zhou
7129db766c
fix: ai entry actions with user role checks, close #2591
2025-01-17 08:57:20 +08:00
fb531b1c9d
feat: 2fa ( #2540 )
...
Co-authored-by: Innei <tukon479@gmail.com >
Co-authored-by: Innei <i@innei.in >
2025-01-16 20:35:30 +08:00
Innei
23152d0222
fix: enhancing the Visibility of Download Buttons on White Background Images, fixed FOL-1270
...
Signed-off-by: Innei <tukon479@gmail.com >
2025-01-15 19:55:26 +08:00
Konv Suu
ff1dc03304
fix: error and warning in mobile ( #2475 )
2025-01-06 17:57:24 +08:00
Innei
1439d87f07
fix: improve Markdown rendering and UI adjustments in various components
...
- Updated TextField to ensure full width and flex behavior.
- Optimized MarkdownWeb to memoize parsed content for better performance.
- Adjusted Markdown rendering in rsshub-form and DiscoverFeedForm to fix directive formatting.
- Enhanced ModalError to allow text selection in error stack trace.
- Minor adjustments in parse-markdown utility for directive handling.
These changes enhance the user interface and improve performance in Markdown rendering.
Signed-off-by: Innei <tukon479@gmail.com >
2025-01-03 00:10:02 +08:00
Innei
8007924a7f
refactor: extract shared parse markdown
...
- Added `@microflash/remark-callout-directives` to `package.json` and `pnpm-lock.yaml`.
- Updated `MarkdownWeb` component to utilize a new markdown parsing utility.
- Removed unused imports related to `remark-gh-alerts` and refactored markdown parsing logic.
- Enhanced `parse-markdown` function to integrate with the new utility and support custom components.
This update improves markdown rendering capabilities and streamlines the codebase.
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-31 23:52:34 +08:00
Stephen Zhou
313ad9b7db
feat: html render for native ( #2346 )
2024-12-30 10:28:52 +08:00
DIYgod
1bf2e20801
feat: rsshub instance list
2024-12-29 16:51:34 +08:00
Stephen Zhou
1d0795bdb5
fix: try repositionInputs false
2024-12-25 21:04:49 +08:00
Stephen Zhou
36f0d00b07
style: use prettier-plugin-tailwindcss and disable sort in lint
2024-12-23 22:19:45 +08:00
Innei
77fa6088fb
refactor: streamline entry action handling and replace ActionButton with CommandActionButton
...
- Removed unused imports and simplified the use of commands in `useEntryActions`.
- Updated `EntryItemWrapper`, `HeaderActions`, and `MoreActions` components to utilize `CommandActionButton` for better command handling.
- Introduced `CommandDropdownMenuItem` for consistent command representation in dropdowns.
- Enhanced readability and maintainability by reducing redundant code and improving type safety.
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-17 20:07:33 +08:00
Stephen Zhou
d4905fd008
feat: email verification
2024-12-16 22:02:55 +08:00
Innei
a10b78a79c
feat: optimize action pages
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-12 19:32:57 +08:00
DIYgod
3e9a92d16a
feat: bigger font size in mobile
2024-12-12 14:11:04 +08:00
DIYgod
4a4ecee7f1
feat: move replaceImgUrlIfNeed
2024-12-10 12:36:24 +08:00
Innei
dac1a47b0e
feat: support read indicator and back to top, fixed #2040
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-09 22:25:57 +08:00
Innei
639b922ec8
feat: add auto-expand setting for long social media entries and remove placeholder component, fixed #2064
...
- Introduced a new setting to automatically expand long social media entries.
- Removed the ReactVirtuosoItemPlaceholder component, replacing it with null returns for better handling of empty entries.
- Updated relevant settings files and translations for the new feature.
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-09 21:08:37 +08:00
Innei
cf5eeb63c4
feat: update toast style
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-09 20:50:10 +08:00
Innei
2b2d56c746
fix: scrollbar z-index
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-07 17:01:45 +08:00
Innei
77dd6ce2f9
feat: redesign login modal
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-06 19:47:39 +08:00
Innei
6a30f2363e
fix: sheet stack dismiss transition
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-04 16:54:55 +08:00
Otstar Lin
1ce3f5b8ba
feat(integration): Add readeck integration ( #1972 )
2024-12-02 22:41:27 +08:00
Innei
0ff10c6e32
refactor(tab): tab indicator transition
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-12-02 18:42:11 +08:00
Whitewater
605c3d66b9
refactor: sunset Omnivore integration ( #1953 )
...
* refactor: remove Omnivore integration and related settings
* refactor: remove Omnivore integration from localization files
* refactor: remove Omnivore integration from settings and command types
* refactor: remove Omnivore entries from localization files
2024-12-01 18:56:12 +08:00
Innei
d98ebaa4f7
refactor: vlist and keep scroll position ( #1931 )
...
* init
Signed-off-by: Innei <tukon479@gmail.com >
* feat: grid
Signed-off-by: Innei <tukon479@gmail.com >
* refactor: mark read logci
Signed-off-by: Innei <tukon479@gmail.com >
* chore: remove react-virtuoso
Signed-off-by: Innei <tukon479@gmail.com >
* fix: video
Signed-off-by: Innei <tukon479@gmail.com >
* transition
Signed-off-by: Innei <tukon479@gmail.com >
* fix: image memo loaded status
Signed-off-by: Innei <tukon479@gmail.com >
* fix: sort button
Signed-off-by: Innei <tukon479@gmail.com >
* feat: cjk truncate
Signed-off-by: Innei <tukon479@gmail.com >
---------
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-29 22:51:37 +08:00
Whitewater
970aced378
refactor: update useRouteParams hook to prevent unnecessary re-renders ( #1872 )
...
* refactor: deprecate useRouteParams hook and replace with useRouteParamsSelector to prevent unnecessary re-renders
* chore: clean code
2024-11-27 18:54:54 +08:00
Innei
6595f8502f
refactor: lazy create atom selector and shallow eq
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-27 13:36:35 +08:00
Innei
c8460da13c
chore: update changelog
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-26 23:45:39 +08:00
Innei
0e0ce84323
feat: customizable columns for masonry view, closed #1749
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-26 23:25:39 +08:00
Innei
5824921056
fix(css-editor): Compatible with browsers that do not support plaintext-only
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-26 20:01:02 +08:00
Stephen Zhou
ad3a4cb556
fix: active state on mobile
2024-11-25 18:21:04 +08:00
Innei
4d7365facf
fix: type error
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-25 14:39:01 +08:00
Innei
611d2cf034
fix: motion button motion style in mobile
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-24 17:34:31 +08:00
Innei
f418efcd9c
chore: upgrade to router v7
...
Signed-off-by: Innei <tukon479@gmail.com >
2024-11-24 17:27:29 +08:00
edd4f9e5a6
feat: mobile design ( #1568 )
...
* init
Signed-off-by: Innei <i@innei.in >
* feat: feed column
Signed-off-by: Innei <i@innei.in >
* feat: float bar
Signed-off-by: Innei <tukon479@gmail.com >
* feat: profile button
Signed-off-by: Innei <tukon479@gmail.com >
* chore: comment
Signed-off-by: Innei <tukon479@gmail.com >
* feat: layout
Signed-off-by: Innei <tukon479@gmail.com >
* feat: split mobile entry content
Signed-off-by: Innei <tukon479@gmail.com >
* feat: add history stack
Signed-off-by: Innei <tukon479@gmail.com >
* feat: return back
Signed-off-by: Innei <tukon479@gmail.com >
* fix: return back position
Signed-off-by: Innei <tukon479@gmail.com >
* feat: entry list header
Signed-off-by: Innei <tukon479@gmail.com >
* feat: sync selector
Signed-off-by: Innei <tukon479@gmail.com >
* feat: modal stack mobile
Signed-off-by: Innei <tukon479@gmail.com >
* fix: modal selector
Signed-off-by: Innei <tukon479@gmail.com >
* cleanup
Signed-off-by: Innei <tukon479@gmail.com >
* fix: sheet and optimize entry readers
Signed-off-by: Innei <tukon479@gmail.com >
* fix: scroller
Signed-off-by: Innei <tukon479@gmail.com >
* feat: entry contents
Signed-off-by: Innei <tukon479@gmail.com >
* feat: entry content
Signed-off-by: Innei <tukon479@gmail.com >
* update
Signed-off-by: Innei <tukon479@gmail.com >
* feat: user profile sheet
Signed-off-by: Innei <tukon479@gmail.com >
* fix: entry content header
Signed-off-by: Innei <tukon479@gmail.com >
* fix: entry header
Signed-off-by: Innei <tukon479@gmail.com >
* chore: auto-fix linting and formatting issues
* fix: return back
Signed-off-by: Innei <tukon479@gmail.com >
* feat: image view
Signed-off-by: Innei <tukon479@gmail.com >
* feat: audio
Signed-off-by: Innei <tukon479@gmail.com >
* feat: inline player
Signed-off-by: Innei <tukon479@gmail.com >
* feat: pull to refresh
Signed-off-by: Innei <tukon479@gmail.com >
* cleanup
Signed-off-by: Innei <tukon479@gmail.com >
* update
Signed-off-by: Innei <tukon479@gmail.com >
* chore: auto-fix linting and formatting issues
* chore: fix import, remove no support display
* chore: auto-fix linting and formatting issues
* feat: achievement modal in mobile
Signed-off-by: Innei <tukon479@gmail.com >
* fix: subview mobile
Signed-off-by: Innei <tukon479@gmail.com >
* feat: power
Signed-off-by: Innei <tukon479@gmail.com >
* feat: wallet mobile design
Signed-off-by: Innei <tukon479@gmail.com >
* feat: pwa support (#1575 )
Co-authored-by: hyoban <hyoban@users.noreply.github.com >
* chore: auto-fix linting and formatting issues
* fix import
* discover
* fix: border color
Signed-off-by: Innei <tukon479@gmail.com >
* fix: modal async
Signed-off-by: Innei <tukon479@gmail.com >
* feat: mobile setting
Signed-off-by: Innei <tukon479@gmail.com >
* fix: entry header width
Signed-off-by: Innei <tukon479@gmail.com >
* fix: remove unused hide filter
* feat: settings
Signed-off-by: Innei <tukon479@gmail.com >
* feat: setting done
Signed-off-by: Innei <tukon479@gmail.com >
* action card
* fix discover feed form
* popular filter
* inbox table
* fix: picture masonry pull to refresh
Signed-off-by: Innei <tukon479@gmail.com >
* fix: scroll element
Signed-off-by: Innei <tukon479@gmail.com >
* fix: radio in mobile
Signed-off-by: Innei <tukon479@gmail.com >
* feat: to scientific notation
Signed-off-by: Innei <tukon479@gmail.com >
* fix: login
Signed-off-by: Innei <tukon479@gmail.com >
* ResponsiveSelect for action card
* chore: remove theme color
Signed-off-by: Innei <tukon479@gmail.com >
* type check
* type check
* fix: setting import circular
Signed-off-by: Innei <tukon479@gmail.com >
* refactor: remove hijack pushState
Signed-off-by: Innei <tukon479@gmail.com >
* fix: float bar
Signed-off-by: Innei <tukon479@gmail.com >
* fix: scroll end trigger
Signed-off-by: Innei <tukon479@gmail.com >
* fix: dark theme color
Signed-off-by: Innei <tukon479@gmail.com >
* fix: overscroll-behavior only in destop
Signed-off-by: Innei <tukon479@gmail.com >
* fix: ux
Signed-off-by: Innei <tukon479@gmail.com >
* fix: color
Signed-off-by: Innei <tukon479@gmail.com >
* fix: list scroll area
Signed-off-by: Innei <tukon479@gmail.com >
* update
Signed-off-by: Innei <tukon479@gmail.com >
* merge
* update
* update favicon link
* fix: reload prompt on mobile
* test
Signed-off-by: Innei <i@innei.in >
* test
Signed-off-by: Innei <i@innei.in >
* fix: ios
Signed-off-by: Innei <i@innei.in >
* try patch precaching
* try
* try
* build
* try
* try
* feat: ctx menu on safari
Signed-off-by: Innei <tukon479@gmail.com >
* try
* clear timeout
Signed-off-by: Innei <tukon479@gmail.com >
* try
* fix
* deny og
* fix patch
* pre cache exclude
* feat: add all
Signed-off-by: Innei <tukon479@gmail.com >
* i18n
Signed-off-by: Innei <tukon479@gmail.com >
* feat: slide
Signed-off-by: Innei <tukon479@gmail.com >
* feat: ico
Signed-off-by: Innei <tukon479@gmail.com >
* fix: build
Signed-off-by: Innei <tukon479@gmail.com >
* test network first
Signed-off-by: Innei <tukon479@gmail.com >
* test
Signed-off-by: Innei <tukon479@gmail.com >
* fix: icon padding
* test
Signed-off-by: Innei <tukon479@gmail.com >
* use react-ios-pwa-prompt
* fix: icon path
* update
* fix: prompt
Signed-off-by: Innei <tukon479@gmail.com >
* feat: redesign toc
Signed-off-by: Innei <tukon479@gmail.com >
* ctx
Signed-off-by: Innei <tukon479@gmail.com >
* ready to prod
Signed-off-by: Innei <tukon479@gmail.com >
* feat: startup screen
Signed-off-by: Innei <tukon479@gmail.com >
* feat: floatbar
Signed-off-by: Innei <tukon479@gmail.com >
* fix: switch view
Signed-off-by: Innei <tukon479@gmail.com >
* fix: keep scroll map
Signed-off-by: Innei <tukon479@gmail.com >
* enable hoverOnlyWhenSupported
* fix: count
Signed-off-by: Innei <tukon479@gmail.com >
* fix: hoverOnlyWhenSupported only in web
Signed-off-by: Innei <tukon479@gmail.com >
* fix
Signed-off-by: Innei <tukon479@gmail.com >
* chore: auto-fix linting and formatting issues
---------
Signed-off-by: Innei <i@innei.in >
Signed-off-by: Innei <tukon479@gmail.com >
Co-authored-by: Innei <Innei@users.noreply.github.com >
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
Co-authored-by: hyoban <hyoban@users.noreply.github.com >
Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com >
Co-authored-by: lawvs <lawvs@users.noreply.github.com >
2024-11-22 19:32:39 +08:00
Whitewater and Innei
ea8c8d0926
refactor: new command abstractions in follow ( #1566 )
...
* feat: implement command abstractions and hooks
* chore: register follow commands in search command context
* refactor: replace entry actions with command buttons in entry header
* chore: add usePopulatedEntry hook
* feat: add user focus context with atom hooks
* fix: types
* refactor: redesign command system
* refactor: update command button and hotkey hooks for improved type safety
* refactor: update command types for consistency and add new command types
* refactor: enhance entry actions component with dynamic command buttons
* chore: clean code
* refactor: streamline entry content handling and enhance command button configuration
* refactor: enhance command handling and streamline entry actions integration
* refactor: deprecate command button components and simplify command registration
* fix: disable shortcut in modal present
Signed-off-by: Innei <tukon479@gmail.com >
---------
Signed-off-by: Innei <tukon479@gmail.com >
Co-authored-by: Innei <tukon479@gmail.com >
2024-11-19 13:34:55 +08:00