Commit Graph

336 Commits

Author SHA1 Message Date
Stephen Zhou 1b53e260ca
build: bring unist-util-visit-parents overide back (#3108) 2025-03-13 22:50:40 +08:00
DIYgod c4a1eed449
chore: fix overrides 2025-03-13 17:37:53 +08:00
DIYgod 62ccd415a9
chore: remove some overrides 2025-03-13 17:32:42 +08:00
DIYgod 087906aeb4
chore: update dependencies 2025-03-13 17:14:56 +08:00
DIYgod ae458a018f
chore: update dependencies 2025-03-13 11:51:32 +08:00
dependabot[bot] 1fac6a91e5
build(deps): bump tailwindcss from 3.4.16 to 3.4.17 (#3049)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 3.4.16 to 3.4.17.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v3.4.17/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 11:38:56 +08:00
dependabot[bot] 9145b4249a
build(deps-dev): bump @vercel/node from 5.1.7 to 5.1.13 (#3054)
Bumps [@vercel/node](https://github.com/vercel/vercel/tree/HEAD/packages/node) from 5.1.7 to 5.1.13.
- [Release notes](https://github.com/vercel/vercel/releases)
- [Changelog](https://github.com/vercel/vercel/blob/main/packages/node/CHANGELOG.md)
- [Commits](https://github.com/vercel/vercel/commits/@vercel/node@5.1.13/packages/node)

---
updated-dependencies:
- dependency-name: "@vercel/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 11:37:32 +08:00
Stephen Zhou f29bedc005
build: update lint to remove patch (#3047) 2025-03-13 02:46:41 +00:00
DIYgod 75510b8d4f
chore: overrides @electron/node-gyp 2025-03-13 09:24:18 +08:00
DIYgod a1e70ecd53
chore(mobile): update dependencies 2025-03-12 22:00:19 +08:00
Stephen Zhou b5272910e2
build: update lint (#3010)
* chore: update deps

* update patch

* disable @eslint-react/naming-convention/use-state

* fix: enable "TAILWIND_MODE"

* update
2025-03-09 21:53:10 +08:00
DIYgod 5b9bea723c
chore: move bump script 2025-03-06 20:05:38 +08:00
Innei 62b3b8fe89
fix: build
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 18:37:07 +08:00
Innei 9b0db3024e
chore(desktop): Move release configuration from root package.json to desktop package.json
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 14:29:58 +08:00
Stephen Zhou 9fffc982b1
build: use correct tailwind config to lint (#2947) 2025-03-03 21:26:07 +08:00
Innei 4de3ff98da
chore: downgard PNPM to version 9.12.3
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-03 20:23:27 +08:00
Innei 4ed39b897f
chore: remove @tanstack/react-virtual patch
- Delete the custom patch for @tanstack/react-virtual
- Remove patch reference from package.json and pnpm-lock.yaml
- Clean up unnecessary patching configuration

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-03 20:18:45 +08:00
Innei 3e84f73aec
chore: extract ssr as single app
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-03 20:01:18 +08:00
DIYgod a488ccbf79
chore: move script apply-changelog 2025-03-02 21:52:20 +08:00
DIYgod 2f17ec1a8e
feat: clear root devDependencies (#2934)
* feat: clear root devDependencies

* fix

* fix
2025-03-02 21:22:23 +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
Stephen Zhou c7256cb331
fix(mobile): svg circle support (#2874) 2025-02-24 14:58:50 +00:00
DIYgod 0aa0daca97
chore(release): release v0.3.7 2025-02-24 12:07:39 +08:00
Stephen Zhou 8e2dfe99c8
feat(mobile): audio player (#2801) 2025-02-20 20:40:44 +08:00
cnk e73eb540ed
fix(listEntryCover): fix the cover mistakely render as audio (#2813)
- add cross-env for better windows dev experience
2025-02-20 15:56:45 +08:00
Innei 033b0748c7
chore(release): release v0.3.6 2025-02-20 15:55:33 +08:00
Innei 5d340ec0ca
feat(mobile/html-renderer): Add WrappedElementProvider for dynamic element tracking
- 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>
2025-02-19 21:23:18 +08:00
DIYgod 7ccea72707
chore: fix dependencies 2025-02-19 19:03:30 +08:00
DIYgod 4512819bf5
chore: fix dependencies 2025-02-19 16:51:54 +08:00
DIYgod 36ea29ae7d
chore: update dependencies 2025-02-19 15:27:20 +08:00
DIYgod e40acd8237
docs: update slogan 2025-02-18 21:03:58 +08:00
DIYgod 533bf6a600
chore(release): release v0.3.5 2025-02-14 11:37:46 +08:00
Innei 0f39431cc3
chore(release): release v0.3.4-beta.0 2025-02-13 15:15:22 +08:00
DIYgod bb0db13dc1
fix: electron dev 2025-02-09 14:01:51 +08:00
DIYgod e03f38a7fd
feat: mas (#2692)
* feat: build pkg for mas

* fix: mas build script

* chore: manual mas build

* chore: optional tag_version

* fix: mas build input

* chore: debug

* feat: pkg keychain

* feat: remove pkg maker

* Revert "feat: remove pkg maker"

This reverts commit 0fef70050c9b9e862db7319798171cc47278d65b.

* feat: disable dmg maker for mas

* feat: update version to match mas' requirement

* feat: mas arch

* fix: mas build

* chore: update version

* feat: login and account deletion for mas

* feat: dynamic build version

* feat: recover version

* feat: add BUILD_CERTIFICATE_MASPKG_BASE64
2025-02-08 19:40:39 +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
Innei f84957f46b
fix: shiki theme resolver and lockfile maintainance
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-05 14:18:25 +08:00
Innei a84a4d273a
chore: fix types and lint error
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-04 23:35:51 +08:00
Innei a4bae7ec27
fix: reduce node_modules
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-03 02:19:58 +08:00
Innei 295b99e2ca
chore: update deps
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-03 01:45:49 +08:00
Innei e1bf881e85
feat: use expo module to write native component/module (#2675)
* init

Signed-off-by: Innei <tukon479@gmail.com>

* test uikit

Signed-off-by: Innei <tukon479@gmail.com>

* uitable

Signed-off-by: Innei <tukon479@gmail.com>

* test webview

Signed-off-by: Innei <tukon479@gmail.com>

* shared webview

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(shared-webview): Simplify WebView height management

Signed-off-by: Innei <tukon479@gmail.com>

* fix: add url prop

Signed-off-by: Innei <tukon479@gmail.com>

* rename

Signed-off-by: Innei <tukon479@gmail.com>

* feat: native module

Signed-off-by: Innei <tukon479@gmail.com>

* cleanup

Signed-off-by: Innei <tukon479@gmail.com>

* fix: export

Signed-off-by: Innei <tukon479@gmail.com>

* fix

Signed-off-by: Innei <tukon479@gmail.com>

* fix

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-02 23:55:05 +08:00
Innei ddc23829b8
chore(release): release v0.3.3-beta.0 2025-01-24 21:13:41 +08:00
Stephen Zhou b21d92629f
chore: use tsslint for lint rule require type check 2025-01-17 21:49:51 +08:00
Innei 0ea516c9f9
chore(release): release v0.3.2-beta.0 2025-01-17 21:12:17 +08:00
DIYgod 870905d7b7
feat: sync icons 2025-01-17 13:10:51 +08:00
Stephen Zhou 44617411a1
chore: update lint 2025-01-16 11:35:51 +08:00
Stephen Zhou 596476d924
chore: introduce eslint-plugin-react-google-translate 2025-01-16 10:59:06 +08:00
DIYgod fb00346ec8
chore: update script name 2025-01-10 17:33:32 +08:00
Innei e6ba515975
chore(release): release v0.3.1-beta.0 2025-01-09 18:49:33 +08:00
Innei 5d53a9d0a0
chore(release): release v0.3.0-beta.0 2025-01-02 19:17:31 +08:00