Add UI buttons to (re-)import data from farmOS #2

Closed
opened 2026-02-17 18:21:06 -06:00 by lance · 1 comment
Owner

This would be easy enough to add, might as well do it. Although in practice it may only be needed in dev..assuming production builds can stay in sync properly..

When viewing any asset/log/etc. record which corresponds to one in farmOS, add a tool panel button to re-import the record.

When viewing a table corresponding to farmOS, add grid tool button to run the full table import.

Possibly somewhere (?) add a "full everything import" button.

Some of those (table/everything) should maybe show a checkbox so user can send or skip the warnings email. And perhaps the dry-run flag checkbox too.

This would be easy enough to add, might as well do it. Although in practice it may only be needed in dev..assuming production builds can stay in sync properly.. When viewing any asset/log/etc. record which corresponds to one in farmOS, add a tool panel button to re-import the record. When viewing a table corresponding to farmOS, add grid tool button to run the full table import. Possibly somewhere (?) add a "full everything import" button. Some of those (table/everything) should maybe show a checkbox so user can send or skip the warnings email. And perhaps the dry-run flag checkbox too.
Author
Owner

Finally added per-table and per-record import (and export) in f6dd5b8c89

Not sure the "sync everything" option is really needed, I think CLI is more appropriate there.

I'm closing this even though only Assets and Logs have the feature so far. It's simple enough to copy the pattern for other tables when needed.

Finally added per-table and per-record import (and export) in https://forgejo.wuttaproject.org/wutta/wuttafarm/commit/f6dd5b8c89c22938463a7c590a62a9a2df94a537 Not sure the "sync everything" option is really needed, I think CLI is more appropriate there. I'm closing this even though only Assets and Logs have the feature so far. It's simple enough to copy the pattern for other tables when needed.
lance closed this issue 2026-10-15 22:40:35 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
wutta/wuttafarm#2
No description provided.