Migrate Vikunja from electron to tauri #127
No reviewers
Labels
No Label
blocked by upstream
bug
duplicate
help wanted
invalid
kind/feature
kind/ux
question
wontfix
No Milestone
No Assignees
3 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/desktop#127
Loading…
Reference in New Issue
No description provided.
Delete Branch "CL0Pinette/desktop:migrate_to_tauri"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Here is my POC for the migration from electron to tauri. Don't hesitate to tell me if there are things to improve
Tested on
Already looks great! I don't know anything about rust, maybe some of my comments are redundant.
@ -0,0 +1,32 @@
[package]
name = "app"
What should the value of this be?
The Cargo.yml declares dependencies and the package itself when we use it with another rust package for example. We sure can change the values in the
package
section to whatever we want :...
@ -0,0 +1,32 @@
[package]
name = "app"
version = "0.1.0"
Can we set this dynamically in ci?
@ -0,0 +6,4 @@
license = ""
repository = ""
default-run = "app"
edition = "2021"
Is this a configurable value?
The
default-run
value should be the same as the package name because it is this package that needs to be run on startI wonder if this will work when using openid auth?
Did some testing and digging, looks like more work is required to get this working with openid. The main problem is most openid providers don't support protocols (like
tauri://localhost
) as a redirect target.https://github.com/tauri-apps/tauri/discussions/5251
https://github.com/tauri-apps/tauri/discussions/3020
Seems like the simplest solution would be
tauri-plugin-localhost
.If (I hope when) this is merged, we'll need to update the Flathub build