Changes to ToolScript file locations
The directory structure for apps protected using Source Control is changing to reduce the likelihood of merge conflicts.
Component positioning information (stored in ToolScript files) is now organized by page. The apps
directory contains a .positions
directory, which contains one file per page in the format .pageName.positions.json
.
Previously, all positioning information was stored in one .positions.json
file. The new structure prevents merge conflicts.
This change is live on Retool Cloud, and it will be available in a subsequent release of Self-hosted Retool.
- Previous directory hierarchy
- New directory hierarchy
app-name
└── .defaults.json
└── .positions.json
└── .mobilePositions.json
└── lib
└── sqlQueryName.sql
└── jsQueryName.js
└── src
└── container1.rsx
└── functions.rsx
└── main.rsx
└── metadata.json
app-name
└── .defaults.json
└── .positions
└── .global_mobile_positions.json
└── .global_positions.json
└── .pageName1.positions.json
└── .pageName2.positions.json
└── .pageName1.mobilePositions.json
└── .pageName2.mobilePositions.json
└── lib
└── sqlQueryName.sql
└── jsQueryName.js
└── src
└── container1.rsx
└── functions.rsx
└── main.rsx
└── metadata.json