code4moldova / voluntar-web Goto Github PK
View Code? Open in Web Editor NEWConnecting volunteers with people in need COVID 19
Home Page: https://dev.voluntar.md
License: Mozilla Public License 2.0
Connecting volunteers with people in need COVID 19
Home Page: https://dev.voluntar.md
License: Mozilla Public License 2.0
Most volunteers displayed don`t live in the proximity of the beneficiary.
List the volunteers in the closest proximity on top of the page.
Create a modal with notification which appears after clicking on the "Save" button when a volunteer/beneficiary is updated/added. The only component of the modal is text - "Schimbările sunt salvate!/Ați creat un obiect nou cu succes!" After update/creating -> the user is returned to the page with the updated list.
When creating a user add an input for password confirmation
To check if telegram.chat.id exists for a volunteer (field in the database - telegram_chat_id) . If yes, then automatically put a green tick next to the Telegram ID field in volunteers form.
main-es2015.68cad29132c4038fc6ec.js:1 ERROR x {headers: d, status: 429, statusText: "Too Many Requests", url: "https://cors-anywhere.herokuapp.com/http://167.71.48.30:5000/api/tag/sector", ok: false, …}
In filters sectors are shown correctly. The only thing that has to be changed is the name of the field: "Zone address" - > "Raion"
However, in Create Volunteer form only one option from all the sectors is shown
API - http://167.71.48.30:5000/api/tag/sector
{
"_id": "5e8e128196a3ab0290c96607",
"en": "-",
"is_active": true,
"ro": "Balti",
"ru": "-",
"select": "sector"
}
ro
property for nowwhen the is_active is set to true, do not set any selected item in the closest volunteer list
why?
format api api/beneficiary/filters/page/items-per-page?key_fied=value, eg. /filters/1/1000?phone=10000002
created_by = StringField(max_length=500)
team = StringField(max_length=500)
profesia = StringField(max_length=500)
comments = StringField(max_length=500)
last_tempreture = FloatField(min_value=36, max_value=41)
need_sim_unite = BooleanField(default=False)
new_volunteer = BooleanField(default=True)
black_list = BooleanField(default=False)
received_cards = BooleanField(default=False)
sent_photo = BooleanField(default=False)
One secret code for one beneficiary
format api api/volunteer/filters/page/items-per-page?key_fied=value, eg. /filters/1/1000?phone=10000002
it return a dict {lists:[],count:44} , count is the total number of found items in db, length of list is smaller or equat to items-per-page.
in order to sort by interval(smaller/bgger than) use termination __gte, __ste, eg. availability__gte=4
Create an interface for editing/creating/deletion of the options in "select" fields in forms
For example, for Activity types in volunteers' forms - http://167.71.48.30:5000/api/tag/activity_types
Here in API, page 8, description of the tags - https://docs.google.com/document/d/1CflBdmmANzhHRPU58WecubywP4A2gLeOhui0aDvrJnc/edit?usp=sharing
Options for ”status” form: new, waiting, accepted, onprogress, cancelled, done
Filters options for ”status”: new, waiting, accepted, onprogress, cancelled, done, all
each user has a role[fixer, operator]
Jos in footer va fi un link pentru autentificare în sistem
Iar în centrul paginii 2 departamente
Vreau să ofer ajutor
Am nevoie de ajutor
-- linkul de la @mihaelataranu7
Mai jos linkuri la articole pe site-uri de știri care au scris despre asta și la site-ul primăriei.
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.