Bomb Bloke, on 13 May 2015 - 06:32 AM, said:
So if I've got this right, what you're asking boils down to "how can I retrieve information that doesn't exist"?
Well, I suppose the answer to that would be "generate it on the fly"; it wouldn't be too hard to create sets of rules for discarding terms like "tile_" or "thermalexpansion_" from your strings. Putting aside the ongoing maintenance as new mods are created, and so on.
However, from a user's perspective, I'd want to see the full names at all times (abbreviations are of no practical value, after all, and at worst will even confuse people). If it were me, I'd leave them unaltered and simply allow users to drag the labels left/right in order to reveal their full contents. You could even make the things scroll back and forth automatically.
I'd also probably switch to hiding the middle of the strings in the left column, as opposed to the end, and maybe use a single character (such as a tilde) instead of three dots.. Eg, "tile_th~whatevs".
As far as abbreviations, I did have a plan to be able to click on an abbreviation in that right hand window, and have it pop up a small window with the full name(as long as it's not greater than 51 characters...geez).
I somewhat like the idea of 'generating on the fly', but I fear that it's too much of a generalization, and that there's a risk of snipping vital info from the name automatically.
theoriginalbit, on 13 May 2015 - 06:40 AM, said:
you could also request Boq (OpenPeripheral maintainer) to remove the very long and verbose names for peripherals, it's kinda ridiculous.
In your opinion, do you think that's something he'd be interested in doing? I assume it would have to be with a different function added, like peripheral.getRealName(peripheral)
In any case, it's sounding more like I'd have to make an 'aliases' file where I can manually set the realname of the peripherals, or have the user define their own.
Edited by Cranium, 13 May 2015 - 02:44 PM.