Skip to content

Commit ea09054

Browse files
craig[bot]xinhaozrickystewart
committed
142925: cluster-ui: restructure db pages r=xinhaoz a=xinhaoz Please see individual commits. This PR reorganizes the folder structure of components for the db pages. Folder structure: ``` /src |-- pages/ | |-- databases/ | | |-- databsesPageRoot.tsx # previously index.ts | | |-- index.ts # exports root and views | | |-- /views | | | |-- databaseDetailsV2/ | | | |-- tableDetailsV2/ | | |-- ... ``` 143753: ci: run `bors` runs with heightened priority r=jlinder a=rickystewart We give `bors` CI runs (runs on `staging`) a higher priority than standard runs so they're less likely to time out. Part of: DEVINF-1449 Epic: DEVINF-1424 Release note: None Co-authored-by: Xin Hao Zhang <[email protected]> Co-authored-by: Ricky Stewart <[email protected]>
3 parents e07a8c8 + 72a0758 + 4a79048 commit ea09054

37 files changed

+104
-59
lines changed

build/github/engflow-args.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010

1111
ARGS='--config engflowpublic --tls_client_certificate=/home/agent/engflow.crt --tls_client_key=/home/agent/engflow.key --experimental_build_event_upload_retry_minimum_delay 3s --experimental_build_event_upload_max_retries 8'
1212

13+
if [ "$GITHUB_ACTIONS_BRANCH" == "staging" ]
14+
then
15+
ARGS="$ARGS --remote_execution_priority=6"
16+
fi
17+
1318
if [ ! -z "$GITHUB_ACTIONS_BRANCH" ]
1419
then
1520
ARGS="$ARGS --bes_keywords branch=$GITHUB_ACTIONS_BRANCH"

pkg/ui/workspaces/cluster-ui/src/components/grantsTable/util.ts

Lines changed: 0 additions & 28 deletions
This file was deleted.

pkg/ui/workspaces/cluster-ui/src/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import "./protobufInit";
77
import * as api from "./api";
88
import * as util from "./util";
9+
910
export * from "./anchor";
1011
export * from "./badge";
1112
export * from "./barCharts";
@@ -48,9 +49,7 @@ export * from "./selectors";
4849
export * from "./contexts";
4950
export * from "./timestamp";
5051
export * from "./antdTheme";
51-
export * from "./databasesV2";
52-
export * from "./databaseDetailsV2";
53-
export * from "./tableDetailsV2";
52+
export * from "./pages";
5453
// Reexport ConfigProvider instance from cluster-ui as exact instance
5554
// required in Db Console to apply Antd theme in Db Console.
5655
// TODO (koorosh): is it possible to define antd pacakge as peerDependency

pkg/ui/workspaces/cluster-ui/src/components/grantsTable/index.tsx renamed to pkg/ui/workspaces/cluster-ui/src/pages/databases/components/grantsTable/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@
66
import React, { useState } from "react";
77

88
import { GrantsSortOptions } from "src/api/databases/grantsApi";
9+
import { PageSection } from "src/layouts";
910
import PageCount from "src/sharedFromCloud/pageCount";
1011
import {
1112
TableColumnProps,
1213
Table,
1314
TableChangeFn,
1415
} from "src/sharedFromCloud/table";
1516

16-
import { PageSection } from "../../layouts";
17-
1817
// This type is used by data source for the table.
1918
export type GrantsByUser = {
2019
key: string;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Copyright 2025 The Cockroach Authors.
2+
//
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
5+
6+
export * from "./nodeRegionsSelector/nodeRegionsSelector";
7+
export * from "./regionNodesLabel/regionNodesLabel";
8+
export * from "./tableMetadataLastUpdated/tableMetadataJobControl";
9+
export * from "./tableMetadataLastUpdated/tableMetadataJobProgress";
10+
export * from "./tooltipMessages";
11+
export * from "./grantsTable";

0 commit comments

Comments
 (0)