Skip to content

feat: add license settings UI #7210

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

Merged
merged 22 commits into from
Apr 26, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
WIP
  • Loading branch information
rodrimaia committed Apr 17, 2023
commit 432456f2bc75ca4f5e55762aed488561c6fde05a
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import AddNewLicense from "./AddNewLicense";

export default {
title: "pages/AddNewLicense",
component: AddNewLicense,
}

export const Default = () => <AddNewLicense />;
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@

import { useQuery } from "@tanstack/react-query"
import { getLicenses } from "api/api"
import { Stack } from "components/Stack/Stack"
import { FC } from "react"
import { Helmet } from "react-helmet-async"
import { pageTitle } from "utils/page"
import { License } from "api/typesGenerated"
import { Header } from "components/DeploySettingsLayout/Header"
import { Button, Card, CardContent, Typography } from "@material-ui/core"
import dayjs from "dayjs"
import { PageHeader, PageHeaderSubtitle, PageHeaderTitle } from "components/PageHeader/PageHeader"
import { PlusOneOutlined } from "@material-ui/icons"

const AddNewLicense: FC = () => {

return (
<>
<Helmet>
<title>{pageTitle("Add new License")}</title>
</Helmet>
<Stack alignItems="baseline" direction="row" justifyContent="space-between">
<Header
title="Add your license"
Expand Down