mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-11-17 20:39:19 +00:00
Merge pull request #170 from snowball-tools/eric/airf-28-dashboard-hide-database-from-project-tab
fix: remove database tabs & overviews
This commit is contained in:
commit
4774074b67
@ -18,7 +18,6 @@ import {
|
|||||||
GithubStrokeIcon,
|
GithubStrokeIcon,
|
||||||
GlobeIcon,
|
GlobeIcon,
|
||||||
LinkIcon,
|
LinkIcon,
|
||||||
StorageIcon,
|
|
||||||
} from 'components/shared/CustomIcon';
|
} from 'components/shared/CustomIcon';
|
||||||
import { Tag } from 'components/shared/Tag';
|
import { Tag } from 'components/shared/Tag';
|
||||||
import { Activity } from 'components/projects/project/overview/Activity';
|
import { Activity } from 'components/projects/project/overview/Activity';
|
||||||
@ -171,20 +170,6 @@ const OverviewTabPanel = () => {
|
|||||||
</div>
|
</div>
|
||||||
</OverviewInfo>
|
</OverviewInfo>
|
||||||
|
|
||||||
{/* DATABASE */}
|
|
||||||
<OverviewInfo label="Database" icon={<StorageIcon />}>
|
|
||||||
<div className="flex gap-2 items-center">
|
|
||||||
<Link to="#">
|
|
||||||
<span className="group text-controls-primary hover:border-controls-primary transition-colors border-b border-b-transparent flex gap-2 items-center text-sm tracking-tight">
|
|
||||||
{/* // TODO: add db name
|
|
||||||
dbname
|
|
||||||
*/}
|
|
||||||
<LinkIcon className="group-hover:rotate-45 transition-transform" />
|
|
||||||
</span>
|
|
||||||
</Link>
|
|
||||||
</div>
|
|
||||||
</OverviewInfo>
|
|
||||||
|
|
||||||
{/* DEPLOYMENT */}
|
{/* DEPLOYMENT */}
|
||||||
<OverviewInfo label="Deployment URL" icon={<CursorBoxIcon />}>
|
<OverviewInfo label="Deployment URL" icon={<CursorBoxIcon />}>
|
||||||
<div className="flex gap-2 items-center">
|
<div className="flex gap-2 items-center">
|
||||||
|
@ -9,16 +9,6 @@ import { EnvironmentVariablesTabPanel } from './settings/EnvironmentVariables';
|
|||||||
import MembersTabPanel from './settings/Members';
|
import MembersTabPanel from './settings/Members';
|
||||||
import Domains from './settings/Domains';
|
import Domains from './settings/Domains';
|
||||||
|
|
||||||
const Database = () => (
|
|
||||||
<div>
|
|
||||||
Content of database tab
|
|
||||||
<p className="block">
|
|
||||||
It is a long established fact that a reader will be distracted by the
|
|
||||||
readable content of a page when looking at its layout.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
|
|
||||||
const Integrations = () => (
|
const Integrations = () => (
|
||||||
<div>
|
<div>
|
||||||
Content of integrations tab
|
Content of integrations tab
|
||||||
@ -60,10 +50,6 @@ export const projectTabRoutes = [
|
|||||||
path: 'deployments',
|
path: 'deployments',
|
||||||
element: <DeploymentsTabPanel />,
|
element: <DeploymentsTabPanel />,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: 'database',
|
|
||||||
element: <Database />,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: 'integrations',
|
path: 'integrations',
|
||||||
element: <Integrations />,
|
element: <Integrations />,
|
||||||
|
Loading…
Reference in New Issue
Block a user