refactor(config): refine file browser path resolution and clean up test scripts

- Finalized the resolvePath logic in DynFormConfigurable to ensure strict project-root orientation.
- Cleaned up temporary test scripts and agent artifacts.
- Included minor updates to resource examples.
This commit is contained in:
2026-04-18 13:54:21 +07:00
parent ffe1712318
commit d42a514f44
5 changed files with 20 additions and 5 deletions

View File

@@ -111,7 +111,8 @@ public class DynFormConfigurable implements Configurable {
}
}
}
}.withRoots(projectDir);
};
if (projectDir != null) xmlDescriptor.withRoots(projectDir);
i18nMessageFileField.addBrowseFolderListener("Select Message XML File", "Select the main message bundle XML file (within project)",
project, xmlDescriptor, new TextComponentAccessor<>() {
@@ -175,7 +176,8 @@ public class DynFormConfigurable implements Configurable {
}
}
}
}.withRoots(projectDir);
};
if (projectDir != null) folderDescriptor.withRoots(projectDir);
xsdFolderField.addBrowseFolderListener("Select XSD Folder", "Select the folder containing DynForm .xsd schemas (within project)",
project, folderDescriptor, new TextComponentAccessor<>() {