Suggestion for config descriptions

Description

I’d like to submit the following changes to the descriptions of two configurations in the default config.rb, but, I’d like to be sure this is correct, so I’m submitting it in the hopes of someone else testing to verify. I am submitting it as a bug because one part of this improvement highlights a potential error in description.

My colleagues and I have fielded various scenarios over the years that lead us to question how these two configurations are described:

After testing, we’d like to propose two new descriptions and specifically confirm that the AppConfig[:abstract_note_length] doesn’t actually affect the collections overview page, meaning its current description isn’t accurate.

Proposed descriptions below:

Steps to test:

You will need the ability to alter the config and restart the application.

  1. Pick or create a published scope and content note that is longer than 500 characters.

  2. Navigate to the PUI and search for the collection. Note how many characters are present before the note snippet truncates.

  3. Navigate to the collection page. Note how many characters are present before the Read More break.

  4. Change AppConfig[:pui_readmore_max_characters] to something low, like 20

  5. Change AppConfig[:abstract_note_length] to something high, like 5000

  6. Restart and repeat steps above.* Note which configuration affected which set of truncated text. Based on that, verify my propose descriptions as being accurate or not.

  7. * You might have to reindex the PUI or just click Save on the Resource record you’re testing with to see the changes in length. I did not need to reindex after the restart when testing this in docker.

Environment

None

Activity

Show:

Regine HeberleinOctober 3, 2024 at 10:18 PM

DevPri decided to pass this ticket during the September meeting. Thanks for the clear and thorough ticket!

Details

Assignee

Reporter

Priority

Harvest Time Tracking

Open Harvest Time Tracking

Created January 17, 2024 at 5:16 PM
Updated March 3, 2025 at 9:34 PM
Harvest Time Tracking