huridocs / uwazi Goto Github PK
View Code? Open in Web Editor NEWUwazi is a web-based, open-source solution for building and sharing document collections
Home Page: http://www.uwazi.io
License: MIT License
Uwazi is a web-based, open-source solution for building and sharing document collections
Home Page: http://www.uwazi.io
License: MIT License
Blank state on uploads form when no document types exist
When creating a document type in the metadata section, is some sort of realtime duplicate validation going on? We should add a time trigger for that otherwise is unusable for slow connections.
Specially when a document template has been updated adding a new property, users need an easy way of keeping track of documents lacking that new property.
The date displayed in the document card beside the document type is the upload date. This is misleading and can easily be read as ie "Sentence 25-07-2009", as in being a court sentence issued in 25-07-2009.
We need to create a better design for this.
Let users know exactly where they are, ie:
metadata > create new
metadata > edit > decision
library > view > Some document title
uploads > view > Some document title
library > view > Some document title > create reference to a paragraph > Some other document title
When the user is not int he top of the window he doesn't see the alerts.
Code duplication? this could even lead to displaying different icons if the code is changed separately.
let iconClass = 'fa fa-font';
if (this.props.type === 'select') {
iconClass = 'fa fa-sort';
}
if (this.props.type === 'list') {
iconClass = 'fa fa-list';
}
if (this.props.type === 'date') {
iconClass = 'fa fa-calendar';
}
if (this.props.type === 'checkbox') {
iconClass = 'fa fa-check-square-o';
}
getTypeIcon(type) {
let icon;
switch (type) {
case 'checkbox':
icon = 'fa fa-check-square-o';
break;
case 'select':
icon = 'fa fa-sort';
break;
case 'list':
icon = 'fa fa-list';
break;
case 'date':
icon = 'fa fa-calendar';
break;
default:
icon = 'fa fa-font';
}
return icon;
}
@danicatalan please upload the design asset in https://github.com/huridocs/uwazi-assets
Sometimes PDFs already have links. We should be careful with PDF hacks, such as storing XSS baits in the content etc.
Lint the backend code and add the step to the CI server
Properly setup code coverage for ES6 to include server tests as well.
ie. In faceted browsing we can see upfront the amount of results per filter, as in a country filter:
Argentina (5)
Peru (1)
Ecuador (0) -> This one may even not show up if it has zero results.
Upon selection, other "subfilters" should be updated to reflect the actual results if combined with the active filters.
This is a test issue
When saving matadata elements store locally the revision sent by couchdb so on resaving the element is not duplicated.
Password is not stored with proper encryption.
Testing how we can use issues for code review. So far I'm not happy with the inline comments (blame). Github's interface for this sucks big time. Comments get lost, there is no way of tracking what conversations are active etc. The official suggestion is to use pull requests, which I think is a total overkill unless you are conducting a full code review.
Code style suggestion, replace switch statements with object literals: https://toddmotto.com/deprecating-the-switch-statement-for-object-literals.
getTypeIcon(type) {
let icon;
switch (type) {
case 'checkbox':
icon = 'fa fa-check-square-o';
break;
case 'select':
icon = 'fa fa-sort';
break;
case 'list':
icon = 'fa fa-list';
break;
case 'date':
icon = 'fa fa-calendar';
break;
default:
icon = 'fa fa-font';
}
return icon;
}
ATM we have deactivated font loading. These fonts take up to 1MB per font, making document rendering and loading too heavy. We need to come to a usable solution for this problem.
When trying to load a document id that does not exist the app stays loading forever we need to detect it and show a 404 ?
This might happen if a user accidentally changes the URL of a document.
Take search to the next level where users can even choose how the want filters to stack (AND/OR) and other options TBD.
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.