diff --git a/.github/workflows/stale_bot.yml b/.github/workflows/stale_bot.yml
index 8cda3a9342..f87d561db9 100644
--- a/.github/workflows/stale_bot.yml
+++ b/.github/workflows/stale_bot.yml
@@ -2,7 +2,7 @@ name: Close stale issues and PRs # https://github.com/actions/stale
on:
workflow_dispatch:
schedule:
- - cron: '30 1 * * *' # 1:30 every morning
+ - cron: '*/30 * * * *' # Every 30 mins
jobs:
stale:
diff --git a/.prettierignore b/.prettierignore
index a73fed4890..64607d74ab 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -9,4 +9,5 @@ packages/backend-core/coverage
packages/server/client
packages/server/src/definitions/openapi.ts
packages/builder/.routify
-packages/sdk/sdk
\ No newline at end of file
+packages/sdk/sdk
+packages/pro/coverage
\ No newline at end of file
diff --git a/lerna.json b/lerna.json
index 30aa2afa3c..d267691a6e 100644
--- a/lerna.json
+++ b/lerna.json
@@ -1,9 +1,7 @@
{
"version": "2.10.8",
"npmClient": "yarn",
- "packages": [
- "packages/*"
- ],
+ "packages": ["packages/*"],
"useNx": true,
"command": {
"publish": {
@@ -19,4 +17,4 @@
"loadEnvFiles": false
}
}
-}
\ No newline at end of file
+}
diff --git a/packages/bbui/src/Banner/Banner.svelte b/packages/bbui/src/Banner/Banner.svelte
index 3810021a61..a04d469cc7 100644
--- a/packages/bbui/src/Banner/Banner.svelte
+++ b/packages/bbui/src/Banner/Banner.svelte
@@ -66,6 +66,10 @@
pointer-events: all;
width: 100%;
}
+
+ .spectrum-Toast--neutral {
+ background-color: var(--grey-2);
+ }
.spectrum-Button {
border: 1px solid rgba(255, 255, 255, 0.2);
}
diff --git a/packages/bbui/src/Notification/Notification.svelte b/packages/bbui/src/Notification/Notification.svelte
index eb2922a5de..26e60ed366 100644
--- a/packages/bbui/src/Notification/Notification.svelte
+++ b/packages/bbui/src/Notification/Notification.svelte
@@ -27,7 +27,11 @@
{message || ""}
{#if action}
-
+ action(() => dispatch("dismiss"))}
+ >
{actionMessage}
{/if}
diff --git a/packages/bbui/src/Notification/NotificationDisplay.svelte b/packages/bbui/src/Notification/NotificationDisplay.svelte
index 0f7e93eb23..6b7e68cece 100644
--- a/packages/bbui/src/Notification/NotificationDisplay.svelte
+++ b/packages/bbui/src/Notification/NotificationDisplay.svelte
@@ -8,7 +8,7 @@
- {#each $notifications as { type, icon, message, id, dismissable, action, wide } (id)}
+ {#each $notifications as { type, icon, message, id, dismissable, action, actionMessage, wide } (id)}
notifications.dismiss(id)}
/>
diff --git a/packages/bbui/src/Stores/banner.js b/packages/bbui/src/Stores/banner.js
index 1a0b2d9ecc..fc93e7be99 100644
--- a/packages/bbui/src/Stores/banner.js
+++ b/packages/bbui/src/Stores/banner.js
@@ -1,6 +1,7 @@
import { writable } from "svelte/store"
export const BANNER_TYPES = {
+ NEUTRAL: "neutral",
INFO: "info",
NEGATIVE: "negative",
WARNING: "warning",
diff --git a/packages/bbui/src/Stores/notifications.js b/packages/bbui/src/Stores/notifications.js
index 449d282f24..28331fffd8 100644
--- a/packages/bbui/src/Stores/notifications.js
+++ b/packages/bbui/src/Stores/notifications.js
@@ -27,7 +27,9 @@ export const createNotificationStore = () => {
icon = "",
autoDismiss = true,
action = null,
+ actionMessage = null,
wide = false,
+ dismissTimeout = NOTIFICATION_TIMEOUT,
}
) => {
if (block) {
@@ -44,14 +46,16 @@ export const createNotificationStore = () => {
icon,
dismissable: !autoDismiss,
action,
+ actionMessage,
wide,
+ dismissTimeout,
},
]
})
if (autoDismiss) {
const timeoutId = setTimeout(() => {
dismissNotification(_id)
- }, NOTIFICATION_TIMEOUT)
+ }, dismissTimeout)
timeoutIds.add(timeoutId)
}
}
diff --git a/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte b/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte
index fd13767a63..44c37813d6 100644
--- a/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte
+++ b/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte
@@ -523,7 +523,7 @@
{:else if editableColumn.type === "number" && !editableColumn.autocolumn}