Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move layout files to workflow settings folder #1956

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

glopesdev
Copy link
Member

@glopesdev glopesdev commented Aug 6, 2024

As detailed in #1955 this PR moves the .layout files to the new per-workflow settings folder which aims to declutter project working directories and is designed to be conveniently ignored by version control systems.

New example folder structure for layout files:

📦ProjectFolder
 ┣ 📂.bonsai
 ┃ ┣ 📂Workflow1
 ┃ ┃ ┗ 📜layout
 ┃ ┗ 📂Workflow2
 ┃ ┃ ┗ 📜layout
 ┣ 📜Workflow1.bonsai
 ┗ 📜Workflow2.bonsai

Further work in #1870 will allow building on this new organization to save other editor state, and possibly address some of the drawbacks outlined in #1955.

The PR also moves scanning of extension workflow files into the new Project helper class to begin consolidating project path manipulation operators in advance of refactoring towards a cross-platform visual editor.

Fixes #1955

@glopesdev glopesdev added the feature New planned feature label Aug 6, 2024
@glopesdev glopesdev added this to the 2.9 milestone Aug 6, 2024
@glopesdev glopesdev force-pushed the issue-1955 branch 2 times, most recently from c992a45 to 3a0218a Compare August 6, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New planned feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reorganize per-workflow settings file structure
1 participant