|
| 1 | +--- |
| 2 | +slug: shared-schema-editor-and-method-picker |
| 3 | +title: "Shared Schema Editor and New Method Picker: Faster, Clearer Test Data Setup" |
| 4 | +authors: [alan] |
| 5 | +tags: [release, test-data, ux, schema] |
| 6 | +date: 2026-05-28T11:30 |
| 7 | +--- |
| 8 | + |
| 9 | +We have rolled out a major test-data editing upgrade across both the main data grid editing `app` and direct to file test data `generator`. |
| 10 | + |
| 11 | +The schema editing experience is now driven by one shared interface and a new method-picker dialog. |
| 12 | + |
| 13 | +<!-- truncate --> |
| 14 | + |
| 15 | +## What Changed |
| 16 | + |
| 17 | +### One shared schema editor |
| 18 | + |
| 19 | +Both pages now use the same schema-editing behavior for: |
| 20 | + |
| 21 | +- switching between row mode and text mode |
| 22 | +- row add/remove/reorder |
| 23 | +- text-to-row and row-to-text synchronization |
| 24 | +- sample schema insertion behavior |
| 25 | +- command picker integration |
| 26 | + |
| 27 | +Previously we had two different implementations, both prototypes, now we have refined the UI and made it consistent for both data generation approaches. |
| 28 | + |
| 29 | +### 2. New method picker dialog replacing dropdown-heavy flow |
| 30 | + |
| 31 | +Instead of relying on long dropdowns for method selection, we now use a searchable picker with: |
| 32 | + |
| 33 | +- fast filter by command, summary, params, and examples |
| 34 | +- partial text to filter commands so no more hunting around for the command in the category |
| 35 | +- curated tabs including `All`, `Core`, domain categories, `Faker`, and `Recently used` |
| 36 | +- a right-hand details panel with: |
| 37 | + - summary |
| 38 | + - schema signature |
| 39 | + - `Parameter Details` (description + examples) |
| 40 | + - `Parameter Types` (name/type/required) |
| 41 | + - usage and return examples |
| 42 | + - docs link when available |
| 43 | + |
| 44 | +### 3. Better handling of core schema types |
| 45 | + |
| 46 | +Core methods (`enum`, `literal`, `regex`) are first-class in the picker via the `Core` tab and remain available in `All`. |
| 47 | + |
| 48 | + |
| 49 | +## Benefits to the User |
| 50 | + |
| 51 | +### Faster setup, less scanning |
| 52 | + |
| 53 | +Searchable command selection and grouped tabs reduce time spent hunting for methods. |
| 54 | + |
| 55 | +### Fewer mistakes |
| 56 | + |
| 57 | +Richer method metadata and examples reduce guesswork around params and expected outputs. |
| 58 | + |
| 59 | +### More consistent workflows |
| 60 | + |
| 61 | +Shared controller behavior means users can switch between app and generator without relearning edge cases. |
| 62 | + |
| 63 | +## Practical Outcome |
| 64 | + |
| 65 | +If you author schemas often, day-to-day editing should now feel: |
| 66 | + |
| 67 | +- more predictable |
| 68 | +- easier to scan |
| 69 | +- less error-prone |
| 70 | +- more consistent across surfaces |
| 71 | + |
| 72 | +If you maintain tests, the shared behavior model should mean fewer page-specific exceptions and less brittle UI abstraction code. |
| 73 | + |
0 commit comments