Merge branch 'develop' of github.com:Budibase/budibase into fix/smtp-automation

This commit is contained in:
mike12345567 2021-10-01 14:46:48 +01:00
commit 84252bb368
13 changed files with 67 additions and 52 deletions

View File

@ -1,5 +1,5 @@
{
"version": "0.9.148-alpha.6",
"version": "0.9.148-alpha.7",
"npmClient": "yarn",
"packages": [
"packages/*"

View File

@ -1,6 +1,6 @@
{
"name": "@budibase/auth",
"version": "0.9.148-alpha.6",
"version": "0.9.148-alpha.7",
"description": "Authentication middlewares for budibase builder and apps",
"main": "src/index.js",
"author": "Budibase",

View File

@ -1,7 +1,7 @@
{
"name": "@budibase/bbui",
"description": "A UI solution used in the different Budibase projects.",
"version": "0.9.148-alpha.6",
"version": "0.9.148-alpha.7",
"license": "AGPL-3.0",
"svelte": "src/index.js",
"module": "dist/bbui.es.js",

View File

@ -24,9 +24,7 @@ context("Create a Table", () => {
it("updates a column on the table", () => {
cy.get(".title").click()
cy.get(".spectrum-Table-editIcon > use").click()
cy.get("input")
.eq(1)
.type("updated", { force: true })
cy.get("input").eq(1).type("updated", { force: true })
// Unset table display column
cy.get(".spectrum-Switch-input").eq(1).click()
cy.contains("Save Column").click()
@ -45,9 +43,7 @@ context("Create a Table", () => {
it("deletes a row", () => {
cy.get(".spectrum-Checkbox-input").check({ force: true })
cy.contains("Delete 1 row(s)").click()
cy.get(".spectrum-Modal")
.contains("Delete")
.click()
cy.get(".spectrum-Modal").contains("Delete").click()
cy.contains("RoverUpdated").should("not.exist")
})
@ -56,15 +52,18 @@ context("Create a Table", () => {
cy.get(".spectrum-Table-editIcon > use").click()
cy.contains("Delete").click()
cy.wait(50)
cy.contains("Delete Column")
.click()
cy.contains("Delete Column").click()
cy.contains("nameupdated").should("not.exist")
})
it("deletes a table", () => {
cy.get(".actions > :nth-child(1) > .icon > .spectrum-Icon > use")
.eq(1)
.click({ force: true })
cy.get(".nav-item")
.contains("dog")
.parents(".nav-item")
.first()
.within(() => {
cy.get(".actions .spectrum-Icon").click({ force: true })
})
cy.get(".spectrum-Menu > :nth-child(2)").click()
cy.contains("Delete Table").click()
cy.contains("dog").should("not.exist")

View File

@ -28,11 +28,7 @@ context("Create a View", () => {
const headers = Array.from($headers).map(header =>
header.textContent.trim()
)
expect(removeSpacing(headers)).to.deep.eq([
"group",
"age",
"rating",
])
expect(removeSpacing(headers)).to.deep.eq(["group", "age", "rating"])
})
})
@ -57,6 +53,7 @@ context("Create a View", () => {
})
it("creates a stats calculation view based on age", () => {
cy.wait(1000)
cy.contains("Calculate").click()
cy.get(".modal-inner-wrapper").within(() => {
cy.get(".spectrum-Picker-label").eq(0).click()

View File

@ -1,6 +1,6 @@
{
"name": "@budibase/builder",
"version": "0.9.148-alpha.6",
"version": "0.9.148-alpha.7",
"license": "AGPL-3.0",
"private": true,
"scripts": {
@ -65,10 +65,10 @@
}
},
"dependencies": {
"@budibase/bbui": "^0.9.148-alpha.6",
"@budibase/client": "^0.9.148-alpha.6",
"@budibase/bbui": "^0.9.148-alpha.7",
"@budibase/client": "^0.9.148-alpha.7",
"@budibase/colorpicker": "1.1.2",
"@budibase/string-templates": "^0.9.148-alpha.6",
"@budibase/string-templates": "^0.9.148-alpha.7",
"@sentry/browser": "5.19.1",
"@spectrum-css/page": "^3.0.1",
"@spectrum-css/vars": "^3.0.1",

View File

@ -62,7 +62,7 @@
<Modal bind:this={modal}>
<ModalContent
showConfirmButton={false}
cancelText="Close"
cancelText="View changes"
showCloseIcon={false}
title="Theme settings"
>

View File

@ -216,6 +216,7 @@
<div class="filter">
<div class="select">
<Select
autoWidth
bind:value={sortBy}
placeholder={null}
options={[
@ -224,8 +225,10 @@
{ label: "Sort by status", value: "status" },
]}
/>
<div class="desktop-search">
<Search placeholder="Search" bind:value={searchTerm} />
</div>
</div>
<ActionGroup>
<ActionButton
on:click={() => (layout = "grid")}
@ -241,6 +244,9 @@
/>
</ActionGroup>
</div>
<div class="mobile-search">
<Search placeholder="Search" bind:value={searchTerm} />
</div>
<div
class:appGrid={layout === "grid"}
class:appTable={layout === "table"}
@ -318,6 +324,7 @@
flex-direction: row;
justify-content: space-between;
align-items: center;
gap: 10px;
}
.select {
@ -325,6 +332,12 @@
grid-template-columns: 1fr 1fr;
grid-gap: 10px;
}
.filter :global(.spectrum-ActionGroup) {
flex-wrap: nowrap;
}
.mobile-search {
display: none;
}
.appGrid {
display: grid;
@ -364,5 +377,11 @@
.appTable {
grid-template-columns: 1fr auto;
}
.desktop-search {
display: none;
}
.mobile-search {
display: block;
}
}
</style>

View File

@ -1,6 +1,6 @@
{
"name": "@budibase/cli",
"version": "0.9.148-alpha.6",
"version": "0.9.148-alpha.7",
"description": "Budibase CLI, for developers, self hosting and migrations.",
"main": "src/index.js",
"bin": {

View File

@ -1,6 +1,6 @@
{
"name": "@budibase/client",
"version": "0.9.148-alpha.6",
"version": "0.9.148-alpha.7",
"license": "MPL-2.0",
"module": "dist/budibase-client.js",
"main": "dist/budibase-client.js",
@ -19,9 +19,9 @@
"dev:builder": "rollup -cw"
},
"dependencies": {
"@budibase/bbui": "^0.9.148-alpha.6",
"@budibase/bbui": "^0.9.148-alpha.7",
"@budibase/standard-components": "^0.9.139",
"@budibase/string-templates": "^0.9.148-alpha.6",
"@budibase/string-templates": "^0.9.148-alpha.7",
"regexparam": "^1.3.0",
"shortid": "^2.2.15",
"svelte-spa-router": "^3.0.5"

View File

@ -1,7 +1,7 @@
{
"name": "@budibase/server",
"email": "hi@budibase.com",
"version": "0.9.148-alpha.6",
"version": "0.9.148-alpha.7",
"description": "Budibase Web Server",
"main": "src/index.js",
"repository": {
@ -64,9 +64,9 @@
"author": "Budibase",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@budibase/auth": "^0.9.148-alpha.6",
"@budibase/client": "^0.9.148-alpha.6",
"@budibase/string-templates": "^0.9.148-alpha.6",
"@budibase/auth": "^0.9.148-alpha.7",
"@budibase/client": "^0.9.148-alpha.7",
"@budibase/string-templates": "^0.9.148-alpha.7",
"@elastic/elasticsearch": "7.10.0",
"@koa/router": "8.0.0",
"@sendgrid/mail": "7.1.1",

View File

@ -1,6 +1,6 @@
{
"name": "@budibase/string-templates",
"version": "0.9.148-alpha.6",
"version": "0.9.148-alpha.7",
"description": "Handlebars wrapper for Budibase templating.",
"main": "src/index.cjs",
"module": "dist/bundle.mjs",

View File

@ -1,7 +1,7 @@
{
"name": "@budibase/worker",
"email": "hi@budibase.com",
"version": "0.9.148-alpha.6",
"version": "0.9.148-alpha.7",
"description": "Budibase background service",
"main": "src/index.js",
"repository": {
@ -25,8 +25,8 @@
"author": "Budibase",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@budibase/auth": "^0.9.148-alpha.6",
"@budibase/string-templates": "^0.9.148-alpha.6",
"@budibase/auth": "^0.9.148-alpha.7",
"@budibase/string-templates": "^0.9.148-alpha.7",
"@koa/router": "^8.0.0",
"@techpass/passport-openidconnect": "^0.3.0",
"aws-sdk": "^2.811.0",