Skip to content

feat: tauri integration (desktop and mobile)#134

Draft
hazre wants to merge 39 commits intodevfrom
feat/tauri-integration
Draft

feat: tauri integration (desktop and mobile)#134
hazre wants to merge 39 commits intodevfrom
feat/tauri-integration

Conversation

@hazre
Copy link
Collaborator

@hazre hazre commented Mar 10, 2026

Description

Fixes #88

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • 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

@hazre hazre force-pushed the feat/tauri-integration branch from f79928e to aaeedd1 Compare March 10, 2026 19:03
hazre and others added 29 commits March 12, 2026 16:53
- add fake windows window snapping overlay like a native titlebar
- add sync status inside the titlebar
- upgrade framer-motion package to motion
- add service worker tauri exceptions 
- add automatically generated tauri typescript bindings
note that close to tray currently does nothing and it's intended for when notifications land
Aaaaaaa spent an hour on this, problem was that it was panicking trying to export to a path relative to the executable which is protected by the os.
# Conflicts:
#	src/app/features/settings/notifications/SystemNotification.tsx
Feat/tauri integration - Add UnifiedPush
@hazre hazre force-pushed the feat/tauri-integration branch 5 times, most recently from f903836 to 2239db1 Compare March 12, 2026 19:05
@hazre hazre force-pushed the feat/tauri-integration branch from 2e59949 to 8667938 Compare March 12, 2026 19:13
@github-actions
Copy link
Contributor

⚠️ Missing changeset

This pull request does not include a changeset. Please add one before requesting review so the change is properly documented and included in the release notes.

How to add a changeset:

  1. Run pnpm run document-change (interactive) and commit the generated file, or
  2. Manually create .changeset/<descriptive-name>.md:
---
default: patch
---

Short user-facing summary of the change.

Replace patch with major, minor, patch, docs, or note as appropriate.

📖 Read more in CONTRIBUTING.md.

If this PR is internal/maintenance with no user-facing impact, a maintainer can add the internal label to skip this check.

@github-actions
Copy link
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

Status Preview URL Commit Alias Updated (UTC)
✅ Deployment successful! https://pr-134-sable.raspy-dream-bb1d.workers.dev 932d5f3 pr-134 Sat, 14 Mar 2026 20:06:35 GMT

@Kirottu
Copy link

Kirottu commented Mar 16, 2026

After some testing of the preliminary CEF work, here are some of my findings:

For it to run at, the LD_LIBRARY_PATH had to be set like this:

LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
    pkgs.libayatana-appindicator
    pkgs.nspr
    pkgs.nss
    pkgs.at-spi2-atk
    pkgs.dbus
    pkgs.cups
    pkgs.libx11
    pkgs.libxcomposite
    pkgs.libxdamage
    pkgs.libxext
    pkgs.libxfixes
    pkgs.libxrandr
    pkgs.libgbm
    pkgs.expat
    pkgs.libxcb
    pkgs.libxkbcommon
    pkgs.cairo
    pkgs.udev
    pkgs.alsa-lib
    pkgs.pango
  ];
};

in the flake and further amended by adding the CEF library path to it as per the instructions in the cef-rs crate.

After that, it would crash trying to create the tray icon since GTK hasn't been initialized which makes sense I suppose since webkitgtk isn't handling a GTK event loop.

After patching that out however, it would still not work and rather it would 100% utilize a single thread, and hang until manually killed with no window opening. These are the log lines after it was killed:

[296719:296719:0316/203346.190182:ERROR:ui/compositor/compositor_animation_observer.cc:65] CompositorAnimationObserver is active for too long (111.303s) location=TabIcon@chrome/browser/ui/views/tabs/tab_icon.cc:96
[296719:296719:0316/203346.190217:ERROR:ui/compositor/compositor_animation_observer.cc:65] CompositorAnimationObserver is active for too long (111.279s) location=Button@ui/views/controls/button/button.cc:668

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add desktop and mobile builds

3 participants