OAR-Editor-Web 1.1 Update Log
Features
Added EXACT PRIORITY Filter: Added a separate search bar to filter by a specific priority number, in addition to the existing Min/Max method.
Ported 51 Unimplemented Conditions: Analyzed the OAR 3.0.1+ source code to include 51 core condition triggers, such as IsSwimming and FallDistance, allowing full selection and value control (Float/Int/Flag).
Added Advanced Settings UI Tab: Added control options for advanced config.json flags that were previously difficult for general users to access, including replaceOnLoop, blendTimeOnEcho, and overrideAnimationsFolder.
Added Icons
Fixes & Optimizations
Rendering
Fixed EXACT PRIORITY NaN Error Crash: Fixed a critical UI bug where clearing the search bar caused a NaN value, leading the tree to disappear and the app to freeze.
Optimized Search DOM Debounce (Mitigated Freezing): Resolved the issue of synchronously destroying and rebuilding thousands of DOM nodes per keystroke. The UI now re-renders only once, 200ms after the user finishes typing.
System
Introduced Backup to Prevent Save File Corruption: Previously, using createWritable() to overwrite the original JSON could result in a 0KB file if power was lost or disk space ran out. This patch introduces a Safe-Write structure that creates config_backup.json before overwriting the original file.
OAR 3.0.1+ Engine Compatibility (Data Type Casting): JavaScript tends to treat input numbers as strings (e.g., "10.5"), which could conflict with the OAR engine. Updated the schema to force conversion to Number types using parseFloat() and parseInt() immediately upon user input.
Introduced WebView2 Runtime Guidance: Fixed an issue where the app would silently close with an Initialize Failed popup on PCs without the WebView2 runtime. Added a notification and redirect to the Microsoft Edge download page in MainForm.cs.
Build & UI/UX
[UI/UX] Fixed Edit Raw JSON Line Alignment (CSS Fix): Fixed a pixel misalignment between JSON text and line numbers during scrolling by unifying font-size (0.95rem) and line-height (1.6) for both areas.
[UI/UX] Fixed Incorrect Option Display for Root Folders: Corrected a bug where clicking a top-level mod folder without animations incorrectly displayed Interruptible, Advanced Settings, and Animation Conditions. These are now hidden via conditional rendering.