Skip to content

Commit

Permalink
Merge branch 'master' into squeeze_v15_reverse_infer
Browse files Browse the repository at this point in the history
  • Loading branch information
barnasm1 authored Nov 25, 2024
2 parents 9996e6a + 1b3550e commit fbfb6d5
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 23 deletions.
2 changes: 0 additions & 2 deletions docs/sphinx_setup/_static/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,6 @@ document.addEventListener('DOMContentLoaded', function () {
element.innerHTML = element.innerHTML.replace('search.html', `/${version}/search.html#f-ovversion=${version}`);
}

// preProd = "intelcorporationnonproduction2ybdyblf7"
// prod = "intelcorporationproductione78n25s6"
await element.initialize({
accessToken: "xx1f2aebd3-4307-4632-aeea-17c13378b237",
organizationId: "intelcorporationproductione78n25s6"
Expand Down
6 changes: 4 additions & 2 deletions docs/sphinx_setup/_static/js/graphs.js
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ $(document).ready(function () {
}
else {
var graphConfigs = setGraphConfigs(filteredGraphData, appConfig, kpis, precisions)
createChartWithNewData(labels, graphConfigs, chartContainer, display);
createChartWithNewData(labels, graphConfigs, appConfig, chartContainer, display);
}

} else {
Expand Down Expand Up @@ -730,7 +730,7 @@ $(document).ready(function () {
setChartsDisplayDirection(display.mode);
adjustHeaderIcons(display.mode);
}
function createChartWithNewData(labels, graphConfigs, chartContainer, display) {
function createChartWithNewData(labels, graphConfigs, appConfig, chartContainer, display) {

var chartWrap = $('<div>');
chartWrap.addClass('chart-wrap');
Expand Down Expand Up @@ -759,6 +759,8 @@ $(document).ready(function () {
columnHeaderContainer.append(columnIcon);
var columnHeader = $('<div class="chart-header">');
columnHeader.append($('<div class="title">' + graphConfig.chartTitle + '</div>'));
columnHeader.append($('<div class="subtitle">' + graphConfig.unit + '</div>'));
columnHeader.append($('<div class="subtitle">' + appConfig.UnitDescription[graphConfig.unit] + '</div>'));
columnHeaderContainer.append(columnHeader);
chartGraphsContainer.append(graphItem);
var graphClass = $('<div>');
Expand Down
34 changes: 16 additions & 18 deletions docs/sphinx_setup/_templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,29 @@

{% block body %}
<atomic-search-interface id="search" localization-compatibility-version="v4"
fields-to-include='["ovversion", "ovdoctype", "ovversioncategory", "filetype", "date", "source", "author", "sourcetype", "language", "description"]'>
fields-to-include='["ovversion", "ovcategory", "filetype", "date", "source", "author", "sourcetype", "language", "description"]'>
<atomic-search-layout>
<atomic-layout-section section="search">
<atomic-search-box>
<atomic-search-box-query-suggestions></atomic-search-box-query-suggestions>
</atomic-search-box>
</atomic-layout-section>
<atomic-layout-section section="facets">
<div class="view-selector-container">
<button id="view-selector-grid" class="view-selector">
<i class="fas fa-th"></i> Grid
</button>
<button id="view-selector-list" class="view-selector">
<i class="fas fa-list"></i> List
</button>
</div>
<atomic-facet
facet-id="ovversion" field="ovversion" label="Version">
</atomic-facet>
<!-- <atomic-category-facet
field="ovversioncategory" label="Categories"
sort-criteria="occurrences"
delimiting-character="/">
</atomic-category-facet> -->
<atomic-facet facet-id="ovdoctype" field="ovdoctype" label="Category" with-search="true"></atomic-facet>
<atomic-facet-manager>
<div class="view-selector-container">
<button id="view-selector-grid" class="view-selector">
<i class="fas fa-th"></i> Grid
</button>
<button id="view-selector-list" class="view-selector">
<i class="fas fa-list"></i> List
</button>
</div>
<atomic-category-facet facet-id="ovcategory" field="ovcategory" label="Category" depends-on-ovversion
sort-criteria="occurrences" number-of-values="4" with-search="true" delimiting-character="|">
</atomic-category-facet>
<atomic-facet facet-id="ovversion" field="ovversion" label="Version" sort-criteria="occurrences">
</atomic-facet>
</atomic-facet-manager>
</atomic-layout-section>
<atomic-layout-section section="main">
<atomic-layout-section section="status">
Expand Down

0 comments on commit fbfb6d5

Please sign in to comment.