Commit Graph

20 Commits

Author SHA1 Message Date
devin-ai-integration
e100d252b2
fix(core): add null checks for timeout refs and event listeners for React 19 compatibility (#9116)
## Description
- Add null checks before clearTimeout calls in colorful-fallback.tsx, edgeless.dialog.tsx, and local.dialog.tsx
- Fix event listener cleanup in unfolding.tsx
- Update tsconfig.jsx to use react-jsx transform

## Testing
- [x] Verified type safety improvements for React 19 compatibility
- [x] Ensured proper cleanup of event listeners and timeouts
- [x] Confirmed no unintended side effects from the changes

Link to Devin run: https://app.devin.ai/sessions/2e790f3ea0d84402837ec6c3c6f83e4c
2024-12-12 09:43:42 +00:00
forehalo
21c7d1810d
chore: bump base version to 0.18.0 2024-11-14 11:41:51 +08:00
EYHN
902635e60f
refactor(core): desktop project struct (#8334) 2024-11-05 11:00:33 +08:00
pengx17
de7b1ff516
fix(core): do not show open-in-app in mobile web browser (#8694) 2024-11-04 12:33:10 +00:00
EYHN
12e3cf1d07
refactor(core): set edgeless theme on doc created (#8670) 2024-11-04 04:38:03 +00:00
pengx17
0f8b273134
feat(core): open app in electron app entry (#8637)
fix PD-208
fix PD-210
fix PD-209
fix AF-1495
2024-10-31 06:16:32 +00:00
Brooooooklyn
58c7e3913d
feat(android): android internal testing (#8577) 2024-10-30 12:18:00 +00:00
Cats Juice
06dda70319
feat(mobile): ios oauth & magic-link login (#8581)
Co-authored-by: EYHN <cneyhn@gmail.com>
2024-10-28 14:12:33 +08:00
liuyi
9b31183bd1
feat(core): add global error handler (#8509) 2024-10-18 14:34:13 +08:00
forehalo
9043e6607e
refactor(i18n): lazy load languages (#8456)
closes AF-1397
2024-10-10 09:03:06 +00:00
forehalo
e0f1fe4110
chore: bump base version to 0.17.0 2024-09-20 15:48:21 +08:00
forehalo
e7ac43f0f7
ci: avoid twice by nx (#8279) 2024-09-18 05:09:42 +00:00
forehalo
315c20f8e5
fix(core): avoid side effects (#8245) 2024-09-18 03:45:20 +00:00
EYHN
ed63602f01
refactor: remove unused deps (#8259)
auto removed by https://knip.dev/features/auto-fix
2024-09-14 14:52:50 +00:00
EYHN
3d80725c1a
refactor(core): move mobile components to core (#8258) 2024-09-14 05:51:14 +00:00
EYHN
5e56ec65e3
refactor(core): adjust core struct (#8218)
packages/frontend/core/src

hooks -> components/hooks
atoms -> components/atoms
layouts -> components/layouts
providers -> components/providers
mixpanel -> @affine/track
~~shared~~
~~unexpected-application-state~~
2024-09-13 11:31:21 +00:00
forehalo
a387e4ac07
refactor: migrate environment to BUILD_CONFIG (#8206) 2024-09-13 07:58:20 +00:00
forehalo
25969a34e8
refactor: avoid runtime config object (#8202) 2024-09-13 07:27:11 +00:00
forehalo
c76b4d70b0
refactor: setup files (#8201) 2024-09-13 07:27:08 +00:00
EYHN
cc5a6e6d40
refactor: new project struct (#8199)
packages/frontend/web -> packages/frontend/apps/web
packages/frontend/mobile -> packages/frontend/apps/mobile
packages/frontend/electron -> packages/frontend/apps/electron
2024-09-12 07:42:57 +00:00