Editing documents
Inline editing, the document detail view, type-aware field editors, and adding new fields.
Firepanel lets you edit Firestore documents the way you'd expect from a real admin tool — directly, with editors that understand each field's type. Every change is written straight back to your Firebase project.
Two ways to edit#
- Inline, in the table. For quick changes to a single field, edit the cell in place and save. Good for flipping a boolean or fixing a string.
- The document detail view. Click a row to open the full document. Here you see every field, nested maps and arrays expanded, with a dedicated editor for each type. Best for anything beyond a one-field tweak.
Type-aware field editors#
Firepanel picks the right editor for each field so you don't have to hand-write JSON for everything:
| Type | Editor |
|---|---|
| String | Text input |
| Number | Numeric input |
| Boolean | Toggle |
| Timestamp | Date/time picker |
| GeoPoint | Latitude/longitude inputs with a map preview |
| Reference | A picker that lets you choose the target document |
| Map / Array | A structured editor, with a raw JSON editor for complex values |
| Null | Explicit null, distinct from "field absent" |
The reference picker means you don't have to paste document paths by hand — browse to the target document and Firepanel builds the reference for you. For deeply nested or unusual structures, the built-in JSON editor (powered by Monaco) gives you full control with syntax highlighting and validation.
Adding fields#
Documents are schemaless, so you can add a field to any document:
Open the document
Click the row to open the detail view.
Add a field
Choose Add field, give it a name, and pick its type. Firepanel shows the matching editor for that type.
Set the value and save
Enter the value and save. The field is written to Firestore on that document only — other documents in the collection are untouched.
Saving and discarding#
In the detail view, your edits are staged until you save, so you can change several fields and commit them together. Save with the button or ⌘S; discard to revert to what's in Firestore. You can also duplicate a document or copy it as JSON from the same view.
Warning
Edits write to your live database immediately on save — there's no separate staging environment. Double-check before saving changes to production data. For risky changes, the delete flow has an undo, but edits do not, so consider exporting a backup first.
Next#
Learn how to create new documents, run bulk operations, and delete safely.