-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Onboarding landing construction #642
Conversation
Important Auto Review SkippedAuto reviews are limited to the following labels: review. Please add one of these labels to enable auto reviews. Please check the settings in the CodeRabbit UI or the To trigger a single review, invoke the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Merge branch 'master' into xero-onboarding-landing
Merge branch 'master' into xero-onboarding-landing
src/app/branding/branding-config.ts
Outdated
@@ -90,7 +90,8 @@ const kbArticles: KbArticle = { | |||
INTACCT: `${brandingConfig.helpArticleDomain}/en/collections/215867-integrations-with-fyle`, | |||
TRAVELPERK: `${brandingConfig.helpArticleDomain}/en/articles/7549535-how-are-travelperk-invoices-created-as-expenses-in-fyle`, | |||
SAGE300: `${brandingConfig.helpArticleDomain}/en/collections/215867-integrations-with-fyle`, | |||
BUSINESS_CENTRAL: `${brandingConfig.helpArticleDomain}/en/articles/8911018-how-to-configure-the-fyle-dynamics-365-business-central-integration` | |||
BUSINESS_CENTRAL: `${brandingConfig.helpArticleDomain}/en/articles/8911018-how-to-configure-the-fyle-dynamics-365-business-central-integration`, | |||
XERO: `${brandingConfig.helpArticleDomain}/en/articles/8911018-how-to-configure-the-fyle-dynamics-365-business-central-integration` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use right urls
src/app/branding/branding-config.ts
Outdated
LANDING: `${brandingConfig.helpArticleDomain}/en/articles/6208620-how-to-set-up-the-fyle-quickbooks-online-integration`, | ||
CONNECTOR: `${brandingConfig.helpArticleDomain}/en/articles/6208620-how-to-set-up-the-fyle-quickbooks-online-integration-v2-0`, | ||
EMPLOYEE_SETTING: `${brandingConfig.helpArticleDomain}/en/articles/6208620-how-to-set-up-the-fyle-quickbooks-online-integration-v2-0#h_d70f1d54cc`, | ||
EXPORT_SETTING: `${brandingConfig.helpArticleDomain}/en/articles/6208620-how-to-set-up-the-fyle-quickbooks-online-integration-v2-0#h_dca1353686`, | ||
IMPORT_SETTING: `${brandingConfig.helpArticleDomain}/en/articles/6208620-how-to-set-up-the-fyle-quickbooks-online-integration-v2-0#h_b8a2df129f`, | ||
ADVANCED_SETTING: `${brandingConfig.helpArticleDomain}/en/articles/6208620-how-to-set-up-the-fyle-quickbooks-online-integration-v2-0#h_18c28de6c7`, | ||
SKIP_EXPORT: `${brandingConfig.helpArticleDomain}/en/articles/7044785-how-to-skip-exporting-specific-expenses-from-fyle-to-quickbooks-online` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use right urls
@@ -140,7 +151,8 @@ const kbArticles: KbArticle = { | |||
INTACCT: `${brandingConfig.helpArticleDomain}/en/collections/215867-integrations-with-fyle`, | |||
TRAVELPERK: `${brandingConfig.helpArticleDomain}/en/articles/7549535-how-are-travelperk-invoices-created-as-expenses-in-fyle`, | |||
SAGE300: `${brandingConfig.helpArticleDomain}/en/collections/215867-integrations-with-fyle`, | |||
BUSINESS_CENTRAL: `${brandingConfig.helpArticleDomain}/en/collections/215867-integrations-with-fyle` | |||
BUSINESS_CENTRAL: `${brandingConfig.helpArticleDomain}/en/collections/215867-integrations-with-fyle`, | |||
XERO: `${brandingConfig.helpArticleDomain}/en/collections/215867-integrations-with-fyle` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
src/app/branding/branding-config.ts
Outdated
LANDING: `${brandingConfig.helpArticleDomain}/en/articles/6208620-how-to-set-up-the-fyle-quickbooks-online-integration`, | ||
CONNECTOR: `${brandingConfig.helpArticleDomain}/en/articles/6208620-how-to-set-up-the-fyle-quickbooks-online-integration-v2-0`, | ||
EMPLOYEE_SETTING: `${brandingConfig.helpArticleDomain}/en/articles/6208620-how-to-set-up-the-fyle-quickbooks-online-integration-v2-0#h_d70f1d54cc`, | ||
EXPORT_SETTING: `${brandingConfig.helpArticleDomain}/en/articles/6208620-how-to-set-up-the-fyle-quickbooks-online-integration-v2-0#h_dca1353686`, | ||
IMPORT_SETTING: `${brandingConfig.helpArticleDomain}/en/articles/6208620-how-to-set-up-the-fyle-quickbooks-online-integration-v2-0#h_b8a2df129f`, | ||
ADVANCED_SETTING: `${brandingConfig.helpArticleDomain}/en/articles/6208620-how-to-set-up-the-fyle-quickbooks-online-integration-v2-0#h_18c28de6c7`, | ||
SKIP_EXPORT: `${brandingConfig.helpArticleDomain}/en/articles/7044785-how-to-skip-exporting-specific-expenses-from-fyle-to-quickbooks-online` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
src/app/branding/branding-config.ts
Outdated
@@ -195,7 +217,8 @@ const demoVideoLinks: DemoVideo = { | |||
QBO: 'https://www.youtube.com/embed/b63lS2DG5j4', | |||
// TODO: Update link for MS Dynamics | |||
BUSINESS_CENTRAL: 'https://www.youtube.com/embed/2oYdc8KcQnk', | |||
TRAVELPERK: 'https://www.youtube.com/embed/2oYdc8KcQnk' | |||
TRAVELPERK: 'https://www.youtube.com/embed/2oYdc8KcQnk', | |||
XERO: 'https://www.youtube.com/embed/2oYdc8KcQnk' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use xero url
src/app/branding/branding-config.ts
Outdated
@@ -206,7 +229,8 @@ const demoVideoLinks: DemoVideo = { | |||
QBO: 'https://www.youtube.com/embed/b63lS2DG5j4', | |||
// TODO: Update link for MS Dynamics | |||
BUSINESS_CENTRAL: 'https://www.youtube.com/embed/2oYdc8KcQnk', | |||
TRAVELPERK: 'https://www.youtube.com/embed/2oYdc8KcQnk' | |||
TRAVELPERK: 'https://www.youtube.com/embed/2oYdc8KcQnk', | |||
XERO: 'https://www.youtube.com/embed/2oYdc8KcQnk' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
(warningAccepted)="acceptWarning($event)" | ||
[isWarningVisible]="isIncorrectXeroConnectedDialogVisible" | ||
[headerText]="'Incorrect account selected'" | ||
[contextText]="'You had previously set up the integration with a different QuickBooks Online account. Please choose the same to restore the settings'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Xero account, not qbo
private checkProgressAndRedirect(): void { | ||
const onboardingState: XeroOnboardingState = this.workspaceService.getOnboardingState(); | ||
if (onboardingState !== XeroOnboardingState.COMPLETE) { | ||
this.router.navigate(['integrations/xero/onboarding/connector']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
before redirecting to connector page, we should do a POST call to xero/tenants/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not fixed yet
@@ -40,7 +40,7 @@ | |||
<button *ngIf="isIntegrationConnected && (appName === AppName.BAMBOO_HR || appName === AppName.TRAVELPERK)" pButton type="button" class="p-button danger-outline" (click)="disconnect()"> | |||
{{ isConnectionInProgress ? 'Disconnecting' : 'Disconnect' }} | |||
</button> | |||
<button *ngIf="!isIntegrationConnected && (appName === AppName.QBD || appName === AppName.NETSUITE || appName === AppName.INTACCT || appName === AppName.SAGE300 || appName === AppName.BUSINESS_CENTRAL)" pButton type="button" class="p-button-raised" (click)="connect()"> | |||
<button *ngIf="!isIntegrationConnected && (appName === AppName.QBD || appName === AppName.NETSUITE || appName === AppName.INTACCT || appName === AppName.SAGE300 || appName === AppName.BUSINESS_CENTRAL || appName === AppName.XERO)" pButton type="button" class="p-button-raised" (click)="connect()"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should use custom button present in xero-app-2 here instead of Fyle button. The blue color one.
xero connector page construction
Merge branch 'master' into xero-onboarding-landing
@@ -72,6 +72,7 @@ export class XeroOnboardingLandingComponent implements OnInit, OnDestroy { | |||
private checkProgressAndRedirect(): void { | |||
const onboardingState: XeroOnboardingState = this.workspaceService.getOnboardingState(); | |||
if (onboardingState !== XeroOnboardingState.COMPLETE) { | |||
this.xeroConnectorService.postXeroTenants().subscribe(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DhaaraniCIT everything after this line do it inside subscribe block
Merge branch 'master' into xero-onboarding-landing
Merge branch 'master' into xero-onboarding-landing
xero configuration setting
clone settings construction
No description provided.