Commit Graph

98 Commits

Author SHA1 Message Date
dependabot[bot] b75dd12d51
build(deps): bump the patch group with 17 updates (#3358)
Bumps the patch group with 17 updates:

| Package | From | To |
| --- | --- | --- |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.13.13` | `22.13.14` |
| [@sentry/vite-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins) | `3.2.2` | `3.2.4` |
| [@react-native-firebase/analytics](https://github.com/invertase/react-native-firebase) | `21.12.0` | `21.12.3` |
| [@react-native-firebase/app](https://github.com/invertase/react-native-firebase) | `21.12.0` | `21.12.3` |
| [@react-native-firebase/app-check](https://github.com/invertase/react-native-firebase) | `21.12.0` | `21.12.3` |
| [@react-native-firebase/crashlytics](https://github.com/invertase/react-native-firebase) | `21.12.0` | `21.12.3` |
| [expo](https://github.com/expo/expo/tree/HEAD/packages/expo) | `52.0.40` | `52.0.41` |
| [expo-image](https://github.com/expo/expo/tree/HEAD/packages/expo-image) | `2.0.6` | `2.0.7` |
| [expo-sqlite](https://github.com/expo/expo/tree/HEAD/packages/expo-sqlite) | `15.1.2` | `15.1.3` |
| [react-native](https://github.com/facebook/react-native/tree/HEAD/packages/react-native) | `0.77.1` | `0.77.2` |
| [react-native-ios-utilities](https://github.com/dominicstop/react-native-ios-utilities) | `5.1.2` | `5.1.3` |
| [react-native-webview](https://github.com/react-native-webview/react-native-webview) | `13.13.4` | `13.13.5` |
| [drizzle-kit](https://github.com/drizzle-team/drizzle-orm) | `0.30.5` | `0.30.6` |
| [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) | `7.4.0` | `7.4.1` |
| [satori](https://github.com/vercel/satori) | `0.12.1` | `0.12.2` |
| [sonner](https://github.com/emilkowalski/sonner) | `2.0.1` | `2.0.2` |
| [electron-log](https://github.com/megahertz/electron-log) | `5.3.2` | `5.3.3` |


Updates `@types/node` from 22.13.13 to 22.13.14
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@sentry/vite-plugin` from 3.2.2 to 3.2.4
- [Release notes](https://github.com/getsentry/sentry-javascript-bundler-plugins/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript-bundler-plugins/compare/3.2.2...3.2.4)

Updates `@react-native-firebase/analytics` from 21.12.0 to 21.12.3
- [Release notes](https://github.com/invertase/react-native-firebase/releases)
- [Changelog](https://github.com/invertase/react-native-firebase/blob/main/CHANGELOG.md)
- [Commits](https://github.com/invertase/react-native-firebase/compare/v21.12.0...v21.12.3)

Updates `@react-native-firebase/app` from 21.12.0 to 21.12.3
- [Release notes](https://github.com/invertase/react-native-firebase/releases)
- [Changelog](https://github.com/invertase/react-native-firebase/blob/main/CHANGELOG.md)
- [Commits](https://github.com/invertase/react-native-firebase/compare/v21.12.0...v21.12.3)

Updates `@react-native-firebase/app-check` from 21.12.0 to 21.12.3
- [Release notes](https://github.com/invertase/react-native-firebase/releases)
- [Changelog](https://github.com/invertase/react-native-firebase/blob/main/CHANGELOG.md)
- [Commits](https://github.com/invertase/react-native-firebase/compare/v21.12.0...v21.12.3)

Updates `@react-native-firebase/crashlytics` from 21.12.0 to 21.12.3
- [Release notes](https://github.com/invertase/react-native-firebase/releases)
- [Changelog](https://github.com/invertase/react-native-firebase/blob/main/CHANGELOG.md)
- [Commits](https://github.com/invertase/react-native-firebase/compare/v21.12.0...v21.12.3)

Updates `expo` from 52.0.40 to 52.0.41
- [Changelog](https://github.com/expo/expo/blob/main/packages/expo/CHANGELOG.md)
- [Commits](https://github.com/expo/expo/commits/HEAD/packages/expo)

Updates `expo-image` from 2.0.6 to 2.0.7
- [Changelog](https://github.com/expo/expo/blob/main/packages/expo-image/CHANGELOG.md)
- [Commits](https://github.com/expo/expo/commits/HEAD/packages/expo-image)

Updates `expo-sqlite` from 15.1.2 to 15.1.3
- [Changelog](https://github.com/expo/expo/blob/main/packages/expo-sqlite/CHANGELOG.md)
- [Commits](https://github.com/expo/expo/commits/HEAD/packages/expo-sqlite)

Updates `react-native` from 0.77.1 to 0.77.2
- [Release notes](https://github.com/facebook/react-native/releases)
- [Changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react-native/commits/v0.77.2/packages/react-native)

Updates `react-native-ios-utilities` from 5.1.2 to 5.1.3
- [Release notes](https://github.com/dominicstop/react-native-ios-utilities/releases)
- [Commits](https://github.com/dominicstop/react-native-ios-utilities/compare/v5.1.2...v5.1.3)

Updates `react-native-webview` from 13.13.4 to 13.13.5
- [Release notes](https://github.com/react-native-webview/react-native-webview/releases)
- [Changelog](https://github.com/react-native-webview/react-native-webview/blob/master/.releaserc)
- [Commits](https://github.com/react-native-webview/react-native-webview/compare/v13.13.4...v13.13.5)

Updates `drizzle-kit` from 0.30.5 to 0.30.6
- [Release notes](https://github.com/drizzle-team/drizzle-orm/releases)
- [Commits](https://github.com/drizzle-team/drizzle-orm/compare/drizzle-kit@0.30.5...drizzle-kit@0.30.6)

Updates `react-router` from 7.4.0 to 7.4.1
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router@7.4.1/packages/react-router)

Updates `satori` from 0.12.1 to 0.12.2
- [Release notes](https://github.com/vercel/satori/releases)
- [Commits](https://github.com/vercel/satori/compare/0.12.1...0.12.2)

Updates `sonner` from 2.0.1 to 2.0.2
- [Release notes](https://github.com/emilkowalski/sonner/releases)
- [Commits](https://github.com/emilkowalski/sonner/compare/v2.0.1...v2.0.2)

Updates `electron-log` from 5.3.2 to 5.3.3
- [Changelog](https://github.com/megahertz/electron-log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/megahertz/electron-log/compare/v5.3.2...v5.3.3)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: "@sentry/vite-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: "@react-native-firebase/analytics"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: "@react-native-firebase/app"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: "@react-native-firebase/app-check"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: "@react-native-firebase/crashlytics"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: expo
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: expo-image
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: expo-sqlite
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: react-native
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: react-native-ios-utilities
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: react-native-webview
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: drizzle-kit
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: react-router
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: satori
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: sonner
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: electron-log
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-30 15:52:32 +08:00
dependabot[bot] 38571c4e0c
build(deps): bump the minor group across 1 directory with 13 updates (#3350)
* build(deps): bump the minor group across 1 directory with 13 updates

Bumps the minor group with 13 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [electron](https://github.com/electron/electron) | `34.3.4` | `34.4.1` |
| [@tanstack/query-sync-storage-persister](https://github.com/TanStack/query/tree/HEAD/packages/query-sync-storage-persister) | `5.69.0` | `5.70.0` |
| [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) | `5.69.0` | `5.70.0` |
| [@tanstack/react-query-persist-client](https://github.com/TanStack/query/tree/HEAD/packages/react-query-persist-client) | `5.69.0` | `5.70.0` |
| [es-toolkit](https://github.com/toss/es-toolkit) | `1.33.0` | `1.34.1` |
| [react-hook-form](https://github.com/react-hook-form/react-hook-form) | `7.54.2` | `7.55.0` |
| [react-native-screens](https://github.com/software-mansion/react-native-screens) | `4.9.2` | `4.10.0` |
| [use-sync-external-store](https://github.com/facebook/react/tree/HEAD/packages/use-sync-external-store) | `1.4.0` | `1.5.0` |
| [@sentry/react](https://github.com/getsentry/sentry-javascript) | `9.9.0` | `9.10.1` |
| [framer-motion](https://github.com/motiondivision/motion) | `12.5.0` | `12.6.2` |
| [builder-util-runtime](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/builder-util-runtime) | `9.2.10` | `9.3.1` |
| [electron-updater](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-updater) | `6.3.9` | `6.6.2` |
| [@tanstack/react-query-devtools](https://github.com/TanStack/query/tree/HEAD/packages/react-query-devtools) | `5.69.0` | `5.70.0` |



Updates `electron` from 34.3.4 to 34.4.1
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](https://github.com/electron/electron/compare/v34.3.4...v34.4.1)

Updates `@tanstack/query-sync-storage-persister` from 5.69.0 to 5.70.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.70.0/packages/query-sync-storage-persister)

Updates `@tanstack/react-query` from 5.69.0 to 5.70.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.70.0/packages/react-query)

Updates `@tanstack/react-query-persist-client` from 5.69.0 to 5.70.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.70.0/packages/react-query-persist-client)

Updates `es-toolkit` from 1.33.0 to 1.34.1
- [Release notes](https://github.com/toss/es-toolkit/releases)
- [Changelog](https://github.com/toss/es-toolkit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/toss/es-toolkit/compare/v1.33.0...v1.34.1)

Updates `react-hook-form` from 7.54.2 to 7.55.0
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.54.2...v7.55.0)

Updates `react-native-screens` from 4.9.2 to 4.10.0
- [Release notes](https://github.com/software-mansion/react-native-screens/releases)
- [Commits](https://github.com/software-mansion/react-native-screens/compare/4.9.2...4.10.0)

Updates `use-sync-external-store` from 1.4.0 to 1.5.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/use-sync-external-store)

Updates `@sentry/react` from 9.9.0 to 9.10.1
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/9.9.0...9.10.1)

Updates `framer-motion` from 12.5.0 to 12.6.2
- [Changelog](https://github.com/motiondivision/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/motiondivision/motion/compare/v12.5.0...v12.6.2)

Updates `builder-util-runtime` from 9.2.10 to 9.3.1
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/builder-util-runtime/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/HEAD/packages/builder-util-runtime)

Updates `electron-updater` from 6.3.9 to 6.6.2
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-updater/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/electron-updater@6.6.2/packages/electron-updater)

Updates `@tanstack/react-query-devtools` from 5.69.0 to 5.70.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.70.0/packages/react-query-devtools)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@tanstack/query-sync-storage-persister"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@tanstack/react-query"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@tanstack/react-query-persist-client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: es-toolkit
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: react-native-screens
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: use-sync-external-store
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@sentry/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: builder-util-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: electron-updater
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@tanstack/react-query-devtools"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: types

* fix: types

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: DIYgod <i@diygod.me>
2025-03-30 13:53:47 +08:00
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
DIYgod acc55bbc18
build(deps): bump the patch group 2025-03-26 11:08:11 +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 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
Stephen Zhou c4412c5e0a
build: revert unist-util-visit-parents update (#3106) 2025-03-13 13:51:58 +00:00
dependabot[bot] 55c1def859
build(deps): bump unist-util-visit-parents from 5.1.3 to 6.0.1 (#3090)
Bumps [unist-util-visit-parents](https://github.com/syntax-tree/unist-util-visit-parents) from 5.1.3 to 6.0.1.
- [Release notes](https://github.com/syntax-tree/unist-util-visit-parents/releases)
- [Commits](https://github.com/syntax-tree/unist-util-visit-parents/compare/5.1.3...6.0.1)

---
updated-dependencies:
- dependency-name: unist-util-visit-parents
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 17:46:30 +08:00
dependabot[bot] d73806ab13
build(deps): bump remark-directive from 3.0.1 to 4.0.0 (#3089)
Bumps [remark-directive](https://github.com/remarkjs/remark-directive) from 3.0.1 to 4.0.0.
- [Release notes](https://github.com/remarkjs/remark-directive/releases)
- [Commits](https://github.com/remarkjs/remark-directive/compare/3.0.1...4.0.0)

---
updated-dependencies:
- dependency-name: remark-directive
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 16:27:37 +08:00
DIYgod ae458a018f
chore: update dependencies 2025-03-13 11:51:32 +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 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
Stephen Zhou f324fc05dc
fix: update framer motion version (#2884) 2025-02-25 02:41:20 +00:00
DIYgod 36ea29ae7d
chore: update dependencies 2025-02-19 15:27:20 +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 295b99e2ca
chore: update deps
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-03 01:45:49 +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
Stephen Zhou 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
Stephen Zhou 9f6934f844
fix(mobile): background color 2025-01-06 20:40:29 +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 d5bf07fd75
chore: update deps 2024-12-09 17:37:01 +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
Stephen Zhou 779a12045e
chore: use same specifier 2024-12-03 20:51:40 +08:00
Stephen Zhou 37164a3674
Revert "build: use pnpm catalogs"
This reverts commit 4477f83a29.
2024-12-03 20:32:19 +08:00
Stephen Zhou 4477f83a29
build: use pnpm catalogs 2024-12-03 20:22:02 +08:00