discourse/app/assets/javascripts/admin/addon/components/schema-theme-setting
Alan Guo Xiang Tan f095494936
UX: Improve the identifier for categories typed prop in theme objects editor (#26600)
This commit changes the identifier displayed in the navigation tree of
the theme objects editor from the generic "category 1" to "<category
name>, <category 2 name>" when a property of typed categories is set as
the identifier.

Example:

For the following theme objects schema:

```
some_setting:
  type: objects
  default: []
  schema:
    name: <some scheme name>
    identifier: list_of_categories
    properties:
      list_of_categories:
        type: categories
```

If the `list_of_categories` property's value has been set to `category
1` and `category 2`, the navigation tree will display `category 1,
category 2` as the text to represent the object in the navigation tree.
2024-04-11 13:00:07 +08:00
..
editor DEV: Rewrite SchemaThemeSetting::Editor to avoid rerendering problems (#26416) 2024-03-28 21:13:02 +08:00
types UX: Improve the identifier for categories typed prop in theme objects editor (#26600) 2024-04-11 13:00:07 +08:00
editor.gjs UX: Improve the identifier for categories typed prop in theme objects editor (#26600) 2024-04-11 13:00:07 +08:00
field-input-description.gjs DEV: Add validation message to string fields in theme object editor (#26257) 2024-03-21 12:39:25 +08:00
field.gjs UX: minor theme schema editor adjustments for mobile (#26434) 2024-03-29 15:01:02 -04:00
number-field.gjs DEV: Add validation message to float fields in theme object editor (#26285) 2024-03-21 15:33:38 +08:00