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

2024-06-05 09:33:18 +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
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
EYHN
f67108c6f7
fix(core): fetch share docs on non-cloud workspace ( #7144 )
2024-06-04 09:45:35 +00:00
JimmFly
412b919ec6
fix(core): block sharing link cannot be created when selecting inline ( #7090 )
2024-06-04 02:38:36 +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
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
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
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
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
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
CatsJuice
f4fdbbe6dd
feat(core): expose toggle ai onboarding apis ( #7039 )
...
```ts
import { toggleGeneralAIOnboarding } from '@affine/core/components/affine/ai-onboarding/apis';
// show
// toggleGeneralAIOnboarding();
toggleGeneralAIOnboarding(true);
// dismiss
toggleGeneralAIOnboarding(false);
```
2024-05-28 05:27:24 +00:00
JimmFly
50dcce891b
fix(core): clear input value after selecting a tag in page info ( #7076 )
...
close AFF-1140
2024-05-27 08:28:12 +00:00
EYHN
b356ddbe6e
fix(core): fix ui flashing ( #7056 )
2024-05-27 08:05:20 +00:00
EYHN
306cf2ae6f
fix(core): unexpected re-render in edgeless ( #7077 )
2024-05-27 07:52:00 +00:00
JimmFly
2d2a84927d
fix(core): unable to create blank lines correctly ( #7032 )
...
Close #7022
2024-05-27 07:40:14 +00:00
EYHN
a440e85ffe
chore: bump blocksuite ( #7075 )
...
## Features
- toeverything/blocksuite#6937 @Flrande
## Bugfix
- toeverything/blocksuite#7137 @fundon
- toeverything/blocksuite#7126 @golok727
- toeverything/blocksuite#7128 @CatsJuice
- toeverything/blocksuite#7130 @fundon
## Refactor
## Misc
- toeverything/blocksuite#7131 @fundon
## Additional changes
Adjust the awareness provider so that it only obtains awareness instances when connect, and fixes the dependencies between workspace components.
2024-05-27 05:11:12 +00:00
pengx17
88d4351c28
feat: provide notification to bs ( #7002 )
...
upstream https://github.com/toeverything/blocksuite/pull/7101
fix AFF-1120
2024-05-24 10:36:50 +00:00
Chen
919e40f28e
feat: support more ai image actions ( #7027 )
2024-05-24 18:35:32 +08:00
Tao Chen
22a8a2663e
feat(server): add OIDC for AFFiNE ( #6991 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com >
Co-authored-by: DarkSky <darksky2048@gmail.com >
2024-05-24 00:35:30 +08:00
zzj3720
7a657b540b
feat(core): update blocksuite feature flag ( #7025 )
2024-05-22 09:03:24 +00:00
JimmFly
609766d898
refactor(core): replace history to ViewService.history ( #6972 )
...
upstream: #6966
2024-05-22 04:01:33 +00:00
EYHN
d5c93f10ac
fix(core): cant leave workspace ( #6999 )
2024-05-21 03:41:03 +00:00
regischen
01eff4ff20
chore: bump blocksuite ( #6975 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/7085 @regischen
- https://github.com/toeverything/BlockSuite/pull/7077 @fourdim
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7087 @Mirone
- https://github.com/toeverything/BlockSuite/pull/7076 @donteatfriedrice
2024-05-20 01:38:18 +00:00
Flrande
35a6cf655b
feat(core): bump blocksuite ( #6965 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/7052 @donteatfriedrice
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7072 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7073 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7062 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7066 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7061 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7058 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7060 @doouding
- https://github.com/toeverything/BlockSuite/pull/7051 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7054 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7023 @golok727
- https://github.com/toeverything/BlockSuite/pull/7022 @golok727
- https://github.com/toeverything/BlockSuite/pull/7047 @fundon
- https://github.com/toeverything/BlockSuite/pull/7043 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7041 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7038 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7040 @regischen
## Refactor
- https://github.com/toeverything/BlockSuite/pull/7068 @doouding
- https://github.com/toeverything/BlockSuite/pull/7069 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7065 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7048 @fundon
- https://github.com/toeverything/BlockSuite/pull/7045 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7046 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7039 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7036 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7032 @Saul-Mirone
## Misc
- https://github.com/toeverything/BlockSuite/pull/7063 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7050 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7044 @doouding
- https://github.com/toeverything/BlockSuite/pull/7042 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6992 @doouding
2024-05-17 03:44:11 +00:00
JimmFly
10015c59b7
feat(core): add private anchor link for sharing ( #6966 )
...
close AFF-1085
2024-05-16 13:35:02 +00:00
darkskygit
a3f3d09764
feat: add upscaler & bg remover ( #6967 )
2024-05-16 11:09:34 +00:00
renovate
f37bbb0784
chore: bump up @sentry/react version to v8 ( #6919 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@sentry/react](https://togithub.com/getsentry/sentry-javascript/tree/master/packages/react ) ([source](https://togithub.com/getsentry/sentry-javascript )) | [`^7.109.0` -> `^8.0.0`](https://renovatebot.com/diffs/npm/@sentry%2freact/7.111.0/8.0.0 ) | [](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>getsentry/sentry-javascript (@​sentry/react)</summary>
### [`v8.0.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#800-rc3 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.114.0...8.0.0 )
##### Important Changes
- **feat(bun): Add Bun Global Unhandled Handlers ([#​11960](https://togithub.com/getsentry/sentry-javascript/issues/11960 ))**
The Bun SDK will now capture global unhandled errors.
##### Other Changes
- feat(node): Log process and thread info on initialisation ([#​11972](https://togithub.com/getsentry/sentry-javascript/issues/11972 ))
- fix(aws-serverless): Include ESM artifacts in package ([#​11973](https://togithub.com/getsentry/sentry-javascript/issues/11973 ))
- fix(browser): Only start `http.client` spans if there is an active parent span ([#​11974](https://togithub.com/getsentry/sentry-javascript/issues/11974 ))
- fix(feedback): Improve CSS theme variable names and layout ([#​11964](https://togithub.com/getsentry/sentry-javascript/issues/11964 ))
- fix(node): Ensure `execArgv` are not sent to worker threads ([#​11963](https://togithub.com/getsentry/sentry-javascript/issues/11963 ))
- ref(feedback): Simplify feedback function params ([#​11957](https://togithub.com/getsentry/sentry-javascript/issues/11957 ))
### [`v7.114.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.114.0 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.113.0...7.114.0 )
##### Important Changes
- **fix(browser/v7): Continuously record CLS ([#​11935](https://togithub.com/getsentry/sentry-javascript/issues/11935 ))**
This release fixes a bug that caused the cumulative layout shift (CLS) web vital not to be reported in a majority of the
cases where it should have been reported. With this change, the CLS web vital should now always be reported for
pageloads with layout shift. If a pageload did not have layout shift, no CLS web vital should be reported.
**Please note that upgrading the SDK to this version may cause data in your dashboards to drastically change.**
##### Other Changes
- build(aws-lambda/v7): Turn off lambda layer publishing ([#​11875](https://togithub.com/getsentry/sentry-javascript/issues/11875 ))
- feat(v7): Add `tunnel` support to multiplexed transport ([#​11851](https://togithub.com/getsentry/sentry-javascript/issues/11851 ))
- fix(opentelemetry-node): support `HTTP_REQUEST_METHOD` attribute ([#​11929](https://togithub.com/getsentry/sentry-javascript/issues/11929 ))
- fix(react/v7): Fix react router v4/v5 span names ([#​11940](https://togithub.com/getsentry/sentry-javascript/issues/11940 ))
### [`v7.113.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.113.0 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.2...7.113.0 )
##### Important Changes
- **feat(node): Support Node 22 ([#​11754](https://togithub.com/getsentry/sentry-javascript/issues/11754 ))**
This release adds support for Node 22! 🎉
It also adds prebuilt-binaries for Node 22 to `@sentry/profiling-node`.
##### Other Changes
- feat(feedback): \[v7] New feedback button design ([#​11841](https://togithub.com/getsentry/sentry-javascript/issues/11841 ))
- feat(replay/v7): Upgrade rrweb packages to 2.15.0 ([#​11752](https://togithub.com/getsentry/sentry-javascript/issues/11752 ))
- fix(ember/v7): Ensure unnecessary spans are avoided ([#​11848](https://togithub.com/getsentry/sentry-javascript/issues/11848 ))
### [`v7.112.2`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.2 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.1...7.112.2 )
- fix(nextjs|sveltekit): Ensure we can pass `browserTracingIntegration` ([#​11765](https://togithub.com/getsentry/sentry-javascript/issues/11765 ))
### [`v7.112.1`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.1 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.0...7.112.1 )
- fix(ember/v7): Do not create rendering spans without transaction ([#​11750](https://togithub.com/getsentry/sentry-javascript/issues/11750 ))
### [`v7.112.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.0 )
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.111.0...7.112.0 )
##### Important Changes
- **feat: Export pluggable integrations from SDK packages ([#​11723](https://togithub.com/getsentry/sentry-javascript/issues/11723 ))**
Instead of installing `@sentry/integrations`, you can now import the pluggable integrations directly from your SDK
package:
```js
// Before
import * as Sentry fromv '@​sentry/browser';
import { dedupeIntegration } from '@​sentry/integrations';
Sentry.init({
integrations: [dedupeIntegration()],
});
// After
import * as Sentry from '@​sentry/browser';
Sentry.init({
integrations: [Sentry.dedupeIntegration()],
});
```
Note that only the functional integrations (e.g. `xxxIntegration()`) are re-exported.
##### Other Changes
- feat(replay): Add "maxCanvasSize" option for replay canvases ([#​11732](https://togithub.com/getsentry/sentry-javascript/issues/11732 ))
- fix(serverless): \[v7] Check if cloud event callback is a function ([#​11734](https://togithub.com/getsentry/sentry-javascript/issues/11734 ))
#### Bundle size 📦
| Path | Size |
| ---------------------------------------------------------------------------------- | ----------------- |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.72 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay) - Webpack (gzipped) | 71.69 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 75.91 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.32 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing) - Webpack (gzipped) | 35.62 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. browserTracingIntegration) - Webpack (gzipped) | 35.5 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Feedback) - Webpack (gzipped) | 31.57 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. sendFeedback) - Webpack (gzipped) | 31.58 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) - Webpack (gzipped) | 22.78 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 78.9 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 70.27 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing) - ES6 CDN Bundle (gzipped) | 36.02 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) - ES6 CDN Bundle (gzipped) | 25.28 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 221.25 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 109.01 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) - ES6 CDN Bundle (minified & uncompressed) | 75.79 KB |
| [@​sentry/browser](https://togithub.com/sentry/browser ) (incl. Tracing) - ES5 CDN Bundle (gzipped) | 39.3 KB |
| [@​sentry/react](https://togithub.com/sentry/react ) (incl. Tracing, Replay) - Webpack (gzipped) | 72.18 KB |
| [@​sentry/react](https://togithub.com/sentry/react ) - Webpack (gzipped) | 22.81 KB |
| [@​sentry/nextjs](https://togithub.com/sentry/nextjs ) Client (incl. Tracing, Replay) - Webpack (gzipped) | 90.01 KB |
| [@​sentry/nextjs](https://togithub.com/sentry/nextjs ) Client - Webpack (gzipped) | 54.15 KB |
| [@​sentry-internal/feedback](https://togithub.com/sentry-internal/feedback ) - Webpack (gzipped) | 17.32 KB |
</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 these updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-16 10:06:35 +00:00
JimmFly
b8612f3071
refactor(core): replace the loading state written in useState with useDebouncedValue ( #6925 )
...
close TOV-856
refactor(core): replace the loading state written in useState with useDebouncedState
fix(core): cloudSvg obscures toggle button
2024-05-16 08:11:31 +00:00
CatsJuice
46140039d9
fix(core): local onboarding should dismiss after clicking learn more ( #6942 )
2024-05-16 07:41:49 +00:00
CatsJuice
6cef03c4c3
fix(core): adjust ai onboarding trigger logic, launch by auth status ( #6941 )
...
- if signed in, show ai-onboarding dialog
- if not signed in, show ai onboarding toast
2024-05-16 07:41:39 +00:00
JimmFly
f48cd0dfef
fix(core): unexpected history preview style ( #6944 )
...
close TOV-865
https://github.com/toeverything/AFFiNE/assets/102217452/3ca12496-b4d9-4caf-a30b-981b52a2f42f
2024-05-15 08:48:37 +00:00
JimmFly
1b91ffa6a5
chore: adjust quick search style ( #6906 )
...
close TOV-854
<img width="651" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/f281eb82-852c-411d-b3dd-4bf7d7ce74e8 ">
2024-05-14 07:28:25 +00:00
pengx17
dd45c80cc4
chore: track doc create action in bs editor ( #6915 )
...
fix TOV-855
added shape element create & doc create event tracking in blocksuite editor.
What's still missing:
the control (source) that triggered whiteboard element creation, i.e., from canvas dbclick, dnd or pasting.
2024-05-14 05:35:08 +00:00
akumatus
261d413607
feat: history timeline shows relative time, such as today and yesterday ( #6864 )
...
### TL;DR
First, fixed an i18n issue in history panel. When the browser language is set to Chinese, and the AFFiNE application language is set to English, the language supposed to be English global. But now the language is a mixture of Chinese and English, which is obviously wrong.

Second, design a time formatter to convert timestamp into relative calendar date, such today and yesterday and so on. Long-ago edits will show the exact date like before.

### What changed?
- `new Intl.DateTimeFormat` with language option form `document.documentElement.lang`
- Added `timestampToCalendarDate` function to convert timestamp into relative calendar date
- Updated unit tests
- Updated i18n copywriting
### How to test?
1. Open view history version
2. Check edit timeline
2024-05-13 11:59:48 +00:00
JimmFly
b723dd8ab8
fix(core): the loading of cmdk flashes during synchronization ( #6907 )
...
close TOV-852
2024-05-13 09:11:39 +00:00
JimmFly
644bd8c817
fix(core): page does not fully stretch the entire screen ( #6902 )
...
close AFF-1054
https://github.com/toeverything/AFFiNE/assets/102217452/6e4447b7-380d-402b-9445-1c2d9c036363
2024-05-13 06:25:20 +00:00
JimmFly
f94306703a
feat(core): tag groups sorted alphabetically ( #6865 )
...
feat(core): tag groups sorted alphabetically
feat(core): add display group to collection page and tag page
<img width="755" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/17a5abbe-cd1a-4ce2-8adc-f9aa5b6d6e77 ">
2024-05-13 03:48:17 +00:00
pengx17
3e23878e0f
feat: add more tracking events ( #6866 )
...
Added most tracking events
what is missing:
- still need a way to track events in blocksuite
- some events may not 100% accurate of the one defined in the PRD
2024-05-13 03:36:32 +00:00
JimmFly
f4a422c0e9
fix(core): keep the delete button from being blocked ( #6836 )
...
close #6718
2024-05-09 08:26:32 +00:00
fundon
d8b3a0b6d5
fix: improve make it real action ( #6830 )
2024-05-09 08:15:34 +00:00
pengx17
917ad1965a
fix: mixpanel issues ( #6840 )
2024-05-09 07:50:15 +00:00
pengx17
3744a0a5e0
feat: handle login required tracking event ( #6831 )
2024-05-09 07:50:07 +00:00
CatsJuice
36575ca1b5
chore(core): adjust setting modal's size ( #6849 )
2024-05-09 07:38:07 +00:00