Skip to content

Commit 3788e2f

Browse files
authored
Merge pull request #170 from NMFS-RADFish/169-update-example-card-descriptions
169 - Update Example card descriptions
2 parents 23ae381 + 23b92cb commit 3788e2f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docusaurus.config.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const config = {
8686
return {
8787
filename: readmeToNamedMd(filename),
8888
content: `---
89-
description: This example includes an example on how to build a form where the values of certain input fields compute the value of a separate readOnly input field elsewhere in the form.
89+
description: Automatically calculates a read-only field in forms
9090
title: Computed Form Fields
9191
id: computed-form-fields
9292
---
@@ -124,7 +124,7 @@ ${content}`,
124124
return {
125125
filename: readmeToNamedMd(filename),
126126
content: `---
127-
description: This example includes an example on how to build a form where the values of certain input fields control the visibility of other fields within that form.
127+
description: Dynamically show/hide fields based on other inputs
128128
title: Conditional Form Fields
129129
id: conditional-form-fields
130130
---
@@ -162,7 +162,7 @@ ${content}`,
162162
return {
163163
filename: readmeToNamedMd(filename),
164164
content: `---
165-
description: This example demonstrates how to enforce field validation logic on certain fields within your form.
165+
description: Enforce validation logic, like disallowing numbers
166166
title: Field Validators
167167
id: field-validators
168168
---
@@ -200,7 +200,7 @@ ${content}`,
200200
return {
201201
filename: readmeToNamedMd(filename),
202202
content: `---
203-
description: This example shows you how to detect if a user has network connectivity.
203+
description: Detect network connectivity and display offline alerts
204204
title: Network Status
205205
id: network-status
206206
---
@@ -238,7 +238,7 @@ ${content}`,
238238
return {
239239
filename: readmeToNamedMd(filename),
240240
content: `---
241-
description: This example includes how to setup and use mock service worker and the native fetch API to build out a mock API on the frontend to consume without needing to rely on a backend system.
241+
description: Mock API for frontend development with MSW and fetch
242242
title: Mock API
243243
id: mock-api
244244
---
@@ -276,7 +276,7 @@ ${content}`,
276276
return {
277277
filename: readmeToNamedMd(filename),
278278
content: `---
279-
description: This example includes how to setup and use the on-device storage using IndexedDB and Dexie.js.
279+
description: Use IndexedDB/Dexie.js for offline or local storage
280280
title: On Device Storage
281281
id: on-device-storage
282282
---
@@ -314,7 +314,7 @@ ${content}`,
314314
return {
315315
filename: readmeToNamedMd(filename),
316316
content: `---
317-
description: This example includes an example on how to build a form that includes multiple "steps"
317+
description: Multi-step form saving progress and inputs locally
318318
title: Multistep Form
319319
id: multistep-form
320320
---
@@ -352,7 +352,7 @@ ${content}`,
352352
return {
353353
filename: readmeToNamedMd(filename),
354354
content: `---
355-
description: The ServerSync component is responsible for synchronizing data between a client application and a remote server.
355+
description: Sync client-server data with offline storage support
356356
title: ServerSync
357357
id: server-sync
358358
---
@@ -390,7 +390,7 @@ ${content}`,
390390
return {
391391
filename: readmeToNamedMd(filename),
392392
content: `---
393-
description: This example shows you how you could use the React Query library to manage state in your application.
393+
description: Manage app state with React Query's simplified API
394394
title: React Query
395395
id: react-query
396396
---
@@ -428,7 +428,7 @@ ${content}`,
428428
return {
429429
filename: readmeToNamedMd(filename),
430430
content: `---
431-
description: This example shows you how to configure a persisted form that saves the data locally.
431+
description: Save and persist form data locally with FormWrapper
432432
title: Persisted Form
433433
id: persisted-form
434434
---
@@ -466,7 +466,7 @@ ${content}`,
466466
return {
467467
filename: readmeToNamedMd(filename),
468468
content: `---
469-
description: This example demonstrates how to use the <Table> component to display tabular data.
469+
description: Display tabular data using the <Table> component
470470
title: Simple Table
471471
id: simple-table
472472
---
@@ -504,7 +504,7 @@ ${content}`,
504504
return {
505505
filename: readmeToNamedMd(filename),
506506
content: `---
507-
description: This example demonstrates how build a non-trivial form using Trussworks components.
507+
description: Build complex forms using Trussworks core components
508508
title: Form Structure
509509
id: form-structure
510510
---

0 commit comments

Comments
 (0)