diff --git a/.gitignore b/.gitignore index bb828f401..4232c49f9 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,6 @@ node_modules **/.env* !.env.dist database/Dockerfile.flyway -database/flyway_migrate.sh \ No newline at end of file +database/flyway_migrate.sh + +**/AGENTS.md \ No newline at end of file diff --git a/frontend/app/components/modules/project/components/overview/score-details/score-tab-view.vue b/frontend/app/components/modules/project/components/overview/score-details/score-tab-view.vue index 42c99f7fe..89ca989df 100644 --- a/frontend/app/components/modules/project/components/overview/score-details/score-tab-view.vue +++ b/frontend/app/components/modules/project/components/overview/score-details/score-tab-view.vue @@ -9,30 +9,56 @@ SPDX-License-Identifier: MIT :tabs="tabsOptions" > - + + + + {{ option.label }} metrics are unavailable because the required data isn't available for this project. + Learn more + + - {{ option.label }} - - - - - + {{ option.label }} + + + + + + - + (), { placement: 'bottom-start', @@ -57,6 +58,7 @@ const props = withDefaults( matchWidth: false, isModal: false, popoverClass: '', + allowPassThrough: false, }, ); @@ -128,7 +130,9 @@ const closePopover = () => { }; const handleClick = (e: Event) => { - e.stopPropagation(); + if (!props.allowPassThrough) { + e.stopPropagation(); + } if (props.triggerEvent === 'click') { if (isVisible.value) { closePopover(); diff --git a/frontend/app/components/uikit/tooltip/tooltip.vue b/frontend/app/components/uikit/tooltip/tooltip.vue index 75ee6760a..75f7efa73 100644 --- a/frontend/app/components/uikit/tooltip/tooltip.vue +++ b/frontend/app/components/uikit/tooltip/tooltip.vue @@ -7,6 +7,7 @@ SPDX-License-Identifier: MIT :placement="props.placement" :disabled="props.disabled" trigger-event="hover" + :allow-pass-through="props.allowPassThrough" > @@ -32,11 +33,13 @@ const props = withDefaults( placement?: Placement; content?: string; disabled?: boolean; + allowPassThrough?: boolean; }>(), { placement: 'top', content: '', disabled: false, + allowPassThrough: false, }, );
+ {{ option.label }} metrics are unavailable because the required data isn't available for this project. + Learn more +