Skip to content

feat: prepare salesforce managed package for release#1813

Open
paustint wants to merge 3 commits into
mainfrom
fix/canvas-app
Open

feat: prepare salesforce managed package for release#1813
paustint wants to merge 3 commits into
mainfrom
fix/canvas-app

Conversation

@paustint

Copy link
Copy Markdown
Contributor
  • Updated package name and versioning in sfdx-project.json.
  • Revised documentation to reflect the new name and subscription requirements.
  • Changed title in index.html to Jetstream for Salesforce.
  • Implemented color scheme management in the app with new hooks and state management.
  • Enhanced preferences controller to support color scheme settings.
  • Added color scheme handling in the web extension.
  • Updated HeaderNavbar to include color scheme selection functionality.
  • Adjusted build scripts to include jetstream-canvas in core builds.

Copilot AI review requested due to automatic review settings June 21, 2026 01:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Prepares the Salesforce managed package (“Jetstream for Salesforce”) for release, including branding/versioning updates and end-to-end color scheme (light/dark/system) support across Canvas and the browser extension.

Changes:

  • Update managed package branding/versioning + related docs and HTML title.
  • Add color scheme persistence and UI selection in HeaderNavbar, Canvas (Salesforce Custom Setting), and the web extension (chrome.storage).
  • Adjust build pipeline to include jetstream-canvas in core production builds.

Reviewed changes

Copilot reviewed 22 out of 25 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
package.json Adds jetstream-canvas to build:core projects.
libs/shared/ui-core/src/app/HeaderNavbar.tsx Adds color scheme props + theme picker plumbing for embedded hosts (Canvas/extension).
libs/shared/data/src/lib/client-data.ts Extends Canvas preferences API typings to include colorScheme.
apps/jetstream-web-extension/src/pages/app/App.tsx Wires HeaderNavbar to extension-backed color scheme state.
apps/jetstream-web-extension/src/hooks/useExtensionColorScheme.ts New hook to read/write extension color scheme in browser.storage.local.options.
apps/jetstream-canvas/src/controllers/preferences.canvas.controller.ts Adds colorScheme field mapping to Salesforce custom setting preferences.
apps/jetstream-canvas/src/app/core/useCanvasColorScheme.ts New Canvas hook/atom to persist color scheme to Salesforce preferences.
apps/jetstream-canvas/src/app/core/AppInitializer.tsx Seeds Canvas color scheme atom from loaded preferences.
apps/jetstream-canvas/src/app/app.tsx Applies Canvas color scheme via ThemeApplier and exposes picker via HeaderNavbar.
apps/jetstream-canvas/index.html Updates page title to “Jetstream for Salesforce”.
apps/docs/docs/getting-started/managed-package/managed-package.mdx Rebrands + updates install/access/pre-auth instructions and troubleshooting.
apps-sfdx/sfdx-project.json Renames package, updates versioning/API version, and adds package aliases.
apps-sfdx/README.md Rewrites managed package README with setup, structure, and permissions guidance.
apps-sfdx/canvas-app/unpackaged/main/default/profiles/Admin.profile-meta.xml Removes an unpackaged Admin profile definition.
apps-sfdx/canvas-app/unpackaged/main/default/extlClntAppPolicies/Jetstream_Canvas_plcy.ecaPlcy-meta.xml Adds unpackaged External Client App policies metadata.
apps-sfdx/canvas-app/unpackaged/main/default/extlClntAppOauthPolicies/Jetstream_Canvas_oauthPlcy.ecaOauthPlcy-meta.xml Adds unpackaged OAuth policy metadata for dev orgs/scratch orgs.
apps-sfdx/canvas-app/unpackaged/main/default/appMenus/AppSwitcher.appMenu-meta.xml Adds unpackaged AppMenu definition including the ECA.
apps-sfdx/canvas-app/jetstream/main/default/pages/JetstreamPage.page-meta.xml Bumps API version to 67.0.
apps-sfdx/canvas-app/jetstream/main/default/objects/UserPreferences__c/UserPreferences__c.object-meta.xml Updates description branding.
apps-sfdx/canvas-app/jetstream/main/default/objects/UserPreferences__c/fields/ColorScheme__c.field-meta.xml Adds ColorScheme custom setting field.
apps-sfdx/canvas-app/jetstream/main/default/extlClntAppOauthSettings/Jetstream_Canvas_oauth.ecaOauth-meta.xml Updates ECA OAuth settings (notably oauthLink).
apps-sfdx/canvas-app/jetstream/main/default/externalClientApps/Jetstream_Canvas.eca-meta.xml Updates user-facing ECA label + org-scoped reference.
apps-sfdx/canvas-app/jetstream/main/default/classes/UserPreferencesTest.cls-meta.xml Bumps API version to 67.0.
apps-sfdx/canvas-app/jetstream/main/default/classes/JetstreamPageControllerTest.cls-meta.xml Bumps API version to 67.0.
apps-sfdx/canvas-app/jetstream/main/default/classes/JetstreamPageController.cls-meta.xml Bumps API version to 67.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread apps-sfdx/README.md Outdated
- Updated package name and versioning in sfdx-project.json.
- Revised documentation to reflect the new name and subscription requirements.
- Changed title in index.html to Jetstream for Salesforce.
- Implemented color scheme management in the app with new hooks and state management.
- Enhanced preferences controller to support color scheme settings.
- Added color scheme handling in the web extension.
- Updated HeaderNavbar to include color scheme selection functionality.
- Adjusted build scripts to include jetstream-canvas in core builds.
Copilot AI review requested due to automatic review settings June 21, 2026 02:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 25 out of 28 changed files in this pull request and generated 3 comments.

Comment thread scripts/release-salesforce.mjs
Comment thread libs/shared/ui-core/src/app/HeaderNavbar.tsx

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 25 out of 28 changed files in this pull request and generated 4 comments.

Comment thread apps/jetstream-canvas/src/controllers/preferences.canvas.controller.ts Outdated
Comment thread apps-sfdx/scripts/sfdx/release.mjs
Comment thread apps-sfdx/sfdx-project.json
Comment thread apps-sfdx/README.md Outdated
Copilot AI review requested due to automatic review settings June 21, 2026 16:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 26 out of 29 changed files in this pull request and generated 1 comment.

Comment thread scripts/release-salesforce.mjs

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 26 out of 29 changed files in this pull request and generated 1 comment.

Comment on lines +155 to +158
// Embedded hosts inject the value + setter; web/desktop fall back to the IndexedDB-backed preference.
const colorScheme: ColorScheme = colorSchemeOverride ?? userPreferences?.colorScheme ?? 'light';
// Canvas normally hides the picker; show it when a host wires up its own persistence.
const showThemePicker = !isCanvasApp() || !!onColorSchemeChange;
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