Git Product home page Git Product logo

foreign-field's People

Contributors

benscriptstheweb avatar dependabot[bot] avatar javalavajava avatar mingotek avatar roysdev avatar rtercias avatar versacomp avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

foreign-field's Issues

Activate a non-active address

For non-active addresses, add a toggle button to “activate” the address. This should change the status to “Active”, and remove the corresponding “tag” in the notes field.

add a warning when about to remove current NH status

The current NH status is seen next to the address. To remove the current status ("NH in the screenshot below), the user clicks on this icon.
image.png

We need to warn the user that they are about to remove the status before proceeding.

Use bootstrap's modal to open up a confirmation dialog box.

Re-order Address Cards via drag-n-drop

Allow "canWrite" users (see auth vuex module) to change the order of addresses.

Starting component: Territory.vue

  1. add a drag-n-drop icon on Address Card visible only to "canWrite".
  2. add drag-n-drop events to Address Card. Save the new position in the address' sort field.

create "Do Not Call" report for elders

Starting component: new

Create a component listing all DNC address status across all territories. Each address on the list should have a link to the corresponding territory in which the inactive address can be found.

The link for Do Not Call list should be added on the Welcome screen.

The link should be made available only to user roles GO (group overseer) and SO (service overseer).

Show territories that a user has worked recently (not checked in to them)

Starting component: Welcome

Sometimes users share a territory link with one another. Currently, that link is only available to the recipient via text message. When a user visits a territory link that's not checked out to them, we can save that link into their local storage.

Then, on the Welcome dashboard, we can display the links in a "Recently Visited" list.

"Recent" = 2 months long
Links older than 2 months can be dropped off the list.

Create Do Not Call workflow

Stories

  1. Add Do Not Call button
  2. Add graphql update query to remove address from territory
  3. Add a log in activity logs with status = DNC
  4. Notify service and group overseers

Service Overseer Dashboard

Dashboard for service overseer.

Add to the Welcome Dashboard page:

  • summary of Available, Checked Out, Recently Worked, and All territories

    • clickable to go to existing lists
  • S-13 page

    • fix the S-13 component so that it uses graphQL data instead of local json file
  • count of addresses per territory

  • most/least checked out territories

create "Territory Changes" report for territory servant

Starting component: new

This report should contain a list of administrative changes made to the territory in the past X days:

X = any given number of days

Addresses:

  • addresses marked as Do Not Call
  • addresses marked as NF
  • addresses marked as "verify"
  • all other tags added to an address
  • any updates made to an address

Territories:

  • checkouts
  • check-ins
  • new address added

Make this report available in Welcome component

Change Reset button to Check-in

In the single Territory page, there's a "Reset" button, change the reset button behavior so that it also does a "check-in" of the territory.

Also, rename the button to "Check-in"

provide a way to see non-Active addresses

Starting Component: Territory.vue

By default, Territory.vue shows "Active" addresses only.

Add a toggle so that non-Active addresses can be viewed/editied.

The options can be Active, Do Not Calls, Not [Language]

This feature should only be available to the territory servant, group overseers, service overseers, and admin.

add territory map view

In the single Territory view, add a toggle that switches between the current address list view and a map view.
Map view needs to be created using OpenStreetMaps (avoid Google as it is not free).

Enhanced address add/edit workflow

Starting component: AddressForm

Wrap AddressForm inside a wizard form.

image.png

Wireframe:
https://www.draw.io/#G1i-W6x4fM1fCenLXyac1Xl-wo-a59fZ5w

Wizard Form #1 - Address Form

  1. replace manual city/state/zip data entry with a call to an API that provides city/state/zip info
  2. verify address is valid and get geocode (lat/lng) using google maps API
    At this point, if user is editing an existing address, allow them to Submit as is, or to Continue with next step.

Wizard Form #2 - Select territory workflow

  1. Using Leaflet, plot current address on a map

  2. Also plot nearby addresses as Territory clusters

  3. Additionally, create a dropdown to manually select a territory

  4. Submit the new address

Wizard Form #3 - Finalize

  1. Show the new address
  2. Show the selected territory
  3. Recommend to re-optimize the territory with a link that redirects user to Optimize Territory workflow
  4. Don't recommend to re-optimize the territory if an existing address is updated but addr1, addr2, city, state, or zip code was not changed.

add new / edit service group

Provide the ability to add more user groups, and/or edit existing ones. It's time to create a Territory Groups table.'
Includes schema change: new table with group name, id, overseer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.