AFFiNE/packages/frontend
pengx17 0ae5673aaa
feat(electron): add offline mode (#8086)
fix AF-1334

It seems `session.enableNetworkEmulation({ offline: true });` does not work - https://github.com/electron/electron/issues/21250

implemented using an in-house solution.

When turned on:

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/6805735b-1006-4e51-be46-c047b0f1a82c.png)
2024-09-04 10:46:43 +00:00
..
admin chore: bump up react-day-picker version to v9 (#7559) 2024-09-03 10:28:42 +00:00
component fix(env): is mobile flag (#8005) 2024-09-04 09:21:36 +00:00
core fix(env): is mobile flag (#8005) 2024-09-04 09:21:36 +00:00
electron feat(electron): add offline mode (#8086) 2024-09-04 10:46:43 +00:00
electron-api chore: bump up electron version to v32 (#7927) 2024-08-21 08:38:21 +00:00
graphql fix(env): is mobile flag (#8005) 2024-09-04 09:21:36 +00:00
i18n feat(core): impl AI switch (#8018) 2024-09-04 08:44:05 +00:00
mobile fix(mobile): header will be clipped when modal opened and page scrolled (#8079) 2024-09-04 09:36:18 +00:00
native fix(native): return type casts (#7986) 2024-08-27 05:53:05 +00:00
templates chore: bump base version to 0.16.0 2024-08-09 18:30:07 +08:00
web fix(env): is mobile flag (#8005) 2024-09-04 09:21:36 +00:00