Skip to content

Commit 8a41515

Browse files
committed
Merge branch 'main' into api-docs
2 parents b82babf + 7c96d67 commit 8a41515

File tree

6 files changed

+130
-18
lines changed

6 files changed

+130
-18
lines changed

how-to-guides/data-insights/cost-analysis.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Gain valuable insights into your resource allocation and utilization with `Cost
1111

1212
## Supported Connectors
1313

14-
| Connector | Status |
15-
| :----------------- | :--------------------------- |
16-
| Snowflake | <Icon name="check" /> |
14+
| Connector | Status |
15+
| :----------------- | :----------------------------------------- |
16+
| Snowflake | <Icon icon="check" color="#44a046" /> |
1717

1818
## Requirements
1919
To have cost analysis data available you will need to execute the below workflows after the metadata ingestion has run.
@@ -68,6 +68,6 @@ The table showcases frequently accessed data assets, detailing their names, last
6868

6969
<img noZoom src="/public/images/features/data-insight/cost-analysis/frequently-used-assets.png" alt="Frequently Used Assets" />
7070

71-
<Card title="Configure the Data Insights Report" href="/how-to-guides/data-insights/email-report" >
71+
<Card title="Configure the Data Insights Report" href="/how-to-guides/data-insights/email-report">
7272
Email the data insights report to Admins and Teams at the desired frequency.
73-
</Card>
73+
</Card>

loader.js

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
(function() {
2+
const createLoader = () => {
3+
const existing = document.getElementById('page-loader');
4+
if (existing) existing.remove();
5+
6+
const loader = document.createElement('div');
7+
loader.id = 'page-loader';
8+
loader.className = 'page-loader';
9+
document.body.appendChild(loader);
10+
11+
// Animate to 70%
12+
requestAnimationFrame(() => loader.style.width = '70%');
13+
14+
return loader;
15+
};
16+
17+
const finishLoader = (loader) => {
18+
if (!loader) return;
19+
loader.style.width = '100%';
20+
setTimeout(() => loader.remove(), 300);
21+
};
22+
23+
const observeContent = (loader) => {
24+
const content = document.querySelector('main') || document.body; // adjust to your main content selector
25+
if (!content) return;
26+
27+
const observer = new MutationObserver(() => {
28+
finishLoader(loader);
29+
observer.disconnect();
30+
});
31+
32+
observer.observe(content, { childList: true, subtree: true });
33+
};
34+
35+
document.addEventListener('click', function(e) {
36+
const link = e.target.closest('a');
37+
const sidebarItem = e.target.closest('[href]');
38+
const clickedElement = link || sidebarItem;
39+
40+
if (
41+
clickedElement &&
42+
clickedElement.href &&
43+
clickedElement.href.includes(window.location.origin) &&
44+
!clickedElement.href.includes('#')
45+
) {
46+
const loader = createLoader();
47+
observeContent(loader);
48+
49+
// Optional fallback
50+
setTimeout(() => finishLoader(loader), 5000);
51+
}
52+
});
53+
})();

public/globals.css

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,29 @@ a.link:hover {
490490
width: fit-content;
491491
}
492492

493+
/* Hide first breadcrumb items using CSS */
494+
.breadcrumb-item:first-child {
495+
display: none;
496+
}
497+
498+
.breadcrumb-item:last-of-type a {
499+
color: #414651;
500+
pointer-events: none;
501+
cursor: text;
502+
text-decoration: none;
503+
}
504+
505+
#page-loader {
506+
position: fixed;
507+
top: 0;
508+
left: 0;
509+
width: 0%;
510+
height: 3px;
511+
background: linear-gradient(90deg, #3b82f6, #8b5cf6);
512+
z-index: 9999;
513+
transition: width 0.3s ease;
514+
}
515+
493516
#navbar .border-b {
494517
border: none;
495518
}
@@ -509,7 +532,7 @@ a.link:hover {
509532

510533
#navbar .nav-tabs .nav-tabs-item {
511534
padding: 12px 24px;
512-
font-size: 18px;
535+
font-size: 16px;
513536
white-space: nowrap;
514537
flex-shrink: 0;
515538
color: #414651;
@@ -529,6 +552,7 @@ a.link:hover {
529552
color: white;
530553
background-color: #252B37;
531554
border-radius: 100px;
555+
font-weight: 600;
532556
}
533557

534558
#navbar .h-10 {
@@ -541,6 +565,10 @@ a.link:hover {
541565
font-weight: 600;
542566
}
543567

568+
.nav-logo {
569+
height: 36px;
570+
}
571+
544572
.navbar-link a:hover {
545573
color: #181D27;
546574
background-color: transparent;
@@ -735,6 +763,7 @@ body:has(.homepage-container) #search-bar-entry {
735763

736764
.homepage-search-input::placeholder {
737765
color: #CECFD2;
766+
font-size: 18px;
738767
}
739768

740769
.homepage-search-input:hover {
@@ -914,4 +943,13 @@ article iframe,
914943
#chat-assistant-sheet {
915944
margin-top: 2rem !important;
916945
min-height: 90% !important;
917-
}
946+
}
947+
948+
.chat-assistant-floating-input {
949+
position: fixed;
950+
bottom: 1.5rem;
951+
right: 1.5rem;
952+
left: auto !important;
953+
margin: 0;
954+
z-index: 50;
955+
}
Lines changed: 17 additions & 6 deletions
Loading

snippets/components/ConnectorGrid/Integrations.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
border-radius: 12px;
1818
border: 1px solid #EAECF5;
1919
display: flex;
20-
height: 640px;
20+
height: 612px;
2121
overflow: hidden;
2222
position: relative;
2323
padding: 40px 40px 40px 0px;
@@ -65,19 +65,20 @@
6565
.sidebar-item {
6666
display: block;
6767
width: 100%;
68-
padding: 12px 20px;
69-
font-size: 18px;
68+
padding: 12px 22px;
69+
font-size: 16px;
7070
color: #535862;
7171
cursor: pointer;
7272
white-space: nowrap;
7373
flex-shrink: 0;
7474
text-align: right;
7575
font-weight: 500;
76+
border-right: 2px solid transparent;
7677
}
7778

7879
.sidebar-item:hover {
7980
color: #414651;
80-
border-right: 1px solid #D5D9EB;
81+
border-right: 2px solid #D5D9EB;
8182
}
8283

8384
.sidebar-item.active {
@@ -120,7 +121,7 @@
120121
.integration-card span {
121122
color: #181D27;
122123
font-weight: 500;
123-
font-size: 18px;
124+
font-size: 16px;
124125
line-height: 120%;
125126
}
126127

0 commit comments

Comments
 (0)