feat: prepare salesforce managed package for release#1813
Open
paustint wants to merge 3 commits into
Open
Conversation
paustint
commented
Jun 21, 2026
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.
Contributor
There was a problem hiding this comment.
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-canvasin 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.
- 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.
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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.