Skip to content
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

Production deploy #3963

Merged
merged 2 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions doc/how-to/how-to-setup-custom-subdomains.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ This guide will walk through the process of setting a custom domain for a new te

The `<TEAM_NAME>.key` file should be kept, we require this for step 5 onwards.

Please save these files to the PlanX vault on 1Password - this ensures that there's a backup than can be accessed by anybody on the dev team.


3. **IT Team** - Provide PlanX with certificates (details in documentation above)
- Certificates can be provided as individual files, or in an archive format (`.pfx`, `.pkcs12`, `.p12`)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useEffect, useRef } from "react";
import { Link } from "react-navi";
import { Link, useLoadingRoute } from "react-navi";
import scrollIntoView from "scroll-into-view-if-needed";

import { rootFlowPath } from "../../../../../routes/utils";
Expand All @@ -14,24 +14,29 @@ const EndPoint: React.FC<{ text: string }> = ({ text }) => {

const href = rootFlowPath(false);

const currentPath = rootFlowPath(true);
const isLoading = useLoadingRoute();

useEffect(() => {
if (isStart && el.current) {
if (isLoading) return;

scrollIntoView(
el.current,
flowLayout === FlowLayout.TOP_DOWN
? {
scrollMode: "if-needed",
scrollMode: "always",
block: "nearest",
inline: "center",
}
: {
scrollMode: "if-needed",
scrollMode: "always",
block: "center",
inline: "nearest",
},
);
}
}, [flowLayout, isStart]);
}, [flowLayout, isStart, currentPath, isLoading]);

return (
<li
Expand Down