Commit Graph

18 Commits

Author SHA1 Message Date
EYHN
a2fa9149ff
feat(templates): add stickers (#6629) 2024-04-19 06:47:29 +00:00
Lye Hongtao
4641bc422b
feat: move templates into AFFiNE (#5750)
Related to https://github.com/toeverything/blocksuite/pull/6156

### Change
Move the edgeless templates to AFFiNE. All templates are stored as zip files. Run `node build-edgeless.mjs` in `@affine/templates` to generate JSON-format templates and importing script. The template will be generated automatically during building and dev (`yarn dev`).
2024-02-21 06:26:01 +00:00
Peng Xiao
3978b2dfd2
refactor(core): onboarding using new transformer api (#5412)
Use new `transformer` to import onboarding json templates.

The json files are generated via this gist
https://gist.github.com/pengx17/ef92c305ac23123803a1a6a20e31f822

Not using the all-in-one `ZipTransformer` to import onboarding via a zip file.
1. The main concerns is that we still need to serve the blob resources via CDN to reduce user's blob usage. Otherwise the user will get the onboarding images being uploaded to cloud server every time he creates a new workspace. In this PR we extracted parts of the code from `ZipTransformer` in blocksuite and mute some code for uploading blobs.
2. it maybe not necessary to use zip for loading snapshots.

This PR is a short term solution. whether or not to tune the transformer api design may need further discussions.

fix TOV-264
2023-12-28 13:59:21 +00:00
LongYinan
73c2750596
chore: upgrade to yarn@4.0.2 (#5245) 2023-12-11 07:28:07 +00:00
Joooye_34
d835be90cb
chore: prettier ignore file generated by napi-rs (#4661) 2023-10-19 07:17:04 +00:00
Joooye_34
bed9310519
refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
Alex Yang
1b6a78cd00
feat!: unified migration logic in server electron, and browser (#4079)
Co-authored-by: Mirone <Saul-Mirone@outlook.com>
2023-09-06 07:44:53 +00:00
Alex Yang
2f6c4e3696
feat!: affine cloud support (#3813)
Co-authored-by: Hongtao Lye <codert.sn@gmail.com>
Co-authored-by: liuyi <forehalo@gmail.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
Co-authored-by: X1a0t <405028157@qq.com>
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
Co-authored-by: xiaodong zuo <53252747+zuoxiaodong0815@users.noreply.github.com>
Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: Qi <474021214@qq.com>
Co-authored-by: danielchim <kahungchim@gmail.com>
2023-08-29 05:07:05 -05:00
Alex Yang
19055baa49
feat: init new plugin system (#3323) 2023-07-20 10:52:29 +00:00
Alex Yang
fa1cd87348
chore: bump version (#3041) 2023-07-06 03:49:17 +00:00
DarkSky
8a2dac9718
fix: incorrect formatting (#2917) 2023-06-29 08:25:43 +00:00
Alex Yang
e08ee9b7ff
ci: add prettier format check (#2908) 2023-06-29 04:13:35 +00:00
LongYinan
dd58b1bbf6
build: docker images (#2860) 2023-06-27 17:23:19 +08:00
LongYinan
602f795133
build: prevent tsconfig includes sources outside (#2643) 2023-06-01 17:08:14 +08:00
Peng Xiao
c27c241482
fix: some improvements to electron app (#2089) 2023-04-24 12:53:21 -05:00
Peng Xiao
487ef35563
fix: some minor ui issues (#1783) 2023-04-03 00:24:53 -05:00
Peng Xiao
88f662e6f6
feat: electron app (#1586) 2023-03-16 22:58:21 +08:00
DarkSky
6c2c7dcd48
milestone: publish alpha version (#637)
- document folder
- full-text search
- blob storage
- basic edgeless support

Co-authored-by: tzhangchi <terry.zhangchi@outlook.com>
Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
Co-authored-by: DiamondThree <diamond.shx@gmail.com>
Co-authored-by: MingLiang Wang <mingliangwang0o0@gmail.com>
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
Co-authored-by: Yifeng Wang <doodlewind@toeverything.info>
Co-authored-by: Himself65 <himself65@outlook.com>
Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com>
Co-authored-by: Qi <474021214@qq.com>
2022-12-30 21:40:15 +08:00