Skip to content

Commit

Permalink
Fix broken link in "troubleshooting network errors" (#7073)
Browse files Browse the repository at this point in the history
  • Loading branch information
brittanyjoiner15 committed Dec 8, 2023
1 parent fa3a90a commit cc77c21
Show file tree
Hide file tree
Showing 20 changed files with 26 additions and 26 deletions.
6 changes: 3 additions & 3 deletions src/__snapshots__/Storyshots.test.js.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/analysis/analysisVisitors/templateAnalysis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import {
} from "@/utils/expressionUtils";

const TEMPLATE_ERROR_MESSAGE =
"Invalid text template. Read more about text templates: https://docs.pixiebrix.com/nunjucks-templates";
"Invalid text template. Read more about text templates: https://docs.pixiebrix.com/developing-mods/developer-concepts/text-template-guide";

type PushAnnotationArgs = {
position: BrickPosition;
Expand Down
2 changes: 1 addition & 1 deletion src/components/errors/NetworkErrorDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const NetworkErrorDetail: React.FunctionComponent<{
<div>
PixieBrix did not receive a response. See{" "}
<a
href="https://docs.pixiebrix.com/network-errors"
href="https://docs.pixiebrix.com/how-to/troubleshooting/troubleshooting-network-errors"
target="_blank"
rel="noreferrer"
>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/errors/getErrorDetails.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ test("Network error", async () => {
name: "ClientNetworkError",
message: "Network error. No response received.",
stack:
"ClientNetworkError: No response received. Your browser may have blocked the request. See https://docs.pixiebrix.com/network-errors for troubleshooting information\n at enrichBusinessRequestError (chrome-extension://mpjjildhmpddojocokjkgmlkkkfjnepo/background.js:54834:12)\n at async serializableAxiosRequest (chrome-extension://mpjjildhmpddojocokjkgmlkkkfjnepo/background.js:43429:15)\n at async handleMessage (chrome-extension://mpjjildhmpddojocokjkgmlkkkfjnepo/background.js:67712:22)",
"ClientNetworkError: No response received. Your browser may have blocked the request. See https://docs.pixiebrix.com/how-to/troubleshooting/troubleshooting-network-errors for troubleshooting information\n at enrichBusinessRequestError (chrome-extension://mpjjildhmpddojocokjkgmlkkkfjnepo/background.js:54834:12)\n at async serializableAxiosRequest (chrome-extension://mpjjildhmpddojocokjkgmlkkkfjnepo/background.js:43429:15)\n at async handleMessage (chrome-extension://mpjjildhmpddojocokjkgmlkkkfjnepo/background.js:67712:22)",
};

const { title, detailsElement } = getErrorDetails(error);
Expand Down
2 changes: 1 addition & 1 deletion src/components/fields/schemaFields/WorkshopMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const WorkshopMessage: React.FC = () => (
This brick configuration uses advanced features not yet supported in the
Page Editor. To make changes, please open the mod in the Workshop.{" "}
<a
href="https://docs.pixiebrix.com/developer-guide"
href="https://docs.pixiebrix.com/developing-mods/advanced-workshop"
target="_blank"
rel="noreferrer"
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/quickBar/defaultActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const defaultActions: Action[] = [
icon: <FontAwesomeIcon icon={faAppleAlt} fixedWidth />,
priority: Priority.LOW,
perform() {
window.location.href = "https://docs.pixiebrix.com/quick-start-guide";
window.location.href = "https://docs.pixiebrix.com/quick-start";
},
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/errors/networkErrorHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function isAxiosError(error: unknown): error is SerializableAxiosError {
export const NO_INTERNET_MESSAGE =
"No response received. You are not connected to the internet.";
export const NO_RESPONSE_MESSAGE =
"No response received. Your browser may have blocked the request. See https://docs.pixiebrix.com/network-errors for troubleshooting information";
"No response received. Your browser may have blocked the request. See https://docs.pixiebrix.com/how-to/troubleshooting/troubleshooting-network-errors for troubleshooting information";

/**
* @deprecated DO NOT CALL DIRECTLY. Call getErrorMessage
Expand Down
2 changes: 1 addition & 1 deletion src/extensionConsole/pages/activateMod/PermissionsBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const QuickBarAlert = () => (
<u>configured your Quick Bar shortcut</u>.
</a>{" "}
Learn more about{" "}
<a href="https://docs.pixiebrix.com/quick-bar-setup">
<a href="https://docs.pixiebrix.com/how-to/changing-the-quick-bar-shortcut">
<u>configuring keyboard shortcuts</u>
</a>
</Alert>
Expand Down
2 changes: 1 addition & 1 deletion src/extensionConsole/pages/mods/GetStartedView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const GetStartedView: React.VoidFunctionComponent<{
Visit the{" "}
<ExternalLink
linkText="Quick Start Guide"
url="https://docs.pixiebrix.com/quick-start-guide"
url="https://docs.pixiebrix.com/quick-start"
/>{" "}
or ask questions in the{" "}
<ExternalLink
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const UnaffiliatedColumn: React.VoidFunctionComponent = () => (
<div className="align-self-center">
<a
className="btn btn-primary"
href="https://docs.pixiebrix.com/quick-start-guide"
href="https://docs.pixiebrix.com/quick-start"
target="_blank"
rel="noopener noreferrer"
>
Expand All @@ -121,7 +121,7 @@ const CreateBrickColumn: React.VoidFunctionComponent = () => (
</p>
<a
className="btn btn-info btn-sm"
href="https://docs.pixiebrix.com/quick-start-guide"
href="https://docs.pixiebrix.com/quick-start"
target="_blank"
rel="noopener noreferrer"
>
Expand Down
2 changes: 1 addition & 1 deletion src/pageEditor/NonScriptablePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const NeedHelp: React.FunctionComponent = () => (
<p>
Visit the{" "}
<a
href="https://docs.pixiebrix.com/quick-start-guide"
href="https://docs.pixiebrix.com/quick-start"
target="_blank"
rel="noopener noreferrer"
>
Expand Down
4 changes: 2 additions & 2 deletions src/pageEditor/panes/EditorPane.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ describe("validation", () => {

expectEditorError(
container,
"Invalid text template. Read more about text templates: https://docs.pixiebrix.com/nunjucks-templates",
"Invalid text template. Read more about text templates: https://docs.pixiebrix.com/developing-mods/developer-concepts/text-template-guide",
);
});

Expand Down Expand Up @@ -723,7 +723,7 @@ describe("validation", () => {

expectEditorError(
container,
"Invalid text template. Read more about text templates: https://docs.pixiebrix.com/nunjucks-templates",
"Invalid text template. Read more about text templates: https://docs.pixiebrix.com/developing-mods/developer-concepts/text-template-guide",
);
});

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/pageEditor/tabs/editTab/UnsupportedApiV1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const UnsupportedApiV1: React.FC = () => (
<p>
Use the Workshop to edit this mod.{" "}
<a
href="https://docs.pixiebrix.com/runtime"
href="https://docs.pixiebrix.com/developing-mods/developer-concepts/advanced-brick-runtime"
target="_blank"
rel="noreferrer"
>
Expand Down
2 changes: 1 addition & 1 deletion src/pageEditor/tabs/editTab/UpgradedToApiV3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const UpgradedToApiV3: React.FC = () => {
API v2. We&apos;ve attempted to automatically convert this mod to
runtime API v3.{" "}
<a
href="https://docs.pixiebrix.com/runtime"
href="https://docs.pixiebrix.com/developing-mods/developer-concepts/advanced-brick-runtime"
target="_blank"
rel="noreferrer"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const PageStateTab: React.VFC = () => {
</div>
<div className="ml-2">
<a
href="https://docs.pixiebrix.com/page-state"
href="https://docs.pixiebrix.com/developing-mods/developer-concepts/data-context/using-page-state-advanced"
target="_blank"
rel="noreferrer"
>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/sidebar/DefaultPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const OnboardingContent: React.FunctionComponent = () => (
<p>
Visit the{" "}
<a
href="https://docs.pixiebrix.com/quick-start-guide"
href="https://docs.pixiebrix.com/quick-start"
target="_blank"
rel="noopener noreferrer"
>
Expand Down

0 comments on commit cc77c21

Please sign in to comment.