-
Notifications
You must be signed in to change notification settings - Fork 12
fix: CLI command text review #64
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
1c4172d
fix: lightning preview app text
moorejacqueline f66c7dc
fix: lightning preview site text
moorejacqueline 94fb613
fix: khawkins maliroteh-sf edits 1
moorejacqueline 55f4d1b
Merge branch 'main' into moorejacqueline/revise-help
moorejacqueline b1d9cf4
fix: kevin's edits
moorejacqueline d853926
fix: jacqueline1
moorejacqueline dde2db1
fix: remove description for site name flag
moorejacqueline 4000f1f
fix: juliet's edits 1
moorejacqueline 745df1b
fix: juliet edits 2
moorejacqueline 46bfa5c
fix: nick edits 2
moorejacqueline 5b5336d
fix: broken link replacement temp
moorejacqueline 1e216b5
fix: nick suggestions and update feature name
moorejacqueline 6d2ce6c
fix: clarify app vs org in app.md
moorejacqueline 054181a
fix: removed linkless text
moorejacqueline 7f26866
Merge branch 'main' into moorejacqueline/revise-help
moorejacqueline 86e2625
fix: change Experience Cloud site to Experience Builder site
moorejacqueline c849ce9
Apply suggestions from code review
moorejacqueline 49c9b65
Merge branch 'main' into moorejacqueline/revise-help
nrkruk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
# summary | ||
|
||
Preview Lightning Experience Applications. | ||
Preview a Lightning Experience application locally and in real-time, without deploying it. | ||
|
||
# description | ||
|
||
Preview Lightning Experience Applications in real-time. | ||
With developer preview mode, see local changes to your app in a real-time preview that you don't have to deploy or manually refresh. To let you quickly iterate on your Lightning web components (LWCs) and pages, your app preview automatically refreshes when source code changes are detected. | ||
|
||
In dev preview mode, you can edit local files and see these changes to your Lightning Web Components (LWC) within your {org name} org: | ||
When you edit local files in developer preview mode, your LWCs reflect these changes within your {org name} org: | ||
|
||
- Basic HTML and CSS edits | ||
- Importing new CSS-only LWC | ||
- Importing new CSS-only LWCs | ||
- JS edits in-service component library | ||
- JS method changes in the LWC component that don't alter its public API. | ||
- JS method changes that don't affect the LWC's public API | ||
|
||
Other local changes require deployment to your org. However, changes made directly in your org (like modifying component properties and saving) are immediately live and won't show in your local files until you retrieve them from the org. | ||
|
||
This feature enables developers to quickly iterate on their components and pages, seeing the impact of changes in real-time without needing to deploy or refresh manually. Live reload is enabled by default to automatically refresh the preview when source code changes are detected. | ||
To see any other local changes in your app, you have to deploy to your org. If you make changes directly in your org (e.g., saving new component properties,) they're immediately live on your app. To update your local version of the app with those changes, you have to retrieve them from your org. | ||
|
||
Use the appropriate topic to preview specific aspects of the development environment. | ||
moorejacqueline marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
|
@@ -29,11 +27,11 @@ Username or alias of the target org. Not required if the `target-org` configurat | |
|
||
# flags.device-type.summary | ||
|
||
Type of device to emulate in preview. | ||
Type of device to emulate in the preview. | ||
moorejacqueline marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
# flags.device-id.summary | ||
|
||
For mobile virtual devices, specify the device ID to preview. If omitted, the first available virtual device will be used. | ||
ID of the mobile device to emulate the preview when device type is set to `mobile`. The default value is the ID of the first available mobile device. | ||
moorejacqueline marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
# error.fetching.app-id | ||
|
||
|
@@ -71,74 +69,79 @@ Downloading | |
|
||
# certificate.installation.description | ||
|
||
If you have not done so already, please install the self-signed certificate on your device before proceeding. The certificate file is located at | ||
Before proceeding, make sure you installed the self-signed certificate on your device. The certificate file is located at | ||
moorejacqueline marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
`%s` | ||
|
||
Follow the steps below to install the certificate: | ||
To install the certificate, follow these steps: | ||
|
||
%s | ||
|
||
# certificate.installation.steps.ios | ||
|
||
1. Drag and drop the file on to your booted simulator. | ||
2. Tap `Allow` to proceed with downloading the configuration file. | ||
3. Tap `Close` and navigate to `Settings > General > VPN & Device Management > localhost`. | ||
4. Tap `Install` in the title bar, in the warning window, and on the install button. | ||
5. In the `Profile Installed` view, confirm that the profile shows as `Verified` and Tap `Done`. | ||
6. Now navigate to `Settings > General > About > Certificate Trust Settings`. | ||
7. Toggle full trust for `localhost` to enable full trust. | ||
8. In the warning dialog, tap `Continue`. | ||
1. Drag and drop the file onto your booted simulator. | ||
2. Click `Allow` to proceed with downloading the configuration file. | ||
moorejacqueline marked this conversation as resolved.
Show resolved
Hide resolved
|
||
3. Click `Close` and navigate to `Settings > General > VPN & Device Management > localhost`. | ||
4. Click `Install` in the title bar, in the warning window, and on the install button. | ||
5. In the `Profile Installed` view, confirm that the profile displays `Verified` and then click `Done`. | ||
6. Navigate to `Settings > General > About > Certificate Trust Settings`. | ||
7. Enable full trust for `localhost`. | ||
8. In the resulting warning pop-up, click `Continue`. | ||
|
||
# certificate.installation.steps.android | ||
|
||
1. Drag and drop the file on to your booted emulator. | ||
1. Drag and drop the file onto your booted emulator. | ||
2. %s | ||
3. Browse to the certificate file that you transferred from step 1 (usually under `/sdcard/download`). | ||
3. Navigate to the certificate file from step 1. (It's usually located in `/sdcard/download`). | ||
4. Follow the on-screen instructions to install it. | ||
5. Tap on `User credentials` under `Credential storage` and verify that your certificate is listed there. | ||
6. Tap on `Trusted credentials` under `Credential storage`. Then tap on `USER` and verify that your certificate is listed there. | ||
5. Click `User credentials` under `Credential storage` and verify that your certificate is listed there. | ||
6. Click `Trusted credentials` under `Credential storage`. Then click `USER` and verify that page lists your certificate. | ||
|
||
# certificate.installation.steps.android.nav-target-api-24-25 | ||
|
||
Navigate to `Settings > Security` and tap on `Install from SD card` under `Credential storage`. | ||
Navigate to `Settings > Security` and click `Install from SD card` under `Credential storage`. | ||
|
||
# certificate.installation.steps.android.nav-target-api-26-27 | ||
|
||
Navigate to `Settings > Security & Location > Encryption & credentials` and tap on `Install from SD card` under `Credential storage`. | ||
Navigate to `Settings > Security & Location > Encryption & credentials` and click `Install from SD card` under `Credential storage`. | ||
|
||
# certificate.installation.steps.android.nav-target-api-28 | ||
|
||
Navigate to `Settings > Security & Location > Advanced > Encryption & credentials` and tap on `Install from SD card` under `Credential storage`. | ||
Navigate to `Settings > Security & Location > Advanced > Encryption & credentials` and click `Install from SD card` under `Credential storage`. | ||
|
||
# certificate.installation.steps.android.nav-target-api-29 | ||
|
||
Navigate to `Settings > Security > Encryption & credentials` and tap on `Install from SD card` under `Credential storage`. | ||
Navigate to `Settings > Security > Encryption & credentials` and click `Install from SD card` under `Credential storage`. | ||
|
||
# certificate.installation.steps.android.nav-target-api-30-32 | ||
|
||
Navigate to `Settings > Security > Encryption & credentials` and tap on `Install a certificate` under `Credential storage`. Now tap on `CA certificate` and on `Install anyway`. | ||
Navigate to `Settings > Security > Encryption & credentials` and click `Install a certificate` under `Credential storage`. Click `CA certificate`, and then click `Install anyway`. | ||
|
||
# certificate.installation.steps.android.nav-target-api-33 | ||
|
||
Navigate to `Settings > Security > More security settings > Encryption & credentials` and tap on `Install a certificate` under `Credential storage`. Now tap on `CA certificate` and on `Install anyway`. | ||
Navigate to `Settings > Security > More security settings > Encryption & credentials` and click `Install a certificate` under `Credential storage`. Click `CA certificate`, and then click `Install anyway`. | ||
|
||
# certificate.installation.steps.android.nav-target-api-34-up | ||
|
||
Navigate to `Settings > Security & Privacy > More security & privacy > Encryption & credentials` and tap on `Install a certificate` under `Credential storage`. Now tap on `CA certificate` and on `Install anyway`. | ||
Navigate to `Settings > Security & Privacy > More security & privacy > Encryption & credentials` and click `Install a certificate` under `Credential storage`. Click `CA certificate`, and then click `Install anyway`. | ||
|
||
# certificate.waiting | ||
|
||
After installing the certificate, press any key to continue... | ||
After you install certificate, press any key to continue... | ||
moorejacqueline marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
# mobileapp.notfound | ||
|
||
%s is not installed on your device. | ||
%s isn't installed on your device. | ||
|
||
# mobileapp.download | ||
|
||
%s is not installed on your device. Do you want to download and install it | ||
%s isn't installed on your device. Do you want to download and install it? | ||
|
||
# examples | ||
|
||
- <%= config.bin %> <%= command.id %> | ||
- Preview the target org "myOrg" in a desktop environment. | ||
<%= config.bin %> <%= command.id %> --target-org myOrg | ||
- Preview the application "myApp" for the target org "myOrg" in a desktop environment: | ||
moorejacqueline marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<%= config.bin %> <%= command.id %> --name MyApp --target-org myOrg --device-type desktop | ||
- Preview the target org "myOrg" on an iOS device: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto above comment -- try to rewrite so you're explaining the app that's being previewed. |
||
<%= config.bin %> <%= command.id %> --target-org myOrg --device-type ios --device-id "37C98F87-63C4" | ||
moorejacqueline marked this conversation as resolved.
Show resolved
Hide resolved
|
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.