From bbfeaad3c3dd651931ee094d7d9beeb9e215f9dc Mon Sep 17 00:00:00 2001 From: adpare Date: Thu, 13 Aug 2026 23:06:50 -0400 Subject: [PATCH 1/2] feat: diable submit for review button if object is not in any track --- .../name-property.component.html | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/src/app/components/stix/name-property/name-property.component.html b/src/app/components/stix/name-property/name-property.component.html index 4eb82759..576c3acc 100644 --- a/src/app/components/stix/name-property/name-property.component.html +++ b/src/app/components/stix/name-property/name-property.component.html @@ -29,17 +29,22 @@

- + + + Date: Fri, 21 Aug 2026 11:53:10 -0400 Subject: [PATCH 2/2] fix: grey out button when not part of a release track --- .../name-property/name-property.component.scss | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/app/components/stix/name-property/name-property.component.scss b/src/app/components/stix/name-property/name-property.component.scss index 073dcca3..a936b19f 100644 --- a/src/app/components/stix/name-property/name-property.component.scss +++ b/src/app/components/stix/name-property/name-property.component.scss @@ -98,7 +98,7 @@ $workflow-reviewed-color: colors.color(success); background: rgba(colors.color(warn), 0.08); } - &:hover { + &:hover:not(:disabled) { .dark & { border-color: rgba(colors.color(warn), 0.62); background: rgba(colors.color(warn), 0.16); @@ -109,6 +109,21 @@ $workflow-reviewed-color: colors.color(success); background: rgba(colors.color(warn), 0.13); } } + + &:disabled { + cursor: not-allowed; + @include colors.theme-text-deemphasis; + + .dark & { + border-color: rgba(colors.on-color(dark), 0.24); + background: rgba(colors.on-color(dark), 0.035); + } + + .light & { + border-color: rgba(colors.on-color(light), 0.24); + background: rgba(colors.on-color(light), 0.035); + } + } } .name-edit {