Skip to content

Commit 488aa5a

Browse files
CedricProfessionnelseveibar
authored andcommitted
prettier, refactor cognito, and import from aws
1 parent 8be6f0a commit 488aa5a

23 files changed

+3408
-3853
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: Bug report
33
about: Create a report to help us improve
44
title: "[BUG]"
55
labels: bug
6-
assignees: ''
7-
6+
assignees: ""
87
---
98

109
**Describe the bug**
@@ -20,8 +19,9 @@ A clear and concise description of what you expected to happen.
2019
If applicable, add screenshots to help explain your problem.
2120

2221
**Desktop (please complete the following information):**
23-
- OS: [e.g. Windows]
24-
- Version [e.g. 0.5]
22+
23+
- OS: [e.g. Windows]
24+
- Version [e.g. 0.5]
2525

2626
**Additional context**
2727
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: Feature request
33
about: Suggest an idea for this project
44
title: "[FEATURE]"
55
labels: enhancement
6-
assignees: ''
7-
6+
assignees: ""
87
---
98

109
**Is your feature request related to a problem? Please describe.**

CONTRIBUTING.md

+15-14
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,27 @@ The Universal Data Tool aims to be a community-driven solution to managing the c
44
of datasets. All contributions are welcome and appreciated!
55

66
> **Contributing to open-source is fun!**
7-
> * Together, we can build some awesome software and enable people to build awesome AI!
8-
> * Tons of people will appreciate the work you do
9-
> * The issues and [slack](https://join.slack.com/t/universaldatatool/shared_invite/zt-d8teykwi-iOSOUfxugKR~M4AJN6VL3g) are a great place for discussing design, architectures, and new helpful technologies
10-
> * If you have a good idea and put in some effort, it can be a part of a package used by thousands of people
11-
> * You'll be credited for the work you do in the README, which you should use to get a cushy job!
7+
>
8+
> - Together, we can build some awesome software and enable people to build awesome AI!
9+
> - Tons of people will appreciate the work you do
10+
> - The issues and [slack](https://join.slack.com/t/universaldatatool/shared_invite/zt-d8teykwi-iOSOUfxugKR~M4AJN6VL3g) are a great place for discussing design, architectures, and new helpful technologies
11+
> - If you have a good idea and put in some effort, it can be a part of a package used by thousands of people
12+
> - You'll be credited for the work you do in the README, which you should use to get a cushy job!
1213
1314
# Things to do to contribute
1415

15-
* Thumbs up features or bugs you think are important!
16-
* Create issues for features or bugs you find
17-
* Solve UI bugs in existing issues
18-
* Create react components for new UI features ("stories")
19-
* Implement big features in draft PRs, taking breaks for feedback by messaging people on [Slack](https://join.slack.com/t/universaldatatool/shared_invite/zt-d8teykwi-iOSOUfxugKR~M4AJN6VL3g)
20-
* Just fix a bunch of bugs and do a massive pull request with no description but all the tests pass and it looks pretty good so I guess it's fine
16+
- Thumbs up features or bugs you think are important!
17+
- Create issues for features or bugs you find
18+
- Solve UI bugs in existing issues
19+
- Create react components for new UI features ("stories")
20+
- Implement big features in draft PRs, taking breaks for feedback by messaging people on [Slack](https://join.slack.com/t/universaldatatool/shared_invite/zt-d8teykwi-iOSOUfxugKR~M4AJN6VL3g)
21+
- Just fix a bunch of bugs and do a massive pull request with no description but all the tests pass and it looks pretty good so I guess it's fine
2122

2223
# What do I need to know to get started
2324

24-
* Watch this [video by one of our maintainers](https://vimeo.com/421285889) explaining how he starts working on a new feature
25-
* If you don't know [react](https://reactjs.org/), this is an [introduction video](https://egghead.io/courses/the-beginner-s-guide-to-react) that should get you up to speed.
26-
* Check out [Setup for Development](https://github.com/UniversalDataTool/universal-data-tool/wiki/Setup-for-Development) for instructions on how to run the project locally
25+
- Watch this [video by one of our maintainers](https://vimeo.com/421285889) explaining how he starts working on a new feature
26+
- If you don't know [react](https://reactjs.org/), this is an [introduction video](https://egghead.io/courses/the-beginner-s-guide-to-react) that should get you up to speed.
27+
- Check out [Setup for Development](https://github.com/UniversalDataTool/universal-data-tool/wiki/Setup-for-Development) for instructions on how to run the project locally
2728

2829
> Still feeling like: "hhh'what is going on?" Check out this [sweet guide to contributing to open-source](https://opensource.guide/how-to-contribute/)
2930

CREATING_PLUGINS.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
You could want to create a plugin for many reasons:
44

5-
* Create a way to import data
6-
* Create a way to transform samples
7-
* Create a way to label data (or a new data type)
8-
* Create a way to authenticate with a service
5+
- Create a way to import data
6+
- Create a way to transform samples
7+
- Create a way to label data (or a new data type)
8+
- Create a way to authenticate with a service
99

1010
## Create a way to import data
1111

@@ -27,10 +27,8 @@ new way to view samples in the `Label` page.
2727
This will add a new Authentication Method on the home page of the Universal Data Tool. After the user configures the Authentication
2828
method, it will be saved, and the authentication can be used to access samples, import data etc.
2929

30-
3130
# Discoverability
3231

3332
[npm](https://npmjs.org) is automatically scanned for packages that start with "udt-", so a package like "udt-transform-delete-samples" would be
3433
automatically discovered. If the package is valid, it will be automatically available under the "Community Plugins" in the appropriate locations in the
3534
Universal Data Tool.
36-

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ The Universal Data Tool is a web/desktop app for editing and annotating images,
4141
[Follow our development on Youtube!](https://www.youtube.com/channel/UCgFkrRN7CLt7_iTa2WDjf2g)
4242

4343
<!-- COMMUNITY-UPDATE:START !-->
44+
4445
- [Community Update Video 9](https://youtu.be/q20WrCRcG4k)
4546
- [Community Update Video 8](https://www.youtube.com/watch?v=IBWOaw0jMmM)
4647
- [Community Update Video 7](https://youtu.be/glPPFgXibdw) [(blog version)](https://universaldatatool.substack.com/p/build-your-dataset-from-coco)
@@ -127,6 +128,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
127128

128129
<!-- markdownlint-enable -->
129130
<!-- prettier-ignore-end -->
131+
130132
<!-- ALL-CONTRIBUTORS-LIST:END -->
131133

132134
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

cypress/integration/create-and-visit-collaborative-session.spec.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
describe("Create and Visit Collaborative Session", () => {
22
it("should be able to create new file", () => {
33
cy.visit(`http://localhost:6001`)
4-
4+
cy.get('input[id="react-select-2-input"]')
5+
.focus()
6+
.type("English", { force: true })
7+
.type("{enter}")
58
cy.contains("New File").click()
69
})
710

cypress/integration/create-new-file.spec.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
describe("Create a new file in the universal data tool", () => {
22
it("should be able to create a new file", () => {
33
cy.visit("/")
4-
4+
cy.get('input[id="react-select-2-input"]')
5+
.focus()
6+
.type("English", { force: true })
7+
.type("{enter}")
58
cy.contains("New File").click()
69
})
710
it("should be able to select all the interfaces", () => {

cypress/integration/image-classification.spec.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ const times = (howManyTimes) => (functionWillExecute) => {
88
describe("Import ai generated faces and make image classification with them", () => {
99
it("should be able to create", () => {
1010
cy.visit("/")
11-
11+
cy.get('input[id="react-select-2-input"]')
12+
.focus()
13+
.type("English", { force: true })
14+
.type("{enter}")
1215
cy.contains("New File").click()
1316
})
1417

cypress/integration/image-segmentation.spec.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
describe("Image Segmentation Tests", () => {
22
it("should be able to create", () => {
33
cy.visit("/")
4-
4+
cy.get('input[id="react-select-2-input"]')
5+
.focus()
6+
.type("English", { force: true })
7+
.type("{enter}")
58
cy.contains("New File").click()
69
})
710

cypress/integration/keyboard-shortcuts.spec.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
describe("Test default keyboard shortcuts", () => {
22
it.skip("should be able to navigate to label tab with default shortcut", () => {
33
cy.visit("/")
4-
4+
cy.get('input[id="react-select-2-input"]')
5+
.focus()
6+
.type("English", { force: true })
7+
.type("{enter}")
58
cy.contains("New File").click()
69

710
cy.wait(500)

cypress/integration/labelhelp.spec.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
describe("Create a Label Help ", () => {
22
it("should be able to use label help", () => {
33
cy.visit("/")
4-
4+
cy.get('input[id="react-select-2-input"]')
5+
.focus()
6+
.type("English", { force: true })
7+
.type("{enter}")
58
cy.contains("Start from Template").click()
69
cy.contains("Image Classification").click()
710
cy.contains("Samples").click()

cypress/integration/named-entity-recognition.spec.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ const times = (howManyTimes) => (functionWillExecute) => {
88
describe("Named Entity Recognition Tests", () => {
99
it("should be able to create", () => {
1010
cy.visit("/")
11-
11+
cy.get('input[id="react-select-2-input"]')
12+
.focus()
13+
.type("English", { force: true })
14+
.type("{enter}")
1215
cy.contains("New File").click()
1316
})
1417

cypress/integration/paste-image-urls-with-csv.spec.js

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ const csvRows = [
88
describe("Paste Image URLs with CSVs", () => {
99
it("should be able to create", () => {
1010
cy.visit("/")
11+
cy.get('input[id="react-select-2-input"]')
12+
.focus()
13+
.type("English", { force: true })
14+
.type("{enter}")
1115
cy.contains("New File").click()
1216
})
1317

cypress/integration/paste-image-urls.spec.js

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ const imageUrls = [
77
describe("Paste Image URLs", () => {
88
it("should be able to create", () => {
99
cy.visit("/")
10+
cy.get('input[id="react-select-2-input"]')
11+
.focus()
12+
.type("English", { force: true })
13+
.type("{enter}")
1014
cy.contains("New File").click()
1115
})
1216

cypress/integration/text-entity-classification.spec.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ const inputValues = [positive, negative, neutral]
2929
describe("Create a new text entity classification, label that and show that", () => {
3030
it("should be able to create new file", () => {
3131
cy.visit("/")
32-
32+
cy.get('input[id="react-select-2-input"]')
33+
.focus()
34+
.type("English", { force: true })
35+
.type("{enter}")
3336
cy.contains("New File").click()
3437
})
3538

public/legal.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010
<body>
1111
<div
1212
id="header"
13-
style="display: inline-flex; justify-content: space-between; width: 100%;"
13+
style="display: inline-flex; justify-content: space-between; width: 100%"
1414
>
15-
<img src="./favicon.ico" style="height: 100%;" />
16-
<div style="display: flex; width: 100%;">
17-
<a style="margin: auto;" href="https://universaldatatool.com">
15+
<img src="./favicon.ico" style="height: 100%" />
16+
<div style="display: flex; width: 100%">
17+
<a style="margin: auto" href="https://universaldatatool.com">
1818
<h1>Universal Data Tool</h1>
1919
</a>
2020
</div>
21-
<img src="./favicon.ico" style="height: 100%;" />
21+
<img src="./favicon.ico" style="height: 100%" />
2222
</div>
2323
<div
2424
id="terms-and-conditions-wrapper"
25-
style="padding-right: 5vw; padding-left: 5vw; padding-top: 2vh;"
25+
style="padding-right: 5vw; padding-left: 5vw; padding-top: 2vh"
2626
>
2727
<h1>Terms and Conditions of Use</h1>
2828
<h3>1. Terms</h3>

0 commit comments

Comments
 (0)