Skip to content

Commit

Permalink
chore(doc): add link to doc on env variables page (#601)
Browse files Browse the repository at this point in the history
* fix: added placeholders to show parallel deployments activated and resource assigned

* fix: added right links to RBAC documentation

* fix: add link for env var page
  • Loading branch information
acarranoqovery authored May 9, 2023
1 parent e3059f3 commit f702512
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function PageVariablesMemo(props: PageVariablesProps) {
description="Need help? You may find these links useful"
links={[
{
link: '#',
link: 'https://hub.qovery.com/docs/using-qovery/configuration/environment-variable/',
linkLabel: 'How to configure my environment variables',
external: true,
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EnvironmentStatus } from 'qovery-typescript-axios'
import { StatusChip, Tooltip } from '@qovery/shared/ui'
import { Icon, StatusChip, Tooltip } from '@qovery/shared/ui'
import { dateFullFormat } from '@qovery/shared/utils'

export interface SidebarStatusProps {
Expand All @@ -12,11 +12,11 @@ export function SidebarStatus(props: SidebarStatusProps) {
return (
<div className="border-b border-element-light-darker-100 p-5">
<div className="flex items-center justify-between text-text-300 text-xs mb-2">
Pipeline deployment status:
Deployment status:
<StatusChip status={environmentStatus?.last_deployment_state || environmentStatus?.state} />
</div>
<p className="flex items-center justify-between text-text-300 text-xs mb-2">
Deployment id:
Deployment Execution id:
<Tooltip content={environmentStatus?.last_deployment_id || ''}>
<span className="text-brand-400">
{environmentStatus?.last_deployment_id && environmentStatus?.last_deployment_id.length > 23
Expand All @@ -34,6 +34,28 @@ export function SidebarStatus(props: SidebarStatusProps) {
<span className="text-text-100">{dateFullFormat(environmentStatus?.last_deployment_date || '')}</span>
</p>
)}
<p className="flex items-center justify-between text-text-300 text-xs mt-2">
Parallel Deployment:
<span className="flex text-text-100">
4{' '}
<Tooltip side="right" content="Number of services deployed in parallel on each pipeline stage">
<div className="flex items-center">
<Icon className="cursor-pointer ml-1 text-xs text-element-light-text-300" name="icon-solid-circle-info" />
</div>
</Tooltip>
</span>
</p>
<p className="flex items-center justify-between text-text-300 text-xs mt-2">
Assigned build resources:
<span className="flex text-text-100">
4CPU / 8GB Mem
<Tooltip side="right" content="Resource assigned by Qovery to build each application">
<div className="flex items-center">
<Icon className="cursor-pointer ml-1 text-xs text-element-light-text-300" name="icon-solid-circle-info" />
</div>
</Tooltip>
</span>
</p>
</div>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export function PageOrganizationRolesEdit(props: PageOrganizationRolesEditProps)
description="Need help? You may find these links useful"
links={[
{
link: 'https://hub.qovery.com/docs/using-qovery/configuration/organization/#custom-roles',
link: 'https://hub.qovery.com/docs/using-qovery/configuration/organization/members-rbac/#roles-based-access-control-rbac',
linkLabel: 'How to configure my custom roles',
external: true,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export function PageOrganizationRoles(props: PageOrganizationRolesProps) {
description="Need help? You may find these links useful"
links={[
{
link: 'https://hub.qovery.com/docs/using-qovery/configuration/organization/members-rbac/custom-roles',
link: 'https://hub.qovery.com/docs/using-qovery/configuration/organization/members-rbac/#roles-based-access-control-rbac',
linkLabel: 'How to configure my custom roles',
external: true,
},
Expand Down

0 comments on commit f702512

Please sign in to comment.