Skip to content

Commit ac2a190

Browse files
committed
progress
1 parent 4aa3024 commit ac2a190

File tree

126 files changed

+1243
-13298
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+1243
-13298
lines changed

package-lock.json

Lines changed: 1208 additions & 294 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/tdb-dashboard/cypress.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
"env"; {
99
"password"; "root"
10-
}
10+
}
1111
}
1212

1313
//"baseUrl":"https://dashboard-dev.terminusdb.com/",

packages/tdb-dashboard/cypress/e2e/dashboard/login.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe('visit dashboard dev', () => {
3030

3131
/*beforeEach(function() {
3232
33-
})*/
33+
})*/
3434

3535

3636
it('Check to see that you can create a new user', () => {

packages/tdb-dashboard/cypress/e2e/dashboard/workflow.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
///8MmY%*2q
55
//tester@terminusdb.com
6-
6+
77
//emf7V3RaiDXCsx$#@%yy
88
describe('visit dashboard dev', () => {
99
const dashboard = "/"//"https://dashboard-dev.terminusdb.com/"

packages/tdb-dashboard/src/hooks/CreateNewOrg.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ import { useAuth0 } from "../react-auth0-spa"
44
import {getOptions,getBaseUrl} from "./hookUtils"
55

66
export const CreateNewOrg=()=> {
7-
const axiosHub=axios.create();
7+
const axiosHub=axios.create();
88
const {getTokenSilently } = useAuth0()
99
// const {clientUser } = WOQLClientObj()
1010

1111
const [loading,setLoading]=useState(null)
1212
const [teamCreated,setTeamCreated]=useState(null)
1313
const [errorMessage,setError] =useState(null)
14-
14+
1515
const baseUrl=getBaseUrl();
1616

1717
async function createNewOrg(orgid){
1818
setLoading(true)
1919
setError(false)
2020
try{
2121
const token = await getTokenSilently()
22-
const options = getOptions(token);
22+
const options = getOptions(token);
2323
const payload = {organization:orgid}
2424
const response = await axiosHub.post(`${baseUrl}/private/organizations`, payload,options)
2525
localStorage.setItem("Org",orgid)

packages/tdb-dashboard/src/hooks/hookUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { localSettings } from "../../localSettings";
22
import { getCRConflictError } from "../components/utils"
33
import React from "react"
4-
export function getOptions(token){
4+
export function getOptions(token){
55

66
const options = {
77
mode: 'cors', // no-cors, cors, *same-origin

packages/tdb-dashboard/src/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
<html>
33
<head>
44
<title><%= htmlWebpackPlugin.options.title %></title>
5-
<meta charset="UTF-8">
5+
<meta charset="UTF-8">
66
<!-- <link type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" />
77
-->
88
<link rel="icon" type="image/png" href="https://assets.terminusdb.com/images/terminusx-color.png"/>
99
<!--<link rel="stylesheet" src="https://unpkg.com/[email protected]/dist/index.css"/>-->
10-
<script src='/assets/leaflet.fullscreenv1.0.1.min.js'></script>
11-
<link href='/assets/leaflet.fullscreenv1.0.1.css' rel='stylesheet' />
10+
<!--<script src='/assets/leaflet.fullscreenv1.0.1.min.js'></script>
11+
<link href='/assets/leaflet.fullscreenv1.0.1.css' rel='stylesheet' /> -->
1212
</style>
1313
</head>
1414
<body>

packages/tdb-documents-ui/diff/src/Output.js

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ export const Output = () => {
2727
},
2828
"People": {
2929
"@type": "Class",
30-
"desc": {
31-
"@class": "xsd:string",
32-
"@type": "Set"
33-
},
3430
"vehicle": {
3531
"@class": "Vehicle",
3632
"@type": "Set"
@@ -48,27 +44,19 @@ export const Output = () => {
4844
let oldVal = {
4945
"@id": "People/1",
5046
"@type": "People",
51-
"desc": [
52-
"In 2015, the character was selected by Empire magazine as the 50th greatest movie character of all time.[2] On their list of the 100 Greatest Fictional Characters, Fandomania.com ranked the character at number 14.[3]\n\nIn his younger years, Luke used to be called Lukey and it annoyed him very much.\n\n54 43 That's My Number.",
53-
"Luke Skywalker is a fictional character and the main protagonist of the original film trilogy of the Star Wars franchise created by George Lucas. The character, portrayed by Mark Hamill, is an important figure in the Rebel Alliance's struggle against the Galactic Empire. He is the twin brother of Rebellion leader Princess Leia Organa of Alderaan, a friend and brother-in-law of smuggler Han Solo, an apprentice to Jedi Masters Obi-Wan \"Ben\" Kenobi and Yoda, the son of fallen Jedi Anakin Skywalker (Darth Vader) and Queen of Naboo/Republic Senator Padmé Amidala and maternal uncle of Kylo Ren / Ben Solo. The now non-canon Star Wars expanded universe depicts him as a powerful Jedi Master, husband of Mara Jade, the father of Ben Skywalker and maternal uncle of Jaina, Jacen and Anakin Solo.\n\nHappy go lucky."
54-
],
5547
"vehicle": [
5648
"Vehicle/14",
49+
"Vehicle/30",
5750
"Vehicle/30"
5851
]
5952
}
6053

6154
let newVal = {
6255
"@id": "People/1",
6356
"@type": "People",
64-
"desc": [
65-
"KITTY In 2015, the character was selected by Empire magazine as the 50th greatest movie character of all time.[2] On their list of the 100 Greatest Fictional Characters, Fandomania.com ranked the character at number 14.[3]\n\nIn his younger years, Luke used to be called Lukey and it annoyed him very much.\n\n54 43 That's My Number.",
66-
"Luke Skywalker is a fictional character and the main protagonist of the original film trilogy of the Star Wars franchise created by George Lucas. The character, portrayed by Mark Hamill, is an important figure in the Rebel Alliance's struggle against the Galactic Empire. He is the twin brother of Rebellion leader Princess Leia Organa of Alderaan, a friend and brother-in-law of smuggler Han Solo, an apprentice to Jedi Masters Obi-Wan \"Ben\" Kenobi and Yoda, the son of fallen Jedi Anakin Skywalker (Darth Vader) and Queen of Naboo/Republic Senator Padmé Amidala and maternal uncle of Kylo Ren / Ben Solo. The now non-canon Star Wars expanded universe depicts him as a powerful Jedi Master, husband of Mara Jade, the father of Ben Skywalker and maternal uncle of Jaina, Jacen and Anakin Solo.\n\nHappy go lucky."
67-
],
6857
"vehicle": [
6958
"Vehicle/14",
70-
"Vehicle/24",
71-
"Vehicle/30"
59+
"Vehicle/24"
7260
]
7361
}
7462

packages/tdb-documents-ui/src/mapComponents/featureCollectionWidget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import "react-leaflet-fullscreen/dist/styles.css";
55
import { TDBLabel } from "../components/LabelComponent"
66
import { v4 as uuidv4 } from 'uuid';
77
import "leaflet-arrowheads"
8-
import L from "leaflet"
8+
import L from "leaflet"
99
import icon from "../constants"
1010
import { MAP_OPTION, LINE_COLOR } from "./map.constants"
1111
import * as CONST from "../constants"

packages/tdb-documents-ui/src/tests/createChoiceDocument.datatypes.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe("Test Choice Documents", () => {
3434
formData={config.formData}
3535
mode={config.mode}
3636
onSubmit={handleSubmit}/>
37-
)
37+
)
3838

3939
logRoles(container)
4040

0 commit comments

Comments
 (0)