JimmFly
10b1f233d9
feat(core): add edgelessTheme property and edgelessDefault theme setting ( #8614 )
...
close AF-1430 AF-1471
https://github.com/user-attachments/assets/d997ac6c-ce94-4fa4-ab34-29b36c7796ea
2024-11-01 03:58:02 +00:00
EYHN
1f6cce2f5e
fix(core): fix copy block link ( #8650 )
2024-10-31 17:15:46 +00:00
pengx17
2b3b7057c5
fix(core): checkbox property styling and layout ( #8645 )
...
fix BS-1725
2024-10-31 07:31:52 +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
donteatfriedrice
ba3aa7f153
feat: add snapshot import export config ( #8584 )
...
[BS-1470](https://linear.app/affine-design/issue/BS-1470/提供-snapshot-导入导出开关 )
2024-10-31 05:18:14 +00:00
pengx17
d96cc097c2
fix(core): db properties ui issues ( #8638 )
...
fix AF-1562
fix BS-1711
2024-10-31 04:46:50 +00:00
donteatfriedrice
afcf595626
feat: add import modal ( #8599 )
...
[BS-1471](https://linear.app/affine-design/issue/BS-1471/新的-import-dialog-ui )
2024-10-31 04:09:43 +00:00
JimmFly
ea607d34f6
chore: adjust tooltips side of doc properties ( #8640 )
2024-10-31 11:50:03 +08:00
pengx17
a791481ac8
refactor(electron): move electron-api to framework ( #8601 )
...
fix AF-1394
2024-10-30 09:16:20 +00:00
Brooooooklyn
5709ebbb11
feat(ios): hashcash in swift ( #8602 )
2024-10-29 08:40:15 +00:00
pengx17
835fdc33c0
feat(core): add open link in app to doc menu ( #8597 )
...
add "open in desktop app" menu item for editor
fix AF-1547
2024-10-29 13:55:13 +08:00
EYHN
7699296f11
feat(core): captcha service ( #8616 )
2024-10-28 18:06:52 +00:00
pengx17
81029db6ce
feat: allow peek view to be closed by the caller && bump bs ( #8542 )
...
depends on https://github.com/toeverything/blocksuite/pull/8558
fix BS-1570
2024-10-28 09:16:35 +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
CatsJuice
829361a910
fix(core): adjust onetime subscription ui for billing and pricing ( #8591 )
...
close AF-1534
2024-10-25 03:59:06 +00:00
pengx17
8f694aceb7
fix(core): redirect to old page after login via 404 page ( #8588 )
...
fix AF-1487
When visit a cloud worskapce page without login, we should allow the user to redirect back to that page after login.
The logic is only added for this case, including login with email magin link + google login. Login with password is already working without changes.
2024-10-25 03:43:00 +00:00
JimmFly
10963da706
refactor(core): improve editor gap appendParagraph function ( #8567 )
...
close AF-1257
Every time we clicked on an empty space at the bottom, a new Paragraph block was created.
Now we change it so that if there is already an empty Paragraph block at the bottom, we focus it instead of creating a new one.
2024-10-24 10:53:18 +00:00
pengx17
2fc27f41f0
fix(core): dont show config properties in peek view ( #8594 )
...
view service is undefined in center peek.
2024-10-24 09:18:13 +00:00
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
JimmFly
be3125b73d
feat(core): add tooltips to PropertyItem ( #8564 )
...
close AF-1512
2024-10-22 06:56:17 +00:00
JimmFly
8c0ee0f52b
fix(core): clicking change mode in the menu should switch both view and mode ( #8562 )
...
close AF-1524
2024-10-22 03:29:06 +00:00
CatsJuice
64f97806bb
fix(core): free cloud and ai onetime payment adaptation ( #8558 )
...
close AF-1515, AF-1516
2024-10-22 02:18:04 +00:00
EYHN
7cd4028176
feat(core): adjust doc property style ( #8561 )
2024-10-21 09:41:45 +00:00
EYHN
42b3e069f9
feat(core): use contain strict optimizing performance ( #8553 )
2024-10-21 06:42:08 +00:00
EYHN
db374f7feb
feat(core): build config for ios android ( #8555 )
2024-10-21 05:39:04 +00:00
JimmFly
3ca052c55f
chore: adjust style of CloudUserAvatar ( #8548 )
...
close PD-1774

2024-10-19 13:37:06 +00:00
EYHN
01c3a3b4c0
feat(infra): collect more data to indexer ( #8528 )
2024-10-19 20:22:26 +08:00
CatsJuice
8f92be926b
feat(core): new "is journal" page property ( #8525 )
...
close AF-1450, AF-1451, AF-14552
2024-10-18 10:03:08 +00:00
JimmFly
8d3a543a81
fix(core): unexpected double-click behavior when selecting multiple options on all doc pages ( #8461 )
...
close AF-968
2024-10-17 14:15:05 +00:00
JimmFly
2f2e03d3f9
feat(core): close the floating sidebar when creating and opening a doc ( #8535 )
...
close AF-1478
https://github.com/user-attachments/assets/5a2a27f3-7df3-4119-9a1a-1372353e4413
2024-10-17 14:02:09 +00:00
JimmFly
bfb8d582ed
feat(core): set doc mode and primary doc mode separately ( #8359 )
...
https://github.com/user-attachments/assets/98c282f2-4c53-475f-bf10-936a626c2630
2024-10-17 13:48:45 +00:00
forehalo
4e640b4ffc
fix(core): journal nav button icon ( #8517 )
...
close AF-1494
2024-10-17 04:16:30 +00:00
donteatfriedrice
11aa6f63b2
refactor: move chat block to affine ( #8368 )
...
[BS-898](https://linear.app/affine-design/issue/BS-898/move-ai-chat-block-to-affine )
Should be merged after https://github.com/toeverything/blocksuite/pull/8420 merged and bumped.
2024-10-16 12:40:30 +00:00
EYHN
140ac723e6
refactor(core): adapter to new journal and property ( #8508 )
...
remove old WorkspacePropertyAdapter
add JournalService
2024-10-16 08:46:38 +00:00
野声
f393f89a3f
fix(server): blank screen on mobile ( #8460 )
...
Co-authored-by: forehalo <forehalo@gmail.com >
2024-10-16 13:12:40 +08:00
JimmFly
82916e8264
feat(core): make AI functions follow server configuration ( #8374 )
2024-10-16 13:03:56 +08:00
EYHN
e7dcf63c77
refactor(core): rename doc property component name ( #8500 )
2024-10-16 02:11:46 +00:00
EYHN
24e0c5797c
refactor(core): doc property ( #8465 )
...
doc property upgraded to use orm.
The visibility of the property are simplified to three types: `always show`, `always hide`, `hide when empty`, and the default is `always show`.

Added a sidebar view to manage properties

new property ui in workspace settings

Property lists can be collapsed

2024-10-15 10:17:12 +00:00
darkskygit
13b24eb823
feat: refresh captcha correctly ( #8491 )
...
fix AF-1482
2024-10-15 09:10:28 +00:00
renovate
e7ebe0f2c0
chore: bump up oxlint version to v0.9.10 ( #8354 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [oxlint](https://oxc.rs ) ([source](https://redirect.github.com/oxc-project/oxc/tree/HEAD/npm/oxlint )) | [`0.9.6` -> `0.9.10`](https://renovatebot.com/diffs/npm/oxlint/0.9.6/0.9.10 ) | [](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>oxc-project/oxc (oxlint)</summary>
### [`v0.9.10`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.9.10 ): oxlint v0.9.10
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.9...oxlint_v0.9.10 )
#### \[0.9.10] - 2024-10-08
- [`95ca01c`](https://redirect.github.com/oxc-project/oxc/commit/95ca01c ) cfg: \[**BREAKING**] Make BasicBlock::unreachable private ([#​6321](https://redirect.github.com/oxc-project/oxc/issues/6321 )) (DonIsaac)
- [`5a73a66`](https://redirect.github.com/oxc-project/oxc/commit/5a73a66 ) regular_expression: \[**BREAKING**] Simplify public APIs ([#​6262](https://redirect.github.com/oxc-project/oxc/issues/6262 )) (leaysgur)
##### Features
- [`f272137`](https://redirect.github.com/oxc-project/oxc/commit/f272137 ) editors/vscode: Clear diagnostics on file deletion ([#​6326](https://redirect.github.com/oxc-project/oxc/issues/6326 )) (dalaoshu)
- [`1a5f293`](https://redirect.github.com/oxc-project/oxc/commit/1a5f293 ) editors/vscode: Update VSCode extention to use project's language server ([#​6132](https://redirect.github.com/oxc-project/oxc/issues/6132 )) (dalaoshu)
- [`376cc09`](https://redirect.github.com/oxc-project/oxc/commit/376cc09 ) linter: Implement `no-throw-literal` ([#​6144](https://redirect.github.com/oxc-project/oxc/issues/6144 )) (dalaoshu)
- [`5957214`](https://redirect.github.com/oxc-project/oxc/commit/5957214 ) linter: Allow fixing in files with source offsets ([#​6197](https://redirect.github.com/oxc-project/oxc/issues/6197 )) (camchenry)
- [`a089e19`](https://redirect.github.com/oxc-project/oxc/commit/a089e19 ) linter: Eslint/no-else-return ([#​4305](https://redirect.github.com/oxc-project/oxc/issues/4305 )) (yoho)
- [`183739f`](https://redirect.github.com/oxc-project/oxc/commit/183739f ) linter: Implement prefer-await-to-callbacks ([#​6153](https://redirect.github.com/oxc-project/oxc/issues/6153 )) (dalaoshu)
- [`ae539af`](https://redirect.github.com/oxc-project/oxc/commit/ae539af ) linter: Implement no-return-assign ([#​6108](https://redirect.github.com/oxc-project/oxc/issues/6108 )) (Radu Baston)
##### Bug Fixes
- [`00df6e5`](https://redirect.github.com/oxc-project/oxc/commit/00df6e5 ) linter: Friendly diagnostic messages for `no-else-return` ([#​6349](https://redirect.github.com/oxc-project/oxc/issues/6349 )) (DonIsaac)
- [`71ad5d3`](https://redirect.github.com/oxc-project/oxc/commit/71ad5d3 ) linter: `no-else-return` fixer fails when `else` has no trailing whitespace ([#​6348](https://redirect.github.com/oxc-project/oxc/issues/6348 )) (DonIsaac)
- [`9e9808b`](https://redirect.github.com/oxc-project/oxc/commit/9e9808b ) linter: Fix regression when parsing ts in vue files ([#​6336](https://redirect.github.com/oxc-project/oxc/issues/6336 )) (Boshen)
- [`93c6db6`](https://redirect.github.com/oxc-project/oxc/commit/93c6db6 ) linter: Improve docs and diagnostics message for no-else-return ([#​6327](https://redirect.github.com/oxc-project/oxc/issues/6327 )) (DonIsaac)
- [`e0a3378`](https://redirect.github.com/oxc-project/oxc/commit/e0a3378 ) linter: Correct false positive in `unicorn/prefer-string-replace-all` ([#​6263](https://redirect.github.com/oxc-project/oxc/issues/6263 )) (H11)
- [`ea28ee9`](https://redirect.github.com/oxc-project/oxc/commit/ea28ee9 ) linter: Improve the fixer of `prefer-namespace-keyword` ([#​6230](https://redirect.github.com/oxc-project/oxc/issues/6230 )) (dalaoshu)
- [`f6a3450`](https://redirect.github.com/oxc-project/oxc/commit/f6a3450 ) linter: Get correct source offsets for astro files ([#​6196](https://redirect.github.com/oxc-project/oxc/issues/6196 )) (camchenry)
- [`be0030c`](https://redirect.github.com/oxc-project/oxc/commit/be0030c ) linter: Allow whitespace control characters in `no-control-regex` ([#​6140](https://redirect.github.com/oxc-project/oxc/issues/6140 )) (camchenry)
- [`e7e8ead`](https://redirect.github.com/oxc-project/oxc/commit/e7e8ead ) linter: False positive in `no-return-assign` ([#​6128](https://redirect.github.com/oxc-project/oxc/issues/6128 )) (DonIsaac)
##### Performance
- [`ac0a82a`](https://redirect.github.com/oxc-project/oxc/commit/ac0a82a ) linter: Reuse allocator when there are multiple source texts ([#​6337](https://redirect.github.com/oxc-project/oxc/issues/6337 )) (Boshen)
- [`50a0029`](https://redirect.github.com/oxc-project/oxc/commit/50a0029 ) linter: Do not concat vec in `no-useless-length-check` ([#​6276](https://redirect.github.com/oxc-project/oxc/issues/6276 )) (camchenry)
##### Documentation
- [`7ca70dd`](https://redirect.github.com/oxc-project/oxc/commit/7ca70dd ) linter: Add docs for `ContextHost` and `LintContext` ([#​6272](https://redirect.github.com/oxc-project/oxc/issues/6272 )) (camchenry)
- [`a949ecb`](https://redirect.github.com/oxc-project/oxc/commit/a949ecb ) linter: Improve docs for `eslint/getter-return` ([#​6229](https://redirect.github.com/oxc-project/oxc/issues/6229 )) (DonIsaac)
- [`14ba263`](https://redirect.github.com/oxc-project/oxc/commit/14ba263 ) linter: Improve docs for `eslint-plugin-import` rules ([#​6131](https://redirect.github.com/oxc-project/oxc/issues/6131 )) (dalaoshu)
##### Refactor
- [`40932f7`](https://redirect.github.com/oxc-project/oxc/commit/40932f7 ) cfg: Use IndexVec for storing basic blocks ([#​6323](https://redirect.github.com/oxc-project/oxc/issues/6323 )) (DonIsaac)
- [`642725c`](https://redirect.github.com/oxc-project/oxc/commit/642725c ) linter: Rename vars from `ast_node_id` to `node_id` ([#​6305](https://redirect.github.com/oxc-project/oxc/issues/6305 )) (overlookmotel)
- [`8413175`](https://redirect.github.com/oxc-project/oxc/commit/8413175 ) linter: Move shared function from utils to rule ([#​6127](https://redirect.github.com/oxc-project/oxc/issues/6127 )) (dalaoshu)
- [`ba9c372`](https://redirect.github.com/oxc-project/oxc/commit/ba9c372 ) linter: Make jest/vitest rule mapping more clear ([#​6273](https://redirect.github.com/oxc-project/oxc/issues/6273 )) (camchenry)
- [`82b8f21`](https://redirect.github.com/oxc-project/oxc/commit/82b8f21 ) linter: Add schemars and serde traits to AllowWarnDeny and RuleCategories ([#​6119](https://redirect.github.com/oxc-project/oxc/issues/6119 )) (DonIsaac)
- [`ea908f7`](https://redirect.github.com/oxc-project/oxc/commit/ea908f7 ) linter: Consolidate file loading logic ([#​6130](https://redirect.github.com/oxc-project/oxc/issues/6130 )) (DonIsaac)
- [`db751f0`](https://redirect.github.com/oxc-project/oxc/commit/db751f0 ) linter: Use regexp AST visitor in `no-control-regex` ([#​6129](https://redirect.github.com/oxc-project/oxc/issues/6129 )) (camchenry)
- [`3aa7e42`](https://redirect.github.com/oxc-project/oxc/commit/3aa7e42 ) linter: Use RegExp AST visitor for `no-hex-escape` ([#​6117](https://redirect.github.com/oxc-project/oxc/issues/6117 )) (camchenry)
- [`9d5b44a`](https://redirect.github.com/oxc-project/oxc/commit/9d5b44a ) linter: Use regex visitor in `no-regex-spaces` ([#​6063](https://redirect.github.com/oxc-project/oxc/issues/6063 )) (camchenry)
- [`0d44cf7`](https://redirect.github.com/oxc-project/oxc/commit/0d44cf7 ) linter: Use regex visitor in `no-useless-escape` ([#​6062](https://redirect.github.com/oxc-project/oxc/issues/6062 )) (camchenry)
- [`eeb8873`](https://redirect.github.com/oxc-project/oxc/commit/eeb8873 ) linter: Use regex visitor in `no-empty-character-class` ([#​6058](https://redirect.github.com/oxc-project/oxc/issues/6058 )) (camchenry)
##### Testing
- [`d883562`](https://redirect.github.com/oxc-project/oxc/commit/d883562 ) linter: Invalid `eslint/no-unused-vars` options ([#​6228](https://redirect.github.com/oxc-project/oxc/issues/6228 )) (DonIsaac)
### [`v0.9.9`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#099---2024-09-27 )
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.8...oxlint_v0.9.9 )
##### Bug Fixes
- [`01b9c4b`](https://redirect.github.com/oxc-project/oxc/commit/01b9c4b ) npm/oxlint: Make bin/oxc_language_server an executable ([#​6066](https://redirect.github.com/oxc-project/oxc/issues/6066 )) (Boshen)
### [`v0.9.8`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.9.8 ): oxlint v0.9.8
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.7...oxlint_v0.9.8 )
#### \[0.9.8] - 2024-09-24
##### Bug Fixes
- [`e3c8a12`](https://redirect.github.com/oxc-project/oxc/commit/e3c8a12 ) linter: Fix panic in sort-keys ([#​6017](https://redirect.github.com/oxc-project/oxc/issues/6017 )) (Boshen)
- [`4771492`](https://redirect.github.com/oxc-project/oxc/commit/4771492 ) linter: Fix `import/no_cycle` with `ignoreTypes` ([#​5995](https://redirect.github.com/oxc-project/oxc/issues/5995 )) (Boshen)
##### Performance
- [`5ae3f36`](https://redirect.github.com/oxc-project/oxc/commit/5ae3f36 ) linter: `no-fallthrough`: Use string matching instead of Regex for default comment pattern ([#​6008](https://redirect.github.com/oxc-project/oxc/issues/6008 )) (camchenry)
- [`65d8f9e`](https://redirect.github.com/oxc-project/oxc/commit/65d8f9e ) linter, ast-tools, coverage: Use `FxHashSet` instead of `std::collections::HashSet` ([#​6001](https://redirect.github.com/oxc-project/oxc/issues/6001 )) (Cam McHenry)
- [`2b17003`](https://redirect.github.com/oxc-project/oxc/commit/2b17003 ) linter, prettier, diagnostics: Use `FxHashMap` instead of `std::collections::HashMap` ([#​5993](https://redirect.github.com/oxc-project/oxc/issues/5993 )) (camchenry)
### [`v0.9.7`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#097---2024-09-23 )
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.6...oxlint_v0.9.7 )
##### Refactor
- [`ba7b01f`](https://redirect.github.com/oxc-project/oxc/commit/ba7b01f ) linter: Add `LinterBuilder` ([#​5714](https://redirect.github.com/oxc-project/oxc/issues/5714 )) (DonIsaac)
</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 this update 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:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-10-11 10:13:38 +00:00
CatsJuice
db4d8ddf0b
feat(core): bump theme, update workspace card color variables, add active status ( #8467 )
...
close AF-1468
2024-10-11 01:03:38 +00:00
CatsJuice
29a31110cd
feat(core): onetime subscription ui ( #8462 )
2024-10-10 10:12:43 +00:00
forehalo
69fb5c06f4
feat(server): support onetime payment subscription ( #8369 )
2024-10-10 10:12:40 +00:00
forehalo
9043e6607e
refactor(i18n): lazy load languages ( #8456 )
...
closes AF-1397
2024-10-10 09:03:06 +00:00
CatsJuice
17fec8928f
feat(core): emoji as doc icon support with feature flag ( #8348 )
...
close AF-1412
Adjusted the priority of the public doc icon:
1. block-reference
2. journal
3. page reference
4. **emoji** (*new)
5. default
2024-10-10 04:14:31 +00:00
JimmFly
5213431d51
feat(core): show floating sidebar when hovering sidebar swtich ( #8393 )
...
web:
https://github.com/user-attachments/assets/3cafe094-7938-4241-8d57-cfd5ccaadf25
client:
https://github.com/user-attachments/assets/ca218a45-de92-4e0a-ad83-c0f47aee2962
2024-10-09 03:48:17 +00:00
pengx17
a3dc074574
feat: ctrl click to open embeded doc in new tab ( #8401 )
...
fix AF-1176
depends on https://github.com/toeverything/blocksuite/pull/8478
2024-10-08 02:06:59 +00:00
JimmFly
a3f8e6c852
refactor(core): refactor left sidebar to use di ( #8385 )
2024-09-27 09:32:25 +00:00
EYHN
4295f5e7c1
fix(core): open page info modal error ( #8396 )
2024-09-26 06:36:41 +00:00
JimmFly
bd9ae3d80a
fix(core): adjust the tracking point for copy sharing link ( #8395 )
...
close AF-1439
2024-09-26 03:27:18 +00:00