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 features and algorithm to support label inference #762

Merged
merged 3 commits into from
Jul 1, 2021

Commits on Jun 17, 2021

  1. Begin work on label inference user interface

    + Adds basic client-side processing of label inference data structure
        - Minor restructuring of infinite_scroll_list.js to facilitate this
        - Still need to write full client-side inference algorithm
    + Displays inferred labels in yellow and blank labels in red
    GabrielKS committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    34704a1 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2021

  1. Add a "verify" button for trips on the Label page

    + Moves the "more" button on trip cards to the top right corner
    + Adds a verify button beneath it that turns yellow labels green
    + Fixes a bug that mis-positioned trip start and end icons if labels were blank
    + Like the previous commit, does not affect the Diary page
    GabrielKS committed Jun 19, 2021
    Configuration menu
    Copy the full SHA
    9cf8258 View commit details
    Browse the repository at this point in the history
  2. Implement client-side portion of label inference

    + This algorithm takes the list of label tuples and probabilities from
      the server and chooses which yellow labels to show the user, taking
      into account what the user has already begun to enter.
    + Extensively documented in the comments.
    
    Testing done:
    Tested various cases using the more extensive server-side placeholder
    label inference "algorithm" recently committed.
    GabrielKS committed Jun 19, 2021
    Configuration menu
    Copy the full SHA
    8e801a0 View commit details
    Browse the repository at this point in the history