vadrian89 / refugee_help Goto Github PK
View Code? Open in Web Editor NEWApp which helps with better organisation of volunteers and resources to help incoming refugees.
License: MIT License
App which helps with better organisation of volunteers and resources to help incoming refugees.
License: MIT License
A ticket is what the dispatcher creates in order to match refugee needs with volunteers offerings.
The dispatcher should be able to manage all tickets created by him.
Required features:
Optional features;
About tickets:
Tickets system is used by the group of volunteers to have a history on their activities this can help them to observe the flux of refugees and see how the needs increase or decrease.
A ticket should contain the following data:
The number of adults/children, destination (address) and remarks are text fields.
The vehicle of transport used should be a card when viewed which should contain the following info:
When editing or creating, it should be a tile which should show containe only the:
Tapping on the tile, while creating or editing, should show a bottom sheet from which the user should search and find the transport needed, based on the completed fields.
The status of the ticket should be related to fields in the ticket document, meaning when you want to change the status you should set the field of that status.
The order of the statuses is the following:
The dispatcher and higher privileged users can call the volunteer's number through a calling button.
The volunteers can view the tickets which are related to them (either because of their transport or housing)
The dispatcher can view the tickets which were created by him.
The current implementation of the router bacem cluttered and hard to keep track of.
A new implementation is required, one which should:
Implement the volunteer's profile screen, which should have the following features:
Implement the authentication workflow:
Transport and housing search screens only show the items for the current user.
It should show all available items from all users matching the filters.
To find transport, the user should be able to search by:
Aditionally by:
The list tile should contain the following data:
Aditional elements:
When using the browser/mouse to navigate back, from tickets/add/transport path and up it returns wrongly.
All volunteers can add their housing for refugees.
This includes the following features:
When a volunteer finishes a ticket he can change the status of it, by adding a feedback.
This feedback can be: issues with the refugee, feature request for the app, etc.
When he wants to send the feedback, a pop-up will ask him if he wants to change the status of his: car, nr of available housing spaces, rooms, etc.
Required features:
Clicking very on next/back buttons triggers list stream multiple times with the initial first/last document cursors which makes the stream return the wrong page.
The offending code:
Future<void> fetchList({TicketRequest? request, bool isTable = false}) async {
if (_stateInProgress) {
return;
}
emit(ListTicketsState.loading((request != null) ? "retrieving_data".tr() : ""));
await _listSub?.cancel();
if (request?.goBack ?? false) {
_currentPage--;
} else {
_currentPage++;
}
if (_currentPage == 0) {
_paginationInfo = null;
}
_listSub = _repository
.listStream(
userId: _userId,
limit: isTable ? _pageLimit : _limit,
request: (request ?? const TicketRequest()).copyWith(
type: _type,
paginationInfo: _paginationInfo,
),
)
.listen(_parseListSub);
}
Need to stop the propagation on the presentation side.
All volunteers can add their vehicles used for transporting the refugees to certain destinations.
This includes the following features:
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.