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

Survey Answer Data Chart #249

Merged
merged 45 commits into from
Jun 13, 2024
Merged

Survey Answer Data Chart #249

merged 45 commits into from
Jun 13, 2024

Commits on Mar 1, 2024

  1. Prototype SurveyDataChart

    - Break the rendering portion of the DailyDataChart out from the Data Querying part
    - Reuse the rendering to grab data from surveys instead.
    - Support multiple lines on the line graph.
    ajmenca committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    546617a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f97073e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e579df7 View commit details
    Browse the repository at this point in the history
  4. Fix stories copy/paste

    ajmenca committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    ada59a7 View commit details
    Browse the repository at this point in the history
  5. Basic bar chart support

    ajmenca committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    eb54f23 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ca285eb View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Simplify + extra color support

    - Simplify presentation by always assuming an array of dataKeys but defaulting to a single entry array.
    - Support multiple colors for all chart types.
    ajmenca committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    a17b200 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Minor clean ups

    ajmenca committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    d213057 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. Configuration menu
    Copy the full SHA
    2630f00 View commit details
    Browse the repository at this point in the history
  2. Merge flog fixes

    ajmenca committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    85e7d10 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1466b8d View commit details
    Browse the repository at this point in the history
  4. Fix/update exports

    ajmenca committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    d80080d View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Fix gradient case key

    ajmenca committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    74b09bd View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. Review Updates

    - Renamed DataChart to TimeSeriesChart
    - Had SurveyDataChart "normalize" it's time gaps so that it's passing data in a way that the TimeSeriesChart expects.
    - Adjusted SurveyChart setup params so you can pass arrays of surveys or result identifiers if you wanted to "interlace" results from two different surveys and treat them as one data stream (a daily and weekly survey, for example).
    ajmenca committed May 1, 2024
    Configuration menu
    Copy the full SHA
    916e5a3 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Configuration menu
    Copy the full SHA
    ff5cf88 View commit details
    Browse the repository at this point in the history
  2. Change Time Series Chart to use time scale

    - Using milliseconds as key instead of date string allows use of 'time' scale for X-Axis
    - Lets Recharts appropriately space points along the x-axis *without* having to pass it a data point for every day in the range.
    - DailyDataChart and SurveyDataChart no longer have to "normalize" their data, which eases the data parsing.
    - Gives finer control over X-Axis ticks, particularly along longer timescales
    ajmenca committed May 2, 2024
    Configuration menu
    Copy the full SHA
    58b1ff5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ecb57a8 View commit details
    Browse the repository at this point in the history
  4. UI Fixes

    Fix generating too many months of ticks, fix bar padding on timescale graph
    ajmenca committed May 2, 2024
    Configuration menu
    Copy the full SHA
    8553b5a View commit details
    Browse the repository at this point in the history
  5. Cleanliness tweaks

    ajmenca committed May 2, 2024
    Configuration menu
    Copy the full SHA
    62d5d6d View commit details
    Browse the repository at this point in the history
  6. Improve Stories

    ajmenca committed May 2, 2024
    Configuration menu
    Copy the full SHA
    e8961d7 View commit details
    Browse the repository at this point in the history
  7. Fix date presentation

    ajmenca committed May 2, 2024
    Configuration menu
    Copy the full SHA
    ce58283 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Fixes; backwards compatibility features

    - Fix directory name of TimeSeriesChart
    - Fix DailyDataChart needing to display gaps in data over the course of graph
      - Adds a dataGap feature to the TimeSeriesChart to figure out when there is a gap of data large enough to put a hole in the graph.
      - This allows the DailyDataChart to specify a gap of 1 day, while SurveyData can set it to 1 week, or whatever interval the survey is being sent at.
    - Fix DailyDataChart never showing loading indicator
    ajmenca committed May 3, 2024
    Configuration menu
    Copy the full SHA
    b523b25 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2d642f7 View commit details
    Browse the repository at this point in the history
  3. Allow intraday view for TimeSeries

    Per expected requirements for HeartRateChart - set ticks to every 3 hours.
    ajmenca committed May 3, 2024
    Configuration menu
    Copy the full SHA
    24a9a35 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    44dcecf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b7af74c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c894ddd View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Rename dataGap

    ajmenca committed May 7, 2024
    Configuration menu
    Copy the full SHA
    f5e7692 View commit details
    Browse the repository at this point in the history
  2. Use useInitializeView

    ajmenca committed May 7, 2024
    Configuration menu
    Copy the full SHA
    d7e60b1 View commit details
    Browse the repository at this point in the history
  3. Remove redundant day indicator, and "isToday" styling on intraday

    - isToday styling bolds *everything* on intraday which isn't intentional
    ajmenca committed May 7, 2024
    Configuration menu
    Copy the full SHA
    86c6ff9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    17991ab View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Configuration menu
    Copy the full SHA
    481fdab View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Rename SixMonth to 6Month

    ajmenca committed May 17, 2024
    Configuration menu
    Copy the full SHA
    dcd5fb6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    320f783 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4fca357 View commit details
    Browse the repository at this point in the history
  4. Better defaults for 6Month timespan

    - Model Month behavior; by default go 6 months back from the current month, all the way back to the 1st.
    - Fix tick mark generation on TimeSeriesChart for multiple possibilities of how the 6 month span starts, to always get the ticks in predictable spots.
    - Add stories to demonstrate this behavior.
    ajmenca committed May 17, 2024
    Configuration menu
    Copy the full SHA
    d516709 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    22d87c7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    60d7cd0 View commit details
    Browse the repository at this point in the history
  7. Fix SurveyAnswerChart always passing at least an empty array to TimeS…

    …eriesChart
    
    - This was preventing the Loading indicator from ever being presented.
    ajmenca committed May 17, 2024
    Configuration menu
    Copy the full SHA
    e4ec705 View commit details
    Browse the repository at this point in the history
  8. Duplicate function refactoring

    Can re-use because DailyDataChart is prevented from calling with 6Month parameter by other type checking.
    ajmenca committed May 17, 2024
    Configuration menu
    Copy the full SHA
    40161cf View commit details
    Browse the repository at this point in the history
  9. Adjust tooltip formatting

    ajmenca committed May 17, 2024
    Configuration menu
    Copy the full SHA
    5ee53a2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ba9ad29 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Adjust multiseries chart properties

    Avoids parallel arrays for keys and colors.  Maintain backwards interface to DailyDataChart for compatibility purposes by mapping single chart series properties to multiple series properties.
    ajmenca committed May 30, 2024
    Configuration menu
    Copy the full SHA
    300a1e8 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. Configuration menu
    Copy the full SHA
    e1875e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04f6bba View commit details
    Browse the repository at this point in the history