Skip to content

Commit

Permalink
📝 Documentation user feedback and upgrade suggest
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachid F authored and mit-27 committed May 29, 2024
1 parent 03d4a81 commit 66aedfb
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 27 deletions.
6 changes: 1 addition & 5 deletions docs/api-reference/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,10 @@ Our unified API has predictable resource-oriented URLs, accepts form-encoded req
## Base URL

<Tabs>
<Tab title="US Servers">
<Tab title="Cloud">
```https://api.panora.dev/```
</Tab>

<Tab title="EU Servers">
```https://api-eu.panora.dev/```
</Tab>

<Tab title="Self-Hosted">
```http://localhost:3000/```
</Tab>
Expand Down
Binary file added docs/logo/fav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/logo/favicon.png
Binary file not shown.
17 changes: 13 additions & 4 deletions docs/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
"analytics": {
"posthog": {
"apiKey": "phc_WhWJfNPOHAuWVdyTacGxrPa9JW54scnofA9KVEjFcFw"
}
},
"hotjar": {
"hjid": "5154921",
"hjsv": "e2Bs3cIPcF08ngtrjwX+JBB8"
}
},
"api": {
"baseUrl": "https://api.panora.dev",
Expand All @@ -20,11 +24,16 @@
"default": "light",
"isHidden": false
},
"feedback": {
"thumbsRating": true,
"suggestEdit": true,
"raiseIssue": true
},
"logo": {
"dark": "/logo/logo-panora-white-hq.png",
"light": "/logo/logo-panora-white.png"
},
"favicon": "logo/favicon.png",
"favicon": "logo/fav.png",
"colors": {
"primary": "#085faf",
"light": "#085faf",
Expand All @@ -50,7 +59,7 @@
},
"tabs": [
{
"name": "Crm",
"name": "CRM",
"url": "crm"
},
{
Expand Down Expand Up @@ -162,7 +171,7 @@
"group": "Unified Objects",
"pages": [
{
"group": "Crm",
"group": "CRM",
"pages": [
{
"group": "Contact",
Expand Down
11 changes: 0 additions & 11 deletions packages/api/src/@core/connections/connections.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ export class ConnectionsController {
code,
zohoLocation_,
);
// Add Initial Sync Service Here but sync (No async) way or after res.redirect() <---- verify

break;
case ConnectorCategory.Ats:
break;
Expand Down Expand Up @@ -116,16 +114,7 @@ export class ConnectionsController {
}
// Performing Core Sync Service
this.coreSyncService.initialSync(vertical.toLowerCase(), providerName, linkedUserId, projectId);

this.logger.log("Performing Redirect - MS")


res.redirect(returnUrl);





} catch (error) {
handleServiceError(error, this.logger);
}
Expand Down
8 changes: 1 addition & 7 deletions packages/api/src/@core/sync/sync.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class CoreSyncService {
this.logger.setContext(CoreSyncService.name);
}

//Initial sync which will happen after connection is successfully established
//Initial sync which will execute when connection is successfully established
async initialSync(
vertical: string,
provider: string,
Expand Down Expand Up @@ -135,18 +135,12 @@ export class CoreSyncService {
} catch (error) {
handleServiceError(error, this.logger);
}


}



// we must have a sync_jobs table with 7 (verticals) rows, one of each is syncing details
async getSyncStatus(vertical: string) {
try {



} catch (error) {
handleServiceError(error, this.logger);
}
Expand Down

0 comments on commit 66aedfb

Please sign in to comment.