liuyi
83a9beed83
fix(electron): app got deleted when auto update on windows ( #7820 )
2024-08-13 14:26:26 +08:00
CatsJuice
6228b27271
feat(core): new theme editor poc ( #7810 )
2024-08-12 04:12:51 +00:00
pengx17
a6169ab26a
fix: do not use globalShortcut for tab switching ( #7827 )
...
fix #7826
2024-08-11 07:56:47 +00:00
pengx17
b71945c29f
chore: tracking events for app tabs header ( #7778 )
...
fix AF-1194
2024-08-08 09:14:47 +00:00
pengx17
00ee2a8852
fix(electron): always show traffic light for mac ( #7773 )
...
fix AF-1209, fix PD-1550
2024-08-07 08:44:35 +00:00
pengx17
c2cf331ff7
fix(electron): fix tab view blink issue on open new tab ( #7748 )
...
fix AF-1197
2024-08-06 15:57:40 +00:00
pengx17
a03831f2a2
fix(electron): whitescreen issue ( #7742 )
...
1. non-blurred mode whitescreen issue
2. should not close tab with cmd+w for pinned tabs
2024-08-05 14:09:22 +00:00
pengx17
0d7de67e01
refactor(electron): reduce the number of listeners for ipc ( #7740 )
...
previously there are quite a lot of api/events handlers registered on ipcMain/ipcRenderer. After this PR, the number should be significantly reduced, which will benefit performance.
2024-08-05 13:33:31 +00:00
pengx17
51848ff6c3
fix(electron): allow close pinned tab ( #7732 )
2024-08-05 08:03:12 +00:00
pengx17
51ca7657d8
feat(electron): new tab/split view entries ( #7708 )
...
fix AF-1146
2024-08-05 05:37:50 +00:00
pengx17
c0c5c83dad
fix(electron): should activate the target tab when closing other tabs ( #7704 )
...
fix PD-1520
2024-08-05 03:11:55 +00:00
pengx17
cbdcfdc2d8
fix(electron): duplicate tab views issue ( #7703 )
...
fix PD-1523
2024-08-05 03:11:52 +00:00
pengx17
741ff2379e
fix(electron): reload view in tab context menu issue ( #7702 )
...
fix PD-1524
2024-08-05 03:11:50 +00:00
pengx17
bfff10e25e
feat(electron): app tabs dnd ( #7684 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/cd84e155-9f2e-4d12-a933-8673eb6bc6cb.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/cd84e155-9f2e-4d12-a933-8673eb6bc6cb.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/cd84e155-9f2e-4d12-a933-8673eb6bc6cb.mp4 ">Kapture 2024-07-31 at 19.39.30.mp4</video>
fix AF-1149
fix PD-1513
fix PD-1515
2024-08-02 02:02:03 +00:00
pengx17
07409b8a91
refactor(electron): tab title/icon update logic ( #7675 )
...
fix AF-1122
fix AF-1136
2024-08-01 16:43:18 +00:00
pengx17
280e24934a
fix(electron): window theme issue after exiting presentation ( #7671 )
2024-07-31 07:03:32 +00:00
pengx17
6b8f99c013
fix: using width atom for syncing app headers position ( #7666 )
...
may use global state to replace these sidebar state atoms
fix AF-1109
2024-07-31 07:03:30 +00:00
pengx17
157cc97a65
test(electron): add test cases for electron tabs ( #7635 )
...
fix AF-1000
2024-07-29 11:05:24 +00:00
pengx17
1efc1d0f5b
feat(electron): multi tabs support ( #7440 )
...
use https://www.electronjs.org/docs/latest/api/web-contents-view to serve different tab views
added tabs view manager in electron to handle multi-view actions and events.
fix AF-1111
fix AF-999
fix PD-1459
fix AF-964
PD-1458
2024-07-29 11:05:22 +00:00
EYHN
dca88e24fe
feat(electron): shared storage ( #7492 )
2024-07-15 03:21:08 +00:00
forehalo
7b3673ae82
chore: assign todos ( #7297 )
2024-06-21 07:54:14 +00:00
Yuji Oshiro
e3bd8562b8
feat(electron): add documentation button in help menu bar ( #7199 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com >
2024-06-17 22:13:06 +08: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
JimmFly
bd9c929d05
feat(core): cmd+f search in doc function ( #7040 )
...
You can use the cmd+F shortcut key to trigger the FindInPage function.
2024-05-28 06:19:48 +00:00
Brooooooklyn
41c7215ef1
chore(electron): temporary remove @sentry/electron due to version mismatch ( #7001 )
2024-05-21 04:30:22 +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
pengx17
bd1733b2a9
chore: remove unused file ( #6894 )
2024-05-13 02:27:21 +00:00
pengx17
042be1216c
build(electron): nsis updater compatibility fix ( #6681 )
2024-04-25 03:52:29 +00:00
CatsJuice
6ec97b27c4
feat(core): open desktop directly in subscription landing page ( #6661 )
2024-04-22 14:21:58 +00:00
EYHN
a537f8eb0b
fix(electron): cookie expires too short ( #6615 )
2024-04-18 13:41:56 +00:00
EYHN
06fda3b62c
feat(infra): framework
2024-04-17 15:09:09 +08:00
pengx17
6fe0c4be6c
fix(electron): close app while on fullscreen should be minimize instead ( #6534 )
2024-04-15 05:44:58 +00:00
CatsJuice
8a02c81745
feat(core): remove toggle workspace onboarding dialog ( #6501 )
2024-04-10 09:07:59 +00:00
Brooooooklyn
c2847e2082
chore(core): split sentry and setup into web/electron ( #6357 )
2024-03-28 10:24:25 +00:00
pengx17
e53744b740
fix: should use fullscreen to control where to place macos window controls ( #6351 )
2024-03-28 03:40:46 +00:00
forehalo
54c06777a6
fix(server): always set new session cookie ( #6323 )
2024-03-26 09:56:39 +00:00
pengx17
e9bc24bf37
fix(electron): possible issue on openning two main windows ( #6307 )
...
fix https://github.com/toeverything/AFFiNE/issues/6303
fetching `getWindowAdditionalArguments` requires forking a new process & handshake, which could be time consuming
2024-03-26 03:29:37 +00:00
pengx17
1c9d899831
fix: runtime issue for electron app ( #6306 )
...
Looks like we need to be careful to share common libraries between electron (nodejs) & web

2024-03-26 02:04:13 +00:00
EYHN
f2adbdaba4
style: enable import-x/no-duplicates ( #6279 )
2024-03-25 03:55:33 +00:00
EYHN
7ce2bfbf0b
style: no import infra submodule ( #6278 )
2024-03-25 03:55:29 +00:00
pengx17
64c011c72f
fix(electron): set referer and origin headers for electron ( #6289 )
2024-03-25 01:23:18 +00:00
EYHN
2b42a75e5a
style: enable rxjs/finnish ( #6276 )
...
chore(infra): use finnish notation for observables
do rename
2024-03-24 17:04:51 +00:00
BABA
6a02d0bc96
feat: open about page in setting modal when click about menu ( #6245 )
...
Co-authored-by: EYHN <cneyhn@gmail.com >
2024-03-23 13:27:05 +00:00
Brooooooklyn
85ee22329c
fix(electron): add icon for AppImage build ( #6257 )
...
1. the icon is fixed in `/Applications`: https://github.com/toeverything/electron-forge-maker-appimage/commit/128b8c22f9b2e088ce4f88057749b0a8cd55ca98#diff-a694a3e854f53b066e34ec310e05bd18b4944c016455f6963f54a351784d5fa6L91
2. the App's icon MUST be 64x64 png and set via `setIcon`

2024-03-21 14:29:02 +00:00
EYHN
d03c72a0a8
fix(electron): linux crash on exiting presentation mode ( #6253 )
2024-03-21 09:54:48 +00:00
pengx17
8b2b2646bc
fix: move traffic lights based on zoom level ( #6201 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/f75d1f6f-18f4-4dff-8174-67223f5f9807.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/f75d1f6f-18f4-4dff-8174-67223f5f9807.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/f75d1f6f-18f4-4dff-8174-67223f5f9807.mp4 ">Kapture 2024-03-19 at 18.05.20.mp4</video>
2024-03-21 02:00:35 +00:00
pengx17
a8a1074a8a
feat(electron): add isMaximized flag to html ( #6199 )
...
to make some special ui rules for desktop
2024-03-20 13:20:19 +00:00
pengx17
65ab6c89bf
fix(electron): optimize electron open/close on mac ( #6224 )
...
1. never close main window on mac to allow it to be quickly open
1. make the browser show a bit faster
2. brought up app window when clicking some menu items
2024-03-20 11:02:22 +00:00
EYHN
5623c0967c
feat(electron): enable css text autospace ( #6218 )
...
before

after

2024-03-20 02:47:49 +00:00
Peng Xiao
e896f19f1a
fix(electron): disable mica for windows for now ( #6165 )
...
Upstream https://github.com/electron/electron/issues/41073
2024-03-18 06:52:40 +00:00