Skip to content

Commit 165add1

Browse files
(cdocs) Update Cdocs (#35755)
* (cdocs) Glossary tooltips * wip * wip * wip * bump * Add playwright test * Remove redundant test * Update glossary test * Bump Cdocs to the latest and add e2e tests for the author console (#36133) * Revert change that broke e2e tests * Bump Cdocs version * Add e2e tests for the author console * Take the mask off the snapshots * Add snapshot * Bump Cdocs to the latest * Add e2e tests and snippet for the ui tag * Update test index --------- Co-authored-by: Jen Gilbert <jen.gilbert@datadoghq.com>
1 parent 3759805 commit 165add1

33 files changed

Lines changed: 981 additions & 11 deletions

.vscode/markdoc.code-snippets

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,13 @@
189189
"description": "Markdoc underline tag"
190190
},
191191

192+
"UI element": {
193+
"scope": "markdoc",
194+
"prefix": ";;ui",
195+
"body": "{% ui %}${1:UI element name}{% /ui %}",
196+
"description": "Markdoc ui tag for rendering references to UI elements"
197+
},
198+
192199
"Superscript": {
193200
"scope": "markdoc",
194201
"prefix": ";;sup",

content/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@
7272
/en/dd_e2e/cdocs/integration/content_filtering.md
7373
/en/dd_e2e/cdocs/integration/headings_and_toc.md
7474
/en/dd_e2e/cdocs/integration/sticky_data.md
75+
/en/agent/tooltip_test.md
7576
/en/dd_e2e/cdocs/integration/conditionally_displayed_filters/hide_if.md
7677
/en/dd_e2e/cdocs/integration/conditionally_displayed_filters/show_if.md
7778
/en/dd_e2e/cdocs/integration/dynamic_options.md
79+
/en/dd_e2e/cdocs/components/glossary_tooltip.md
80+
/en/dd_e2e/cdocs/components/ui.md

content/en/dd_e2e/cdocs/_index.mdoc.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ This folder contains a collection of pages used for e2e tests. These pages are n
8282
* [Tooltip](/dd_e2e/cdocs/components/tooltip)
8383
* Variations of the tooltip component render as expected on initial page load.
8484
---
85+
* [UI](/dd_e2e/cdocs/components/ui)
86+
* Variations of the ui component render as expected on initial page load.
87+
---
8588
* [Underline](/dd_e2e/cdocs/components/underline)
8689
* Variations of the underline component render as expected on initial page load.
8790
---
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Glossary tooltip
3+
draft: true
4+
---
5+
6+
## Case tests
7+
8+
Default case: {% glossary-tooltip term="trace_context_propagation" /%}
9+
10+
Title case: {% glossary-tooltip term="trace_context_propagation" case="title" /%}
11+
12+
Title case (no short definition): {% glossary-tooltip term="snmp" case="title" /%}
13+
14+
Sentence case: {% glossary-tooltip term="trace_context_propagation" case="sentence" /%}
15+
16+
Sentence case (no short definition): {% glossary-tooltip term="snmp" case="sentence" /%}
17+
18+
Lower case: {% glossary-tooltip term="trace_context_propagation" case="lower" /%}
19+
20+
Upper case: {% glossary-tooltip term="trace_context_propagation" case="upper" /%}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: UI
3+
draft: true
4+
---
5+
6+
## Overview
7+
8+
This page contains examples of the ui component.
9+
10+
11+
## Examples
12+
13+
### Button label
14+
15+
Click {% ui %}Save{% /ui %} to save your changes.
16+
17+
### Menu navigation
18+
19+
Open the {% ui %}File{% /ui %} menu and select {% ui %}Open{% /ui %}.
20+
21+
### UI element in a sentence
22+
23+
To enable notifications, navigate to the {% ui %}Settings{% /ui %} page and toggle {% ui %}Notifications{% /ui %} on.

content/en/dd_e2e/cdocs/integration/dynamic_options.mdoc.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ content_filters:
55
- trait_id: platform
66
option_group_id: dd_e2e_platform_options
77
- trait_id: prog_lang
8-
label: language
98
option_group_id: dd_e2e_<PLATFORM>_prog_lang_options
109
---
1110

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
id: extract_etl
33
title: extract, transform, and load (ETL)
4-
related_terms:
54
---
65
An established system where you pull data, transform the data, and load the output into a data warehouse. For more information, <a href="https://www.datadoghq.com/blog/engineering/crunchconf-talk-self-serve-analytics/#data-as-a-product-the-single-source-of-truth">see the blog post</a>.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
id: extract_etl
3-
related_terms: null
43
title: extracción, transformación y carga (ETL)
54
---
65
Un sistema establecido en el que se extraen datos, se transforman y se carga el resultado en un almacén de datos. Para obtener más información, <a href="https://www.datadoghq.com/blog/engineering/crunchconf-talk-self-serve-analytics/#data-as-a-product-the-single-source-of-truth">consulta la entrada del blog</a>.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
id: extract_etl
3-
related_terms: null
43
title: extract, transform, and load (ETL)
54
---
65
Un système établi dans lequel vous récupérez des données, les transformez et chargez le résultat dans un entrepôt de données. Pour plus d'informations, <a href="https://www.datadoghq.com/blog/engineering/crunchconf-talk-self-serve-analytics/#data-as-a-product-the-single-source-of-truth">consultez l'article de blog à ce sujet</a>.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
id: extract_etl
3-
related_terms: null
43
title: 抽出、変換、書き出し (ETL)
54
---
65
データを抽出し、変換し、その結果をデータウェアハウスにロードする確立されたシステム。詳しくは、<a href="https://www.datadoghq.com/blog/engineering/crunchconf-talk-self-serve-analytics/#data-as-a-product-the-single-source-of-truth">ブログ記事を参照</a>してください。

0 commit comments

Comments
 (0)