Skip to content

Commit f38c56d

Browse files
committed
Add rest of article pages refactored to Table components
1 parent 9906cf1 commit f38c56d

50 files changed

Lines changed: 4602 additions & 1618 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.vscode/settings.json‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"criticals",
5757
"crossenv",
5858
"CUDA",
59+
"cust",
5960
"cyclonedx",
6061
"dall",
6162
"dango",
@@ -81,6 +82,7 @@
8182
"enddt",
8283
"epoll",
8384
"etcdctl",
85+
"exfiltrated",
8486
"exfiltrates",
8587
"EXIF",
8688
"fastly",
@@ -134,6 +136,7 @@
134136
"Hystrix",
135137
"IAAAAAAAAA",
136138
"ical",
139+
"ILIKE",
137140
"IMDS",
138141
"incentivized",
139142
"inotify",
@@ -196,12 +199,14 @@
196199
"millicores",
197200
"miscategorized",
198201
"misconfiguring",
202+
"Misrouted",
199203
"mlflow",
200204
"Moodle",
201205
"moyai",
202206
"MTTA",
203207
"MTTD",
204208
"MTTR",
209+
"myacr",
205210
"myapp",
206211
"mycompany",
207212
"mydb",
@@ -213,6 +218,7 @@
213218
"NACL",
214219
"nanostores",
215220
"navigations",
221+
"nbconvert",
216222
"nbthread",
217223
"ndots",
218224
"nektosact",
@@ -247,10 +253,12 @@
247253
"PABC",
248254
"pacticipant",
249255
"PERC",
256+
"permissioned",
250257
"pgbouncer",
251258
"pgmq",
252259
"Pgpool",
253260
"PGRST",
261+
"pgsql",
254262
"phpro",
255263
"pids",
256264
"pkill",
@@ -265,6 +273,7 @@
265273
"prio",
266274
"privateca",
267275
"psql",
276+
"psycopg",
268277
"Pulumi",
269278
"pvcs",
270279
"Pybreaker",
@@ -275,6 +284,7 @@
275284
"qdisc",
276285
"qpart",
277286
"qparts",
287+
"Qualtrics",
278288
"Qualys",
279289
"Qube",
280290
"QUIC",
@@ -320,6 +330,7 @@
320330
"startdt",
321331
"statefulsets",
322332
"stddev",
333+
"Structurizr",
323334
"Svgs",
324335
"SVID",
325336
"SVIDs",
@@ -391,6 +402,7 @@
391402
"wordprocessingml",
392403
"wscript",
393404
"xlarge",
405+
"xychart",
394406
"youtu",
395407
"yoyo",
396408
"Yubi",

‎_TODO.md‎

Lines changed: 35 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -84,21 +84,27 @@ if (window.matchMedia) {
8484
}
8585
```
8686

87-
- Need a workflow to generate PDF files from Markdown for downloads.
88-
8987
- Add a QR code at the bottom of printed pages so it's easier for someone to navigate to from a printed page.
9088

91-
- Need a layout alternative to Markup that formats for print. It needs to handle TOC differently as a full-width page. Need a fixed cover page format that adds article title, subtitle, and date.
92-
93-
- We have two print scenarios: black and white, and color for PDF output. Can use two different media queries to accomplish getting colored variables.
89+
- Need a layout alternative to Markup that formats for print. It needs to handle TOC differently as a full-width page.
9490

9591
- Need to make sure that on print, when we have a tabbed code block with multiple languages, only the first language is printed and the other language tabs are hidden. The styling should be different for print for the code block. Maybe move other language code tabs to an appendix and add a link to them.
9692

97-
- Need to only load print style sheet when needed.
93+
[This article](https://excessivelyadequate.com/posts/print.html) shows how to control the following properties in Chrome's Print Properties dialog box from CSS: Layout, Paper size, Margins, Headers and footers, and Background graphics. Headers and footers is the checkbox that by default is enabled and adds information on printed pages. It also shows how to use Chrome from the terminal in headless mode to output a PDF file from an HTML page.
9894

99-
[Paged.js](https://pagedjs.org/en/documentation/) polyfills `@page` properties, and lays out an HTML document in print format where it can have page numbers generated to update in a table of contents.
95+
## PDF File Generation
10096

101-
[This article](https://excessivelyadequate.com/posts/print.html) shows how to control the following properties in Chrome's Print Properties dialog box from CSS: Layout, Paper size, Margins, Headers and footers, and Background graphics. Headers and footers is the checkbox that by default is enabled and adds information on printed pages. It also shows how to use Chrome from the terminal in headless mode to output a PDF file from an HTML page.
97+
- Need a workflow to generate PDF files from Markdown for downloads.
98+
99+
- Need a fixed cover page format that adds article title, subtitle, and date.
100+
101+
- Table of Contents (Workarounds)
102+
103+
Because the browser doesn't know which page an element (like an <h1>) will land on until the PDF is fully rendered, you cannot generate a TOC with correct page numbers in a single pass. Common workarounds include:
104+
105+
Paged.js Polyfill: Use the Paged.js library to handle sophisticated print layouts (like TOCs and cross-references) within the browser before Puppeteer "prints" the result.
106+
107+
[Paged.js](https://pagedjs.org/en/documentation/) polyfills `@page` properties, and lays out an HTML document in print format where it can have page numbers generated to update in a table of contents.
102108

103109
This article has different approaches to [print pagination](https://www.customjs.space/blog/html-print-pagination-footer/). One approach overlaps with PagedJS's approach.
104110

@@ -170,10 +176,6 @@ https://mermaid.js.org/config/directives.html
170176

171177
- There's a pretty long delay when you push the Content Switcher to go from short to deep dive, what's causing it? It should be fast - maybe it's a prefetch issue, prefetch on page load
172178

173-
- Suggestions on improving table layout for better visual experience. Consider adding a trim outline to tables
174-
175-
- Cap callout length at 80% or 90% of the column so they're not longer than any text
176-
177179
- Themepicker and search icon are too big in non-squished header. Logo too - the initial presentation should be smaller.
178180

179181
- Search box in header should have blue outline, not highlight
@@ -249,9 +251,7 @@ The first file to update is:
249251

250252
numbered-with-background-list, check-icons-list
251253

252-
We have lists in our current articles that are of two variants: those that are plain text lists (either ordered or unordered), and those that are lists with both leads and plain texts. Our List component layouts handle both lists with leads and those without. We can identify leads because that text is emphasized with markdown in some fashion: "_", "__", "*", or "**". We need to refactor the markdown lists in a file into either an ordered (numbered-with-background-list) or unordered (check-icons-list) list, and extract lead text if present into the optional lead prop if any lead text is present.
253-
254-
If there is a Further Reading" heading at the bottom of a file, ignore any list that may be contained in it.
254+
We have lists in our current articles that are of two variants: those that are plain text lists (either ordered or unordered), and those that are lists with both leads and plain texts. Our List component layouts handle both lists with leads and those without. We can identify leads because that text is emphasized with markdown in some fashion: "_", "__", "*", or "**". We need to refactor the markdown lists in a file into either an ordered (numbered-with-background-list) or unordered (check-icons-list) list, and extract lead text if present into the optional lead prop if any lead text is present. The "lead" prop should come first and before the "text" prop in the object. The "lead" prop is the emphasized text that comes first in the list items we are converting to the List component
255255

256256
An example is as follows:
257257

@@ -272,3 +272,23 @@ The first file to update is:
272272
Files with missed lists:
273273

274274
src/content/articles/eol-runtime-upgrade-dependency-hell-migration/index.mdx
275+
276+
### Timelines
277+
278+
- Good generation:
279+
280+
api-gateway-metrics-traces-logs-debugging/trace-context-propagation-creating-connected-spans-across-gateway-boundary.jpg
281+
282+
- Needs done:
283+
284+
backpressure-load-shedding-admission-control-overload/backpressure-propagates-from-the-constrained-resource-back-to-the-client.png
285+
286+
argocd-sync-failures-gitops-debugging-troubleshooting/hook-execution-sequence-during-argoc-sync-lifecycle.png
287+
288+
- Not close enough in details:
289+
290+
argocd-sync-failures-gitops-debugging-troubleshooting/resource-dependency-graph-showing-potential-failure-points.png
291+
292+
### Figure captions are broken:
293+
294+
src/content/articles/structured-logging-correlation-ids-log-schema-design/pdf.mdx
Binary file not shown.

src/content/articles/argocd-sync-failures-gitops-debugging-troubleshooting/1.jpg renamed to src/content/articles/argocd-sync-failures-gitops-debugging-troubleshooting/argocd-sync-process-from-git-commit-to-healthy-application-deep-dive.jpg

File renamed without changes.

src/content/articles/argocd-sync-failures-gitops-debugging-troubleshooting/1-short.jpg renamed to src/content/articles/argocd-sync-failures-gitops-debugging-troubleshooting/argocd-sync-process-from-git-commit-to-healthy-application.jpg

File renamed without changes.
44.8 KB
Loading

src/content/articles/argocd-sync-failures-gitops-debugging-troubleshooting/3.jpg renamed to src/content/articles/argocd-sync-failures-gitops-debugging-troubleshooting/resource-dependency-graph-showing-potential-failure-points.jpg

File renamed without changes.
Loading
92.1 KB
Loading
Loading

0 commit comments

Comments
 (0)