feat: Add various source control improvements (#6533)
* feat: update source control notice wording * feat: update source control paywall state * fix: remove source control git repository ssh input hint * feat: hide tags, variables, and credentials from push modal * feat: add status colors and current workflow marking and sorting * feat: add select all workflows to push modal * fix: push everything besides current workflow with push workflow action * feat: add source control pull modal * feat: add updatedAt integration * fix: add time to last updated * fix: fix sorting, taking deleted into account * fix: update 409 pull workflow test * fix: add status priority sorting * fix: fix linting issue
This commit is contained in:
@@ -16,7 +16,10 @@ export default defineComponent({
|
||||
theme: {
|
||||
type: String,
|
||||
default: 'default',
|
||||
validator: (value: string) => ['default', 'primary', 'secondary', 'tertiary'].includes(value),
|
||||
validator: (value: string) =>
|
||||
['default', 'success', 'warning', 'danger', 'primary', 'secondary', 'tertiary'].includes(
|
||||
value,
|
||||
),
|
||||
},
|
||||
size: {
|
||||
type: String,
|
||||
@@ -49,6 +52,27 @@ export default defineComponent({
|
||||
border-color: var(--color-text-light);
|
||||
}
|
||||
|
||||
.success {
|
||||
composes: badge;
|
||||
border-radius: var(--border-radius-base);
|
||||
color: var(--color-success);
|
||||
border-color: var(--color-success);
|
||||
}
|
||||
|
||||
.warning {
|
||||
composes: badge;
|
||||
border-radius: var(--border-radius-base);
|
||||
color: var(--color-warning);
|
||||
border-color: var(--color-warning);
|
||||
}
|
||||
|
||||
.danger {
|
||||
composes: badge;
|
||||
border-radius: var(--border-radius-base);
|
||||
color: var(--color-danger);
|
||||
border-color: var(--color-danger);
|
||||
}
|
||||
|
||||
.primary {
|
||||
composes: badge;
|
||||
padding: var(--spacing-5xs) var(--spacing-3xs);
|
||||
|
||||
Reference in New Issue
Block a user