Hello I would like to make a suggestion:
Let's say that we have a very large payload field value, maybe containing a file.
It would be nice if we could have a built in way to truncate the field in query select level, and then the ViewsField implentation just present the raw json truncated value (as the Json::Decode process will normally fail).
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 12102020_advancedqueue_3011029_3.patch | 586 bytes | saidatom |
Comments
Comment #2
bojanz commentedI would accept a patch for this.
Comment #3
saidatomHi all,
my suggestion.
Comment #4
saidatomComment #5
dubcanada commentedI'm not sure there is much value in showing a large payload, perhaps it would be better to either truncate the payload to a set number of characters or remove the column entirely and show the unique ID from https://www.drupal.org/project/advancedqueue/issues/2918866 or something.
Having a giant payload shown in a table, just doesn't offer much.