Skip to content

Add BB Salesforce Configs#58

Merged
kflemin merged 3 commits into
mainfrom
add-bb-salesforce-configs
May 1, 2026
Merged

Add BB Salesforce Configs#58
kflemin merged 3 commits into
mainfrom
add-bb-salesforce-configs

Conversation

@kflemin
Copy link
Copy Markdown
Contributor

@kflemin kflemin commented Mar 29, 2026

Add Portfolio Salesforce Integration & Use Translation Keys
Adds BB configs only (no portfolio page integration)
Builds on top of #57

New: Portfolio of Properties (BB Salesforce)

  • New BbSalesforceService with config CRUD, OAuth login URL, token exchange, logout, and token verification
  • New BbSalesforceConfig type and response types
  • Added bb_salesforce_enabled to Organization type
  • UI: toggle that hides/shows config, URL/Client ID/Client Secret fields, connection status indicator, Login/Logout
    buttons
  • Column Mappings tab remains exclusive to Individual Properties

Translation Keys

  • All strings now use existing SF_* keys (e.g., SF_CONNECTION_TEXT, SF_DOMAIN_TEXT) instead of hardcoded
    English
  • Toggle labels updated: "Individual Properties" vs "Portfolio of Properties"
  • Descriptions use new SF_BUILDING_DESC and SF_PORTFOLIO_DESC keys
  • 14 new keys added via Lokalise

@kflemin kflemin requested a review from axelstudios March 29, 2026 04:02
@kflemin
Copy link
Copy Markdown
Contributor Author

kflemin commented May 1, 2026

@copilot resolve the merge conflicts in this pull request

Co-authored-by: kflemin <2205659+kflemin@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented May 1, 2026

@copilot resolve the merge conflicts in this pull request

Merge conflicts have been resolved in commit 7a21b8a. The two conflicting files were:

  • salesforce.component.html — kept the translation key approach (e.g., SF_CONNECTION_TEXT, SF_SECURITY_TOKEN_TEXT, SF_DOMAIN_TEXT) from this branch
  • salesforce.component.ts — kept the BB Salesforce functionality (toggle, login/logout, submit, token verification methods) from this branch

The build passes successfully after the merge.

Copilot finished work on behalf of kflemin May 1, 2026 18:47
@kflemin kflemin merged commit d7391cf into main May 1, 2026
1 check passed
@kflemin kflemin deleted the add-bb-salesforce-configs branch May 1, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants