Commit Graph

395 Commits

Author SHA1 Message Date
pengx17 8c650f7b43 test(core): add open in app test case (#8695)
fix AF-1496
2024-11-05 07:30:59 +00:00
JimmFly 9e41918a1a feat(core): remember the scroll position of doc when routing forward and backward (#8631)
close AF-1011

https://github.com/user-attachments/assets/d2dfeee2-926f-4760-b3fb-8baf5ff90aa9
2024-11-05 06:59:34 +00:00
EYHN 902635e60f refactor(core): desktop project struct (#8334) 2024-11-05 11:00:33 +08:00
pengx17 de7b1ff516 fix(core): do not show open-in-app in mobile web browser (#8694) 2024-11-04 12:33:10 +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
Peng Xiao ecbf5a95fa fix: open in app card style (#8667) 2024-11-01 18:42:09 +08:00
pengx17 33088500e4 fix(core): unnamed doc title of db properties (#8657) 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 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
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
pengx17 d96cc097c2 fix(core): db properties ui issues (#8638)
fix AF-1562
fix BS-1711
2024-10-31 04:46:50 +00:00
LongYinan c08b02caba Revert "feat: copilot frontend e2e (#7694)"
This reverts commit d71852789f.
2024-10-31 12:08:57 +08:00
pengx17 a791481ac8 refactor(electron): move electron-api to framework (#8601)
fix AF-1394
2024-10-30 09:16:20 +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
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
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
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 021587ffab chore: add track event to toggle sidebar switch (#8582)
close AF-1530
2024-10-24 03:36:10 +00:00
EYHN 542fde6c68 fix(infra): indexer missing data (#8578) 2024-10-23 01:44:24 +00:00
EYHN 6ecdc8db7a feat(infra): opti indexer performance (#8557) 2024-10-22 06:41:07 +00:00
JimmFly 5769d271e0 chore: adjust hover tooltips for sidebar switch (#8574)
close PD-1762
2024-10-22 05:22:16 +00:00
EYHN b8cb504fa4 feat(core): adjust app sidebar (#8572) 2024-10-22 04:55:05 +00:00
CatsJuice 21d3b5084a refactor(mobile): use separate explorer components for mobile (#8503)
close AF-1488

- remove dnd related logic
- separate styles
- remove empty status, always show a `New` button in each level of tree
2024-10-22 03:01:04 +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 42b3e069f9 feat(core): use contain strict optimizing performance (#8553) 2024-10-21 06:42:08 +00:00
JimmFly a25bb0d80f feat(core): keep the sidebar instance when the sidebar is collapsed (#8560)
close AF-1507 AF-1506 AF-1479

https://github.com/user-attachments/assets/627242e3-f6f9-44c5-b0c8-87806cbb8489
2024-10-21 06:28:31 +00:00
EYHN db374f7feb feat(core): build config for ios android (#8555) 2024-10-21 05:39:04 +00:00
JimmFly d1783b6f8c feat(core): prevent the floating sidebar from showing immediately after the sidebar is closed (#8531)
close PD-1763

https://github.com/user-attachments/assets/a8346098-5f87-4297-bdb6-885f5486ce78
2024-10-21 05:26:02 +00:00
JimmFly 90ef12eaca fix(core): sidebar shakes unexpectedly during init on mobile (#8506)
https://github.com/user-attachments/assets/4b2791fb-073b-4653-bf2b-d04653bde3c8
2024-10-21 05:13:27 +00:00
JimmFly 675a010dfc fix(core): prevent floating sidebar from disappearing unexpectedly (#8477)
close AF-1475

Fixed an issue where you couldn't create collection or use the rename function in the floating sidebar.

https://github.com/user-attachments/assets/41c2b6a8-8fc9-4f8b-ab51-bd7ce2a58738
2024-10-19 13:24:08 +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
forehalo 7dae5c5dd5 feat(core): simplify subscribe page param (#8518)
AF-1481
2024-10-17 07:05:00 +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
pengx17 72e1489c62 fix(electron): tab max width (#8507)
fix PD-1727
2024-10-16 08:32:27 +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`.

![CleanShot 2024-10-14 at 15 34 52](https://github.com/user-attachments/assets/748b8b80-061f-4d6a-8579-52e59df717c2)

Added a sidebar view to manage properties
![CleanShot 2024-10-14 at 15 35 58](https://github.com/user-attachments/assets/bffa9b1a-a1a5-4708-b2e8-4963120f3af9)

new property ui in workspace settings
![CleanShot 2024-10-14 at 15 36 44](https://github.com/user-attachments/assets/572d8dcc-9b3d-462a-9bcc-5f5fa8e622da)

Property lists can be collapsed
![CleanShot 2024-10-14 at 15 37 59](https://github.com/user-attachments/assets/2b20be1a-8141-478a-8fe7-405aff6d04fd)
2024-10-15 10:17:12 +00:00
pengx17 c484cad7b2 fix(mobile): handle touch event correctly (#8496)
related:

radix-ui has a hack for dealing with touch event on mobile devices. we may not want to stop propagation for event that is not being handled, even for links

https://github.com/radix-ui/primitives/blob/74b182b401c8ca0fa5b66a5a9a47f507bb3d5adc/packages/react/dismissable-layer/src/DismissableLayer.tsx#L243-L261
2024-10-15 05:56:23 +00:00
JimmFly 040956279a fix(core): sidebar can not be collapsed on mobile (#8475)
close AF-1474
2024-10-11 08:13:38 +00:00
CatsJuice 29a31110cd feat(core): onetime subscription ui (#8462) 2024-10-10 10:12:43 +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