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

Significant refactor to include geographical boundaries #565

Merged
merged 99 commits into from
Sep 9, 2023

Commits on Aug 29, 2023

  1. improves docstrings org view indiv kpi

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    a0e11ba View commit details
    Browse the repository at this point in the history
  2. hoverlabel updates

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    7743488 View commit details
    Browse the repository at this point in the history
  3. rms lots of prev agg code

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    4117056 View commit details
    Browse the repository at this point in the history
  4. rm unused imports report queries

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    59d7972 View commit details
    Browse the repository at this point in the history
  5. restructure org view file

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    fdd3707 View commit details
    Browse the repository at this point in the history
  6. refactors updating all data chart html out of view into fn

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    76e0a62 View commit details
    Browse the repository at this point in the history
  7. actually returns all_data obj from update chart html fn

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    baad5c0 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. adds download full e12 user list button with test

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    dd47309 View commit details
    Browse the repository at this point in the history
  2. initial struct for cohort calc test

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    e9fe89f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    07604bf View commit details
    Browse the repository at this point in the history
  4. don't calc avg line if no data (avoid zero division error)

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    5deb47f View commit details
    Browse the repository at this point in the history
  5. make national kpi pie clickable_card

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    5643436 View commit details
    Browse the repository at this point in the history
  6. change distribution by ethnicity to rcpch_light_blue card

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    411d3ae View commit details
    Browse the repository at this point in the history
  7. updates cohort num calcs

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    3ce7ae7 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. rm cohort txt

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    93c2740 View commit details
    Browse the repository at this point in the history
  2. clean cohort num file

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    9a8043d View commit details
    Browse the repository at this point in the history
  3. rm print statement score kpi 8

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    5f14faf View commit details
    Browse the repository at this point in the history
  4. change seed to known 5 orgs

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    0e7b986 View commit details
    Browse the repository at this point in the history
  5. clean test get filtered cases

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    3c296eb View commit details
    Browse the repository at this point in the history
  6. clean test update kpiagg

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    6312df9 View commit details
    Browse the repository at this point in the history
  7. adds orgs to seed

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    e94d78f View commit details
    Browse the repository at this point in the history
  8. adds update all agg models view + button

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    c544b9b View commit details
    Browse the repository at this point in the history
  9. further implements aggregate button front-end

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    c4f9a7f View commit details
    Browse the repository at this point in the history
  10. rm validation comment in case model

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    9fae26b View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Configuration menu
    Copy the full SHA
    f4f915f View commit details
    Browse the repository at this point in the history
  2. make bar charts integer passed pct instead of float

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    377ea06 View commit details
    Browse the repository at this point in the history
  3. restyle cohort stats

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    b92d117 View commit details
    Browse the repository at this point in the history
  4. group order bar charts by none, then numericla

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    6faa55d View commit details
    Browse the repository at this point in the history
  5. fix type hint

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    edf89aa View commit details
    Browse the repository at this point in the history
  6. allows abstractions to be specified aggregate_by

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    a7f9b89 View commit details
    Browse the repository at this point in the history
  7. updates tasks.py with aggregate update fn

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    275892d View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2023

  1. add trust model, merge boundary / regions

    - clean seeding lists
    - add london boroughs
    - remove unused constants
    - rebuild migrations for seeding and refactor model names
    - refactor admin
    - remove unused boundary files
    eatyourpeas committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    176c371 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a88849f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4c543c5 View commit details
    Browse the repository at this point in the history
  4. refactor templates with parents

    refactor kpi/aggregations
    eatyourpeas committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    a46207d View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. update mastehad bg

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    a766be2 View commit details
    Browse the repository at this point in the history
  2. update e12 logo

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    e6d6cc2 View commit details
    Browse the repository at this point in the history
  3. replace e12 masthead logo

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    c7661fd View commit details
    Browse the repository at this point in the history
  4. udpates footer text

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    5459647 View commit details
    Browse the repository at this point in the history
  5. updates e12 index card

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    158e065 View commit details
    Browse the repository at this point in the history
  6. refactor model names and fields

    - boundary names and codes added
    - entity models renamed and pruned of unused fields
    - seeding refactored
    Errors with refactoring:
    - Comorbidity
    - ComorbidityList
    - Syndrome
    - SyndromeList
    -EpilepsyCause
    may have some inconsistencies
    
    Co-authored-by: Anchit <[email protected]>
    eatyourpeas and anchit-chandran committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    02498de View commit details
    Browse the repository at this point in the history
  7. fix enums

    eatyourpeas committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    177fcb9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    20fc409 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b2c0d1a View commit details
    Browse the repository at this point in the history
  10. update old field name

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    7703a4f View commit details
    Browse the repository at this point in the history
  11. update old field name syndrome

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    ff1ad02 View commit details
    Browse the repository at this point in the history
  12. update test vvalue counts with new abstraction levels

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    d8ed860 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    8258e62 View commit details
    Browse the repository at this point in the history
  14. fixes to test perm view comorbidities

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    59608a5 View commit details
    Browse the repository at this point in the history
  15. fix comorb test perms delete

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    4cb92a8 View commit details
    Browse the repository at this point in the history
  16. fix test perm create comorb

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    2d9b75e View commit details
    Browse the repository at this point in the history
  17. fix epilepsy cause + comorb test_perms_update

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    d01ed4f View commit details
    Browse the repository at this point in the history
  18. add decorator

    - fixes high vulnerability user  can edit own record
    eatyourpeas committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    78307f4 View commit details
    Browse the repository at this point in the history
  19. add london borough tiles

    fix lhb vs trusts in template
    eatyourpeas committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    b8ba119 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    7de639d View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    8cdb264 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Configuration menu
    Copy the full SHA
    fd88e84 View commit details
    Browse the repository at this point in the history
  2. fix test_user_create_diff_org_success

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    b0c287e View commit details
    Browse the repository at this point in the history
  3. fix test_user_creation_forbidden

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    d421468 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8b14341 View commit details
    Browse the repository at this point in the history
  5. adds epilepsy12_user_id args to view redirects

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    d363cbe View commit details
    Browse the repository at this point in the history
  6. updates download button e12 users list test + code

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    b335b5b View commit details
    Browse the repository at this point in the history
  7. fix test_update_actions to use Comorb+SyndromLists

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    d907945 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    aedea82 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ccc19b3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    04d385b View commit details
    Browse the repository at this point in the history
  11. fix test calc kpi value counts

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    42713db View commit details
    Browse the repository at this point in the history
  12. updates doc strings get_filtered_cases_queryset_for

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    573192f View commit details
    Browse the repository at this point in the history
  13. update doc strings kpi value counts

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    07e6822 View commit details
    Browse the repository at this point in the history
  14. fix test update kpi agg model

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    516a84c View commit details
    Browse the repository at this point in the history
  15. adds kpi agg seed migration

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    bf62218 View commit details
    Browse the repository at this point in the history
  16. rm country different logic in getting kpi agg data for view

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    813cfeb View commit details
    Browse the repository at this point in the history
  17. refactor trust.trust_name to trust.name

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    10f439f View commit details
    Browse the repository at this point in the history
  18. fix kpi table for eng + welsh orgs

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    1f283b0 View commit details
    Browse the repository at this point in the history
  19. fix maps for eng / welsh

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    9253345 View commit details
    Browse the repository at this point in the history
  20. improves indiv kpi pies eng vs wales

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    4945ce7 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. change trust_name to name in migrations

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    84aa899 View commit details
    Browse the repository at this point in the history
  2. ad local health board to welsh indv bar kpi chart

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    09cd9f5 View commit details
    Browse the repository at this point in the history
  3. make lhb pie card clickable

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    342457a View commit details
    Browse the repository at this point in the history
  4. redo pie containers indv kpis

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    b0a2bc7 View commit details
    Browse the repository at this point in the history
  5. admin register local h board kpi agg model

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    b599555 View commit details
    Browse the repository at this point in the history
  6. adds a get total cases used in agg for kpi agg models

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    13559e0 View commit details
    Browse the repository at this point in the history
  7. user types

    eatyourpeas committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    478ea7a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3cc9e3d View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. no postcode fix

    eatyourpeas committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    e490773 View commit details
    Browse the repository at this point in the history
  2. update transfer email to remove child

    remove ability to edit lead site
    eatyourpeas committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    588c9c2 View commit details
    Browse the repository at this point in the history
  3. add cohort to str reprs of kpiagg models

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    57c13f7 View commit details
    Browse the repository at this point in the history
  4. make indv pie chart cards all same set height

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    6864761 View commit details
    Browse the repository at this point in the history
  5. comment out DRF

    eatyourpeas committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    3eebf93 View commit details
    Browse the repository at this point in the history
  6. kpi agg model method to calc total cases handle none

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    6ead1aa View commit details
    Browse the repository at this point in the history
  7. adjust stylings for indv kpi pies when no data

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    c0d9b9a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    69e6702 View commit details
    Browse the repository at this point in the history
  9. make bar text darker for bar charts with None data

    Signed-off-by: anchit-chandran <[email protected]>
    anchit-chandran committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    7c6d98a View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. change mental_health_issue to mental_health_issues

    change from single choice to multiple choice
    eatyourpeas committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    cd2f1a5 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2023

  1. confirm delete modal for case

    involves test refactor for permissions to accept htmx params
    eatyourpeas committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    eec5ddd View commit details
    Browse the repository at this point in the history
  2. fix email resend

    - only shows if emailConfirmed is false
    - url fail fix
    eatyourpeas committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    f05e2c3 View commit details
    Browse the repository at this point in the history
  3. remove previous user creation forms

    - fix user workflow
    - hide resend email button if confirmed
    eatyourpeas committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    0ab3b56 View commit details
    Browse the repository at this point in the history
  4. stub out tests

    remove commented out code
    eatyourpeas committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    043eb3f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    926f086 View commit details
    Browse the repository at this point in the history