code4romania / monitorizare-vot-ong Goto Github PK
View Code? Open in Web Editor NEWNGO dashboard for viewing answers submitted by certified observers
Home Page: https://votemonitor.org
License: Mozilla Public License 2.0
NGO dashboard for viewing answers submitted by certified observers
Home Page: https://votemonitor.org
License: Mozilla Public License 2.0
Consideram ca primim din token-ul JWT si informatiile
{idONG}
Filtru (din model) contine :
public int Page { get; set; }
public int PageSize { get; set; }
Pentru
Executare raw sql query-uri pentru a face GROUP BY in BD, si nu in memorie.
Filtrare statistici dupa IdONG
Our data team has said that pivoting every time the RawResults xlsx available on https://code4.ro/en/project/monitorizare-vot/ is too much work. They would need a csv export with:
Remove the hardcoding of the form codes - use the FormVersions api to get the available forms, then populate the local store.
API
Frontend
Best practices
API
Frontend
Best practices
codebase language should be English
we ๐ unit tests
FE: implement a delete button for questions on forms panel along with delete functionality
BE: enhance forms controller to accept a delete operation on a question of a form
Would be very cool and allow observer core team to see how will it look in the app. Are some questions not mandatory. Is it better to frame sth as a seprate question, as a extra answer within the options or as an ask to add a note.
Sometimes observers pass information to coordinators through other channels than the app. Coordinators should be able to input notes / photos on behalf of the teams.
API
Frontend
Best practices
codebase language should be English
we ๐ unit tests
FE: add a red flag marker for a specific option on a question in frontend
BE: enhance forms controller to accept red flag indicator as part of the model received from frontend
Running in .
and .\frontend
> ng serve
Local workspace file ('angular.json') could not be found.
Error: Local workspace file ('angular.json') could not be found.
Problem: Notes are not possible to process automatically. To make sense of them they need to be somehow processed for further analysis. Our analysts (2 of them) were going through all the notes tagging them. As they have been working on semi-incremental exports they might have analyse same notes twice. It was also hard to then analyze those notes in total.
I propose to move this annotation process into the platform. That would look as following:
500 thrown by https://mvngo.azurewebsites.net/api/v1/raspunsuri?page=1&pageSize=5&urgent=true
translate/entities branch
API
Frontend
Best practices
Adaugare model raspuns paginare
Includerea campului de Total in modelul de Paginare existent.
Util pentru utilizarea modelului in raspunsuri de la server catre client.
Filtru (din model) contine :
Returneaza raspunsurile date pe baza id-ului observatorului si id-ului sectiei de votare.
API
Frontend
Best practices
Guys, aveti idee ce sa fac ca sa rulez proiectul local ?
Eroare pe care o primesc Format of the initialization string does not conform to specification starting at index 0.
in RaspunsuriQueryHandler
la linia 26, variabila sectiiCuObservatori
are pe Results Views
o expectie cu acest mesaj
API
Frontend
Best practices
Tasks:
So observers don't see what are they typing into.
I'm not sure was it related with notes or extra text answers.
Consideram ca primim din token-ul JWT si informatiile
{idONG}
Filtru (din model) contine :
public int Page { get; set; }
public int PageSize { get; set; }
public bool Urgent { get; set; }
Trebuie adusa o lista cu toate sectiile de votare [tabela:SectieDeVotare] la care au raspuns observatorii [tabela:Observator] ce tin de {idOng} care au raspuns la intrebarile din formulare [tabela:Raspuns] marcate cu RaspunsCuFlag==Urgent [tabela RaspunsDisponibil, coloana RaspunsCuFlag].
Query-ul trebuie facut paginat si ordonat dupa DataUltimeiModificari desc
Ex pentru urgente:
Intoarce 10 in acest moment (ar trebui 11). Pagina 10 intoarce un singur rezultat.
Adaugare model de response pentru statisticile simple:
Lista de:
public string Label {get; set;}
public string Value {get; set;}
Query-ul da timeout. Daca se mareste time-out ul, call-ul dureaza cca 2 min.
Connected issue with more background: code4romania/monitorizare-vot#103
In the dashboard we would need:
npm WARN tarball tarball data for [email protected] (sha1-PFtv1/beCRQmkCfwPAlGdY92c6Q=) seems to be corrupted. Trying one more time.
npm WARN The package typescript is included as both a dev and production dependency.
@angular/[email protected] requires typescript@'>=2.0.2 <2.3.0' but 2.9.2 was found instead.
Using this version can result in undefined behaviour and difficult to debug problems.
Please run the following command to install a compatible version of TypeScript.
npm install typescript@'>=2.0.2 <2.3.0'
To disable this warning run "ng set warnings.typescriptMismatch=false".
The --missing-translation parameter will be ignored because it is only compatible with Angular version 4.2.0 or higher. If you want to use it, please upgrade your Angular version.
Running on node:10
Feats
API
Frontend
Best practices
Filtru (din model) contine :
Returneaza numarul raspunsurilor date de observatorii unui anumit ONG grupate pe optiuni pentru o anumita intrebare.
Filtru (din model) contine :
Returneaza structura formularului pe baza id-ului acestuia.
Legat de filtrele pentru anumite statistici, cum s'au modificat recent, nu am o explicatie sau un design si flow, le voi exclude din lista de statistici.
De vazut cum integram aceste statisici la urmatoarea versiune
Run Export #32 on a predefined regularity
Have in the system the concept of coordinators who are taking care of group of observers/teams
Filtru (din model) contine :
Returneaza notele atasate unei sesizari pe baza id-ului observatorului si id-ului sectiei de votare, ordonate crescator dupa id formular si cod sectiune.
trebuie pusa o setare in appsettings
Ca Admin ONG , cand accesez o sesizare din lista de sesizari sau urgente vreau sa vad deasupra tab-urilor informatiile despre sesizare (ora sosirii, ora plecarii, BESV, etc)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.