|
2 | 2 |
|
3 | 3 | This project follows a pragmatic changelog style (human-written notes) rather than auto-generated commit dumps. |
4 | 4 |
|
5 | | -## Unreleased (planned for v1.3.0) |
| 5 | +## Unreleased |
| 6 | + |
| 7 | +> Target release: **v1.3.0** (first official release). We’re still finishing/polishing this version. |
| 8 | +
|
| 9 | +- **UI/UX:** eliminate the persistent toolbox/flyout vertical scrollbar artifact by hiding scrollbar chrome on Blockly’s inner scroll containers (not just the outer toolbox div). |
| 10 | +- **Window default:** app now opens maximized with a 1920×1080 (1080p) target size (clamped to the display work area) so the editor fills the screen by default. |
| 11 | + |
| 12 | +## v1.3.0 |
| 13 | + |
| 14 | +### Features & Improvements (v1.3.0) |
| 15 | + |
| 16 | +- **Header/layout cleanup:** brand/logo aligned left, toolbox search moved into the header, and the app version is shown top-right. |
| 17 | +- **Workspace controls in header:** zoom in/out/reset/fit + trash moved to the top-right header to keep the canvas clear. |
| 18 | +- **UI clutter removed:** removed the unused Live Diagnostics overlay and the floating Code Preview button (Code Preview is now a normal header button). |
| 19 | +- **Collections UX:** COLLECTIONS toolbox category now dynamically lists existing collections and includes a “Convert selection to collection” action. |
| 20 | +- **Collections visuals:** collection call/definition blocks are taller (easier to spot in large workspaces). |
| 21 | +- **Variables toolbox:** restored a working VARIABLES category (manage/create button + existing variables listed as pre-filled GET/SET blocks). |
| 22 | +- **Selection Lists:** regenerated `selection-lists.md` so `widget 1` uses the base enum name (no `Item` suffix). |
| 23 | +- **Selection Lists dropdowns:** runtime lookups are now case-insensitive and support alias mapping for mismatched enum names. |
| 24 | + |
| 25 | +### Fixes (v1.3.0) |
6 | 26 |
|
7 | | -### Fixes |
8 | 27 | - **Selection Lists dropdowns:** address cases where dropdowns get stuck on “(loading selection lists…)” by improving runtime asset loading for Electron `file://` contexts. |
9 | 28 | - **Presets:** allow saving after loading and editing a built-in preset (save-as copy / overwrite flow). |
10 | 29 |
|
11 | | -### Credits |
| 30 | +- **Presets (Electron file://):** built-in preset loading now falls back to reading JSON from disk when `fetch()` is unavailable/restricted in packaged builds. |
| 31 | + |
| 32 | +- **Electron compatibility:** removed remaining native `prompt()` usage by routing prompts through Blockly dialogs (Electron does not support `window.prompt`). |
| 33 | +- **Presets/imports:** ensure critical Portal structural types (like `modBlock` with a `RULES` statement) are defined before loading templates. |
| 34 | +- **Version label:** app version now resolves in both dev and packaged `app.asar` layouts. |
| 35 | + |
| 36 | +### Credits (v1.3.0) |
| 37 | + |
12 | 38 | - Add explicit credit for the **Portal Docs** dataset used to populate block help/tooltips: |
13 | | - - https://github.com/battlefield-portal-community/portal-docs |
| 39 | + - [battlefield-portal-community/portal-docs](https://github.com/battlefield-portal-community/portal-docs) |
| 40 | + |
| 41 | +### CI/CD (v1.3.0) |
14 | 42 |
|
15 | | -### CI/CD |
16 | 43 | - GitHub Actions: release automation on tag push (creates GitHub Release and uploads Windows artifacts). |
17 | 44 |
|
18 | | -### Notes / Investigations log |
| 45 | +### Notes / Investigations log (v1.3.0) |
| 46 | + |
19 | 47 | These are the key issues encountered recently and how they were fixed: |
| 48 | + |
20 | 49 | - **“Container menuBarContainer not found”**: fixed by guarding MenuBar initialization when optional container isn’t present. |
21 | 50 | - **Preset templates failing to load (`MissingConnection` / `modBlock` RULES)**: fixed by ensuring `modBlock` always provides a `RULES` statement input before loading presets. |
22 | 51 | - **Packaged app missing `selection-lists.md`**: Electron build excludes `*.md`, so runtime now ships/loads `selection-lists.txt` instead. |
23 | 52 | - **Code Preview stopped showing TypeScript**: caused by loading two Blockly instances (global script + webpack import) and serializing a workspace created by the “other” instance. Fixed by making the webpack Blockly instance the global `window.Blockly` and explicitly initializing the preview after workspace creation. |
24 | 53 |
|
25 | 54 | ## v1.2.9 |
26 | 55 |
|
27 | | -### Features & Improvements |
| 56 | +### Features & Improvements (v1.2.9) |
| 57 | + |
28 | 58 | - **Collections / Bookmarks (MVP):** convert a stack into an offscreen collection definition and leave a compact call/bookmark block in place. |
29 | | - - Right-click: **Convert to collection (bookmark + move stack)** |
30 | | - - Right-click: **Jump to collection definition** (teleport) |
| 59 | + - Right-click: **Convert to collection (bookmark + move stack)** |
| 60 | + - Right-click: **Jump to collection definition** (teleport) |
31 | 61 | - **Canvas navigation (right-click teleport):** fast jumping around large workspaces. |
32 | | - - MOD: jump to the MOD container |
33 | | - - Rules: jump to owning Rule / first Rule |
34 | | - - Variables: jump between first getter/setter |
35 | | - - Generic: jump to stack root |
36 | | - - Subroutines: jump Call ↔ Definition |
| 62 | + - MOD: jump to the MOD container |
| 63 | + - Rules: jump to owning Rule / first Rule |
| 64 | + - Variables: jump between first getter/setter |
| 65 | + - Generic: jump to stack root |
| 66 | + - Subroutines: jump Call ↔ Definition |
| 67 | + |
| 68 | +### Fixes (v1.2.9) |
37 | 69 |
|
38 | | -### Fixes |
39 | 70 | - **Portal JSON compatibility:** export wrapped Portal-style JSON (`{"mod":{"blocks":...}}`) and accept both wrapped + raw Blockly workspace JSON on import. |
40 | 71 | - **Help system:** stable search input (no scrambled text while typing) and right-click help opens the same local docs as the main Help UI. |
41 | 72 |
|
42 | 73 | ## v1.2.8 |
43 | 74 |
|
44 | | -### Features & Improvements |
| 75 | +### Features & Improvements (v1.2.8) |
| 76 | + |
45 | 77 | - Presets dropdown restored with **3 locked built-ins** (Andy6170 templates) + user save/delete. |
46 | 78 | - Placeholder block auto-registration so community templates still render even if some block types are missing. |
47 | 79 | - Selection list blocks use dynamic dropdowns (values sourced from `selection-lists` data). |
48 | 80 |
|
49 | | -### Fixes |
| 81 | +### Fixes (v1.2.8) |
| 82 | + |
50 | 83 | - Guarded UI init to avoid runtime errors when optional containers aren’t present. |
51 | 84 | - Improved preset loading resilience and viewport focus (avoid “loaded offscreen / looks empty”). |
52 | 85 |
|
53 | | -### Known Issues |
| 86 | +### Known Issues (v1.2.8) |
| 87 | + |
54 | 88 | - A persistent vertical scrollbar may still appear next to the toolbox flyout in certain states. |
0 commit comments