Skip to content

chore(tracker): port Universal Tracker v0.3.8 and Addons v0.1.4 - #195

Open
lallaria wants to merge 2 commits into
mainfrom
didi/ut-v0.3.8-port
Open

lallaria wants to merge 2 commits into
mainfrom
didi/ut-v0.3.8-port

Conversation

@lallaria

Copy link
Copy Markdown
Contributor

Scope

Universal Tracker moves to upstream Tracker_v0.3.8 and its addons to Tracker_Addons_v0.1.4, keeping the fork's split modules and apname branding.

Description

  • /reload_pack, disconnect_map and enable_maps are added on UTMapController. load_map and list_maps now register only after a pack loads; reload_pack stays available to retry a failed one.
  • Adds nested_pack, dict map_page_item_layouts_* (an ItemLayoutSection object now raises; no world in the tree passes layouts), entrances in /explain, and the item grid padding and sizing fixes.
  • regen_slots errors are caught, and HostImportException stops generation with a message in the log and the tracker tab. The traceback is in /faris_asked.
  • Differs from upstream: no force_reload (load_pack already re-prompts for a missing pack) and no self.connect = dont_connect (this fork generates after Connected).
  • ApAsyncImage in gui.py treats ap: sources as URIs, so icons built in Python load instead of drawing blank squares. Not covered by unit tests because the class needs live Kivy; checked against a real client and server with KHDDD.

worlds/tracker/Tracker.kv: item grid padding and spacing, marker rectangle.
worlds/tracker/TrackerClient.py: entrances in /explain, /faris_asked pointer when a world disables UT.
worlds/tracker/TrackerCore.py: regen_slots error handling; HostImportException stops generation and reports the failure.
worlds/tracker/__init__.py: bump UT_VERSION; HostImportException, nested_pack, dict item layouts.
worlds/tracker/docs/map-integration.md: 0.3.8 pack options.
worlds/tracker/gui.py: size item grids for padding, initialize location_icons, sweep orphaned tooltips when a map reloads.
worlds/tracker/map_controller.py: /reload_pack, disconnect_map, enable_maps, nested_pack paths. load_map and list_maps now wait for a loaded pack; reload_pack stays available to retry a failed one.
worlds/tracker/test/test_map_controller.py: cover /reload_pack, nested packs and dict layouts.
worlds/tracker/test/test_tracker_context.py: cover regen_slots errors, HostImportException and entrances in /explain.
worlds/tracker_addons/__init__.py: bump UT_ADDONS_VERSION.
worlds/tracker/gui.py: ApAsyncImage treats ap: sources as URIs. Icons built in Python used this class directly, so stock AsyncImage looked for a local file and drew a blank square.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant