New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace shorten_subject #503
Conversation
… place. ! Minor changes to shorten_text to make it backward compatable with shorten_subject Signed-off-by: Spuds <spuds@spudsdesign.com>
👍 yeah, totally forgot my old PR.. was outdated and deleted, anyway..
IIRC I added four hidden settings in my old PR. I don't remember the fourth, but it was a hardcoded param related the shortened preview on board index or MessageIndex.. |
Makes sense to be a bit less hard coded ... so generally update them like: |
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
! move preview to use the shorten_text function Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
yep, and better worked out than my original PR 👍 |
Signed-off-by: Spuds <spuds@spudsdesign.com>
…ince there is an ACP for it Signed-off-by: Spuds <spuds@spudsdesign.com>
Signed-off-by: Spuds <spuds@spudsdesign.com>
Think I got them all ... also found a few other areas where it could use the new / old function so changed them over as well. |
PBE added a shorten_text function, this PR combines the two and updates the calls.
@eurich requested this a bit ago, I think this is what was needed. We can add additional "smarts" to shorten_text if wanted.