GithubHelp home page GithubHelp logo

survip-mobile's People

Contributors

audreylr avatar iamkinetic avatar mickjol avatar philipperobertgh avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

alexandrelabbe

survip-mobile's Issues

Water supply management

Estimation : 4 hours

User needs to be able to add and remove water supply (fire hydrant) from the fire hydrant list page).

The user will select fireHydrant from existing fire hydrant.

The user can't add the same fire hydrant twice in the building.

Building-Course management

Estimate : 4 hours.

The user needs to be able to fully create, edit and delete building courses.

The angular pages are done, but the API is pretty much non existent at this point.

Search-Box : let the API handle the search

Améliorer la façon dont LES recherches fonctionnent:

  • On affiche jamais plus que X résultats à la fois. S'il y a plus de résultats que ça, on affiche "Plus de x résultats, veuillez affiner la rechercher".
  • Enlever la limite de nombre de caractère qui a été mis à certains endroits (matières dangereuses).

Estimation : 2 hours.

  • Search-Box will wait until user stop writing before sending the search term to the web api.
  • Search-Box won't display anything before a few characters have been typed to prevent loading too many data.

PNAP Display

In PNAP management :

  • Adding form there a padding or footer with nothing in it in the bottom of the form
    -> remove it
    pnap

Support the inspection's configuration

Estimate: 1 hour.

We the user is creating the inspection, he can also configure what part of the inspection will be available to the inspector. We need to support this configuration in the Ionic application.

Renew or extends user session on modification

If the session of the user reach the max amount of time within the session token. If the user is active during his session the token timer must be extended or reset.
Only the unactive users should be redirected to login page.

Inspection survey

Estimate: 32 hours.

Let the user answer the inspection survey.

Voir avec @mickjol sur le fonctionnement dans le démo. Idéalement, on va essayer de reprendre du code du démo de l'ACSIQ.

Anomaly: Add required information

when adding a new anomaly if you only add a photo and go back to list there is a popup of not saved warning but the anomaly is created anyway.
We should put required information on notes or don't save the anomaly on answer no in saving popup

Fire Hydrant creation

Estimate : 4 hours.

When selecting new building's water supply, the user needs to be able to create new fire hydrant.

The mobile page will be a simplified version and won't allow the user to edit the connection.

Inspection list: Navigation problem

When you are in inspectionlist page there is no menu, you have to enter an inspection to logout or navigate forward.
We should add the menu with minimum option in the inspection-list

Ajouter une fenêtre de visualisation des réponses au questionnaire d'inspection

Lister les questions et les réponse pour un questionnaire ciblé :

  • Affichage selon l'ordre de réponse
  • Naviguer vers le résumé du questionnaire lorsque celui est complété
  • Rediriger le questionnaire vers la fenêtre de résumé lorsqu'on le complète
  • Ajouter un message de guidage pour anoncer la redirection
  • Ajouter une option pour recommencer le questionnaire.
    -> Question si le questionnaire est fini pour le consulter ou le recommencer

Certaines pages semblent coller en mémoire - la page des détails de l'inspection par exemple

Dans la console, on affiche le nom de la rue loadée. J'ai remarqué que le load s'effectue autant de fois que de nombre de fois où on a été sur cette page.

  1. Je vais dans la page des détails -> ça load une fois.
  2. Je change de page, puis je reviens au détail -> ça load deux fois.
  3. Je change de page, puis je reviens au détail encore -> ça load trois fois.
  4. Etc.

Vérifier si on utilise des events qqpart. Si oui, il ne faut pas oublier de s'unsubscribe sur le destroy du component.

Refaire les fichiers de configuration par environnement comme dans SURVIP au lieu d'avoir l'url de l'API hardcoded

On les avait au début, mais ça faisait partie du framework de Mapgear. Comme on a ditch ce framework, j'avais aussi enlevé temporairement toutes cette notion de configuration.

Voir cette page pour une idée de comment faire ça :

Il y a également plein d'autres exemples qu'on peut utiliser si on cherche sur google.

Ajuster les URL de l'API pour les listes "localized" vs "complet"

Certain URL pour l'API ont été modifié pour être standard suite à l'ajout de certain module d'administration.

Une fois que l'issue #77 dans survip-webapi va être merger. Les listes suivante vont être à vérifier

api/RiskLevel/ => api/RiskLevel/localized
api/PersonRequiringAssistanceType/ => api/PersonRequiringAssistanceType/localized
api/UtilisationCode/ => api/UtilisationCode/localized

Problem with InspectionDetail load on navigation back

Forced the load of the inspection detail on navigation back to the inspection form.
Example:
Menu Survey react to the value of the property isSurveyCompleted to redirect to the survey or its summary.
When completed and if the user navigate back to the inspection form the property did not take its new value.
-> always redirect to the survey instead of the summary

Building's Anomalies

Estimate: 12 hours.

These pages will let the user view, edit, create and delete anomalies.

ion-slides has all sort of problems (used in particular risks)

Refresh problems when :

  • Adding a new pictures.
  • Removing a picture.
  • API crash sometime when deleting a picture.
  • Voir pour faire afficher les "points" sous l'image (parce que difficile à voir au travers de l'image).
  • Voir pour que l'espace dans lequel on affiche soit toujours de la même hauteur/largeur afin d'avoir de l'uniformité quand on a plusieurs images pour le même risque.

On peut regarder s'il y a d'autre component de slider si lui est trop problématique.

Survey management answer and review

Current problems on back action in the survey answer process:

  • get the right index of recursive question
  • Do we delete all answer if user modify a previous question?
  • How do we manage the survey update ?
  • Is the method used the right one for survey answer display(slide one by one)?

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.