Skip to content

Commit a98a8d7

Browse files
committed
fix js add grid to ws-home
1 parent a7aaa0f commit a98a8d7

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

js/search-navbar/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function () {
2222
}
2323
}
2424

25-
document.getElementsByClassName('st-search-input')[0].addEventListener('click', function () {
25+
document.getElementsByClassName('aa-Input')[0].addEventListener('click', function () {
2626
typewriter.searchClicked()
2727
})
2828
}

js/tracking/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default function() {
3535
};
3636
};
3737

38-
Array.from(document.querySelectorAll('.st-search-input')).forEach(searchInput => {
38+
Array.from(document.querySelectorAll('.aa-Input')).forEach(searchInput => {
3939
searchInput.addEventListener('input', debounce(function(e) {
4040
const query = e.target.value
4141
if (query.length) {

src/_includes/navbar/search.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
<div class="field field--expand field--icon">
2-
<!-- <div class="field__icon field__icon--left flex flex--middle flex--center">
3-
{% include icons/symbols/search.svg %}
4-
</div> -->
5-
<!-- <input id="autocomplete" class="field__input input DocsNav-search-input st-search-input" type="text" placeholder="Search the Segment documentation (press / to focus...)"/> -->
62
<div id="autocomplete"></div>
73
{% unless include.mobile %}
84
<div class="field__icon field__icon--right flex flex--middle flex--center">

src/segment-app/workspace-home.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
22
title: Workspace Home
33
---
4-
<!--
4+
55
{% include content/plan-grid.md name="workspace-home" %}
6-
-->
76

87

98
Segment's Workspace Home serves as a dashboard that gives you a single consolidated view of the workspace, its health and status, and metrics for specific integrations over time.

0 commit comments

Comments
 (0)