scorelab / labellab Goto Github PK
View Code? Open in Web Editor NEWAn Image Analysis and Classification Platform for Machine Learning Researchers
License: Apache License 2.0
An Image Analysis and Classification Platform for Machine Learning Researchers
License: Apache License 2.0
@ivantha According to the Official GSOC-2019 list of project ideas of Score Lab , there is one Idea which is on Implementing the Label Lab Web Application . I want to work on this Idea and want to take part in GSOC-2019 . I have already introduced myself on Gitter.
Describe the bug
when we click the hotkey button in the sidebar it does not respond at all.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the hotkeyspanel should have opened
Desktop (please complete the following information):
Additional context
Describe the bug
there are a few bugs that i have discovered in the labeller:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the app shouldn't crash
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
I am working on this issue for now.
Is your feature request related to a problem? Please describe.
404 page can be used for redirecting user from invalid URL.
Describe the bug
the current URI given is not correct. It is missing a condition when there is no username and password set for the database also 'mongodb://'+ dbUser + ':' + dbPass + '@' + dbCluster + '/' + dbName
is the correct form rather than dbHost
+ '://'+ dbUser + ':' + dbPass + '@' + dbCluster + '/' + dbName
Is your feature request related to a problem? Please describe.
The project description is an essential piece of information about the project and it is displayed on the dashboard with the project name as well. It would make sense to ask the user for the project description while they are creating a project, instead of creating every project with the default Image labelling description.
Describe the solution you'd like
The Create Project popup should ask the user for the project description as well as the project name.
Describe alternatives you've considered
N/A
Additional context
N/A
Describe the bug
the Add image button does not work after one has uploaded the image
To Reproduce
Steps to reproduce the behavior:
Expected behavior
another image should have been added
Desktop (please complete the following information):
Additional context
working on it
Is your feature request related to a problem? Please describe.
It is hard to discern the navbar when a project page is opened. The background colour of the navbar merges with the background colour of the body and the Dashboard button is very small and not aligned properly.
Describe the solution you'd like
Describe alternatives you've considered
An alternative solution for the colour could be to set the body of the project page to the same colour as that of the home page - #e5e5e5
. This would make the navbar easy to see like in the home page.
Additional context
The Dashboard button is too small and not aligned properly and the navbar is hard to differentiate from the body.
Describe the bug
on the project images tab when an image is clicked the image does not lead to its 'static/uploads/' link
To Reproduce
Steps to reproduce the behavior:
Expected behavior
this should probably show the image along with its labels.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
i think that the link is itself leading to nowhere I'll look into it though.
Describe the bug
the submit buttom in the labller is not submitting the image with the edited labeldata
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the submitted image should have been updated.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
working on it!
Describe the bug
validateInput()
is used to ensure password length is greater than 8 characters during login. This is not done when the user registers, so a user can create a password of length less than 8 characters but won't be able to login.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The registration page should show the alert 'Password is not of sufficient Length. It should be atleast 8 characters.' when the user tries to create an account with a password of length less than 8.
Screenshots
The above account is created without an error.
But the following error is shown during login.
Desktop (please complete the following information):
Additional context
I am working on using validateInput()
and showing an appropriate error message before an account is registered.
Describe the bug
The register route is not working as the endpoints were tested in postman also the error page is not being rendered.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The user should have been registered
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
I am working on it!
Describe the bug
when the landing page is loaded there come bugs referencing to this issue and the projects keep loading indefinitely
To Reproduce
Steps to reproduce the behavior:
Expected behavior
when a new user logs in no projects should be visible in their profile and when an existing user with some projects comes it should show the projects
Desktop (please complete the following information):
Additional context
I'm on it to figure out why this is happening
Is your feature request related to a problem? Please describe.
Add contributing guidelines
Describe the solution you'd like
Add contributing guidelines in contributing.md or update the readme.md with how to start contributing.
Describe alternatives you've considered
Update readme.md
Additional context
Lots of newcomers are claiming on several issues which is acting as a barrier for other contributors to pick up the issue and fix.
Describe the bug
the create new label and the create buttons are at very odd positions. I am trying to make them look more appealing. also the the upcoming submit button also does not have any bottom-margin.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
a visually appealing position of create label button and create new label button
Screenshots
Desktop (please complete the following information):
Additional context
Is your feature request related to a problem? Please describe.
It becomes cumbersome to exactly match the upper cases in a project name while searching for a project.
Describe the solution you'd like
Searching projects by project name should ignore case sensitivity.
Describe alternatives you've considered
N/A
In above case, Project 1 should have been shown as a result but wasn't.
Describe the bug
inside the profile a user cannot cannot change their profile picture
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the profile picture should have been updated.
Additional context
on it
The images which were taken should have a function inside the path tracking feature to track the location of the images.
User should be able to switch/choose between various ML models for testing their project.
Describe the bug
When a project is deleted, the images, labels, and projectmembers related to that project are not deleted from the database.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The images, labels, and projectmembers documents for the project which is being deleted, should also be removed from the database.
Desktop (please complete the following information):
Additional context
I'm currently working on fixing this bug.
as per your readme file
i clonet he repository, but to setup react js server there is no npm installation file present. can you help me setup.
Is your feature request related to a problem? Please describe.
As of now, there are only the unit tests for auth routes and project routes.
Describe the solution you'd like
There should be tests for each route.
Describe alternatives you've considered
Implement unit tests using Mocha and chai.js
Additional context
It will improve the quality of the code.
Is your feature request related to a problem? Please describe.
The current interface for adding and displaying labels in the project dashboard is slightly confusing and cluttered:
Describe the solution you'd like
S.No. | Label | Type | Delete |
---|---|---|---|
Describe alternatives you've considered
N/A
Describe the bug
there are no instructions on how to run the clientside-server
it should say Run the Node server in the labellab-client folder:
instead of
Run the Node server in the labellab-server folder:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
there are some UI issues in the dashboard like not appropriate spacing is provided between menus and the project cards
To Reproduce
Steps to reproduce the behavior:
Expected behavior
there should have been left some margin between those two
Desktop (please complete the following information):
Additional context
i will provide additional responsive UI changes if i find any
Is your feature request related to a problem? Please describe.
we always delete our created entries from our database after the tests on every route instead we could use mockgoose to automatically do that for us and it is uses the memory store which does not have persistence. And also our tests should be independent of the development database. So, using this would be a good practice
Describe the solution you'd like
use mockgoose to provide a wrapper around our development database and make our development database independent from the changes within our tests also, automating the delete queries after every test.
Additional context
i would love to know to opinions of the maintainers here!
Is your feature request related to a problem? Please describe.
Hash the password before saving to DB to prevent the security issue
Describe the solution you'd like
Use bcrypt.js to hash the password and after that save the password
const bcrypt = require('bcryptjs');
bcrypt.genSalt(10, (err, salt)=>{
bcrypt.hash(newuser.password,salt, (err, hash)=>{
newUser.password = hash;
newuser.save();
});
});
Describe alternatives you've considered
Or can use other algo to hash like SHA-256 to hash manually and then assign it to password
Describe the bug
Upon an error, the server will encounter an exception as it fails to locate 'error.ejs' referred to simply as 'error'.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The error page should be rendered (error.ejs in views)
Desktop (please complete the following information):
Describe the bug
this comes written in the console when we first run our client-side server.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the client side server should have started without any errors.
Desktop (please complete the following information):
Describe the bug
Update the readme.md with the correct steps to run the server and other. As of now, before installing the dependencies it's starting the server using npm start.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Before starting, install dependencies.
Also provide some information about the .env file. i.e what should be added and what may be ignored
Describe the bug
Clicking on Edit on an image opens up to a blank screen.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Clicking on Edit for the image should open up the labeller.
Desktop (please complete the following information):
Additional context
I was able to fix this issue by changing imageUrl
in the labeller component.
ERROR:
Inside lablabel-server folder:
When I tried to run nodemon server, It shows
MongoParseError: Invalid connection string
When I added mongodb://
prefix in mongoURI i.e. mongodb://localhost:27017/my-db
, It fixed the problem.
POSSIBLE SOLUTION:
So, I think mongodb://
prefix is also required in mongodb connection string.
Describe the bug
the links the /analytics and /summary are not working from the dashboard menu
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the analytics and the summary links should have redirected to their routes
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Describe the bug
Containers started by docker-compose up server
shows "cannot find module......" after npm start
. The reason is that docker-compose.yml
sets working_dir
to a different value of WORKDIR
of labellab-server/Dockerfile
. And CMD
of labellab-server/Dockerfile
takes effect after working_dir
of docker-compose.yml
. Hence the error.
To Reproduce
Steps to reproduce the behavior:
docker-compose up server
Expected behavior
Containers started normally
Desktop (please complete the following information):
Describe the bug
Add tests for react components and also fix the present react app component test.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
App test should pass
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
there is no warning coming for the minmum size of the image that can be uploaded
To Reproduce
Steps to reproduce the behavior:
Expected behavior
there should have been a warning displayed that the size of the image to be uploaded is too large
Desktop (please complete the following information):
Additional context
working on it!
Describe the bug
the image cannot be updated after we have uploaded it but not submitted it
To Reproduce
Steps to reproduce the behavior:
Expected behavior
one should be able to change the uploaded image as sometimes the size of the image might be alot or we wish to change an image before submitting.
Additional context
this can be a bug if the add image image button should be functional or a feature if we need to add a delete button.
i am waiting for a suggestion from the maintainers before working on it
Describe the bug
the analytics table does not get updated real-time the page has to be refreshed to update it
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the table should have been updated in real-time
Additional context
working on it!
Describe the bug
While we are labeling the image after uploading it....there are 2 buttons above which are home and add image. The home button and add image does not work and we have to go back from the browser to go home.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
After clicking the home/add image button it should do what it is supposed to do
Desktop (please complete the following information):
Describe the bug
Instead of showing the actual project description, all project cards say Image Labelling App
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Card content should be the projectDescription
property of the respective project.
Screenshots
This is the actual description of Project 1:
This is what the card for the project shows in the Dashboard:
Desktop (please complete the following information):
Additional context
I am working on editing the Card Content to show the project description.
Describe the bug
In mobile view, the dashboard navbar is very cluttered and hard to use.
To Reproduce
Steps to reproduce the behavior:
760px
.Expected behavior
Only the most important elements of the navbar should be shown in mobile view and elements should not overlap.
Screenshots
Desktop (please complete the following information):
Describe the bug
images when deleted from the database are not deleted from the server
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the image should have been deleted from the server as well
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
Initially, the frontend will not be able to send requests to the backend (tested through the login and register routes). This is because all requests are proxied to the port 4000, but the backend (both dev and production) are running on port 3000 by default.
This leads to all requests failing to be fulfilled.
To Reproduce
Steps to reproduce the behavior:
cd labellab-client
npm install
npm start
cd labellab-server
npm install
npm start
or npm run dev
Expected behavior
Requests are fulfilled by the backend.
Screenshots
Backend starting on port 3000
Proxy pointing to the wrong port
Desktop (please complete the following information):
Additional context
Should be solved by updating the proxy value. I can make a pull request for this, given permission.
Is your feature request related to a problem? Please describe.
Although there is an API end-point for deleting a project, I am unable to find a button in the client for deleting a project.
Describe the solution you'd like
There should be a Delete Project button below the sidebar in the project page which deletes the corresponding project.
Describe alternatives you've considered
N/A
Additional context
N/A
Is your feature request related to a problem? Please describe.
tests for these routes are missing i was thinking adding them using mocha and chai.js
Describe the solution you'd like
i was thinking of using mockgoose as a wrapper to mongoose but its just a suggestion would love to hear inputs!
Describe alternatives you've considered
using mocha.js and chai.js to write test cases for users, image, classification routes
Is your feature request related to a problem? Please describe.
Currently, developers have to open 2 different terminals and execute separate commands to start the server and the client.
Describe the solution you'd like
The concurrently NPM package can be added as a dev dependency and used to run the front-end and back-end using a single command.
Describe alternatives you've considered
N/A
Additional context
N/A
The project needs a PR template.
Is your feature request related to a problem? Please describe.
after creating a label there is no way one can update its name
Describe the solution you'd like
change the name of the label after creating it
labellab-client is working fine but I'm getting following error while running the node server of labellab-server using 'npm start'.
C:\Users\msk\Desktop\open_source\LabelLab\labellab-server\node_modules\passport-oauth2\lib\strategy.js: 100
if (!options.clientID) { throw new TypeError('OAuth2Strategy requires a clientID option'); }
^
TypeError: OAuth2Strategy requires a clientID option
at Strategy.OAuth2Strategy (C:\Users\msk\Desktop\open_source\LabelLab\labellab-server\node_modules\passport-oauth2\lib\strategy.js: 100:34)
at new Strategy (C:\Users\msk\Desktop\open_source\LabelLab\labellab-server\node_modules\passport-github\lib\strategy.js:62:18)
at Object. (C:\Users\msk\Desktop\open_source\LabelLab\labellab-server\config\github_passport.js:9:2)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (C:\Users\msk\Desktop\open_source\LabelLab\labellab-server\routes\auth\routes.js:10:1)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
I think i've to add my credentials but I can't find that file.
Thanks in advance!
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.