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

Name check #465

Merged
merged 92 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
e568d7e
insane renaming behavior
D-B-Hawk Feb 21, 2024
aa6ae51
have to commit multiple times for a name change...insane
D-B-Hawk Feb 21, 2024
abbac88
somehow unable to find direct path to comp
D-B-Hawk Feb 21, 2024
597e895
another check
D-B-Hawk Feb 21, 2024
64a5d66
anotherone
D-B-Hawk Feb 21, 2024
6eb0bde
see
D-B-Hawk Feb 21, 2024
3659552
myabe
D-B-Hawk Feb 21, 2024
2e0aca2
yah
D-B-Hawk Feb 21, 2024
f600520
rename applicationsFilter
D-B-Hawk Feb 21, 2024
3729dc3
change banner
D-B-Hawk Feb 21, 2024
03f124c
yup
D-B-Hawk Feb 22, 2024
06e693a
huh
D-B-Hawk Feb 22, 2024
f7ed185
auto
D-B-Hawk Feb 22, 2024
aa46589
amazing
D-B-Hawk Feb 22, 2024
de8a6be
typo
D-B-Hawk Feb 22, 2024
5391eda
button
D-B-Hawk Feb 22, 2024
5171d54
card
D-B-Hawk Feb 22, 2024
035347d
checkbox
D-B-Hawk Feb 22, 2024
e7f704d
cloud provider card
D-B-Hawk Feb 22, 2024
eb315c3
cluster details
D-B-Hawk Feb 22, 2024
9c834a2
cluster map
D-B-Hawk Feb 22, 2024
7e16fb0
cluster ready
D-B-Hawk Feb 22, 2024
8b04c1c
cluster table
D-B-Hawk Feb 22, 2024
159b0fe
cluster usage table
D-B-Hawk Feb 22, 2024
ae4d800
column
D-B-Hawk Feb 22, 2024
243e97f
content hit
D-B-Hawk Feb 22, 2024
21c24c3
copy button
D-B-Hawk Feb 22, 2024
7064744
copy command
D-B-Hawk Feb 22, 2024
20339b6
create env menu
D-B-Hawk Feb 22, 2024
e2715b8
delete cluster
D-B-Hawk Feb 22, 2024
db7e4d5
delete env
D-B-Hawk Feb 22, 2024
35a38a8
drawer
D-B-Hawk Feb 22, 2024
2dbf991
env table
D-B-Hawk Feb 22, 2024
12a3307
error banner flappy kray
D-B-Hawk Feb 22, 2024
9d14c17
flow
D-B-Hawk Feb 22, 2024
47015a2
form container
D-B-Hawk Feb 22, 2024
f0d7e66
gitops app modal
D-B-Hawk Feb 22, 2024
7954cde
gitops catalog card
D-B-Hawk Feb 22, 2024
4d59c66
git provider button
D-B-Hawk Feb 22, 2024
026a577
graph node
D-B-Hawk Feb 22, 2024
a86484f
heads up notification
D-B-Hawk Feb 22, 2024
a67455b
installation buttons
D-B-Hawk Feb 22, 2024
263b55b
installation card
D-B-Hawk Feb 22, 2024
0fb0ca8
installation info card
D-B-Hawk Feb 22, 2024
288317f
installation step container
D-B-Hawk Feb 22, 2024
8496447
joyride tooltip
D-B-Hawk Feb 22, 2024
879bb19
kube config modal
D-B-Hawk Feb 22, 2024
df0828e
learn more
D-B-Hawk Feb 22, 2024
0108cbc
linear progress
D-B-Hawk Feb 22, 2024
d4bd7bf
loading
D-B-Hawk Feb 22, 2024
be78dcf
menu
D-B-Hawk Feb 22, 2024
c1bcb46
kubeconfig modal
D-B-Hawk Feb 22, 2024
197ec59
navigation
D-B-Hawk Feb 22, 2024
f44e607
next link
D-B-Hawk Feb 22, 2024
521b732
number input
D-B-Hawk Feb 22, 2024
99d872e
password
D-B-Hawk Feb 22, 2024
c82f5d0
popover
D-B-Hawk Feb 22, 2024
0915050
pricing
D-B-Hawk Feb 22, 2024
7f813bf
progress
D-B-Hawk Feb 22, 2024
1ffb081
row
D-B-Hawk Feb 22, 2024
f4dc712
select
D-B-Hawk Feb 22, 2024
219fb6b
status indicator
D-B-Hawk Feb 22, 2024
d88824f
switch
D-B-Hawk Feb 22, 2024
8442d0e
tab
D-B-Hawk Feb 22, 2024
5f7e26c
table
D-B-Hawk Feb 22, 2024
628d51a
tag
D-B-Hawk Feb 22, 2024
3d200e7
text area
D-B-Hawk Feb 22, 2024
6a89ae1
text field
D-B-Hawk Feb 22, 2024
1226731
tooltip
D-B-Hawk Feb 22, 2024
6d95825
tour modal
D-B-Hawk Feb 22, 2024
c8a56a0
typography
D-B-Hawk Feb 22, 2024
25f60d2
uninstall application
D-B-Hawk Feb 22, 2024
854ee5c
upgrade modal
D-B-Hawk Feb 22, 2024
76b7acd
controlled fields
D-B-Hawk Feb 22, 2024
d559e16
application container
D-B-Hawk Feb 22, 2024
e6baa66
billing container
D-B-Hawk Feb 22, 2024
8c8c650
cancel subscription container and comps
D-B-Hawk Feb 23, 2024
aca974e
move me
D-B-Hawk Feb 23, 2024
c41c7d8
cluster forms
D-B-Hawk Feb 23, 2024
733ca49
cluster management container
D-B-Hawk Feb 23, 2024
e0d6227
concise logs
D-B-Hawk Feb 23, 2024
9f513a2
contact us modal
D-B-Hawk Feb 23, 2024
64b496a
environments
D-B-Hawk Feb 23, 2024
4340c5e
Header
D-B-Hawk Feb 23, 2024
1dfcfee
installations selection
D-B-Hawk Feb 23, 2024
00f3dde
kubefirst content
D-B-Hawk Feb 23, 2024
89f081d
layout
D-B-Hawk Feb 23, 2024
8e2b933
license
D-B-Hawk Feb 23, 2024
7f169af
navigation
D-B-Hawk Feb 23, 2024
5539413
provision
D-B-Hawk Feb 23, 2024
33d6563
subscription
D-B-Hawk Feb 23, 2024
82e51cc
terminal logs
D-B-Hawk Feb 23, 2024
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
6 changes: 3 additions & 3 deletions app/auth/signin/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ import {
import Ray from '@/assets/ray.svg';
import TitleDark from '@/assets/titleDark.svg';
import Vault from '@/assets/vault.svg';
import Button from '@/components/button';
import Typography from '@/components/typography';
import Button from '@/components/Button/Button';
import Typography from '@/components/Typography/Typography';
import { VOLCANIC_SAND } from '@/constants/colors';
import NextLink from '@/components/nextLink';
import NextLink from '@/components/NextLink/NextLink';

export default function SignIn() {
const searchParams = useSearchParams();
Expand Down
5 changes: 2 additions & 3 deletions app/auth/signin/signin.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ import styled from 'styled-components';
import Box from '@mui/material/Box';
import Link from 'next/link';

import Typography from '../../../components/typography';

import Typography from '@/components/Typography/Typography';
import { CELERY_MOUSSE } from '@/constants/colors';
import { media } from '@/utils/media';
import Column from '@/components/column';
import Column from '@/components/Column/Column';

export const Background = styled.div`
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion app/dashboard/applications/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import React, { FunctionComponent, useMemo } from 'react';
import { useRouter } from 'next/navigation';

import Applications from '../../../containers/applications';
import Applications from '../../../containers/Applications/Applications';
import { useAppSelector } from '../../../redux/store';

import { Route } from '@/constants';
Expand Down
2 changes: 1 addition & 1 deletion app/dashboard/cluster-management/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import ClusterManagement from '../../../containers/clusterManagement';
import ClusterManagement from '@/containers/ClusterManagement/ClusterManagement';

const ClusterManagementPage = () => {
const isClusterZero = process.env.IS_CLUSTER_ZERO === 'true';
Expand Down
2 changes: 1 addition & 1 deletion app/dashboard/environments/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';
import React, { FunctionComponent } from 'react';

import Environments from '../../../containers/environments';
import Environments from '@/containers/Environments/Environments';

const EnvironmentsPage: FunctionComponent = () => {
return <Environments />;
Expand Down
2 changes: 1 addition & 1 deletion app/dashboard/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { PropsWithChildren } from 'react';

import { getEnvVars, getFeatureFlags, validateLicense } from '../lib/common';

import { Layout } from '@/containers/layout';
import { Layout } from '@/containers/Layout/Layout';

export default async function Page({ children }: PropsWithChildren) {
const license = await validateLicense();
Expand Down
6 changes: 3 additions & 3 deletions app/not-found.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { useRouter } from 'next/navigation';
import styled from 'styled-components';
import { styled as muiStyled } from '@mui/material';

import Typography from '@/components/typography';
import Typography from '@/components/Typography/Typography';
import NotFoundIcon from '@/assets/404.svg';
import Button from '@/components/button';
import Button from '@/components/Button/Button';
import { VOLCANIC_SAND } from '@/constants/colors';
import Column from '@/components/column';
import Column from '@/components/Column/Column';
import { Route } from '@/constants';

const Container = styled(Column)`
Expand Down
2 changes: 1 addition & 1 deletion app/provision/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { PropsWithChildren } from 'react';

import { getEnvVars, getFeatureFlags, validateLicense } from '../lib/common';

import { Layout } from '@/containers/layout';
import { Layout } from '@/containers/Layout/Layout';

export default async function Page({ children }: PropsWithChildren) {
const license = await validateLicense();
Expand Down
2 changes: 1 addition & 1 deletion app/provision/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';
import React, { FunctionComponent } from 'react';

import Provision from '../../containers/provision';
import Provision from '@/containers/Provision/Provision';

const ProvisionPage: FunctionComponent = () => {
return <Provision />;
Expand Down
2 changes: 1 addition & 1 deletion app/settings/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { PropsWithChildren } from 'react';

import { getEnvVars, getFeatureFlags, validateLicense } from '../lib/common';

import { Layout } from '@/containers/layout';
import { Layout } from '@/containers/Layout/Layout';

export default async function Page({ children }: PropsWithChildren) {
const license = await validateLicense();
Expand Down
2 changes: 1 addition & 1 deletion app/settings/subscription/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import axios from 'axios';
import sortBy from 'lodash/sortBy';

import Subscription from '@/containers/subscription';
import Subscription from '@/containers/Subscription/Subscription';
import { Plan } from '@/types/plan';

async function getProductPlans() {
Expand Down
2 changes: 1 addition & 1 deletion app/settings/subscription/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import axios from 'axios';
import sortBy from 'lodash/sortBy';

import Subscription from '@/containers/subscription';
import Subscription from '@/containers/Subscription/Subscription';
import { Plan } from '@/types/plan';

async function getProductPlans() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta, StoryObj } from '@storybook/react';

import Application from '.';
import Application from './Application';

import { mockClusterApplication } from '@/tests/mocks/mockClusterApplication';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import NextLink from 'next/link';

import { textTruncate } from '@/utils/theme';
import { PASTEL_LIGHT_BLUE } from '@/constants/colors';
import Typography from '@/components/typography';
import Typography from '@/components/Typography/Typography';
import styled, { css } from '@/app/lib/styled-components';

export const AppConnector = styled.div`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ import React, { FunctionComponent, useCallback, useMemo } from 'react';
import Box from '@mui/material/Box';
import CircularProgress from '@mui/material/CircularProgress';

import Typography from '../typography';
import { formatDomain } from '../../utils/url/formatDomain';
import Tooltip from '../tooltip';
import { MINT_GREEN, PASTEL_LIGHT_BLUE } from '../../constants/colors';
import Button from '../button';
import Typography from '../Typography/Typography';
import Tooltip from '../Tooltip/Tooltip';
import Button from '../Button/Button';

import {
AppConnector,
Expand All @@ -18,8 +16,10 @@ import {
Links,
LiveAppIcon,
Title,
} from './application.styled';
} from './Application.styled';

import { formatDomain } from '@/utils/url/formatDomain';
import { MINT_GREEN, PASTEL_LIGHT_BLUE } from '@/constants/colors';
import { noop } from '@/utils/noop';

export interface ApplicationProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta, StoryObj } from '@storybook/react';

import ApplicationsFilter from '.';
import ApplicationsFilter from './ApplicationsFilter';

const meta: Meta<typeof ApplicationsFilter> = {
component: ApplicationsFilter,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import styled from 'styled-components';
import { styled as muiStyled } from '@mui/material';

import Column from '../column';
import Autocomplete from '../autocomplete';
import Row from '../row';
import Column from '../Column/Column';
import Autocomplete from '../Autocomplete/Autocomplete';
import Row from '../Row/Row';

import { PASTEL_LIGHT_BLUE, WHITE } from '@/constants/colors';
import { media } from '@/utils/media';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ import React, {
import styled from 'styled-components';
import SearchIcon from '@mui/icons-material/Search';

import Row from '../row';
import Typography from '../typography';
import { IAutocompleteProps } from '../autocomplete';
import Select from '../select';
import TextFieldWithRef from '../textField';
import { InputAdornmentContainer } from '../textField/textField.styled';
import Row from '../Row/Row';
import Typography from '../Typography/Typography';
import { IAutocompleteProps } from '../Autocomplete/Autocomplete';
import Select from '../Select/Select';
import TextFieldWithRef from '../TextField/TextField';
import { InputAdornmentContainer } from '../TextField/TextField.styled';

import {
Container,
Content,
DropdownContainer,
TargetContainer,
} from './applicationsFilter.styled';
} from './ApplicationsFilter.styled';

import { VOLCANIC_SAND } from '@/constants/colors';
import { LabelValue } from '@/types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Meta, StoryObj } from '@storybook/react';
import { Controller, useForm } from 'react-hook-form';
import styled from 'styled-components';

import AutoComplete from './index';
import AutoComplete from './Autocomplete';

const meta: Meta<typeof AutoComplete> = {
component: AutoComplete,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import { styled as muiStyled } from '@mui/material/styles';
import { TextField as MUITextField, MenuItem as MUIMenuItem } from '@mui/material';
import InputAdornment from '@mui/material/InputAdornment';

import { LINK_WATER, SPUN_PEARL, WHITE_SMOKE } from '../../constants/colors';
import Typography from '../typography';
import Typography from '../Typography/Typography';

import { LINK_WATER, SPUN_PEARL, WHITE_SMOKE } from '@/constants/colors';

export const AutoTextField = muiStyled(MUITextField)(({ theme, error, type, InputProps }) => ({
'& .MuiOutlinedInput-root': {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ import { ControllerRenderProps, FieldValues } from 'react-hook-form';
import KeyboardArrowDownIcon from '@mui/icons-material/KeyboardArrowDown';
import { InputLabel } from '@mui/material';

import TextField from '../textField';
import Column from '../column';
import Typography from '../typography';
import { Required } from '../textField/textField.styled';
import Row from '../row';
import Tag from '../tag';
import TextField from '../TextField/TextField';
import Column from '../Column/Column';
import Typography from '../Typography/Typography';
import { Required } from '../TextField/TextField.styled';
import Row from '../Row/Row';
import Tag from '../Tag/Tag';

import { AutoTextField, InputAdornmentContainer, Label, MenuItem } from './autocomplete.styled';
import { AutoTextField, InputAdornmentContainer, Label, MenuItem } from './Autocomplete.styled';

import { ClusterEnvironment } from '@/types/provision';
import { noop } from '@/utils/noop';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, { FunctionComponent, useCallback, useEffect } from 'react';
import { Meta, StoryObj } from '@storybook/react';
import { useForm } from 'react-hook-form';

import ControlledTagsAutocomplete from '../controlledFields/autoComplete/TagsAutoComplete';
import ControlledTagsAutocomplete from '../controlledFields/ControlledAutoComplete/ControlledTagsAutoComplete';

import { createEnvMap } from '@/utils/createEnvMap';
import { mockEnvironmentsResponse } from '@/tests/mocks/mockEnvironmentsResponse';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { Meta, StoryObj } from '@storybook/react';
import styled from 'styled-components';

import useToggle from '../../hooks/useToggle';
import Button from '../button';
import Typography from '../typography';
import Button from '../Button/Button';
import Typography from '../Typography/Typography';

import BannerComponent from '.';
import BannerComponent from './Banner';

import { WHITE } from '@/constants/colors';

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import CheckCircleIcon from '@mui/icons-material/CheckCircle';
import { SvgIconTypeMap } from '@mui/material';
import { OverridableComponent } from '@mui/material/OverridableComponent';

import { Close, Container, Text } from './banner.styled';
import { Close, Container, Text } from './Banner.styled';

import { IVY_LEAGUE, RED_VITALITY, WHITE } from '@/constants/colors';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta, StoryObj } from '@storybook/react';

import Button from '.';
import Button from './Button';

const meta: Meta<typeof Button> = {
component: Button,
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
InfoButton,
TextButton,
SubscriptionButton,
} from './button.styled';
} from './Button.styled';

const BUTTONS_MAP = {
['primary']: PrimaryButton,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta, StoryObj } from '@storybook/react';

import Card from '.';
import Card from './Card';

const meta: Meta<typeof Card> = {
component: Card,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CardProps } from '.';
import { CardProps } from './Card';

import styled, { css } from '@/app/lib/styled-components';

Expand Down
2 changes: 1 addition & 1 deletion components/card/index.tsx → components/Card/Card.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { ComponentPropsWithoutRef, FunctionComponent } from 'react';

import { CardContainer } from './card.styled';
import { CardContainer } from './Card.styled';

export interface CardProps extends Omit<ComponentPropsWithoutRef<'div'>, 'key'> {
active?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import styled from 'styled-components';
import { Meta, StoryObj } from '@storybook/react';

import CheckboxComponent from './index';
import CheckboxComponent from './Checkbox';

const Wrapper = styled.div`
background: rgb(255, 255, 255);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import CheckboxMUI, { CheckboxProps } from '@mui/material/Checkbox';
import CheckBoxIcon from '@mui/icons-material/CheckBox';
import CheckBoxOutlineBlankIcon from '@mui/icons-material/CheckBoxOutlineBlank';

import { QUARTZ, SPUN_PEARL } from '../../constants/colors';
import { QUARTZ, SPUN_PEARL } from '@/constants/colors';

type ICheckBoxProps = Omit<CheckboxProps, 'key'>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';

import { InstallationType } from '../../types/redux';

import CloudProviderCard from '.';
import CloudProviderCard from './CloudProviderCard';

const meta: Meta<typeof CloudProviderCard> = {
component: CloudProviderCard,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import styled from 'styled-components';
import NextLink from 'next/link';

import Card from '../card';
import Column from '../column';
import Card from '../Card/Card';
import Column from '../Column/Column';

export const CardContainer = styled(Card)`
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
import React, { FunctionComponent } from 'react';
import Image from 'next/image';

import { CardProps } from '../card';
import Typography from '../typography';
import Tag from '../tag';
import { InstallationType } from '../../types/redux';
import k3dLogo from '../../assets/k3d_logo.svg';
import awsLogo from '../../assets/aws_logo.svg';
import civoLogo from '../../assets/civo_logo.svg';
import digitalOceanLogo from '../../assets/digital_ocean_logo.svg';
import vultrLogo from '../../assets/vultr_logo.svg';
import googleCloudLogo from '../../assets/googleCloud.svg';
import { BISCAY } from '../../constants/colors';
import { CardProps } from '../Card/Card';
import Typography from '../Typography/Typography';
import Tag from '../Tag/Tag';

import { CardContainer, DetailsContainer, Link, LabelContainer } from './cloudProviderCard.styled';
import { CardContainer, DetailsContainer, Link, LabelContainer } from './CloudProviderCard.styled';

import { InstallationType } from '@/types/redux';
import k3dLogo from '@/assets/k3d_logo.svg';
import awsLogo from '@/assets/aws_logo.svg';
import civoLogo from '@/assets/civo_logo.svg';
import digitalOceanLogo from '@/assets/digital_ocean_logo.svg';
import vultrLogo from '@/assets/vultr_logo.svg';
import googleCloudLogo from '@/assets/googleCloud.svg';
import { BISCAY } from '@/constants/colors';

const PROVIDER_OPTIONS: Record<
InstallationType,
Expand Down
Loading
Loading