oxen remote df <path> now shows remotely staged df by default via a duckdb query interface for improved pagination
oxen remote df <path> --committed - flag added to show the committed df version on this branch
oxen remote df <path> --index now indexes a dataframe into an editable state in remote staging via duckdb
oxen remote df <path> --add-row - switched from CSV -> json content type for consistency w/ API and row ordering
oxen remote df <path> --get-row <uuid>
oxen remote df <path> --delete-row <uuid> - this can now stage deletions of any df row, where it could only effectively "unstage" staged rows before
API routes added
Mirrors of CLI routes above. documented in Postman under OxenHub API > Remote Staging
Refactors and cleanup
The compare API and models are gone. All dataframe diff (formerly compare) functions return a DiffResult::Tabular, and are then converted in the controllers to the UI / CLI views
(Compare terminology still exists for views only. This can be converted to TabularDiffView or similar in the future, this just seemed like a sensible stopping place to get it out the door
Remote staging changes
staged_df_db: handles table naming and virtual oxen columns (just _oxen_id for now, but this will include status and hash as well)
remote_df_stager: logic for indexing, unindexing, and modifying a staged dataframe via duckdb
Commands added / improved:
oxen remote df <path>
now shows remotely staged df by default via a duckdb query interface for improved paginationoxen remote df <path> --committed
- flag added to show the committed df version on this branchoxen remote df <path> --index
now indexes a dataframe into an editable state in remote staging via duckdboxen remote df <path> --add-row
- switched from CSV -> json content type for consistency w/ API and row orderingoxen remote df <path> --get-row <uuid>
oxen remote df <path> --delete-row <uuid>
- this can now stage deletions of any df row, where it could only effectively "unstage" staged rows beforeAPI routes added
Refactors and cleanup
compare
API and models are gone. All dataframe diff (formerly compare) functions return aDiffResult::Tabular
, and are then converted in the controllers to the UI / CLI viewsTabularDiffView
or similar in the future, this just seemed like a sensible stopping place to get it out the doorRemote staging changes
staged_df_db
: handles table naming and virtual oxen columns (just_oxen_id
for now, but this will include status and hash as well)remote_df_stager
: logic for indexing, unindexing, and modifying a staged dataframe via duckdb