gcanyon / navigator

The amazing small powerful plugin for Livecode that makes you a better, faster developer.
12 stars 4 forks source link

Add Thumbnails #2

Open macMikey opened 6 years ago

macMikey commented 6 years ago

PB is missing thumbnails in the latest versions, and LC isn't that interested in re-adding it, so it would be cool if Navigator added that missing feature.

gcanyon commented 6 years ago

Thumbnails of what? I haven't used Project Browser more than a few times, it came long after Navigator, and I never bothered.

On Sun, Feb 18, 2018 at 9:57 AM, macMikey notifications@github.com wrote:

PB is missing thumbnails in the latest versions, and LC isn't that interested in re-adding it, so it would be cool if Navigator added that missing feature.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gcanyon/navigator/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmz0YEDliIQt3YzOALotVhaEXLzld1Oks5tWGShgaJpZM4SJx2W .

macMikey commented 6 years ago

I'll send you a sample. You can see in the list that for each object there's a thumbnail of the object, making it easy to visually identify which object you're looking at without having to refer to the name. Within groups it did the same thing, so for datagrids, for instance, you can easily see what is what.

gcanyon commented 6 years ago

Ah, I get it. Part of what makes Navigator faster/more scalable is that the list is just a field, with no bells and whistles. Adding icons would slow it down, but I wonder if maybe something with unicode characters would work and not slow it down much (more than unicode has already slowed it down).

On Sun, Feb 18, 2018 at 7:11 PM, macMikey notifications@github.com wrote:

I'll send you a sample. You can see in the list that for each object there's a thumbnail of the object, making it easy to visually identify which object you're looking at without having to refer to the name. Within groups it did the same thing, so for datagrids, for instance, you can easily see what is what.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gcanyon/navigator/issues/2#issuecomment-366579088, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmz0SpMGy4_pTUtlNyRIb51cy_sdk5dks5tWOZ6gaJpZM4SJx2W .

gcanyon commented 6 years ago

Color would also be easy to do.

On Sun, Feb 18, 2018 at 9:30 PM, Geoff Canyon gcanyon@gmail.com wrote:

Ah, I get it. Part of what makes Navigator faster/more scalable is that the list is just a field, with no bells and whistles. Adding icons would slow it down, but I wonder if maybe something with unicode characters would work and not slow it down much (more than unicode has already slowed it down).

On Sun, Feb 18, 2018 at 7:11 PM, macMikey notifications@github.com wrote:

I'll send you a sample. You can see in the list that for each object there's a thumbnail of the object, making it easy to visually identify which object you're looking at without having to refer to the name. Within groups it did the same thing, so for datagrids, for instance, you can easily see what is what.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gcanyon/navigator/issues/2#issuecomment-366579088, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmz0SpMGy4_pTUtlNyRIb51cy_sdk5dks5tWOZ6gaJpZM4SJx2W .

gcanyon commented 6 years ago

Wow. Pays to check...

I set up a quick test using some simple emoji: a rabbit, a duck, etc. Set the HTMLtext of a field to a hundred random lines a hundred times. Took just over a second.

Tried the same thing with a 36 point Geneva character preceding each line instead -- took about a second, a little faster, but just a little.

Tried again without the 36 point -- took 1.3 seconds!

Tried again using no fonts, just plain text, like Navigator -- Still about 1.3 seconds.

Tried again using image source -- was slightly faster than all the rest!

I found that plain text scaled somewhat better; if I changed the test to 10,000 lines, plain text was roughly 1/3 faster than the others except the image source, which was faster than the others, but not as fast as plain text.

Still, that's quite remarkable.

I'm going to have to ponder this a bit.