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:
Eric Lewis 2024-04-09 17:20:40 -04:00 committed by GitHub
commit 4774074b67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 29 deletions

View File

@ -18,7 +18,6 @@ import {
GithubStrokeIcon,
GlobeIcon,
LinkIcon,
StorageIcon,
} from 'components/shared/CustomIcon';
import { Tag } from 'components/shared/Tag';
import { Activity } from 'components/projects/project/overview/Activity';
@ -171,20 +170,6 @@ const OverviewTabPanel = () => {
</div>
</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 */}
<OverviewInfo label="Deployment URL" icon={<CursorBoxIcon />}>
<div className="flex gap-2 items-center">

View File

@ -9,16 +9,6 @@ import { EnvironmentVariablesTabPanel } from './settings/EnvironmentVariables';
import MembersTabPanel from './settings/Members';
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 = () => (
<div>
Content of integrations tab
@ -60,10 +50,6 @@ export const projectTabRoutes = [
path: 'deployments',
element: <DeploymentsTabPanel />,
},
{
path: 'database',
element: <Database />,
},
{
path: 'integrations',
element: <Integrations />,