Commit Graph
5781 Commits
Author SHA1 Message Date
7w1 ab44c51cdf fix positioning 2026-07-24 23:06:08 -05:00
7w1 ba605fc0ab fix composer button behavior 2026-07-24 23:03:07 -05:00
7w1 06ce536666 please work 2026-07-24 22:25:28 -05:00
7w1 3f634d188f maybe itll work 2026-07-24 22:08:50 -05:00
7w1 de9fadab8b fix linux build 2026-07-24 21:58:58 -05:00
7w1 e46e0a318d fix ios (plz) 2026-07-24 21:46:00 -05:00
7w1 ccb2d36866 fix workflows again please work 2026-07-24 21:37:10 -05:00
7w1 fc449b94eb i stg work dumb workflow 2026-07-24 21:19:12 -05:00
7w1 3b31b69d4e fix workflows again again 2026-07-24 21:05:20 -05:00
7w1 7852e9d8a3 fix ios 2026-07-24 20:54:50 -05:00
7w1 0f43cb9809 fix em again 2026-07-24 20:44:28 -05:00
7w1 8556e29d38 maybe fix workflows 2026-07-24 20:31:04 -05:00
7w1 0e327271aa feat: add desktop auto-update polling, pill status button, manual check for updates, move updater to AppShell (#1235)
<!-- VISUALJJ_STACK_V1 START -->
Stack of PRs (2 of 3):
- #1268
- ▶ #1235 [(2 commits)](1235/files) ◀
- #1202
<!-- VISUALJJ_STACK_V1 END -->

### Description

- Adds a pill button on tauri desktop app that uses custom titlebar, I
made `SyncConnectionStatus.tsx` component more generic, so it can be
reused and so im using the same styling as SyncStatus pill.
- Adds auto-update polling (every 5 minutes), previously only updates
were checked at startup.
- Updates are now auto downloaded in the background (in-memory), to be
more instant.
- Added a manual check for updates button in Settings > About > Check
for Updates
- Moved DesktopUpdater, WebUpdater and GlobalBannerRenderer all into
`Appshell.tsx` so it runs and shows up on all pages, including auth. To
avoid deadlocks if we break anything on some of the pages. previously if
we broke auth for example, you could not push a update to auto updating
apps to patch it. Now you can.
- `update.body` is now shown in the update Banner, it would be good for
changelogs and such, depends if we populate it in the manifest.

#### Current auto-update flow is now:
- Custom Titlebar: Check for update on startup or via polling > show
pill update downloading > show pill update available > click on pill >
show update banner
- Native: Check for update on startup or via polling > show update
banner
- Manual check: Click on check button > show no update available with
timestamp of last checked OR show update banner if update available

### Screenshots

https://github.com/user-attachments/assets/98e2f3d1-3df3-436e-abd4-306df6781a89

*Old video, pill has been updated to look like below*

<img width="1280" height="486" alt="Cap 2026-07-23 at 09 26 32"
src="https://github.com/user-attachments/assets/0db45cd6-e61a-4507-96b5-7caa362a1d36"
/>

#### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [x] Fully AI generated (explain what all the generated code does in
moderate detail).
2026-07-25 01:15:50 +00:00
7w1 98641ae165 feat: add mise support and other goodies (#1202)
<!-- VISUALJJ_STACK_V1 START -->
Stack of PRs (1 of 3):
- #1268
- #1235
- ▶ #1202 [(19 commits)](1202/files) ◀
<!-- VISUALJJ_STACK_V1 END -->

### Description

Adds [mise](https://mise.jdx.dev/) tooling to the repo for easy
installation of other tooling like node, pnpm, rust and etc. as well as
a unified task runner for the project.

I also converted some of the bash scripts to js and added relevant mise
metadata, so it its well integrated with mise.

Swapped fpm for [nfpm](https://github.com/goreleaser/nfpm) so there is
less dependencies and we can use a config file for linux packaging.

<img width="657" height="465" alt="image"
src="https://github.com/user-attachments/assets/e13f2f45-584d-4112-9955-8ad5f4b2fae5"
/>

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [x] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
2026-07-25 01:11:49 +00:00
7w1 71983bd154 Update pnpm-lock.yaml 2026-07-24 20:09:40 -05:00
hazre 1c0950faee feat: add desktop auto-update pill with download progress and manual check
Signed-off-by: hazre <[email protected]>
2026-07-24 20:07:05 -05:00
hazre c83522d7e6 fix: move updater and global banner to appshell
Signed-off-by: hazre <[email protected]>
2026-07-24 20:07:05 -05:00
Erwan Leboucher 541036b3f5 perf(android): cache gradle, pin NDK, use lld linker 2026-07-24 20:07:05 -05:00
hazre e5779b5f48 fix: tauri script being unreliable through mise
Signed-off-by: hazre <[email protected]>
2026-07-24 20:06:50 -05:00
hazre 3c21410905 fix: invalid script path in package.json
Signed-off-by: hazre <[email protected]>
2026-07-24 20:06:50 -05:00
hazre dce9d4c871 chore(mise): add tauri ios setup task
Signed-off-by: hazre <[email protected]>
2026-07-24 20:06:50 -05:00
hazre 09b58ca2e2 docs: add mise docs to README
Signed-off-by: hazre <[email protected]>
2026-07-24 20:06:50 -05:00
hazre 0f86ae30de chore: make tauri.js pass through to tauri cli
Signed-off-by: hazre <[email protected]>
2026-07-24 20:06:50 -05:00
hazre acb92f0cbb chore(mise): define tauri packages
Signed-off-by: hazre <[email protected]>
2026-07-24 20:06:50 -05:00
hazre 65a4982548 fix: knipe issues
Signed-off-by: hazre <[email protected]>
2026-07-24 20:06:50 -05:00
hazre eda3bac62e style: fix formatting
Signed-off-by: hazre <[email protected]>
2026-07-24 20:06:50 -05:00
hazre fd8ee5742d chore: update pnpm lock file
Signed-off-by: hazre <[email protected]>
2026-07-24 20:06:46 -05:00
hazre 2a3692d7de chore: use devEngines for node version
Signed-off-by: hazre <[email protected]>
2026-07-24 20:06:42 -05:00
hazre 6b19077c2e chore(ci): update ci to use mise
Signed-off-by: hazre <[email protected]>
2026-07-24 20:06:42 -05:00
hazre c984d932da chore(scripts): replace fpm with nfpm for deb/rpm packaging
- Add nfpm.yaml declarative config with contents, deps, per-packager overrides
- Replace fpm CLI invocations in package.sh with nfpm pkg
- Manage appimagetool and nfpm via mise file task tools
- Remove manual appimagetool download + sha256 verification
- Fix stale paths from scripts/cef/ move (ROOT, copy-libs reference, usage)
- Add version extraction guard and appimagetool availability check

Signed-off-by: hazre <[email protected]>
2026-07-24 20:06:11 -05:00
hazre 5a006e1c22 chore(mise): add task definitions and reorganize scripts
Signed-off-by: hazre <[email protected]>
2026-07-24 20:06:11 -05:00
hazre c28302ed92 chore(scripts): convert shell scripts to cross-platform ESM
Signed-off-by: hazre <[email protected]>
2026-07-24 20:06:11 -05:00
hazre e6c1d1b05c chore: move pnpm overrides to pnpm-workspace.yaml
Signed-off-by: hazre <[email protected]>
2026-07-24 20:06:11 -05:00
hazre d3f6b89607 chore(tauri): update cargo.toml metadata
Signed-off-by: hazre <[email protected]>
2026-07-24 20:05:50 -05:00
hazre 2a22381278 feat: add mise support
Signed-off-by: hazre <[email protected]>
2026-07-24 20:05:50 -05:00
7w1 1f2a43b656 Update pnpm-lock.yaml 2026-07-24 20:02:46 -05:00
Erwan Leboucher 43a1e4cfe0 perf(android): cache gradle, pin NDK, use lld linker 2026-07-24 19:46:28 -05:00
hazre 989a83bb5f fix: tauri script being unreliable through mise
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 37d537bf0b fix: invalid script path in package.json
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 65558c43e7 chore(mise): add tauri ios setup task
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 784171e8fb docs: add mise docs to README
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 575ffdcab9 chore: make tauri.js pass through to tauri cli
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 8d47de118a chore(mise): define tauri packages
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 11ed5b30dd fix: knipe issues
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 738f139cd3 style: fix formatting
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:10 -05:00
hazre 12f44f9c26 chore: update pnpm lock file
Signed-off-by: hazre <[email protected]>
2026-07-24 19:45:56 -05:00
hazre fe7a446381 chore: use devEngines for node version
Signed-off-by: hazre <[email protected]>
2026-07-24 19:45:52 -05:00
hazre 3d0b992a1a chore(ci): update ci to use mise
Signed-off-by: hazre <[email protected]>
2026-07-24 19:45:51 -05:00
hazre 8fe259dacd chore(scripts): replace fpm with nfpm for deb/rpm packaging
- Add nfpm.yaml declarative config with contents, deps, per-packager overrides
- Replace fpm CLI invocations in package.sh with nfpm pkg
- Manage appimagetool and nfpm via mise file task tools
- Remove manual appimagetool download + sha256 verification
- Fix stale paths from scripts/cef/ move (ROOT, copy-libs reference, usage)
- Add version extraction guard and appimagetool availability check

Signed-off-by: hazre <[email protected]>
2026-07-24 19:43:04 -05:00
hazre b7b5deb65e chore(mise): add task definitions and reorganize scripts
Signed-off-by: hazre <[email protected]>
2026-07-24 19:43:04 -05:00