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

Add UI for configuring the demos directory #35

Merged
merged 16 commits into from
May 5, 2023

Commits on May 5, 2023

  1. Add UI for configuring the demos directory

    Remove hardcoded directory name in favor of using the latest value on app startup
    Update styles for the settings page to make it look a bit nicer
    Change "Back" text link to a button
    yep-tf2 authored and Narcha committed May 5, 2023
    Configuration menu
    Copy the full SHA
    7398926 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1dac5ef View commit details
    Browse the repository at this point in the history
  3. Formatting with prettier

    yep-tf2 authored and Narcha committed May 5, 2023
    Configuration menu
    Copy the full SHA
    76a1772 View commit details
    Browse the repository at this point in the history
  4. Use steamlocate crate for retrieving TF2's installation directory

    If TF2 couldn't be found, default to looking in the user's home directory
    This isn't any more likely to work than any other fallback, but it's preferred over having nothing at all
    yep-tf2 authored and Narcha committed May 5, 2023
    Configuration menu
    Copy the full SHA
    edf18ac View commit details
    Browse the repository at this point in the history
  5. Use tauri dialog for demo folder selection

    Display the current folder in a disabled text input
    yep-tf2 authored and Narcha committed May 5, 2023
    Configuration menu
    Copy the full SHA
    21fe1d5 View commit details
    Browse the repository at this point in the history
  6. Use native tauri join method

    yep-tf2 authored and Narcha committed May 5, 2023
    Configuration menu
    Copy the full SHA
    b9531f7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3a8b19b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2358ed5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a380e38 View commit details
    Browse the repository at this point in the history
  10. Set demoPath on startup if not already set

    Lets the UI always correspond to the configured state
    yep-tf2 authored and Narcha committed May 5, 2023
    Configuration menu
    Copy the full SHA
    ca79541 View commit details
    Browse the repository at this point in the history
  11. Remove redundant state

    yep-tf2 authored and Narcha committed May 5, 2023
    Configuration menu
    Copy the full SHA
    4531c5f View commit details
    Browse the repository at this point in the history
  12. Remove unused import

    yep-tf2 authored and Narcha committed May 5, 2023
    Configuration menu
    Copy the full SHA
    74bd99c View commit details
    Browse the repository at this point in the history
  13. Simplify styles

    yep-tf2 authored and Narcha committed May 5, 2023
    Configuration menu
    Copy the full SHA
    5e4fda7 View commit details
    Browse the repository at this point in the history
  14. Fix settings scrolling

    Root div needs to resize with its parent (the window), otherwise it doesn't shrink in the Y axis and the scroll overflow wouldn't kick in
    yep-tf2 authored and Narcha committed May 5, 2023
    Configuration menu
    Copy the full SHA
    667a1da View commit details
    Browse the repository at this point in the history
  15. Remove unused import

    yep-tf2 authored and Narcha committed May 5, 2023
    Configuration menu
    Copy the full SHA
    1724299 View commit details
    Browse the repository at this point in the history
  16. Formatting

    Narcha committed May 5, 2023
    Configuration menu
    Copy the full SHA
    f88f80c View commit details
    Browse the repository at this point in the history