Commit Graph

1868 Commits

Author SHA1 Message Date
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
github-actions[bot]
aa2f6b7739 chore(i18n): sync translations (#8654)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: forehalo <forehalo@gmail.com>
2024-11-01 09:30:28 +00:00
JimmFly
c2ebf0b822 fix(core): handle uncaught ai flag (#8663) 2024-11-01 17:18:21 +08: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
pengx17
070f5fae49 fix(electron): deep link handling without running instance (#8661)
fix AF-1586
2024-11-01 07:23:38 +00:00
pengx17
33088500e4 fix(core): unnamed doc title of db properties (#8657) 2024-11-01 07:23:37 +00:00
pengx17
4f16e22f5b fix(electron): add missing configureAppThemeModule to shell (#8656) 2024-11-01 07:23:37 +00:00
darkskygit
7a201984e9 feat(server): add real-world prompt test for copilot apis (#8629)
fix AF-1432, PD-1176
2024-11-01 07:05:12 +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
pengx17
c915a3bcb5 revert(electron): revert http protocl in electron (#8655)
fix AF-1583
2024-11-01 06:33:27 +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
JimmFly
f40578ab24 chore: adjust right sidebar style (#8641)
close AF-1548

![CleanShot 2024-10-31 at 15 29 12@2x](https://github.com/user-attachments/assets/251502e9-2fbf-41b2-a1bf-eab8357945e5)
2024-10-31 09:36:22 +00:00
pengx17
51ffccbbb6 fix(core): do not redirect to open-page for open-in-app card (#8646) 2024-10-31 08:23:52 +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
renovate[bot]
5d92c900d1 chore: bump up @blocksuite/affine version to v0.17.23 (#8596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-31 14:16:10 +08: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
LongYinan
c08b02caba Revert "feat: copilot frontend e2e (#7694)"
This reverts commit d71852789f.
2024-10-31 12:08:57 +08:00
JimmFly
ea607d34f6 chore: adjust tooltips side of doc properties (#8640) 2024-10-31 11:50:03 +08:00
Brooooooklyn
58c7e3913d feat(android): android internal testing (#8577) 2024-10-30 12:18:00 +00:00
CatsJuice
fffd60d84c fix(mobile): adjust app tab height (#8635)
close AF-1480
2024-10-30 11:20:10 +00:00
pengx17
a791481ac8 refactor(electron): move electron-api to framework (#8601)
fix AF-1394
2024-10-30 09:16:20 +00:00
L-Sun
50bae9c3e6 feat(mobile): enable mobile keyboard toolbar (#8633) 2024-10-30 08:07:58 +00:00
darkskygit
d71852789f feat: copilot frontend e2e (#7694) 2024-10-29 08:56:37 +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
JimmFly
5690720652 chore: adjust floating sidebar style (#8619)
close PD-1810

![CleanShot 2024-10-28 at 17 43 55@2x](https://github.com/user-attachments/assets/e75da922-957f-4596-94ff-a8352b0c7e64)
2024-10-29 04:53:32 +00:00
donteatfriedrice
343572c5b6 fix: ai text renderer specs (#8611) 2024-10-29 01:59:28 +00: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
renovate[bot]
8cdca326c1 chore: bump up uuid version to v11 (#8609)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-28 11:41:10 +08:00
github-actions[bot]
6f2e9e6230 chore(i18n): sync translations (#8593)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-10-28 11:39:05 +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
CatsJuice
6d7c0d45ce fix(ios): enable navigation gesture (#8592)
close AF-1528
2024-10-24 10:36: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
renovate
f96c23fe7e chore: bump up @chromatic-com/storybook version to v3 (#8589)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@chromatic-com/storybook](https://redirect.github.com/chromaui/addon-visual-tests) | [`^2.0.0` -> `^3.0.0`](https://renovatebot.com/diffs/npm/@chromatic-com%2fstorybook/2.0.2/3.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@chromatic-com%2fstorybook/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@chromatic-com%2fstorybook/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@chromatic-com%2fstorybook/2.0.2/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@chromatic-com%2fstorybook/2.0.2/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>chromaui/addon-visual-tests (@&#8203;chromatic-com/storybook)</summary>

### [`v3.0.0`](https://redirect.github.com/chromaui/addon-visual-tests/blob/HEAD/CHANGELOG.md#v300-Wed-Oct-23-2024)

[Compare Source](https://redirect.github.com/chromaui/addon-visual-tests/compare/v2.0.2...v3.0.0)

##### 💥 Breaking Change

-   Use new Test Provider API instead of SidebarTop and SidebarBottom [#&#8203;342](https://redirect.github.com/chromaui/addon-visual-tests/pull/342) ([@&#8203;ghengeveld](https://redirect.github.com/ghengeveld))

##### Authors: 1

-   Gert Hengeveld ([@&#8203;ghengeveld](https://redirect.github.com/ghengeveld))

***

</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:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-10-24 04:09:11 +00:00
JimmFly
021587ffab chore: add track event to toggle sidebar switch (#8582)
close AF-1530
2024-10-24 03:36:10 +00:00
forehalo
dc89b583ba fix(core): let backend check whethere user can subscribe (#8573) 2024-10-23 02:01:26 +00:00
EYHN
542fde6c68 fix(infra): indexer missing data (#8578) 2024-10-23 01:44:24 +00:00
JimmFly
be3125b73d feat(core): add tooltips to PropertyItem (#8564)
close AF-1512
2024-10-22 06:56:17 +00:00
EYHN
6ecdc8db7a feat(infra): opti indexer performance (#8557) 2024-10-22 06:41:07 +00:00