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 part 2 of the tutorial: CLI Contact Manager #86

Open
wants to merge 30 commits into
base: main
Choose a base branch
from

Commits on Aug 18, 2024

  1. Added domain for project

    Includes the Contact type (in-memory representation of a contact), the Flags and some Arguments for the CLI
    Hombre-x committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    65de70f View commit details
    Browse the repository at this point in the history
  2. Added ContactManager algebra

    It implements the logic for the file handling and search using Shellfish
    Hombre-x committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    d752157 View commit details
    Browse the repository at this point in the history
  3. Added Cli

    Encapsulates the logic for interacting with the cli app
    Hombre-x committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    1519e00 View commit details
    Browse the repository at this point in the history
  4. Added Prompt

    Responsible for converting the user prompt in for of args: List[String] into Flags and Arguments
    Hombre-x committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    021fcec View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a2d1796 View commit details
    Browse the repository at this point in the history
  6. Changed monad sequencing in App

    Now all use flatMap insead of mapN
    Hombre-x committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    6495d1e View commit details
    Browse the repository at this point in the history
  7. Changed domain structure

    As I forgot that Scala 2 doesn't have top level definitions
    Hombre-x committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    fde5135 View commit details
    Browse the repository at this point in the history
  8. Changed domain imports

    Hombre-x committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    5adb157 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9818555 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1fdac05 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f52773e View commit details
    Browse the repository at this point in the history
  12. Formatting changes

    Hombre-x committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    605ae01 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    33e5ff7 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3c56fca View commit details
    Browse the repository at this point in the history
  15. Modified readLines methods

    It now discards any empty characters after the last newline, just like the `wc` command in Unix
    
    Also, added tests to assert that behavior
    Hombre-x committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    ffe2342 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    f2f711c View commit details
    Browse the repository at this point in the history
  17. Changed non-existant methods

    I forgot that `tempFile` does not exist anymore
    Hombre-x committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    1f5c407 View commit details
    Browse the repository at this point in the history
  18. Changed length test

    Because readLines was modified, It now doesn't account the newline added by the writeLines method.
    Hombre-x committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    6cd035f View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    e514aef View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    7fc2903 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Configuration menu
    Copy the full SHA
    5e7d6a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    29bfaee View commit details
    Browse the repository at this point in the history
  3. Revert "Changed length test"

    This reverts commit 6cd035f.
    Hombre-x committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    38d6d91 View commit details
    Browse the repository at this point in the history
  4. Revert "Changed non-existant methods"

    This reverts commit 1f5c407.
    Hombre-x committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    7d0acf0 View commit details
    Browse the repository at this point in the history
  5. Revert "Modified readLines methods"

    This reverts commit ffe2342.
    Hombre-x committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    98bbeaf View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. Configuration menu
    Copy the full SHA
    36fe704 View commit details
    Browse the repository at this point in the history
  2. Updated docs of the tutorial section

    Now they include the changes in the code with their corresponding new explanation
    Hombre-x committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    676c442 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    401ad95 View commit details
    Browse the repository at this point in the history
  4. Changed given to implicit declaration

    I forgot that I was working in Scala 2
    Hombre-x committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    243580e View commit details
    Browse the repository at this point in the history
  5. Formatting files before PR

    Hombre-x committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    d791df3 View commit details
    Browse the repository at this point in the history