Commit Graph

868 Commits

Author SHA1 Message Date
JimmFly aae71a23eb fix(core): temporarily make AI functions not follow server configuration (#8698)
Since the switch of the AI ​​function in Blocksuite cannot be hot-updated, the editor will not be able to use the AI ​​function when it is not connected to the server at the beginning, so this code is temporarily removed.
2024-11-05 08:17:58 +00:00
CatsJuice c41646be7f fix(core): bump theme to fix full-width-layout and editor font customization (#8704)
close AF-1610, AF-1601

**Original PR in design: [#138](https://github.com/toeverything/design/pull/138)**
2024-11-05 07:16:28 +00:00
EYHN 902635e60f refactor(core): desktop project struct (#8334) 2024-11-05 11:00:33 +08:00
CatsJuice 5b5dc26abf chore(core): always display annually for cloud toggle (#8693) 2024-11-04 15:05:16 +00:00
pengx17 de7b1ff516 fix(core): do not show open-in-app in mobile web browser (#8694) 2024-11-04 12:33:10 +00:00
JimmFly d700f828b7 fix(core): the full width layout feature does not work (#8687) 2024-11-04 08:29:48 +00:00
JimmFly 0469675d88 feat(core): add tooltips to the doc properties in the sidebar (#8684)
close AF-1597
2024-11-04 07:20:33 +00:00
CatsJuice cdaac5602c feat(mobile): manage docs/tags/collections in explorer (#8649)
close AF-1564, AF-1542
2024-11-04 05:28:06 +00:00
CatsJuice 4cbf4b74d6 feat(mobile): explorer create/rename operation (#8628)
close AF-1560
2024-11-04 05:28:05 +00:00
EYHN 12e3cf1d07 refactor(core): set edgeless theme on doc created (#8670) 2024-11-04 04:38:03 +00:00
donteatfriedrice a4f27ef391 fix: should pass std to AffineEditorContainer (#8678)
To fix [BS-1741](https://linear.app/affine-design/issue/BS-1741/toc-不显示了)
2024-11-04 03:25:31 +00:00
Peng Xiao ecbf5a95fa fix: open in app card style (#8667) 2024-11-01 18:42:09 +08:00
akumatus 7e71395c8e fix: old document edgelessColorTheme shows auto but always render white (#8666)
Fix issue [AF-1593](https://linear.app/affine-design/issue/AF-1593).
2024-11-01 09:55:29 +00:00
donteatfriedrice 0184328011 feat: optimize import export event tracker (#8652) 2024-11-01 08:37:00 +00:00
JimmFly f36097732a fix(core): dropdown menu cannot be hovered when it is at the bottom of doc (#8662)
close AF-1588
2024-11-01 07:40:31 +00:00
JimmFly 1c22fdd371 fix(core): unable to hide doc info (#8658)
close AF-1577 AF-1576
2024-11-01 06:47:59 +00:00
L-Sun 1973cea035 fix(mobile): incorrect height of keyboard toolbar in ios (#8653)
### What Changes:
- Fix keyboard height calculation with the `KeyboardToolBarConfig.useScreenHeight = true`. More detials in: https://github.com/toeverything/blocksuite/pull/8645
- Add safe bottom padding for shrinked keyboard toolbar
- Add `VirtualKeyboard` polyfill. Close [AF-1573](https://linear.app/affine-design/issue/AF-1573/virtualkeyboard-polyfill-with-capacitor)
  - Since the `@capacitor/keyboard` dose not implement the `Keyboard.show()` method, this polyfill is not enabled now.
2024-11-01 05:48:30 +00:00
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

![CleanShot 2024-10-18 at 17 59 52@2x](https://github.com/user-attachments/assets/ac73fa27-25ab-4136-9008-7abde4491f92)
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