Bixal / jumplink

A drupal 8 module that allows content editors to create jump links through a field.
0 stars 1 forks source link

create a prototype field type and present to phil and feld and team #6

Open rich-allen-gov opened 6 years ago

jkoulish-bixal commented 6 years ago

@rich-allen-gov @cotterpinx I thought we were moving away from fields? Or did we change gears on that?

allgood2386 commented 6 years ago

I think where we left off was @cotterpinx was going to create just a paragraph with a few fields, then phil (whom I need to add) will just make sure that things were working as expected as a prototype. IF that all looked the next step was to create a field type. which could be configured on a per field basis.

This task was just to just make sure that phil and the developers were all on the same page how it would work from admin -> presentation.

johnshortess commented 6 years ago

Although given the existence of the Paragraphs TOC module, we might want to rethink the primary use case for our module. If we're going with flexibility and more advanced use cases rather than the automatic-TOC simple use case, we might want to do a jump link paragraph type instead of a field time.

jkoul commented 6 years ago

Agree with @johnshortess......that plan strikes me as basically rebuilding the TOC module. And maybe that's the best way to get to a starting point for future enhancements, but I still find both that TOC module's structure and our use of specified field types in previous project examples to be clunky. If we want to get to a significant value-add to our own work and to the community, we should make this as modular as possible from the bottom up.

So I propose we tie the links to a TOC paragraph with a single (optional) headline field. I'm going to try to hack out a prototype this afternoon for our review.