Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shift to Tauri #19

Open
2 tasks done
henrikth93 opened this issue Jan 25, 2025 · 5 comments
Open
2 tasks done

Shift to Tauri #19

henrikth93 opened this issue Jan 25, 2025 · 5 comments
Labels
design Relates to UX/UI designs help wanted Extra attention is needed question Further information is requested

Comments

@henrikth93
Copy link
Member

Terms

Description

https://tauri.app

I talked with Andrew, and we thought it might be a good idea to shift to Tauri, so we can implement the frontend in Vue. Let me know what you think @RyanPaulGannon

Contribution

No response

@henrikth93 henrikth93 added the design Relates to UX/UI designs label Jan 25, 2025
@andrewtavis andrewtavis added the help wanted Extra attention is needed label Jan 26, 2025
@andrewtavis andrewtavis added the question Further information is requested label Jan 26, 2025
@RyanPaulGannon
Copy link
Collaborator

I'm cool with this, I would personally throw my vote behind a solely Rust app and happily be outvoted! I appreciate that it likely entices more people to work on the project too with some JS integration and Tauri does seem excellent from my limited research, so I have no issues here! 😄

@andrewtavis
Copy link
Member

I'm realizing we haven't 100% discussed this - more in the Tauri discussion and not in an issue of our own. Ultimately the UI we're talking about it quite easy, so we don't necessarily have to do the switch. We need the annotations and tables for the conjugations, and aside from that it's a text input. How difficult do you think that would be, @RyanPaulGannon?

@andrewtavis
Copy link
Member

Tauri might be a bit more necessary if we had a UI that we'd need to iterate with new components, but the above describes basically the features that would cover everything the iOS and Android apps do :)

@RyanPaulGannon
Copy link
Collaborator

Apologies for the delay! Is this the sort of thing you meant regarding the tables?
Image

@andrewtavis
Copy link
Member

andrewtavis commented Feb 4, 2025

No delay at all :) That's looking good to me :)

Big thing for me here is the basic UI in the designs here. To sum it up, we need:

  • A blue button with the Scribe icon
  • The ability to put colored square annotations and colored text for noun annotations
  • The ability to make a grid with divider lines, so that 3x2 conjugation table where the GUI would expand to show the table
  • The ability to do a tooltip with the commands

If we're able to do that styling in Rust alone, then I don't really see the need to adopt Tauri as it's adding overhead at that point.

If we are ok with just Rust - and also determining whether we should be given that we'd be able to make the following - I'd make the following issues:

  • Put a Scribe blue background behind the Scribe key and make the icon white
  • Remove the border around the input
  • Remove "Welcome to Scribe" and the autosuggestions (I'm not sure if we'll need autosuggestions for Desktop as people can type a lot faster with a desktop keyboard than a mobile keyboard)
  • Create buttons for the translate, conjugate and plural commands and put them in a tooltip that's displayed when the user presses the Scribe key
    • How do we feel on the design for this? Maybe it can be a bit cleaner?

Image

  • Allow the user to type into the Scribe input when a command is selected
  • Issues for inserting resulting words into the text proxy when a user types a word into a command and executes it
  • Further issues for the conjugation functionality would follow

A final open question: Are we required/do we want to keep the top bar with the three controls? I can update the designs if need be 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Relates to UX/UI designs help wanted Extra attention is needed question Further information is requested
Projects
Status: Todo
Development

No branches or pull requests

3 participants