pengx17
791484a46c
fix(core): some style issues ( #9875 )
...
fix AF-2158, AF-2159
It seems the input hack for modal is no longer needed
2025-01-24 05:06:59 +00:00
pengx17
6a74107010
fix(core): some storage setting enhancements ( #9877 )
...
fix AF-2157, AF-2155, AF-2156
1. add shift selection for grid blob card
2. various style issues
3. unused blobs list will also wait for workspace syncing
2025-01-24 04:35:54 +00:00
pengx17
6ac6a8d6d6
feat(core): unused blob management in settings ( #9795 )
...
fix AF-2144, PD-2064, PD-2065, PD-2066
2025-01-23 07:12:17 +00:00
forehalo
5828eb53b6
feat(core): support one time password ( #9798 )
2025-01-22 07:33:10 +00:00
pengx17
7dc470e7ea
feat(core): add new bs dnd adapter ( #9717 )
2025-01-16 13:54:50 +00:00
CatsJuice
ad86292f45
test(core): add basic tests for template doc setting ( #9702 )
...
close AF-2112, AF-2114, AF-2115
2025-01-16 02:28:29 +00:00
pengx17
0ed9258f51
fix(core): some dnd perf issues ( #9661 )
...
1. page list item are bound two draggables. adding `draggable` prop to WorkbenchLink to mitigate the issue.
2. DndService may not resolve datatransfer when dragging.
2025-01-15 15:04:01 +00:00
L-Sun
a0cba55a5b
feat(mobile): mobile toc menu ( #9582 )
...
Close [BS-1787](https://linear.app/affine-design/issue/BS-1787/toc-移动端适配 )
2025-01-08 08:03:11 +00:00
pengx17
a4841bbfa3
feat(core): drop doc onto split view ( #9487 )
...
fix AF-2068, AF-2069, AF-1175, AF-2061, AF-2079, AF-2034, AF-2080, AF-1960, AF-2081
1. replace `dnd-kit` with `@atlaskit/pragmatic-drag-and-drop`
2. allow creating split views by drag & drop the following
a. WorkbenchLinks (route links), like journals, trash, all docs
b. doc refs
c. tags/collection
3. style adjustments to split view
4. remove split view's feature flag and make it GA for electron
https://github.com/user-attachments/assets/6a3e4a25-faa2-4215-8eb0-983f44db6e8c
2025-01-08 05:05:33 +00:00
forehalo
c0ed74dfed
chore: standardize tsconfig ( #9568 )
2025-01-08 04:07:56 +00:00
CatsJuice
09937a8e4d
chore: bump icons with new design source ( #9529 )
2025-01-06 03:10:03 +00:00
pengx17
153c1b2c55
refactor(core): make lit portal a bit cleaner ( #9354 )
2024-12-27 08:34:04 +00:00
fundon
6fcdd015aa
fix(component): lit portal not re-rendering in inline links case ( #9321 )
...
* uses `portal.key` in templates
* updates `portal.id` for use in queries
2024-12-27 15:43:13 +08:00
fundon
3064f21454
refactor(component): lit portal ( #9303 )
...
* removes `listeners`
* adds `notify` property into `LitReactPortal`
* adds `rerendering` argument to element factory
Related to https://github.com/toeverything/AFFiNE/pull/9295#discussion_r1897043399
2024-12-26 03:08:04 +00:00
L-Sun
067469aa98
fix(component): prevent auto focus in mobile modal ( #9247 )
...
Continue [BS-2169](https://linear.app/affine-design/issue/BS-2169/新的-menu-不支持移动端 )
2024-12-23 09:56:58 +00:00
EYHN
129f94ee78
refactor(core): move infra modules to core ( #9207 )
2024-12-23 04:54:00 +00:00
CatsJuice
a53e231bad
feat(component, mobile): masonry layout with virtual scroll support, adapted with all docs ( #9208 )
...
### Preview

### Render when scrolling

### api
```tsx
const items = useMemo(() => {
return {
id: '',
height: 100,
children: <div></div>
}
}, [])
<Masonry items={items} />
```
2024-12-20 05:32:17 +00:00
JimmFly
2988dc284e
chore: adjust input style ( #9217 )
2024-12-20 04:18:34 +00:00
L-Sun
e378f591cb
fix(mobile): add missing mobile date selector and remove focus style from date picker in mobile ( #9215 )
...
Close [BS-2169](https://linear.app/affine-design/issue/BS-2169/新的-menu-不支持移动端 )
### What changes
- add missing date-selector for mobile
- remove focus style of date picker for mobile

2024-12-20 03:39:49 +00:00
JimmFly
7ff24e9c1c
fix(core): adjust admin permission ( #9204 )
...
close AF-2001 AF-2002
2024-12-20 02:26:17 +00:00
pengx17
da0f3d0b56
chore(core): some dnd events ( #9206 )
...
fix AF-1999
2024-12-19 07:42:13 +00:00
JimmFly
70deeaa804
fix(core): adjust member limit dialog ( #9195 )
...
close AF-1945 AF-1989 AF-1981 AF-1998 AF-1950 AF-1951
Adjust the member limit dialog. Now it will determine whether the member limit is reached when clicking Send Invite Email.
Modified the notification after sending the invitation.
2024-12-19 02:23:35 +00:00
JimmFly
cbb52c69b2
chore: temporarily hide link invitation ( #9193 )
...
close AF-1992 AF-1995 AF-1979 AF-1997
chore: temporarily hide link invitation
fix(core): only team workspace can assign admin
fix(core): member options in member list do not match expectations
2024-12-18 07:26:41 +00:00
JimmFly
4b836cd40f
fix(core): add visit workspace button to team upgrade success page ( #9186 )
...
close AF-1978
2024-12-17 11:07:48 +00:00
EYHN
b36b398957
fix(infra): memory leak ( #9013 )
2024-12-16 16:55:49 +00:00
pengx17
7b0387541c
fix(core): redudant drop target register ( #9177 )
...
fix the following issue.
root cause is that options.element is being reused when cleaning up, but if its value comes from a ref, it might be null at that point.

2024-12-16 10:23:31 +00:00
CatsJuice
87bbcae5e2
fix(component): mobile toast dark mode ( #9142 )
2024-12-16 04:31:12 +00:00
CatsJuice
729c37977e
chore(component): update button and input border color ( #9141 )
2024-12-16 04:16:49 +00:00
pengx17
0db6dd2f62
fix(mobile): doc info title max width ( #9147 )
...
fix AF-1925
2024-12-16 03:44:18 +00:00
pengx17
7b173a68d5
fix(mobile): hide scrollbar ( #9144 )
...
fix AF-1934
2024-12-16 03:44:17 +00:00
Brooooooklyn
aaaea8918f
chore: upgrade to eslint9 ( #9163 )
2024-12-14 10:29:04 +00:00
Brooooooklyn
ea746e3d77
chore: disable rules in oxlint ( #9154 )
2024-12-13 10:49:35 +00:00
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
JimmFly
dd39d049fe
feat(core): improve invite link ( #9111 )
2024-12-12 17:43:19 +08:00
CatsJuice
84df2a1d16
fix(mobile): disable navigation gesture for swipe-dialog ( #8993 )
2024-12-12 06:55:16 +00:00
JimmFly
4eb31444a9
fix(core): optimize upgrade to team page ( #9099 )
2024-12-11 17:59:46 +08:00
pengx17
dc7d128252
feat(core): allow bs snapshot dragging targets ( #9093 )
...
fix AF-1924, AF-1848, AF-1928, AF-1931
dnd between affine & editor
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/dff3ceb1-dc82-4222-9b55-13be80b28b2f.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/dff3ceb1-dc82-4222-9b55-13be80b28b2f.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/dff3ceb1-dc82-4222-9b55-13be80b28b2f.mp4 ">20241210-1217-49.8960381.mp4</video>
2024-12-11 08:12:01 +00:00
JimmFly
612310bc26
feat(core): impl team workspace ( #8920 )
...
AF-1738 AF-1735 AF-1731 AF-1721 AF-1717 AF-1736 AF-1727 AF-1719 AF-1877
UI for team workspaces :
- add upgrade to team & successful upgrade page ( `/upgrade-to-team` & `/upgrade-success/team`)
- update team plans on pricing page ( settings —> pricing plans )
- update reaching the usage/member limit modal
- update invite member modal
- update member CRUD options
2024-12-10 06:31:36 +00:00
pengx17
4335b0dc79
feat(core): add draghandle to doc page title ( #9079 )
...
fix AF-1846
2024-12-10 02:13:09 +00:00
pengx17
814b4c9cb0
fix(core): canDrop check for external ( #9058 )
2024-12-09 10:25:38 +00:00
pengx17
fafacdb265
feat(core): dnd support external types ( #9033 )
...
fix AF-1847
two issues:
1. original `dropTargetForExternal` only works if dragging target is from another window context. patched the library to bypass this issue
2. `dataTransfer`'s content is only available on `drop` event. This means we cannot have `canDrop` checks for external elements (like blocksuite links).
2024-12-06 21:46:08 +08:00
renovate
e83617a556
chore: bump up @blocksuite/affine version to v0.18.3 ( #9019 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/affine](https://redirect.github.com/toeverything/blocksuite ) ([source](https://redirect.github.com/toeverything/blocksuite/tree/HEAD/packages/affine/all ), [changelog](https://redirect.github.com/toeverything/blocksuite/blob/master/packages/blocks/CHANGELOG.md )) | [`0.18.1` -> `0.18.3`](https://renovatebot.com/diffs/npm/@blocksuite%2faffine/0.18.1/0.18.3 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>toeverything/blocksuite (@​blocksuite/affine)</summary>
### [`v0.18.3`](https://redirect.github.com/toeverything/blocksuite/blob/HEAD/packages/affine/all/CHANGELOG.md#0183 )
[Compare Source](https://redirect.github.com/toeverything/blocksuite/compare/v0.18.2...v0.18.3 )
##### Patch Changes
- [`3448094`](https://redirect.github.com/toeverything/blocksuite/commit/3448094 ): ## Fix
- fix(database): storage should be accessed via globalThis ([#​8863](https://redirect.github.com/toeverything/blocksuite/issues/8863 ))
- fix(edgeless): memory leak in edgeless widgets ([#​8862](https://redirect.github.com/toeverything/blocksuite/issues/8862 ))
- fix: page switching under starter route ([#​8860](https://redirect.github.com/toeverything/blocksuite/issues/8860 ))
### [`v0.18.2`](https://redirect.github.com/toeverything/blocksuite/blob/HEAD/packages/affine/all/CHANGELOG.md#0182 )
[Compare Source](https://redirect.github.com/toeverything/blocksuite/compare/v0.18.1...v0.18.2 )
##### Patch Changes
- [`f97c4ab`](https://redirect.github.com/toeverything/blocksuite/commit/f97c4ab ): bump
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-12-06 06:11:41 +00:00
CatsJuice
53339e3370
fix(component): toast shouldn't cover whole header ( #9032 )
2024-12-06 01:56:02 +00:00
pengx17
e4f94c7e3f
fix(mobile): progress styles ( #9001 )
...
fix AF-1875, fix AF-1878, fix AF-1879
2024-12-04 06:56:34 +00:00
pengx17
4706f1e2a3
fix(core): date-picker styles ( #8997 )
...
fix AF-1871
2024-12-04 06:56:26 +00:00
pengx17
dddefcf768
fix(core): lit portal rerender ( #9012 )
2024-12-04 06:20:03 +00:00
EYHN
8963826463
feat(core): desktop multiple server support ( #8979 )
2024-12-03 05:51:09 +00:00
pengx17
af81c95b85
fix(mobile): workaround for tag modal blink ( #8985 )
...
workaround for fix AF-1822
2024-12-03 02:08:32 +00:00
pengx17
31bab2507e
feat: enhance markdown preview for backlinks ( #8956 )
...
fix AF-1770
fix AF-1771
---
fix: doc link middlewares
feat: markdown renderer
feat: allow multiple backlink for a single doc
feat: showing correct doc ref link
feat: trim long para & ident lists
feat: list indentition fix
feat: database/latext handling
feat: other block types handling
fix: lint
2024-12-02 10:29:44 +00:00
EYHN
cee5d02f71
feat(core): add markdown preview for backlinks ( #8883 )
2024-12-02 03:42:07 +00:00