As a follow-up to #2351991-52: Add a config entity for a configurable, topic-based help system -- assuming that issue gets in (this issue is postponed until then):

There are two fields when you are editing a Help topic: Related and Show on. Both require you currently to enter the ID of help topics that you want to mark as related. Currently you just have to type them in directly.

It would be helpful if instead you could do either one of the following:

a) An autocomplete like tags that would help you look up topic IDs.

b) A multiple valued list like entity reference; presumably then you would look them up by autocomplete on the title.

Screen shot from jibran on #2351991-52: Add a config entity for a configurable, topic-based help system to illustrate this:
screen shot of help topic editing UI

Either way, the storage should remain the same in the config entity (both are stored as arrays of strings, where the strings are IDs).

Comments

jhodgdon’s picture

Project: Drupal core » Configurable Help
Version: 8.0.x-dev »
Component: help.module » Code
Status: Postponed » Active

The help topic entity has been (for the time being anyway) moved to a contrib module, so moving this issue there and unpostponing.

jhodgdon’s picture

Component: Code » User interface
jhodgdon’s picture

Assigned: Unassigned » jhodgdon

I'm working on this.

  • jhodgdon committed 2dc999f on 8.x-1.x
    Issue #2354955 by jhodgdon: Improve the UI for filling in help topic...
jhodgdon’s picture

Status: Active » Fixed

This is fixed. I had to make the References fields into textfield because autocomplete is not supported for textarea. I put in a tag-style autocomplete, and also added some at least minimal tests for the autocomplete return values.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.