Skip to content

docs: explain first-import CSV preflight and required timestamps - #1107

Merged
mstenta merged 1 commit into
farmOS:4.xfrom
jdhart81:docs/csv-first-use-preflight
Oct 18, 2026
Merged

mstenta merged 1 commit into
farmOS:4.xfrom
jdhart81:docs/csv-first-use-preflight

Conversation

@jdhart81

Copy link
Copy Markdown

Add a small Activity-log preflight example so first-time importers can check required timestamps and inspect created records before a bulk upload. References #930 without claiming to fix the missing-validation-message behavior.

Validation against current 4.x (a77a137):

  • Real farmOS imports in a fresh, network-isolated SQLite instance: missing timestamp created zero records and recorded a timestamp validation error; the valid sample created one Activity log at 2026-10-12T12:00:00Z.
  • Activity template obtained from the actual controller; MkDocs HTML build and changed-page content checks passed.
  • Patch and whitespace checks passed.

The import check exercised the backend migration engine, not end-to-end browser upload/batch behavior. Existing site-wide documentation warnings remain outside this scoped change. Thanks to Michael Stenta for the original report and importer documentation.

@mstenta
mstenta force-pushed the docs/csv-first-use-preflight branch from 19333c5 to 47bd3a8 Compare October 14, 2026 11:34
@mstenta

mstenta commented Oct 14, 2026

Copy link
Copy Markdown
Member

Thanks for the contribution @jdhart81!

I think its a good idea to highlight the fact that CSV importer templates include all of the columns and that some fields are required (depending on the importer).

I'd rather not add specifics to this guide, however... or if we do then we should consider a holistic rewrite, rather than incrementally tacking details. And either way, we should not include references to outstanding bugs or known issues.

The reasoning: documentation requires maintenance too, and there is a tradeoff with making it very detailed. We need to remember to update it if those bugs are fixed (which hopefully they will be)! So my preference is to keep it simple - outline basic features, and point users to the UI itself for specifics, because we know that will be the most up-to-date.

That, and also write more community blog posts! https://farmOS.org/blog

The reason we started the community blog was to allow more detailed guides to be written without adding the burden of maintaining them like documentation.

I've simplified your proposed change, but preserved your commit credit. Let me know if you're OK with merging this and I will go ahead!

If you'd like to help fix the core issue you ran into (#930), we'd love help with that too!

Minor note: if you use an LLM to create contributions, please make note of that. We are in the process of formalizing our contribution policies around this. Ultimately, we want to interact with humans. :-)

@jdhart81

Copy link
Copy Markdown
Author

Thanks Michael—your simplified wording looks good to me, and I’m happy for you to merge it. Thanks for preserving the commit credit. This contribution was developed with AI assistance, including the documentation and validation work; Justin remains responsible for the submission. I agree that detailed examples belong in a community blog post rather than adding maintenance burden to the core guide. We’ll treat #930 as separate work.

@mstenta
mstenta force-pushed the docs/csv-first-use-preflight branch from 47bd3a8 to 49d5bd6 Compare October 18, 2026 20:14
@mstenta
mstenta merged commit 49d5bd6 into farmOS:4.x Oct 18, 2026
@mstenta

mstenta commented Oct 18, 2026

Copy link
Copy Markdown
Member

Merged. Thanks again @jdhart81!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants