pengx17
|
4b6c4ed546
|
feat(core): doc database properties (#8520)
fix AF-1454
1. move inline tags editor to components
2. add progress component
3. adjust doc properties styles for desktop
4. subscribe bs database links and display in doc info
5. move update/create dates to doc info
6. a trivial e2e test
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/eed266c1-fdac-4f0e-baa9-4aa00d14a2e8.mp4">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/eed266c1-fdac-4f0e-baa9-4aa00d14a2e8.mp4">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/eed266c1-fdac-4f0e-baa9-4aa00d14a2e8.mp4">10月23日.mp4</video>
|
2024-10-24 07:38:45 +00:00 |
|
CatsJuice
|
ed511f8d29
|
fix(component): correct notification theme when theme toggled (#8570)
close AF-1526
|
2024-10-22 03:15:33 +00:00 |
|
Cats Juice
|
a6c2f5dcd5
|
fix(component): correct notification action hover style (#8303)
|
2024-09-19 15:18:19 +08:00 |
|
CatsJuice
|
ec3b97d069
|
fix(component): replace storybook-dark-mode with globalTypes toolbar impl (#8066)
|
2024-09-03 15:18:24 +00:00 |
|
CatsJuice
|
c9a1a8c3b2
|
feat(component): access enviroment in components storybook (#7891)
close AF-1247
|
2024-08-21 06:04:39 +00:00 |
|
renovate[bot]
|
f324fa4719
|
chore: bump up storybook monorepo to v8 (major) (#6068)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: EYHN <cneyhn@gmail.com>
|
2024-08-16 11:42:24 +00:00 |
|
CatsJuice
|
d412635f6b
|
feat(component): new hook to open confirm modal (#6342)
new exports from `@affine/component`:
```ts
import { ConfirmModalProvider, useConfirmModal } from "@affine/component"
```
Open confirm modal with hook:
```ts
const Component = () => {
const { openConfirmModal } = useConformModal();
const open = () => {
openConfirmModal({
// props of ConfirmModal
/**
* will show loading state when confirm clicked, and close after onConfirm finished
*/
onConfirm: async () => {
await new Promise((r) => setTimeout(r, 2000));
},
});
}
return <Button onClick={open}>Open</Button>
}
```
|
2024-03-27 13:30:30 +00:00 |
|
pengx17
|
3c6983ee49
|
fix(core): storybook build issue (#6274)
1. es2022 is required and should be set separately in storybook.
2. @blocksuite/icons versions are not consistent across packages.
|
2024-03-23 06:33:25 +00:00 |
|
Cats Juice
|
2db3c933fa
|
refactor(component): move date-picker to ui, add story, support responsive (#5468)
- move to `component/ui`
- add `AFFiNEDatePicker` & `BlocksuiteDatePicker` story
- inline mode support
- responsive support
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/toeverything/AFFiNE/assets/39363750/320bef49-380f-40a2-b3b2-4b74dd2d8da4">
<img alt="" src="https://github.com/toeverything/AFFiNE/assets/39363750/fc9e7808-02fe-49a1-aa78-aea254fb1f9d">
</picture>
|
2024-01-17 09:16:46 +00:00 |
|
Cats Juice
|
d911d21d1c
|
feat(component): add storybook (#5079)
|
2023-12-04 08:32:19 +00:00 |
|