Commit Graph

6011 Commits

Author SHA1 Message Date
akumatus
38dde7f5b7 feat: add autofill and onClose params in notification service api (#7162)
This PR add autofill and onClose params in notification service api for better user experiences.

[Related PR in blocksuite](https://github.com/toeverything/blocksuite/pull/7230)
2024-06-07 02:48:36 +00:00
pengx17
79e1e8dd2f
fix: close peek view when clicking on reference link (#7137) 2024-06-06 15:40:22 +00:00
L-Sun
51429c957b
feat(core): update slash menu entries with quick search (#7167)
Close BS-351

refactor `Link` and `Linked Doc` entry with `quickSearchService`
2024-06-06 15:28:12 +00:00
pengx17
f78416021a
chore: bump blocksuite (#7163)
## Features
- https://github.com/toeverything/BlockSuite/pull/7230 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7220 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7228 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7216 @golok727
- https://github.com/toeverything/BlockSuite/pull/7224 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7217 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7144 @Flrande

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7231 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7229 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7222 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7226 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7218 @fundon
- https://github.com/toeverything/BlockSuite/pull/7213 @donteatfriedrice

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7212 @Flrande

## Misc
- https://github.com/toeverything/BlockSuite/pull/7223 @fundon
2024-06-06 12:04:07 +00:00
EYHN
d791ab73ba
fix(core): fix active view undefined (#7161) 2024-06-06 07:53:37 +00:00
EYHN
6abb401a2c
fix(core): remove extra console log (#7160) 2024-06-06 07:39:59 +00:00
pengx17
b99b964a78
fix: temp fix for showing peek view modal for edgeless (#7155)
workaround for AFF-1200
2024-06-06 07:27:29 +00:00
pengx17
10297766b8
fix: adjust peek view modal container styles (#7153) 2024-06-06 07:27:25 +00:00
pengx17
7095ca1be6
fix: cleanup usePromptModal (#7157) 2024-06-06 06:29:47 +00:00
pengx17
5bd9c7a2a3
feat: allow search for doc without showing modal (#7138)
depends on https://github.com/toeverything/blocksuite/pull/7199#pullrequestreview-2095567573

fix TOV-858, fix AFF-1132
2024-06-06 06:29:41 +00:00
pengx17
1439d00b61
feat: add search doc modal (#7136) 2024-06-06 06:29:36 +00:00
pengx17
de81527e29
refactor: move command registry to frontend/core (#7135)
move command registeration related logic out of infra module.
2024-06-05 14:09:20 +00:00
pengx17
fa4e4c738a
chore: bump blocksuite (#7152)
## Features
- https://github.com/toeverything/BlockSuite/pull/7208 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7207 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7206 @regischen
- https://github.com/toeverything/BlockSuite/pull/7194 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7209 @Saul-Mirone

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7205 @fundon
- https://github.com/toeverything/BlockSuite/pull/7211 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7210 @fundon

## Refactor

## Misc
- https://github.com/toeverything/BlockSuite/pull/7203 @fundon

Also added prompt implementation to fix type change issue

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/2c0efce1-c50f-4a8f-892c-bf8e2d99bef2.png)
2024-06-05 09:33:18 +00:00
darkskygit
928e133655
fix: customer create at (#7132) 2024-06-05 08:01:12 +00:00
darkskygit
a5f9bfdda9
fix: gql result check for clean history (#7154) 2024-06-05 07:49:40 +00:00
L-Sun
ecff441516
chore(core): add padding when ai-panel is opened in page mode (#7151)
Close BS-394
Related PR: https://github.com/toeverything/blocksuite/pull/7211
2024-06-05 06:08:22 +00:00
EYHN
c8242fc066
refactor(core): remove unused trash relate data (#7142)
This parameter seemed to always be undefined, I decided to remove it.
2024-06-05 03:13:15 +00:00
EYHN
84c79f4dcf
fix(core): move to trash confirm modal missing (#7143)
move `MoveToTrash.ConfirmModal` from `RootAppSidebar ` to `CurrentWorkspaceModals `
2024-06-05 03:01:14 +00:00
pengx17
616d7073c9
chore: bump bs (#7146)
## Features
- https://github.com/toeverything/BlockSuite/pull/7202 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7200 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7199 @Saul-Mirone

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7201 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7197 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7195 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7179 @fundon
- https://github.com/toeverything/BlockSuite/pull/7191 @fundon
- https://github.com/toeverything/BlockSuite/pull/7190 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7189 @golok727
- https://github.com/toeverything/BlockSuite/pull/7187 @regischen

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7178 @golok727
- https://github.com/toeverything/BlockSuite/pull/7132 @L-Sun

## Misc
- https://github.com/toeverything/BlockSuite/pull/7183 @fourdim
2024-06-04 15:24:11 +00:00
EYHN
f67108c6f7
fix(core): fetch share docs on non-cloud workspace (#7144) 2024-06-04 09:45:35 +00:00
darkskygit
db0837936a
feat: fetch fal stream correctly (#7141) 2024-06-04 09:30:11 +00:00
forehalo
01fc1ea835
fix(server): selfhost fixes (#7140)
fixes #6708, fixes #7139
2024-06-04 08:42:25 +00:00
JimmFly
412b919ec6
fix(core): block sharing link cannot be created when selecting inline (#7090) 2024-06-04 02:38:36 +00:00
JimmFly
d43fcdcdd6
fix(core): unexpected autofill style in dark mode (#7130)
before:
<img width="395" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/028a6dcf-2b8f-465a-99e7-5ef147079b5c">

after:
<img width="420" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/1ae1b75d-bb64-4b2c-9021-8fb7bb41460b">
2024-06-04 02:21:28 +00:00
forehalo
06534bbc06
chore(server): register user management resolver (#7118) 2024-06-03 06:52:19 +00:00
regischen
798af4efee
chore: bump blocksuite (#7120)
## Features
- https://github.com/toeverything/BlockSuite/pull/7176 @regischen

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7186 @golok727
- https://github.com/toeverything/BlockSuite/pull/7185 @shvixxl
2024-06-03 02:36:25 +00:00
fundon
235882f6f3
chore(core): password input should be focused (#7125) 2024-06-03 02:24:37 +00:00
fundon
5b8b2bbf48
fix(component): banner should not affect the editor layout (#7128)
Same as #6605
2024-06-03 02:13:24 +00:00
pengx17
03be1d66f9
feat: add feature flag for peek view (#7122) 2024-05-31 12:01:27 +00:00
forehalo
c96fb46751
feat(core): adjust admin panel style (#7116) 2024-05-31 10:43:30 +00:00
pengx17
002b9e80f8
feat: e2e tests for peek view (#7112)
fix AFF-1163
2024-05-31 10:28:42 +00:00
pengx17
ea0059fa1b
feat: center peek view (#7073)
<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/7380c06e-880e-424a-9204-8cfb5e924978.mp4">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/7380c06e-880e-424a-9204-8cfb5e924978.mp4">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/7380c06e-880e-424a-9204-8cfb5e924978.mp4">Kapture 2024-05-30 at 19.42.46.mp4</video>
2024-05-31 10:28:37 +00:00
JimmFly
b65c01c5e1
fix(core): listFloatingToolbar does not appear as expected (#7124)
close AFF-1201
2024-05-31 10:16:42 +00:00
pengx17
1b633b5135
chore: update prompt (#7117)
fix AFF-1198
2024-05-31 10:04:42 +00:00
JimmFly
b13151b480
feat(core): add admin panel page (#7115)
The path is `/admin-panel`
2024-05-31 09:42:23 +00:00
regischen
004390f40c feat: add chat onboarding entry (#7109)
Upstream: https://github.com/toeverything/blocksuite/pull/7161
2024-05-31 07:39:37 +00:00
pengx17
fe38a3780f
chore: bump blocksuite (#7113)
## Features
- https://github.com/toeverything/BlockSuite/pull/7177 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7174 @donteatfriedrice

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7175 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7180 @fundon
2024-05-31 05:42:43 +00:00
pengx17
da3cbc69cf
fix: patch service syntax (#7080)
Not sure if there is a better pattern like "macros" that can make this more generic. 🤡

also added notify impl to notification service for bs
https://github.com/toeverything/blocksuite/pull/7160
2024-05-30 11:46:17 +00:00
forehalo
622239fd41
fix(server): runtime config overrides won't affect static startup (#7110) 2024-05-30 09:11:34 +00:00
pengx17
d7ced4a5d9
chore: bump blocksuite (#7107)
## Features
- https://github.com/toeverything/BlockSuite/pull/7161 @regischen
- https://github.com/toeverything/BlockSuite/pull/7142 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7166 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7151 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7164 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7163 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7156 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7160 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7158 @golok727
- https://github.com/toeverything/BlockSuite/pull/7157 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7154 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7106 @fundon
- https://github.com/toeverything/BlockSuite/pull/7136 @fourdim

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7171 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7169 @fundon
- https://github.com/toeverything/BlockSuite/pull/7165 @lawvs

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7162 @regischen
- https://github.com/toeverything/BlockSuite/pull/7153 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7149 @golok727
- https://github.com/toeverything/BlockSuite/pull/7152 @Flrande

## Misc
- https://github.com/toeverything/BlockSuite/pull/7170 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7155 @fundon
2024-05-30 06:39:17 +00:00
forehalo
d853fc879d
fix(server): deal with nested optional modules (#7101) 2024-05-29 08:12:59 +00:00
forehalo
bffbb1ea9f
feat(server): add users management api (#7092) 2024-05-29 08:02:26 +00:00
darkskygit
0dfcc97c52
chore: update cleanup history gql (#7103) 2024-05-29 07:34:08 +00:00
forehalo
4b30fbc1e2
feat(server): add copilot prompts management api (#7082) 2024-05-28 13:14:17 +00:00
darkskygit
1a269a4b52
fix: missing quota resolver (#7094) 2024-05-28 12:05:49 +00:00
Tao Chen
e417c4cd44
fix(server): OIDC bug (#7061) 2024-05-28 18:19:37 +08:00
darkskygit
40b35b7bc2
chore: update prompts (#7091) 2024-05-28 08:07:12 +00:00
forehalo
638fc62601
feat(server): runtime setting support (#5602)
---

<details open="true"><summary>Generated summary (powered by <a href="https://app.graphite.dev">Graphite</a>)</summary>

> ## TL;DR
> This pull request adds a new migration file, a new model, and new modules related to runtime settings. It also introduces a new `Runtime` service that allows getting, setting, and updating runtime configurations.
>
> ## What changed
> - Added a new migration file `migration.sql` that creates a table called `application_settings` with columns `key` and `value`.
> - Added a new model `ApplicationSetting` with properties `key` and `value`.
> - Added a new module `RuntimeSettingModule` that exports the `Runtime` service.
> - Added a new service `Runtime` that provides methods for getting, setting, and updating runtime configurations.
> - Modified the `app.module.ts` file to import the `RuntimeSettingModule`.
> - Modified the `index.ts` file in the `fundamentals` directory to export the `Runtime` service.
> - Added a new file `def.ts` in the `runtime` directory that defines the runtime configurations and provides a default implementation.
> - Added a new file `service.ts` in the `runtime` directory that implements the `Runtime` service.
>
> ## How to test
> 1. Run the migration script to create the `application_settings` table.
> 2. Use the `Runtime` service to get, set, and update runtime configurations.
> 3. Verify that the runtime configurations are stored correctly in the database and can be retrieved and modified using the `Runtime` service.
>
> ## Why make this change
> This change introduces a new feature related to runtime settings. The `Runtime` service allows the application to dynamically manage and modify runtime configurations without requiring a restart. This provides flexibility and allows for easier customization and configuration of the application.
</details>
2024-05-28 06:43:53 +00:00
JimmFly
9d296c4b62
chore: adjust find in page modal style (#7087)
![image](https://github.com/toeverything/AFFiNE/assets/102217452/757a4ea3-2101-4610-852c-21be02e9b167)
![image](https://github.com/toeverything/AFFiNE/assets/102217452/c7c2ad1b-f220-4799-926c-6f3777b0daf9)
2024-05-28 06:19:59 +00:00
pengx17
2ca77d9170
refactor: find in page (#7086)
- refactor rxjs data flow
- use canvas text to mitigate searchable search box input text issue
2024-05-28 06:19:53 +00:00