decodeproject / bcnnow Goto Github PK
View Code? Open in Web Editor NEWLight, personalized, interactive dashboards for urban data exploration.
Home Page: https://github.com/DECODEproject/bcnnow
License: GNU Lesser General Public License v3.0
Light, personalized, interactive dashboards for urban data exploration.
Home Page: https://github.com/DECODEproject/bcnnow
License: GNU Lesser General Public License v3.0
When you click on the neighborhood only Sant Gervasi neighborhood comes and not for other neighbourhood.
In the interface for editing a data source in an existing widget, the confirmation button says "Edit" but I think "Submit changes" would be more clear.
In the ajax call to the API to fetch data if there is no record returned then show no data instead of a never-ending loading gif.
Make the UI more compatible with resized browsers and small screens by resizing the UI elements.
Add an open source Web Analytics tracker. Matomo (formerly Piwik) is probably the best option: https://github.com/matomo-org
Security testing of IoT login based on the threat model simulation.
Allow to display data in widgets with scatter plots
Create an endpoint to generate link and QR code for IoT pilot Login Flow (backend)
Open link (normal link or QR code):
${schema}://login?header=${headers}&sessionId=${sessionId}&callback=${callback}
Schema: Depends on the version of the app (production or expo) but if in production should be ‘decodewallet’
Headers: Depends on which credential you want the user to use
Example:
{ “predicate”: “schema:iotCommunity” }
SessionId: Session id to identify the user during the process of login, is the link to ensure that we enable the login of the correct user.
Callback: Url in which the wallet will do the login request.
Example of url:
decodewallet://login?header={predicate:”schema:iotCommunity”}&sessionId=9876&callback=http://bcnnow.decodeproject.eu/wallet-login
Convert the CityOS collector Code to use config details from MongoDB instead of the config file.
This will serve as a template for all those collectors for which the config details need to be kept private.
The UI of an existing widget allows editing the data sources that have already been added, however if ones changes the dates for a data source, the change does not apply.
Scroll disappear in some pages.
The JS files of dashboards and datasets work only for absolute dates, relative dates (e.g., 'now', '1 day ago') should be allowed
The OHB data layer, aggregated by district, should be made more transparent as in the current visualizations it covers almost completely the heatmap (e.g. in this combined visualization of OHB and Airbnb data: https://goo.gl/DTYq1S )
The aggregation of data for neighborhoods and districts seems to be hardcoded to 'avg'
bcnnow/apps/frontend/js/dashboard/main.js
Line 602 in bf6822e
Setup a testing server to test new features before moving it to production.
Like in the visualizations of noise sensor data, when clicking on a point on the map, a new panel is opened on the right side, with a graph showing the temporal evolution for that point (for example, the temporal evolution of monthly rent prices over years in a given district, clicking on this map: https://goo.gl/UcGdHv )
However, although on the background it is possible to see the graph, the panel appears as if it was trying to load something.
main.js:990 Uncaught TypeError: Cannot read property '_id' of undefined
at updateMap (main.js:990)
at Object.success (main.js:614)
at c (jquery-1.9.1.min.js:3)
at Object.fireWith [as resolveWith] (jquery-1.9.1.min.js:3)
at k (jquery-1.9.1.min.js:5)
at XMLHttpRequest.r (jquery-1.9.1.min.js:5)
Getting this error in the index page.
Introduce a new feature in BCNNow to zoom in and filter the data and visualization based on the current location of the user.
Create an API endpoint to parse the following JSON validate the credentials and allow to login to respective community dashboard if the credentials are valid.
{
"sessionId": "123123",
"attribute": {
"predicate": "schema:iotCommunity",
"object": "MakingSense",
"provenance": {
"source": "http://http://making-sense.eu/credential-issuer",
"credential": {
"x": "6c347975ca6aac24b46d9749808ae5392816ac23988e5dc46df4b85c0a",
"y": "d4e8471af6492cf80afb6591bbe63f909d8d07a6efbf052b11851e5cd6"
}
}
}
}
The "object" is the name of the community.
To validate the login zenroom needs to be used along with the private key of the community and the credentials provided.
Create a new collector to retrive data from the Decidim Barcelona API and adapt the frontend correspondingly
The graphs currently appear with a generic unit of measure "Index[unit]" (e.g. here: https://goo.gl/UcGdHv )
This is only displayed in maps
The path to bcnnow is hardcoded in every collector with the following instruction:
sys.path.append('/home/code/projects/decode-bcnnow/')
This should be done as parameter in Config.py instead
Update the collector to get the meetings at https://dddc.decodeproject.eu/processes/main/f/4/meetings/ from the GraphQL API
Update the collector to get the survey answers provided by Tecnopolitica in a JSON file
Find an auto or semi-auto approach to make the deployment process smooth.
To support IoT wallet login two features in frontend is required
Allow to display data in widgets with bar charts (the only possibility so far were maps)
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.