Increase NPS sample size and remove constraints (#1692)

* Increase NPS sample size and remove constraints

* Run npm format

* Run npm format:check
This commit is contained in:
sindhuba
2023-11-14 22:26:57 +05:30
committed by GitHub
parent 0ab07419ce
commit 1aa4c18119
3 changed files with 22 additions and 21 deletions

View File

@@ -420,9 +420,11 @@ async function configurePortal(): Promise<Explorer> {
updateContextsFromPortalMessage(inputs);
explorer = new Explorer();
resolve(explorer);
if (userContext.apiType === "Postgres") {
explorer.openNPSSurveyDialog();
if (userContext.apiType === "Postgres" || userContext.apiType === "SQL" || userContext.apiType === "Mongo") {
setTimeout(() => explorer.openNPSSurveyDialog(), 3000);
}
if (openAction) {
handleOpenAction(openAction, useDatabases.getState().databases, explorer);
}