Skip to content

Tool CSV import/export - #454

Open
bakedPotatoLord wants to merge 8 commits into
rel-4.5from
tool-csv
Open

bakedPotatoLord wants to merge 8 commits into
rel-4.5from
tool-csv

Conversation

@bakedPotatoLord

Copy link
Copy Markdown
Collaborator

add CSV import and export button. Handles CSV validation, and escaping of , and " characters

image

@bakedPotatoLord bakedPotatoLord self-assigned this Nov 25, 2025
@bakedPotatoLord
bakedPotatoLord changed the base branch from master to rel-4.5 November 25, 2025 22:48
@stewartoallen

Copy link
Copy Markdown
Contributor

instead of adding two new import/export buttons, I would add a single csv checkbox to the right which controls import/export format ... or a drop-down with csv and km which might be a little more explicit

@bakedPotatoLord

Copy link
Copy Markdown
Collaborator Author

Is there an existing dropdown component I could use for this?

@stewartoallen

Copy link
Copy Markdown
Contributor

sure. something like src/kiri/core/init.js line 1051

        animesh:          newSelect(LANG.op_anim_s, {title: LANG.op_anim_l, action: aniMeshSave, modes:CAM}, "animesh"),

creates a pulldown and "animesh" is the key into:

src/kiri/core/consts.js LISTS var which constrains the valid values. there is a little additional save/restore logic which you can trace from the action.

@bakedPotatoLord

Copy link
Copy Markdown
Collaborator Author

How's this?

image

@stewartoallen

Copy link
Copy Markdown
Contributor

Since this controls import and export, I would strike the word "export"

Screenshot 2025-11-27 at 11 22 36 AM

@bakedPotatoLord

Copy link
Copy Markdown
Collaborator Author

done!

image

This branch has not been deployed

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

Labels

cnc CNC / CAM mode enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants