From 854759cb433d5ffda7a54b2d63b70f603c8bfd61 Mon Sep 17 00:00:00 2001 From: Soufiane Fariss Date: Fri, 16 Aug 2024 18:17:34 +0200 Subject: [PATCH 1/5] add tooltip to show decimal/octal rep --- .../src/components/columns/RuleColumn.vue | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/web/explorer/src/components/columns/RuleColumn.vue b/web/explorer/src/components/columns/RuleColumn.vue index 6c4b1ca2..f5197737 100644 --- a/web/explorer/src/components/columns/RuleColumn.vue +++ b/web/explorer/src/components/columns/RuleColumn.vue @@ -31,7 +31,15 @@ - + From 450195572855caf8a2f139d351722dd0047f218a Mon Sep 17 00:00:00 2001 From: Soufiane Fariss Date: Fri, 16 Aug 2024 23:37:30 +0200 Subject: [PATCH 5/5] remove octal repr for hex values --- web/explorer/src/components/columns/RuleColumn.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/explorer/src/components/columns/RuleColumn.vue b/web/explorer/src/components/columns/RuleColumn.vue index f5197737..bafad25c 100644 --- a/web/explorer/src/components/columns/RuleColumn.vue +++ b/web/explorer/src/components/columns/RuleColumn.vue @@ -75,9 +75,7 @@ defineProps({ const getTooltipContent = (data) => { if (data.typeValue === "number" || data.typeValue === "offset") { const decimalValue = parseInt(data.name, 16); - const octalValue = "0o" + decimalValue.toString(8); - return `Decimal: ${decimalValue} -Octal: ${octalValue}`; + return `Decimal: ${decimalValue}`; } return null; };