You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project follows a pragmatic changelog style (human-written notes) rather than auto-generated commit dumps.
4
+
5
+
## Unreleased (planned for v1.2.9)
6
+
7
+
### Fixes
8
+
-**Selection Lists dropdowns:** address cases where dropdowns get stuck on “(loading selection lists…)” by improving runtime asset loading for Electron `file://` contexts.
9
+
-**Presets:** allow saving after loading and editing a built-in preset (save-as copy / overwrite flow).
10
+
11
+
### Credits
12
+
- Add explicit credit for the **Portal Docs** dataset used to populate block help/tooltips:
- GitHub Actions: release automation on tag push (creates GitHub Release and uploads Windows artifacts).
17
+
18
+
### Notes / Investigations log
19
+
These are the key issues encountered recently and how they were fixed:
20
+
-**“Container menuBarContainer not found”**: fixed by guarding MenuBar initialization when optional container isn’t present.
21
+
-**Preset templates failing to load (`MissingConnection` / `modBlock` RULES)**: fixed by ensuring `modBlock` always provides a `RULES` statement input before loading presets.
22
+
-**Packaged app missing `selection-lists.md`**: Electron build excludes `*.md`, so runtime now ships/loads `selection-lists.txt` instead.
23
+
-**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
+
25
+
## v1.2.8
26
+
27
+
### Features & Improvements
28
+
- Presets dropdown restored with **3 locked built-ins** (Andy6170 templates) + user save/delete.
29
+
- Placeholder block auto-registration so community templates still render even if some block types are missing.
30
+
- Selection list blocks use dynamic dropdowns (values sourced from `selection-lists` data).
31
+
32
+
### Fixes
33
+
- Guarded UI init to avoid runtime errors when optional containers aren’t present.
**BF6Portal Tool** is a standalone visual logic editor for **Battlefield 6 Portal**, built with **Electron** + **Google Blockly**. It aims to replicate the Portal Rules Editor workflow in a desktop app, with offline editing and quality-of-life tooling.
Copy file name to clipboardExpand all lines: TODO.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,3 +4,9 @@
4
4
-**Location:** Left side of the screen, adjacent to the Blockly toolbox category list.
5
5
-**Current State:** CSS attempts to hide scrollbars on `.blocklyToolboxDiv`, `.blocklyToolbox`, and `.blocklyFlyout` have reduced but not fully eliminated the artifact in some states.
6
6
-**Potential Cause:** Electron/Chromium native scrollbar rendering on a dynamic container created by Blockly or the custom search bar injection.
7
+
8
+
## Upcoming (target: v1.2.9)
9
+
10
+
-[ ]**Selection Lists:** dropdowns can get stuck on “(loading selection lists…)” in some builds; improve runtime asset loading for Electron `file://`.
11
+
-[ ]**Presets:** saving after editing a loaded preset should always work (save-as copy / overwrite flow).
12
+
-[ ]**Credits:** add explicit credit/link for Portal Docs data source in About modal and repo README.
-**Refined Toolbox Structure:** The Blockly toolbox has been reorganized to better match the official Battlefield Portal Rules Editor layout.
@@ -19,5 +19,9 @@
19
19
-**Scrollbar Styling:** Applied CSS fixes to suppress unwanted scrollbars on the toolbox container (work in progress).
20
20
-**Presets dropdown restored:** Built-in presets (Rush/Conquest/Breakthrough) are visible again and **locked** from deletion; user presets can be saved/deleted normally.
21
21
22
+
## Credits
23
+
- Portal data and block help/tooltips are derived from **Portal Docs** by the Battlefield Portal Community:
0 commit comments