Skip to content

Commit 9c8d853

Browse files
Merge branch 'main' into add_payment
2 parents b2b16fd + 53370fe commit 9c8d853

File tree

21 files changed

+90
-45
lines changed

21 files changed

+90
-45
lines changed

packages/tdb-access-control-component/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@terminusdb/terminusdb-access-control-component",
3-
"version": "6.0.0",
3+
"version": "6.0.1",
44
"description": "Table for terminusdb",
55
"main": "src/index",
66
"module": "es6/index",

packages/tdb-dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@terminusdb-live/tdb-dashboard",
3-
"version": "6.0.0",
3+
"version": "6.0.1",
44
"description": "react",
55
"homepage": "./",
66
"main": "src/index",

packages/tdb-dashboard/src/App.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ export function App (props){
3939

4040
if (clientUser.firstLogin === true) {
4141
clientUser.firstLogin = false
42-
navigate(`/${PLANS}`)
42+
43+
// navigate(`/${PLANS}`)
44+
window.location.replace(`/${PLANS}`)
45+
4346
}
4447

4548
// this happen after confirm you password linking in the email url

packages/tdb-dashboard/src/clientUtils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export function createClientUser(useAuth0,params){
1414
clientUser.firstLogin = user && user['http://terminusdb.com/schema/system#afterSignUp'] ? true : false
1515
// the agentName is the userID
1616
clientUser.user = clientUser.agentName
17-
clientUser.serverType = "TerminusX"
17+
//clientUser.serverType = "TerminusX"
18+
clientUser.serverType = "TerminusCMS"
1819
}catch(err){
1920
const lastuser = localStorage.getItem("Terminusdb-USER") //|| params.user
2021
clientUser = {email: lastuser }

packages/tdb-dashboard/src/components/MainNavBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const MainNavBar = ({setShowTimeTravel}) => {
3030
{dataProduct}
3131
</h4>
3232
<TimeTravelWidget setShowTimeTravel={setShowTimeTravel}/>
33-
</React.Fragment>
33+
</React.Fragment>
3434
}
3535
{accessControlDashboard && accessControlDashboard.createDB() &&
3636
<NewDataProduct css={"btn-sm mr-1 pt-2 pr-4 pl-4 "}/>

packages/tdb-dashboard/src/components/ServerError.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { ChangeUser } from "./ChangeUser"
66

77
export const ServerError = (props) => {
88
const {clientUser } = WOQLClientObj()
9-
const serverType = clientUser ? clientUser.serverType : "TerminusX"
9+
const serverType = clientUser ? clientUser.serverType : "TerminusCMS"
1010

1111
const gotoMainPage= ()=>{
1212
const base = process.env.BASE_URL ? `/${process.env.BASE_URL}` : "/"
@@ -27,7 +27,7 @@ export const ServerError = (props) => {
2727
Go to Teams
2828
</Button>}
2929
{clientUser.connection_type !=="LOCAL" &&
30-
<a href="https://discuss.terminusdb.com/" targert="_blank">
30+
<a href="https://www.reddit.com/r/TerminusDB/" targert="_blank">
3131
{`Please contact the ${serverType} Team`}
3232
</a>
3333
}

packages/tdb-dashboard/src/components/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {GrGraphQl} from "react-icons/gr"
1111
import {BiGitPullRequest} from "react-icons/bi"
1212

1313
//User Messages
14-
export const SERVER_LOADING_MESSAGE = "Setting up TerminusX Cloud ... "
14+
export const SERVER_LOADING_MESSAGE = "Setting up TerminusCMS ... "
1515
export const SCHEMA_LOADING_MESSAGE = "The schema being loaded... "
1616

1717

packages/tdb-dashboard/src/pages/PlansPage.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,11 @@ export const PlansPage = (props) => {
8888
<Card.Text className="text-light text-left h6">
8989
{arr.text}
9090
</Card.Text>
91+
9192
<Stack direction="vertical">
9293
{getLabels(arr)}
9394
</Stack>
95+
9496
</Card.Body>
9597
<Card.Footer style={{background:arr.color}}>
9698
</Card.Footer >

packages/tdb-dashboard/src/payment/FormPayment.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,12 @@ const renderSuccess = () => {
204204
className="border-light-01" type="email" name="email" id="email" placeholder="Email"
205205
defaultValue={props.defaultEmail} />
206206
</FormGroup>
207+
208+
<FormGroup className="mb-4">
209+
<Form.Label for="name">Company Name</Form.Label>
210+
<FormControl ref={companyName} className="border-light-01" type="text" name="name" id="name" placeholder="Company Name" required={true} />
211+
</FormGroup>
212+
207213
<Row>
208214
<Col >
209215
<FormGroup className="mb-4">
@@ -222,10 +228,7 @@ const renderSuccess = () => {
222228
<FormGroup className="mb-4">
223229
<Form.Label for="address">Street Address</Form.Label>
224230
<FormControl ref={address} className="border-light-01" type="text" name="name" id="name" placeholder="Street Address" required={true} />
225-
</FormGroup>
226-
<FormGroup className="mb-4">
227-
<Form.Label for="name">Company Name</Form.Label>
228-
<FormControl ref={companyName} className="border-light-01" type="text" name="name" id="name" placeholder="Company Name" required={true} />
231+
229232
</FormGroup>
230233
<Row>
231234
<Col >

packages/tdb-documents-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@terminusdb/terminusdb-documents-ui",
3-
"version": "6.0.0",
3+
"version": "6.0.1",
44
"description": "SDK to build UI from terminusdb documents",
55
"main": "src/index.js",
66
"module": "es6/index",

0 commit comments

Comments
 (0)