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
EYHN
b36b398957
fix(infra): memory leak ( #9013 )
2024-12-16 16:55:49 +00:00
CatsJuice
b7d05d2078
feat(core): new empty states for doc/collection/tag ( #8197 )
...
AF-1329, AF-1330
2024-09-11 10:48:52 +00:00
CatsJuice
03c2051926
feat(component): startScopedViewTranstion func to support scoped view transition ( #8093 )
...
AF-1293
2024-09-05 06:45:29 +00:00
EYHN
2524491bd1
fix(env): is mobile flag ( #8005 )
...
only 'mobile' entry has isMobile = true flag
2024-09-04 09:21:36 +00:00
Cats Juice
23b0db36b9
feat(component): mobile menu support ( #7892 )
2024-08-21 09:05:05 +00:00
CatsJuice
249f3471c9
feat(component): shortcut style for tooltip ( #7721 )
...

- New `shortcut` prop for `<Tooltip />`
- single key
```tsx
<Tooltip shortcut="T" />
```
- multiple
```tsx
<Tooltip shortcut={["⌘", "K"]} />
```
- Round tooltip's arrow
- Use new design system colors
- Replace some usage
- App sidebar switch
- Editor mode switch
- New tab (new)
2024-08-05 02:57:24 +00:00
CatsJuice
827c952e9f
refactor(component): new Radio component ( #6910 )
...
# New `RadioGroup` component to replace `RadioButton`

### what's new
- [x] Change the API
- [x] More customizable options
- [x] Indicator animation
- [x] Dynamic width support(responsive)
- [x] Storybook
- [x] JSDoc
2024-06-27 06:04:19 +00:00
CatsJuice
98e35384a6
feat(component): helper function observeResize to observe size change via global ResizeObserver ( #7241 )
...
```ts
import { observeResize } from "@affine/component";
useEffect(() => {
const dispose = observeResize(element entry => {
console.log(entry.contentRect);
});
return () => dispose();
}, []);
```
2024-06-19 09:04:56 +00:00