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

feat: support workspaces config option #155

Merged
merged 31 commits into from
Oct 18, 2023

Commits on Oct 16, 2023

  1. Configuration menu
    Copy the full SHA
    41cfd7f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    070ef9f View commit details
    Browse the repository at this point in the history
  3. refactor: default_workspace and workspaces table

    - if the cwd matches directory in `workspaces` table use it as the vault dir
      (`client.dir`) (epwalsh#128)
    - if cwd does not match any value in `workspaces`, use cwd as the vault
      dir (epwalsh#119)
    - rename `dir` to `default_workspace
      - contains an index into the `workspaces` table as a fallback
    weskoerber committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    2aaf7ff View commit details
    Browse the repository at this point in the history
  4. feat: add command to switch workspace

    related to: epwalsh#60
    weskoerber committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    d3313a3 View commit details
    Browse the repository at this point in the history
  5. chore: run stylua

    weskoerber committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    ee7a3f7 View commit details
    Browse the repository at this point in the history
  6. chore: update changelog

    weskoerber committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    9c10132 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    731fd49 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8d71474 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c5a3a8f View commit details
    Browse the repository at this point in the history
  10. refactor: workspace command changes

    - when called with no arguments, print the current workspace name and
      path
    - when called with a single argument, try to switch to the workspace
    weskoerber committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    170dddb View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9c19046 View commit details
    Browse the repository at this point in the history
  12. chore: update readme

    weskoerber committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    591a116 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d780e10 View commit details
    Browse the repository at this point in the history
  14. chore: workspace class

    weskoerber committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    acd5f23 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    a5931ba View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    c31a654 View commit details
    Browse the repository at this point in the history
  17. chore: update readme

    weskoerber committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    d3a93c5 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    417eb91 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    c741398 View commit details
    Browse the repository at this point in the history
  20. chore: add workspace tests

    weskoerber committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    46b4a83 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Configuration menu
    Copy the full SHA
    598bc0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48ae1f1 View commit details
    Browse the repository at this point in the history
  3. chore: add function to create new workspace from dir

    - names the workspace the name of the dir
    weskoerber committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    e190304 View commit details
    Browse the repository at this point in the history
  4. chore: default workspace name to the name of the directory

    - previously using obfuscatory "test_vault"
    weskoerber committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    1e1ba52 View commit details
    Browse the repository at this point in the history
  5. fix: backward incompatibility

    - if `dir` is set, convert it to a workspace object
    weskoerber committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    04dd838 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    852895f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    79118e1 View commit details
    Browse the repository at this point in the history
  8. fix: backward incompatibility

    - if `dir` is set, use that as the default workspace
        - even if workspaces are defined, `dir` is used as the default
    weskoerber committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    f422f98 View commit details
    Browse the repository at this point in the history
  9. chore: update readme

    weskoerber committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    9402d59 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    bc228a0 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. update type hints

    epwalsh committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    242fdbe View commit details
    Browse the repository at this point in the history