Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/osidb 3129 multi flaws related trackers #377

Open
wants to merge 47 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
13828d6
🚧 Implement basic service
superbuggy Jul 17, 2024
936422f
💄 Place Filed and Unfiled Trackers side-by-side
superbuggy Aug 9, 2024
9342c72
🏷️ Improve type usage in single flaw trackers manager
superbuggy Aug 12, 2024
86abc92
✨ Consolidate multi-flaw requests
superbuggy Aug 12, 2024
54c2f8b
✨ Make multi-flaw trackers filterable
superbuggy Aug 12, 2024
ccdaa5c
✨ Add option for bulk filing
superbuggy Aug 12, 2024
eb58ea8
✨ Make related flaws opt-in rather than automatic
superbuggy Aug 13, 2024
5f4a65d
🐛 Prevent unintended tracker matches
superbuggy Aug 13, 2024
2084840
✨ Make multi-cve list fitlerable
superbuggy Aug 13, 2024
a36a824
💄 Enlarge add related flaw button tab
superbuggy Aug 13, 2024
2459ced
✨ Fetch flaw manually if not found in related flaws
superbuggy Aug 13, 2024
1e68b9e
♻️ Organize Affects component into smaller components
superbuggy Sep 3, 2024
296380b
♻️ Refactor affect editing
superbuggy Sep 4, 2024
31cdfc0
🚚 Define default CVSS version
superbuggy Sep 4, 2024
7e1f5a9
🚚 Use explicitly named CVSS
superbuggy Sep 4, 2024
0449ac5
🚚 Consolidate type exports
superbuggy Sep 4, 2024
3290fc0
🎨 Fix silly formatting
superbuggy Sep 4, 2024
ded536f
♻️ Loosen coupling between flaw and affect composables
superbuggy Sep 4, 2024
486ebed
♻️ Provide composable with settings
superbuggy Sep 4, 2024
a981d49
🚧 Rename references
superbuggy Sep 5, 2024
7512761
♻️ Use composables across Affects components
superbuggy Sep 9, 2024
682ad1f
💄 Style modal
superbuggy Sep 9, 2024
814cc4c
🔥 Remove unused reference file
superbuggy Sep 13, 2024
5967f78
🔥 Remove unused reference file
superbuggy Sep 13, 2024
228463d
♻️ Refactor CVSS helpers
superbuggy Sep 13, 2024
89bdca7
♻️ Clean up unused code post-rebase
superbuggy Sep 13, 2024
156a0dd
♻️ Integrate with rebased changes
superbuggy Sep 16, 2024
5cdc3a6
✅ Fix trackers manager tests
superbuggy Sep 17, 2024
62a62da
📸 Update snapshots
superbuggy Sep 17, 2024
70602fb
🚚 Rename affects constants
superbuggy Sep 17, 2024
515ced3
🚚 Rename affects constants
superbuggy Sep 17, 2024
32be4a0
🔥 Remove unintended merge
superbuggy Sep 17, 2024
cf54ea1
🤡 Fix references data shape in mock
superbuggy Sep 17, 2024
8c48786
🚚 Rename affects constants
superbuggy Sep 17, 2024
3eb9818
⏪️ Revert variable name change
superbuggy Sep 17, 2024
10897f1
♻️ Use helper function for affect matching
superbuggy Sep 17, 2024
10fa805
🐛 Correct reversed edit and cancel functions
superbuggy Sep 18, 2024
9c262ac
✅ Update FlawAffect tests
superbuggy Sep 18, 2024
67a1a26
📸 Update snapshots
superbuggy Sep 18, 2024
73e1cd6
✨ Filter trackers on affect selections
superbuggy Sep 18, 2024
de86ba2
🚚 Remove unused/redundant SCSS vars
superbuggy Sep 19, 2024
4bc3aba
🔥 Remove wrapped function
superbuggy Sep 19, 2024
ef5b3a8
🏷️ Make type aggregation succinct
superbuggy Sep 19, 2024
d97b428
♻️ Throw error when affect removal fails
superbuggy Sep 19, 2024
52e1f45
🔥 Remove unused function
superbuggy Sep 19, 2024
d0a9be8
♻️ DRY out affect filter function
superbuggy Sep 19, 2024
4226c3e
🎨 Enhance readability
superbuggy Sep 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/components/CvssExplainForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ import { computed } from 'vue';
import LabelCollapsible from '@/components/widgets/LabelCollapsible.vue';

import type { ZodFlawType } from '@/types/zodFlaw';
import { CVSS_V3 } from '@/constants';

const modelValue = defineModel<ZodFlawType>({ required: true });

const rhCvss = computed(() => modelValue.value?.cvss_scores
.findIndex(cvss => cvss.issuer === 'RH'
&& cvss.cvss_version === 'V3'));
&& cvss.cvss_version === CVSS_V3));
</script>

<template>
Expand Down
Loading