Skip to content

Add TextMany support to PbtA system - multi-single-line text attribute type [draft PR for discussion only]#286

Draft
richardgaywood wants to merge 10 commits intoasacolips-projects:mainfrom
richardgaywood:multi-text
Draft

Add TextMany support to PbtA system - multi-single-line text attribute type [draft PR for discussion only]#286
richardgaywood wants to merge 10 commits intoasacolips-projects:mainfrom
richardgaywood:multi-text

Conversation

@richardgaywood
Copy link

As mentioned in #pbta, this is an early attempt at supporting a new attribute type: a group of single lines of text. It's faster to edit than a LongText as there's not TinyMCE UX cluttering it up, but it allows the tracking / editing / clearing of multiple plain text values at once. My primary use case is Conditions in Public Access, but I am sure there are others.

@richardgaywood richardgaywood marked this pull request as draft April 9, 2025 09:29
@richardgaywood
Copy link
Author

Hey @mclemente !

I got this proof of concept working for my use case. If you're interested in merging it, I can finish cleaning it up (there's some dead comments), and I can add better code to handle actor data migration when the sheet config changes (right now it clears the entire attribute but it could do a better job to preserve data.) Let me know what you want to do! I'd be very happy to do the work to contribute the changes, so I don't need to maintain a fork indefinitely.

Here's how it looks in the sheet, FYI:
image

@richardgaywood richardgaywood changed the title Add TextMany support - draft PR for discussion only, DO NOT MERGE Add TextMany support to PbtA system - multi-single-line text attribute type [draft PR for discussion only] Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant