PR Feedback
This commit is contained in:
parent
363db1d4d9
commit
c749209172
|
@ -23,7 +23,7 @@
|
|||
}
|
||||
|
||||
const afterSave = ({ action }) => {
|
||||
notifications.success(`Relationship ${action} successfully.`)
|
||||
notifications.success(`Relationship ${action} successfully`)
|
||||
dispatch("updatecolumns")
|
||||
}
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
$goto(`./datasource/${datasourceId}`)
|
||||
}
|
||||
|
||||
notifications.success(`Imported successfully.`)
|
||||
notifications.success("Imported successfully")
|
||||
return true
|
||||
} catch (error) {
|
||||
notifications.error("Error importing queries")
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
const afterSave = async ({ action }) => {
|
||||
await tablesStore.fetch()
|
||||
await datasourcesStore.fetch()
|
||||
notifications.success(`Relationship ${action} successfully.`)
|
||||
notifications.success(`Relationship ${action} successfully`)
|
||||
}
|
||||
|
||||
const onError = async ({ action, err }) => {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
)
|
||||
await datasources.update({ datasource: updatedDatasource, integration })
|
||||
notifications.success(
|
||||
`Datasource ${updatedDatasource.name} updated successfully.`
|
||||
`Datasource ${updatedDatasource.name} updated successfully`
|
||||
)
|
||||
} catch (error) {
|
||||
notifications.error(`Error saving datasource: ${error.message}`)
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
async function updateDatasourceSchema() {
|
||||
try {
|
||||
await datasources.updateSchema(datasource, specificTables)
|
||||
notifications.success(`Datasource ${name} tables updated successfully.`)
|
||||
notifications.success(`Datasource ${name} tables updated successfully`)
|
||||
await tables.fetch()
|
||||
} catch (error) {
|
||||
notifications.error(
|
||||
|
|
|
@ -1,30 +1,11 @@
|
|||
<script>
|
||||
import FontAwesomeIcon from "components/common/FontAwesomeIcon.svelte"
|
||||
import { Body } from "@budibase/bbui"
|
||||
import { ActionButton } from "@budibase/bbui"
|
||||
|
||||
export let title = ""
|
||||
export let href = null
|
||||
</script>
|
||||
|
||||
<a {href} class="tooltip" target="_blank" rel="noopener noreferrer">
|
||||
<FontAwesomeIcon name="fa-solid fa-question-circle" />
|
||||
<Body weight="bold">{title}</Body>
|
||||
</a>
|
||||
|
||||
<style>
|
||||
.tooltip {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tooltip :global(p) {
|
||||
color: var(--grey-9);
|
||||
}
|
||||
|
||||
.tooltip :global(svg) {
|
||||
margin-top: 1px;
|
||||
margin-right: 5px;
|
||||
color: var(--grey-7);
|
||||
}
|
||||
</style>
|
||||
<ActionButton quiet icon="Help" on:click={() => window.open(href, "_blank")}>
|
||||
{title}
|
||||
</ActionButton>
|
||||
|
|
|
@ -100,7 +100,7 @@ export function createDatasourcesStore() {
|
|||
|
||||
const create = async ({ integration, config }) => {
|
||||
const count = sourceCount(integration.name)
|
||||
const nameModifier = count === 0 ? "" : `-${count + 1}`
|
||||
const nameModifier = count === 0 ? "" : ` ${count + 1}`
|
||||
|
||||
const datasource = {
|
||||
type: "datasource",
|
||||
|
|
Loading…
Reference in New Issue