diff --git a/build.rs b/build.rs
index caec33c5..b5384c72 100644
--- a/build.rs
+++ b/build.rs
@@ -74,8 +74,19 @@ fn main() -> Result<(), anyhow::Error> {
let template_snapshot = snapshot_from_fs_path(&templates_dir)?;
+ // Try modern .json5 extension first, fall back to legacy .json
+ let plugin_project_path = {
+ let json5_path = root_dir.join("plugin.project.json5");
+ let json_path = root_dir.join("plugin.project.json");
+ if json5_path.exists() {
+ json5_path
+ } else {
+ json_path
+ }
+ };
+
let plugin_snapshot = VfsSnapshot::dir(hashmap! {
- "default.project.json5" => snapshot_from_fs_path(&root_dir.join("plugin.project.json5"))?,
+ "default.project.json5" => snapshot_from_fs_path(&plugin_project_path)?,
"plugin" => VfsSnapshot::dir(hashmap! {
"fmt" => snapshot_from_fs_path(&plugin_dir.join("fmt"))?,
"http" => snapshot_from_fs_path(&plugin_dir.join("http"))?,
diff --git a/plugin.project.json5 b/plugin.project.json
similarity index 100%
rename from plugin.project.json5
rename to plugin.project.json
diff --git a/plugin/src/App/StatusPages/Confirming.lua b/plugin/src/App/StatusPages/Confirming.lua
index c166caae..7c4daa40 100644
--- a/plugin/src/App/StatusPages/Confirming.lua
+++ b/plugin/src/App/StatusPages/Confirming.lua
@@ -327,18 +327,18 @@ function ConfirmingPage:render()
self:setState({ showingAcceptConfirm = false })
end,
}, {
- Content = e("Frame", {
- Size = UDim2.fromScale(1, 1),
- BackgroundColor3 = theme.Background2,
- BorderSizePixel = 0,
- }, {
- Message = e("TextLabel", {
- Text = string.format(
- "%d item%s not been reviewed.\n\nAccept selected changes and skip the rest?",
- self.state.unselectedCount,
- self.state.unselectedCount == 1 and " has" or "s have"
- ),
- FontFace = theme.Font.Regular,
+ Content = e("Frame", {
+ Size = UDim2.fromScale(1, 1),
+ BackgroundColor3 = theme.BackgroundColor,
+ BorderSizePixel = 0,
+ }, {
+ Message = e("TextLabel", {
+ Text = string.format(
+ "%d item%s not been reviewed.\n\nAccept selected changes and skip the rest?",
+ self.state.unselectedCount,
+ self.state.unselectedCount == 1 and " has" or "s have"
+ ),
+ FontFace = theme.Font.Main,
TextSize = theme.TextSize.Body,
TextColor3 = theme.TextColor,
TextWrapped = true,
diff --git a/src/snapshot_middleware/meta_file.rs b/src/snapshot_middleware/meta_file.rs
index d69798e0..2f929127 100644
--- a/src/snapshot_middleware/meta_file.rs
+++ b/src/snapshot_middleware/meta_file.rs
@@ -64,7 +64,7 @@ impl AdjacentMetadata {
.or_else(|| file_stem.strip_suffix(".local"))
.or_else(|| file_stem.strip_suffix(".legacy"))
.unwrap_or(file_stem);
-
+
// Try modern extension first, then fall back to legacy
let meta_path_json5 = path.with_file_name(format!("{base_name}.meta.json5"));
let meta_path_json = path.with_file_name(format!("{base_name}.meta.json"));
@@ -503,14 +503,14 @@ pub fn dir_meta(vfs: &Vfs, path: &Path) -> anyhow::Result