Changed Algolia public API Key

This commit is contained in:
Frikky
2025-05-27 23:31:19 +02:00
parent c0aaebaff6
commit 425c4d0808
22 changed files with 69 additions and 42 deletions
+19 -8
View File
@@ -438,7 +438,7 @@ const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
//const referenceUrl = "https://shuffler.io/functions/webhooks/"
//const referenceUrl = window.location.origin+"/api/v1/hooks/"
const searchClient = algoliasearch("JNSS5CFDZZ", "db08e40265e2941b9a7d8f644b6e5240")
const searchClient = algoliasearch("JNSS5CFDZZ", "c8f882473ff42d41158430be09ec2b4e")
const AngularWorkflow = (defaultprops) => {
const { globalUrl, setCookie, isLoggedIn, isLoaded, userdata, data_id, ReactGA, } = defaultprops;
const {themeMode, supportEmail, brandColor} = useContext(Context)
@@ -3573,6 +3573,12 @@ const AngularWorkflow = (defaultprops) => {
if (curapp?.actions === undefined || curapp?.actions === null || curapp?.actions?.length === 0 || curapp?.actions?.length === 1) {
loadAppConfig(curapp?.id, false, true)
}
if (key > 10) {
console.log("Breaking on 10 sideloads of total", responseJson.length)
break
}
}
// Find app with ID "794e51c3c1a8b24b89ccc573a3defc47" (gmail) to force-break it,
@@ -11856,7 +11862,7 @@ const AngularWorkflow = (defaultprops) => {
if (queryID !== undefined && queryID !== null) {
aa('init', {
appId: "JNSS5CFDZZ",
apiKey: "db08e40265e2941b9a7d8f644b6e5240",
apiKey: "c8f882473ff42d41158430be09ec2b4e",
})
const timestamp = new Date().getTime()
@@ -18698,7 +18704,9 @@ const AngularWorkflow = (defaultprops) => {
{originalWorkflow?.suborg_distribution === undefined || originalWorkflow?.suborg_distribution === null || originalWorkflow?.suborg_distribution?.length === 0 || originalWorkflow?.suborg_distribution.includes("none") ?
originalWorkflow?.parentorg_workflow !== undefined && originalWorkflow?.parentorg_workflow !== null && originalWorkflow?.parentorg_workflow.length > 0 || workflow?.parentorg_workflow !== undefined && workflow?.parentorg_workflow !== null && workflow?.parentorg_workflow.length > 0 ?
<div>
{originalWorkflow?.parentorg_workflow !== undefined && originalWorkflow?.parentorg_workflow !== null && originalWorkflow?.parentorg_workflow.length > 0 || workflow?.parentorg_workflow !== undefined && workflow?.parentorg_workflow !== null && workflow?.parentorg_workflow.length > 0 ?
<Button
color="secondary"
variant="outlined"
@@ -18708,7 +18716,7 @@ const AngularWorkflow = (defaultprops) => {
textTransform: "none",
marginLeft: 10,
}}
onClick={() => {
onClick={() => {
navigate(`/workflows/${workflow.parentorg_workflow}`)
// Reload the page
window.location.reload()
@@ -18716,7 +18724,10 @@ const AngularWorkflow = (defaultprops) => {
>
Go to parent org workflow
</Button>
: userdata !== undefined && userdata !== null && userdata.orgs !== undefined && userdata.orgs !== null && userdata.orgs.length > 1 && workflow?.id !== undefined && workflow?.id && workflow?.id?.length > 0 ?
: null}
{userdata !== undefined && userdata !== null && userdata.orgs !== undefined && userdata.orgs !== null && userdata.orgs.length > 1 && workflow?.id !== undefined && workflow?.id && workflow?.id?.length > 0 ?
<Button
color="secondary"
variant="outlined"
@@ -18732,8 +18743,8 @@ const AngularWorkflow = (defaultprops) => {
>
Enable Suborg Distribution
</Button>
: null
: null}
</div>
:
<Tooltip title={lastSaved === false && originalWorkflow.id === workflow.id ?
@@ -20080,7 +20091,7 @@ const AngularWorkflow = (defaultprops) => {
if (queryID !== undefined && queryID !== null) {
aa('init', {
appId: "JNSS5CFDZZ",
apiKey: "db08e40265e2941b9a7d8f644b6e5240",
apiKey: "c8f882473ff42d41158430be09ec2b4e",
})
const timestamp = new Date().getTime()
+1 -1
View File
@@ -50,7 +50,7 @@ import { green } from "../views/AngularWorkflow.jsx"
const searchClient = algoliasearch(
"JNSS5CFDZZ",
"db08e40265e2941b9a7d8f644b6e5240"
"c8f882473ff42d41158430be09ec2b4e"
)
// Lazy loading of ApiExplorer component to reduce initial load time
+3 -3
View File
@@ -93,7 +93,7 @@ import aa from "search-insights";
// 2 = OpenAPI (Invalid)
const searchClient = algoliasearch(
"JNSS5CFDZZ",
"db08e40265e2941b9a7d8f644b6e5240"
"c8f882473ff42d41158430be09ec2b4e"
)
const AppExplorer = (props) => {
@@ -3996,7 +3996,7 @@ const buttonBackground = "linear-gradient(to right, #f86a3e, #f34079)";
if (queryID !== undefined && queryID !== null) {
aa("init", {
appId: "JNSS5CFDZZ",
apiKey: "db08e40265e2941b9a7d8f644b6e5240",
apiKey: "c8f882473ff42d41158430be09ec2b4e",
});
const timestamp = new Date().getTime();
@@ -4085,7 +4085,7 @@ const buttonBackground = "linear-gradient(to right, #f86a3e, #f34079)";
if (queryID !== undefined && queryID !== null) {
aa("init", {
appId: "JNSS5CFDZZ",
apiKey: "db08e40265e2941b9a7d8f644b6e5240",
apiKey: "c8f882473ff42d41158430be09ec2b4e",
});
const timestamp = new Date().getTime();
+3 -3
View File
@@ -280,7 +280,7 @@ export const GetParsedPaths = (inputdata, basekey) => {
return parsedValues;
};
const searchClient = algoliasearch("JNSS5CFDZZ", "db08e40265e2941b9a7d8f644b6e5240")
const searchClient = algoliasearch("JNSS5CFDZZ", "c8f882473ff42d41158430be09ec2b4e")
const Apps = (props) => {
const { globalUrl, isLoggedIn, isLoaded, userdata, serverside, } = props;
@@ -1305,7 +1305,7 @@ const Apps = (props) => {
if (queryID !== undefined && queryID !== null) {
aa("init", {
appId: "JNSS5CFDZZ",
apiKey: "db08e40265e2941b9a7d8f644b6e5240",
apiKey: "c8f882473ff42d41158430be09ec2b4e",
});
const timestamp = new Date().getTime();
@@ -2036,7 +2036,7 @@ const Apps = (props) => {
if (queryID !== undefined && queryID !== null) {
aa('init', {
appId: "JNSS5CFDZZ",
apiKey: "db08e40265e2941b9a7d8f644b6e5240",
apiKey: "c8f882473ff42d41158430be09ec2b4e",
})
const timestamp = new Date().getTime()
+1 -1
View File
@@ -46,7 +46,7 @@ import AppCreationModal from "../components/AppCreationModal.jsx";
const searchClient = algoliasearch(
"JNSS5CFDZZ",
"db08e40265e2941b9a7d8f644b6e5240"
"c8f882473ff42d41158430be09ec2b4e"
);
// AppCard Component
+2 -2
View File
@@ -111,7 +111,7 @@ import { removeQuery } from "../components/ScrollToTop.jsx";
import {green, yellow, red, grey } from "../views/AngularWorkflow.jsx"
const searchClient = algoliasearch("JNSS5CFDZZ", "db08e40265e2941b9a7d8f644b6e5240");
const searchClient = algoliasearch("JNSS5CFDZZ", "c8f882473ff42d41158430be09ec2b4e");
const svgSize = 24;
const imagesize = 22;
@@ -5071,7 +5071,7 @@ const Workflows2 = (props) => {
//isLoaded && isLoggedIn && workflowDone ? (
const loadedCheck =
workflowDone && isLoaded ? (
workflowDone ? (
<div>
{/*
<ShepherdTour steps={newSteps} tourOptions={tourOptions}>