fix: update BUNDLES_SIDEBAR_FOLDER_NAMES constant to include "Notion" (#3651)
* chore: update BUNDLES_SIDEBAR_FOLDER_NAMES constant to include "Notion" * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
9368aef91e
commit
076f4f0772
3 changed files with 9 additions and 2 deletions
|
|
@ -728,7 +728,7 @@ export const PRIORITY_SIDEBAR_ORDER = [
|
|||
"embeddings",
|
||||
];
|
||||
|
||||
export const BUNDLES_SIDEBAR_FOLDER_NAMES = ["notion"];
|
||||
export const BUNDLES_SIDEBAR_FOLDER_NAMES = ["notion", "Notion"];
|
||||
|
||||
export const AUTHORIZED_DUPLICATE_REQUESTS = [
|
||||
"/health",
|
||||
|
|
|
|||
|
|
@ -256,7 +256,11 @@ export default function ExtraSidebar(): JSX.Element {
|
|||
>
|
||||
{Object.keys(dataFilter)
|
||||
.sort(sortKeys)
|
||||
.filter((x) => !PRIORITY_SIDEBAR_ORDER.includes(x))
|
||||
.filter(
|
||||
(x) =>
|
||||
!PRIORITY_SIDEBAR_ORDER.includes(x) &&
|
||||
!BUNDLES_SIDEBAR_FOLDER_NAMES.includes(x),
|
||||
)
|
||||
.map((SBSectionName: keyof APIObjectType, index) =>
|
||||
Object.keys(dataFilter[SBSectionName]).length > 0 ? (
|
||||
<SidebarCategoryComponent
|
||||
|
|
|
|||
|
|
@ -287,6 +287,7 @@ export const nodeColors: { [char: string]: string } = {
|
|||
toolkits: "#DB2C2C",
|
||||
wrappers: "#E6277A",
|
||||
notion: "#000000",
|
||||
Notion: "#000000",
|
||||
helpers: "#31A3CC",
|
||||
prototypes: "#E6277A",
|
||||
astra_assistants: "#272541",
|
||||
|
|
@ -314,6 +315,7 @@ export const nodeNames: { [char: string]: string } = {
|
|||
prompts: "Prompts",
|
||||
models: "Models",
|
||||
notion: "Notion",
|
||||
Notion: "Notion",
|
||||
model_specs: "Model Specs",
|
||||
chains: "Chains",
|
||||
agents: "Agents",
|
||||
|
|
@ -410,6 +412,7 @@ export const nodeIconsLucide: iconsType = {
|
|||
MongoDB: MongoDBIcon,
|
||||
MongoDBChatMessageHistory: MongoDBIcon,
|
||||
notion: NotionIcon,
|
||||
Notion: NotionIcon,
|
||||
NotionDirectoryLoader: NotionIcon,
|
||||
NVIDIA: NvidiaIcon,
|
||||
ChatOpenAI: OpenAiIcon,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue