Set subdomain for project and set URL for each deployment (#52)

* Display current deployment info in overview tab

* Add assign domain dialog box in deployments

* Add empty link for project settings in assign domain dialog box

* Use react router dom link

* Add sub domain to project entity

* Add deployment url with custom generated string

* Set nano id to deployment id

* Add sub domain while creating new project

* Use same id as in url

* Update readme steps for production build

* Update README

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
This commit is contained in:
2024-02-05 14:56:28 +05:30
committed by GitHub
co-authored by neeraj
parent 0fdc2631ee
commit ac7064afa5
20 changed files with 460 additions and 57 deletions
+7
View File
@@ -27,6 +27,7 @@ query ($projectId: String!) {
repository
webhooks
icon
subDomain
organization {
id
name
@@ -54,6 +55,10 @@ query ($projectId: String!) {
id
name
}
createdBy {
id
name
}
}
}
}
@@ -72,6 +77,7 @@ query ($organizationId: String!) {
repository
updatedAt
icon
subDomain
deployments {
id
branch
@@ -121,6 +127,7 @@ query ($projectId: String!) {
branch
commitHash
title
url
environment
isCurrent
status
+2
View File
@@ -63,6 +63,7 @@ export type Deployment = {
branch: string
commitHash: string
title: string
url: string
environment: Environment
isCurrent: boolean
status: DeploymentStatus
@@ -131,6 +132,7 @@ export type Project = {
updatedAt: string
organization: Organization
icon: string
subDomain: string
}
export type GetProjectMembersResponse = {