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(datatrak): RN-1364: Completing of repeat tasks #5802

Merged
merged 128 commits into from
Jul 24, 2024

Commits on Jun 20, 2024

  1. Create button

    alexd-bes committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    346f3f9 View commit details
    Browse the repository at this point in the history
  2. Move modal to ui-components

    alexd-bes committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    beddfbe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6426a76 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    48d071b View commit details
    Browse the repository at this point in the history
  5. Update tupaia-pin.svg

    alexd-bes committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    5d69b66 View commit details
    Browse the repository at this point in the history
  6. Country selector on modal

    alexd-bes committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    446f2f9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b82596d View commit details
    Browse the repository at this point in the history
  8. Move types

    alexd-bes committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    c0cfc84 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e19a287 View commit details
    Browse the repository at this point in the history
  10. Survey selector

    alexd-bes committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    694bf9a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8e54867 View commit details
    Browse the repository at this point in the history
  12. Fix types

    alexd-bes committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    57b534e View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Entity selector

    alexd-bes committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    3e564db View commit details
    Browse the repository at this point in the history
  2. Styling entity selector

    alexd-bes committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    459ad7a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a103486 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0ab2903 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2024

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

Commits on Jun 24, 2024

  1. Due date

    alexd-bes committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    ec8f0fc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    554d8fb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1d68c15 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. WIP

    alexd-bes committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    1a23d18 View commit details
    Browse the repository at this point in the history
  2. WIP

    alexd-bes committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    90a7f38 View commit details
    Browse the repository at this point in the history
  3. assignee input

    alexd-bes committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    6d22957 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    42bee49 View commit details
    Browse the repository at this point in the history
  5. Styling repeat scheduler

    alexd-bes committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    8e7c924 View commit details
    Browse the repository at this point in the history
  6. Comments placholder

    alexd-bes committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    aed01e9 View commit details
    Browse the repository at this point in the history
  7. Styling

    alexd-bes committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    c6e7e98 View commit details
    Browse the repository at this point in the history
  8. WIP

    alexd-bes committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    931a8cd View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Create task route

    alexd-bes committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    926805d View commit details
    Browse the repository at this point in the history
  2. Create task workflow

    alexd-bes committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    4eaf58e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a1459b4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7eb52c8 View commit details
    Browse the repository at this point in the history
  5. Update schemas.ts

    alexd-bes committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    b8a42d6 View commit details
    Browse the repository at this point in the history
  6. remove unused import

    alexd-bes committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    9b89ff9 View commit details
    Browse the repository at this point in the history
  7. Handle reset

    alexd-bes committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    d8b9d64 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2024

  1. Fix datatrak tests

    alexd-bes committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    176ac66 View commit details
    Browse the repository at this point in the history
  2. Fix central server tests

    alexd-bes committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    6ad35f9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e186d8f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    62197cc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8553b62 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    91d2cf1 View commit details
    Browse the repository at this point in the history
  7. Remove unused import

    alexd-bes committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    a9edba9 View commit details
    Browse the repository at this point in the history
  8. Remove duplicate file

    alexd-bes committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    ff82d5c View commit details
    Browse the repository at this point in the history
  9. Fix build

    alexd-bes committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    18f6db8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8a07448 View commit details
    Browse the repository at this point in the history
  11. Fix tests

    alexd-bes committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    bc85374 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. Update packages/central-server/src/apiV2/utilities/constructNewRecord…

    …ValidationRules.js
    
    Co-authored-by: Tom Caiger <caigertom@gmail.com>
    alexd-bes and tcaiger authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    f3ad9bd View commit details
    Browse the repository at this point in the history
  2. Fix error messages

    alexd-bes committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    416339f View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Configuration menu
    Copy the full SHA
    cce3119 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    914fc10 View commit details
    Browse the repository at this point in the history
  3. WIP

    alexd-bes committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    c1ce1ae View commit details
    Browse the repository at this point in the history
  4. WIP

    alexd-bes committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    d2fa47b View commit details
    Browse the repository at this point in the history
  5. Assignee Id modal

    alexd-bes committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    394280d View commit details
    Browse the repository at this point in the history
  6. Working assignee

    alexd-bes committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    5709176 View commit details
    Browse the repository at this point in the history
  7. remove unused property

    alexd-bes committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    5d78a18 View commit details
    Browse the repository at this point in the history
  8. Fix timezone issue

    alexd-bes committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    365a3ce View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    986d7bc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2b6bdb2 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5f12b3b View commit details
    Browse the repository at this point in the history
  12. remove unused variable

    alexd-bes committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    c711bef View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    24d24ea View commit details
    Browse the repository at this point in the history
  14. Remove unused variable

    alexd-bes committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    8c397d0 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Fix casing

    alexd-bes committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    d9c6948 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6671628 View commit details
    Browse the repository at this point in the history
  3. Update AssigneeInput.tsx

    alexd-bes committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    e3a0212 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6705438 View commit details
    Browse the repository at this point in the history
  5. Fix copy

    alexd-bes committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    a5cf0b1 View commit details
    Browse the repository at this point in the history
  6. Exclude internal users

    alexd-bes committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    f1662ba View commit details
    Browse the repository at this point in the history
  7. Fix types

    alexd-bes committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    16bbad6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c2271d3 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Configuration menu
    Copy the full SHA
    6c59547 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9776683 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5f41b7b View commit details
    Browse the repository at this point in the history
  4. Link to details page

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    4829bd3 View commit details
    Browse the repository at this point in the history
  5. Fix modal button types

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    915def1 View commit details
    Browse the repository at this point in the history
  6. Fix types

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    6321cb3 View commit details
    Browse the repository at this point in the history
  7. Update handling of columns

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    34527a8 View commit details
    Browse the repository at this point in the history
  8. get task route

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    cecd49e View commit details
    Browse the repository at this point in the history
  9. WIP

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    948df10 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    54a09d7 View commit details
    Browse the repository at this point in the history
  11. Handle unloaded task

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    d254d8c View commit details
    Browse the repository at this point in the history
  12. Task metadata section

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    4c30c44 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e4b873f View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    c422d2f View commit details
    Browse the repository at this point in the history
  15. Fix merge issue

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    38a2fc5 View commit details
    Browse the repository at this point in the history
  16. WIP

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    a87f862 View commit details
    Browse the repository at this point in the history
  17. Update schemas.ts

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    8fae25c View commit details
    Browse the repository at this point in the history
  18. feat(datatrakWeb): RN-1358: Assign tasks from dashboard (#5770)

    * Create button
    
    * Move modal to ui-components
    
    * Move country selector to features folder
    
    * Update country selector exports/imports
    
    * Update tupaia-pin.svg
    
    * Country selector on modal
    
    * Move survey selector to features
    
    * Move types
    
    * Update survey list component to take care of fetching
    
    * Survey selector
    
    * Move entity selector to features
    
    * Fix types
    
    * Entity selector
    
    * Styling entity selector
    
    * Due date
    
    * WIP
    
    * WIP
    
    * assignee input
    
    * Add loading state and save user id
    
    * Styling repeat scheduler
    
    * Comments placholder
    
    * Styling
    
    * WIP
    
    * Create task route
    
    * Create task workflow
    
    * Clear form when modal is reopened
    
    * Update schemas.ts
    
    * remove unused import
    
    * Handle reset
    
    * Fix datatrak tests
    
    * Fix central server tests
    
    * Move modal to ui-components
    
    * Remove unused import
    
    * Remove duplicate file
    
    * Fix build
    
    * Fix tests
    
    * Update packages/central-server/src/apiV2/utilities/constructNewRecordValidationRules.js
    
    Co-authored-by: Tom Caiger <caigertom@gmail.com>
    
    * Fix error messages
    
    * Handle search term in the BE
    
    * WIP
    
    * WIP
    
    * Assignee Id modal
    
    * Working assignee
    
    * remove unused property
    
    * Fix timezone issue
    
    * Fix date formatting of filter
    
    * remove unused variable
    
    * Remove unused variable
    
    * Fix casing
    
    * Default to showing countries if no primary entity question
    
    * Update AssigneeInput.tsx
    
    * Show loader when loading project and countries
    
    * Fix copy
    
    * Exclude internal users
    
    * Fix types
    
    * Change colour of icon in entity list
    
    * Fix modal button types
    
    * Fix types
    
    ---------
    
    Co-authored-by: Tom Caiger <caigertom@gmail.com>
    alexd-bes and tcaiger authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    33c47f6 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    a86b925 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    2dfa0e3 View commit details
    Browse the repository at this point in the history
  21. Fix merge error

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    1221df2 View commit details
    Browse the repository at this point in the history
  22. Fix styles and types

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    ad55ba3 View commit details
    Browse the repository at this point in the history
  23. Styling

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    9ce4c6c View commit details
    Browse the repository at this point in the history
  24. Fix multi re-render

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    b2a98e7 View commit details
    Browse the repository at this point in the history
  25. Comments placeholder

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    cb50d6a View commit details
    Browse the repository at this point in the history
  26. Add buttons

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    ca6dd2a View commit details
    Browse the repository at this point in the history
  27. Submit changes

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    a78456b View commit details
    Browse the repository at this point in the history
  28. Clear changes

    alexd-bes committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    e616dd2 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Configuration menu
    Copy the full SHA
    eb9d3e7 View commit details
    Browse the repository at this point in the history
  2. Fix merge issues

    alexd-bes committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    478c16e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d22a765 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9b43a4e View commit details
    Browse the repository at this point in the history
  5. responsive styling

    alexd-bes committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    9ed7d5c View commit details
    Browse the repository at this point in the history
  6. Add cancel menu

    alexd-bes committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    0b1a5c9 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2024

  1. Configuration menu
    Copy the full SHA
    d595ced View commit details
    Browse the repository at this point in the history
  2. Generate types

    alexd-bes committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    29fad72 View commit details
    Browse the repository at this point in the history
  3. Fix loading styling

    alexd-bes committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    6e0777f View commit details
    Browse the repository at this point in the history
  4. Remove unused var

    alexd-bes committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    9559ee6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b77f752 View commit details
    Browse the repository at this point in the history
  6. Display modal

    alexd-bes committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    e191fc0 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Survey response modal

    alexd-bes committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    2de2a3d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ec3c2c View commit details
    Browse the repository at this point in the history
  3. Error handling

    alexd-bes committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    903833f View commit details
    Browse the repository at this point in the history
  4. Error handling

    alexd-bes committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    fd384cb View commit details
    Browse the repository at this point in the history
  5. Fix tests

    alexd-bes committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    4022c23 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    5ff8e66 View commit details
    Browse the repository at this point in the history
  2. Fix imports

    alexd-bes committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    79fc7bb View commit details
    Browse the repository at this point in the history
  3. feat(datatrakWeb): RN-1339: Link survey responses to tasks (#5788)

    * Create survey_response_id column
    
    * Update change handler
    
    * Update TaskCompletionHandler.js
    alexd-bes authored Jul 16, 2024
    Configuration menu
    Copy the full SHA
    2b551ba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d6ce23a View commit details
    Browse the repository at this point in the history
  5. Fix type

    alexd-bes committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    5bc63ed View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. feat(datatrakWeb): RN-1339: View completed survey response from task (#…

    …5789)
    
    * Create survey_response_id column
    
    * Update change handler
    
    * View completed survey
    
    * Error handling
    
    * Fix comment
    
    * fix tasks button
    
    * removeTaskFilterSetting on logout
    
    * PR fixes
    
    ---------
    
    Co-authored-by: Tom Caiger <caigertom@gmail.com>
    alexd-bes and tcaiger authored Jul 18, 2024
    Configuration menu
    Copy the full SHA
    212dfcc View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Configuration menu
    Copy the full SHA
    329fe05 View commit details
    Browse the repository at this point in the history
  2. handle repeatSchedule tasks

    tcaiger committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    f424234 View commit details
    Browse the repository at this point in the history
  3. set up duplicate test

    tcaiger committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    595f0c3 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Configuration menu
    Copy the full SHA
    bc4d02b View commit details
    Browse the repository at this point in the history
  2. clean up PR

    tcaiger committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    a5c3dc5 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. Configuration menu
    Copy the full SHA
    e669db3 View commit details
    Browse the repository at this point in the history
  2. allow null repeating tasks

    tcaiger committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    c3ae583 View commit details
    Browse the repository at this point in the history