Problem/Motivation
The facet source is currently only displayed on the facets overview page. For developer convenience, it would be nice to have the source displayed on the facet's edit form.
Proposed resolution
Display the facet's source on the facet edit form.
Remaining tasks
- Write a patch
- Review
- Commit
User interface changes
The facet's source is displayed on the facet edit form
API changes
None.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | facets-display_source-2937294-8.patch | 4.6 KB | idebr |
| #8 | interdiff-4-8.txt | 701 bytes | idebr |
Comments
Comment #2
borisson_I agree, this is a good idea. Let's do this!
Comment #3
borisson_I guess this is good place to start, this could use more styling / better markup though.
Comment #4
idebr commentedI agree, great start!
I suggest we use the default #type => item styling available in Seven:
Comment #5
borisson_Looks solid, thanks!
Comment #7
borisson_Looks like I was too trigger-happy with that rtbc, the newly added test is too brittle. It shouldn't find the entire string, just the facet source is sufficient.
Comment #8
idebr commentedUpdated Drupal\Tests\facets\Functional\IntegrationTest to scan for the Facet source label only
Comment #9
borisson_Test is green, thanks!
Comment #11
idebr commented