desmo-front's People
Forkers
ontochaindesmo-front's Issues
Query page not found if reloaded
How to reproduce
Got to https://desmold-front.vaimee.it
click on the query page, and you are redirected to https://desmold-front.vaimee.it/query
. Now try to reload the page and you get a 404
Suggested solution
See Stackoverflow.
Alternative solution
Use URI fragments to select the subpage, for example, https://desmold-front.vaimee.it#query
.
Missing favicon
We are using the default favicon. We should use the Desmo-LD logo for that.
Display the query in a human text
It would be nice to translate the raw JSON in the original language that we developed in the first months of the project:
PREFIX desmo: <https://desmo.vaimee.it/>
PREFIX qudt: <qudt.org/schema/qudt/>
READ desmo:OutdoorTemperature
UNIT qudt:DEG_C
TYPE xsd:decimal
Give visual feedback about query execution phases to the user
When you send the query to the user is left with no information about its status. To solve this issue we have to implement a sort of log of phases of the current query. This also means that when the query is initiated the application must keep track of these status changes and keep track of the query ID. In practise this means that after I send the query and if I reload the page I must be redirected to the same page with my query waiting to be satisfied or rejected.
Correctly track query status
Just tried locally. I found an issue, step to reproduce:
- issue a query
- wait till stage 3 Executing query ( do all the transactions requested)
- reload the page
- the DApp correctly asks for resuming the query
- it starts from stage 2 and ask for doing the transactions again.
Originally posted by @relu91 in #23 (review)
Add a table with the list of transactions
As the title says on the Statistic page we need a table with the list of DESMO-LD transactions. This means that the user should be able to see every:
- TDD registration
- Query execution
- TDD status changes
Correctly configure MetaMask network
In my tests, it seems that the frontend does not configure the right network when connecting with MetaMask. We have to ask the user to switch to the right network if he does not have Viviani in their network list.
Please refer to https://medium.com/quick-programming/how-to-programmatically-switch-the-users-network-when-they-connect-with-metamask-6b9c761fe73b (see adding a network)
We really need to setup prettier and eslint
We really need to setup prettier and eslint; don't do manual formatting. Check out Zion to see an example of the configuration.
Originally posted by @relu91 in #15 (comment)
Render query result
As the title says we should display the query result.
List all TDDs in the landing page.
Workaround to solve bug in the Dapp
Executing a query with only one prefix trigger some kind of bug in the Dapp, resulting in not getting any response. The workaround is to always adding a fixed prefix to the query.
vaimee/desmo-dapp#15
Improve readme
The current readme is the default angular readme we have to normalize it as the other repositories.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.