Skip to content

Conversation

estib-vega
Copy link
Contributor

Depending on the build target, create the right ‘backend’ class.

This enables for better abstraction of backend APIs, depending on the platform that we’re building for

Copy link

vercel bot commented Aug 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Project Deployment Preview Comments Updated (UTC)
gitbutler-components Ready Preview Comment Aug 13, 2025 1:51pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
gitbutler-web ⬜️ Skipped Aug 13, 2025 1:51pm

@vercel vercel bot temporarily deployed to Preview – gitbutler-web August 12, 2025 14:41 Inactive
@estib-vega estib-vega force-pushed the backend-refactor-web-tauri branch from e6cffbb to df3c38e Compare August 12, 2025 14:44
@vercel vercel bot temporarily deployed to Preview – gitbutler-web August 12, 2025 14:44 Inactive
@estib-vega estib-vega force-pushed the backend-refactor-web-tauri branch from df3c38e to e69578c Compare August 12, 2025 14:46
@vercel vercel bot temporarily deployed to Preview – gitbutler-web August 12, 2025 14:46 Inactive
@estib-vega estib-vega force-pushed the backend-refactor-web-tauri branch from e69578c to 49ff789 Compare August 12, 2025 16:14
@vercel vercel bot temporarily deployed to Preview – gitbutler-web August 12, 2025 16:14 Inactive
@estib-vega estib-vega force-pushed the backend-refactor-web-tauri branch from 49ff789 to 6fb4cf6 Compare August 13, 2025 13:45
@vercel vercel bot temporarily deployed to Preview – gitbutler-web August 13, 2025 13:45 Inactive
@estib-vega estib-vega force-pushed the backend-refactor-web-tauri branch from 6fb4cf6 to 82271c4 Compare August 13, 2025 13:49
@vercel vercel bot temporarily deployed to Preview – gitbutler-web August 13, 2025 13:49 Inactive
Refactor backend to separate tauri and web implementations, add unified backend interface, and remove deprecated code.

- Added a new backend interface (IBackend) with implementations for Tauri and Web.
- Refactored tauri.ts to use new backend abstraction and exported new tauri functions.
- Added web backend (web.ts) implementation for web builds.
- Cleaned up ipc.ts and removed deprecated code.
- Removed deprecated backendService.svelte.ts stub.
Replace all usage of the old Tauri backend instance with the new unified IBackend interface, as returned from createBackend().

Update all affected services, dependency injections, and imports so they now adhere to the new backend abstraction. Remove references to tauri where possible, and update service constructors and API calls accordingly.
@estib-vega estib-vega force-pushed the backend-refactor-web-tauri branch from 82271c4 to 1de6bb5 Compare August 13, 2025 13:49
@estib-vega estib-vega enabled auto-merge August 13, 2025 13:49
@vercel vercel bot temporarily deployed to Preview – gitbutler-web August 13, 2025 13:49 Inactive
@estib-vega estib-vega merged commit 7ebd4e8 into master Aug 13, 2025
21 checks passed
@estib-vega estib-vega deleted the backend-refactor-web-tauri branch August 13, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant