Plugin stack: later improvements

Aperta
#3,581 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp

Direzione di ricerca

This is a tracking list, not a single task, so pick one item and open it as its own issue first. A small candidate is the SpriteStudioComponent.LocalBounds getter, which has side effects (#3542). Read that getter and what it changes, then check the tests around it. Done means the getter has no side effects and the existing tests still pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area-Plugins enhancement

The plugin stack (#3535 to #3547) is merged without these items. They come from the review (https://github.com/stride3d/stride/pull/3535#issuecomment-6135165867) and the CI work on the stack. None of them blocks 4.5: they are about performance, cleanup, or cases nobody hits yet. An item can be split into its own issue when someone picks it up.

Items needed before 4.5 are tracked in #3580.

Performance
  • #3535 Companion loading runs 3 times when a solution opens
  • #3535 The in-build restore of companions recurses into the runtime project
  • The asset build manifest target made builds slower: one reference query instead of two or three, and a companion's identity without an extra evaluation (measure master against the stack first)
Assembly reload (#3545)
  • Asset view models are not recreated
  • Unload leaks (name map, static images, resource dictionaries)
  • The WPF/BAML type-name fallback is global
  • A loadability flip does not expand to dependent assemblies
Architecture
  • #3536 EditorSettingsAttribute and the template generators still live in WPF assemblies
  • #3540 Video knowledge left in core (sound importer extensions, AssemblyRecompiler)
  • #3539 Stride.Assets still references Stride.Assets.VHACD and Stride.Assets.FFmpeg
  • #3539 InternalsVisibleTo for Stride.BepuPhysics.Assets
  • #3547 Stride.Graphics, Stride.Input and Stride.Games grant their internals to Stride.UI (text and sprite drawing, PointerEvent.DeltaPosition, the Android edit-text popup): needs a public API
  • #3547 Stride.UI.Editor grants its internals to Stride.UI.Editor.Wpf
  • #3547 A view model uses a WPF view-layer constant
  • #3544 Render-feature providers find render stages by literal names
Small or latent
  • #3535 The host framework comes from the OS, not the process
  • #3535 CompanionPackage.Project is recorded but never read
  • #3535 -windows host assemblies of a multi-targeted project are recorded under the wrong folder
  • #3536 EditorOverlay.VisibleByDefault never applies
  • #3538 The generator does not validate declared content types (internal type, conflicting declarations)
  • #3538 Nits: a stale generator comment, a log line, the STRDIAG014 help link
  • #3540 A placeholder video's null URL serializes back as ""
  • #3542 The SpriteStudioComponent.LocalBounds getter has side effects
  • #3543 The moved sound preview loses its translations
  • #3547 The UI packaging fixture uses a bare reference
Docs and features
  • #3542 DerivedFrom is undocumented, and DerivedAssetTemplateGenerator is untested
  • #3542 Should the docs say the plugin class is optional? (Voxels has none)
  • #3587 Plugin browser in Game Studio (find and add plugins from NuGet, by the stride-plugin tag)
  • #3588 Game Studio lists show only what the edited project can use (Add asset, Add component, Create entity, pickers)
  • #3589 Editor panels and toolbar buttons from a plugin
CI
  • Run the ParallelBuildAuditor on more jobs (iOS first)
Lingua principale
C#
Stelle
8k
Fork
1.2k
Merge medio
2g 7h
PR unite (30g)
316

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di stride3d/stride

Tutte le issue di stride3d/stride

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.