stride3d / stride3d/stride

UI Library requires name to show in UI Page's library sidebar

Open
#1,133 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-UI bug
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Release Type: Official Release

Version: 4.1.0.1459-beta

Platform(s): Windows

Describe the bug
UI Libraries will not show up in the UI Library sidebar of a UI Page as an option if the root grid (of which it can have several) doesn't have a name filled in on the Misc component. This is confusing to users because the Misc section is down near the bottom and seems optional.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new UI Library
  2. Add some UI properties to it.
  3. Go to a UI Page
  4. Note the lack of UI Library in the sidebar.
  5. Reboot the editor
  6. Go to the UI Page
  7. Note the continued lack of UI library in the sidebar.

Expected behavior
I'd expect to see it using the name of the asset I just created. Otherwise, I would expect to see this mentioned in the documentation somewhere.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by creating a UI Library with an unnamed root grid, then opening a UI Page and checking the UI Library sidebar before and after restarting the editor. Trace how the sidebar discovers libraries and how asset or root-grid names are read; done means an unnamed root grid's library appears using the asset name, or the requirement is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.