Feature Request: Drag-and-Drop Interface for Reordering JavaScript Files For Creating Plugins

@dejan @Pakic
Problem Statement: Currently, the order of JavaScript (.js) files in our project setup panel is static. The sequence in which these files are loaded significantly impacts the execution and scope of the functions they contain. As our codebase evolves, dependencies may change, necessitating a different loading order of these files.

Current Workaround: When the need arises to alter the load order, our current process is labor-intensive. It involves deleting and recreating files to position them correctly, which is both time-consuming and error-prone.

Proposed Solution: Implement a drag-and-drop interface within the project setup panel that allows for dynamic reordering of the JavaScript files. This feature will enable developers to quickly adjust the load order as the dependencies among scripts change during development.

Benefits:

  • Efficiency: Quicker and more intuitive adjustment of file load order.
  • Reduced Errors: Eliminates the need to recreate files and the potential for mistakes during this process.
  • Improved Organization: Allows developers to logically group related files together, improving readability and maintainability of the codebase.

Visual Aid: [Attached is an image showcasing the current project setup panel, with a visual cue highlighting where the drag-and-drop functionality could be integrated.]

1 Like