Skip to content

Commit 1e91a0e

Browse files
authored
fix: update example data in JSON and XML import dialogs (baserow#5016)
* fix: update example data in JSON and XML import dialogs Replace placeholder data (Tove/Jani notes) with clearer contact records (name/email/phone) that better demonstrate the expected import format for new users. Fixes baserow#2953 * changelog: add entry for import dialog example data fix Addresses review from @stribny: PR was missing a changelog entry. Added a bug-type entry under changelog/entries/unreleased/bug/ referencing issue baserow#2953. --------- Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
1 parent 38403e3 commit 1e91a0e

3 files changed

Lines changed: 27 additions & 23 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "bug",
3+
"message": "Replace placeholder example data in the JSON and XML import dialogs with clearer contact records so users can see a typical table import format",
4+
"issue_origin": "github",
5+
"issue_number": 2953,
6+
"domain": "database",
7+
"bullet_points": [],
8+
"created_at": "2026-04-16"
9+
}

web-frontend/modules/database/components/table/TableJSONImporter.vue

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,14 @@
1010
<pre>
1111
[
1212
{
13-
"to": "Tove",
14-
"from": "Jani",
15-
"heading": "Reminder",
16-
"body": "Don't forget me this weekend!"
13+
"name": "John Doe",
14+
"email": "john@example.com",
15+
"phone": "123-456-7890"
1716
},
1817
{
19-
"to": "Bram",
20-
"from": "Nigel",
21-
"heading": "Reminder",
22-
"body": "Don't forget about the export feature this week"
18+
"name": "Jane Smith",
19+
"email": "jane@example.com",
20+
"phone": "987-654-3210"
2321
}
2422
]
2523
</pre

web-frontend/modules/database/components/table/TableXMLImporter.vue

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,18 @@
88
<div class="control__description">
99
{{ $t('tableXMLImporter.fileDescription') }}
1010
<pre>
11-
&lt;notes&gt;
12-
&lt;note&gt;
13-
&lt;to&gt;Tove&lt;/to&gt;
14-
&lt;from&gt;Jani&lt;/from&gt;
15-
&lt;heading&gt;Reminder&lt;/heading&gt;
16-
&lt;body&gt;Don't forget me this weekend!&lt;/body&gt;
17-
&lt;/note&gt;
18-
&lt;note&gt;
19-
&lt;heading&gt;Reminder&lt;/heading&gt;
20-
&lt;heading2&gt;Reminder2&lt;/heading2&gt;
21-
&lt;to&gt;Tove&lt;/to&gt;
22-
&lt;from&gt;Jani&lt;/from&gt;
23-
&lt;body&gt;Don't forget me this weekend!&lt;/body&gt;
24-
&lt;/note&gt;
25-
&lt;/notes&gt;</pre
11+
&lt;data&gt;
12+
&lt;record&gt;
13+
&lt;name&gt;John Doe&lt;/name&gt;
14+
&lt;email&gt;john@example.com&lt;/email&gt;
15+
&lt;phone&gt;123-456-7890&lt;/phone&gt;
16+
&lt;/record&gt;
17+
&lt;record&gt;
18+
&lt;name&gt;Jane Smith&lt;/name&gt;
19+
&lt;email&gt;jane@example.com&lt;/email&gt;
20+
&lt;phone&gt;987-654-3210&lt;/phone&gt;
21+
&lt;/record&gt;
22+
&lt;/data&gt;</pre
2623
>
2724
</div>
2825
</template>

0 commit comments

Comments
 (0)