Skip to content

Asset folders - #195

Open
hobbsythe6th wants to merge 42 commits into
Candlestickers:developmentfrom
hobbsythe6th:asset-folders
Open

Asset folders#195
hobbsythe6th wants to merge 42 commits into
Candlestickers:developmentfrom
hobbsythe6th:asset-folders

Conversation

@hobbsythe6th

@hobbsythe6th hobbsythe6th commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Added asset folders.
Assets and folders can both be dragged and dropped onto other folders to move them in, and can be dropped on the 'back' button to move them out.

Branched this off the Vite migration.

…e terminal up with annoying deprecation warnings
*/
function FolderHeader(props) {
const [{ isOver }, drop] = useDrop(() => ({
accept: ACCEPT_TYPES,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't do the UI thing, but if react-drop accepts functions, it would be easier to just do:

i => (i instanceof String || typeof i === "string") ? i.endsWith('Asset') : false

@InternetAstronaut InternetAstronaut left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants