Problem/Motivation
The Project object's categories property is very poorly defined. The intention, based on my reading of the Svelte code, is that it's meant to be an array like [$some_id => ['name' => 'Foo'], ...], but that's overcomplicated and weird.
Proposed resolution
Formally define Project::$categories as a simple associative array. The keys are category IDs (int or string), and the values are strings with the human-facing name of that category. We'll need to adjust the Svelte code to match, and likely a couple of sources will need some minor changes for this too.
Since this is an API refinement (although not exactly a "change"), it is a stable blocker.
Issue fork project_browser-3539804
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
phenaproximaComment #4
phenaproximaConfirmed that this should cherry-pick cleanly to 2.0.x.
Comment #8
chrisfromredfinmerged and clean cherry-pick to 2.0.x