Replies: 4 comments
-
|
Hmmm, @katestange and@Vectornaut, three thoughts come immediately to mind:
Any of those sound good? |
Beta Was this translation helpful? Give feedback.
-
|
I vote not 3., at least in this Featured Gallery PR coming up -- I have very limited cycles before Paris. I think I could fairly easily figure out how to do 2. in this PR. I'm less confident about my ability to do 1. in this PR. Arguments for/against 1. I'm concerned about the burden also, and it makes it look a little broken. OTOH the liveliness of seeing them growing in is quite nice. For/against 2. It seems easy and will fix the most unaesthetic aspect of the gallery, which is that some quite nice specimens come in rather badly at the moment. If we do 1., a combo of 1. and 2. could be to pass a flag for a static thumbnail which could be used for some but not all of them (some are slow to start looking pretty, whereas some are exciting to watch move). This could allow for tweaking the gallery in quite a nice way.
So, I think I would be happy with either 1. or 2., but I may need help with 1. if we go that way. How much work is that? I'm worried it may also be beta, or at least a separate PR, just in terms of scope. |
Beta Was this translation helpful? Give feedback.
-
|
Sorry I was preoccupied with a major milestone for mathjs yesterday. Given your perspective, why don't we just go for (2), only, now and leave this discussion open to guide further tweaks/improvements for beta? I don't really see any downside for that. I'd recommend some default number of frames that's decent for most thumbnails, with an option to adjust that default. The only slightly tricky bit is that somehow we have to make sure there's no |
Beta Was this translation helpful? Give feedback.
-
|
For future: Instead of thumbnails, maybe we should even capture animated gifs somehow? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Kate Stange writes:
I'd like to be able to set a custom delay time on the thumbnails for specimens. Currently it is 4000 milliseconds. Some need more time to look good in thumbnails, but I don't want to uniformly increase it, or even increase it uniformly per visualizer type. Some specimens are just slow.
Looking forward, this isn't just something useful for the gallery, but something that we might want when we have saved/archived specimens etc.
Currently specimenQuery() returns the query itself only. One option is to have specimenQuery() return, besides the query (url) itself, a variable thumbDelay. This would just be originally passed into specimenQuery() inside defineFeatured.ts, so it's easy to set on each specimen. This seems simple enough that I think I could do it. It seems this function isn't too widespread.
Another option would be to encode a delay in the query or URL itself, but maybe this breaks some paradigms.
Or I could do something more kludgy to avoid changing specimenQuery()'s return type.
Or something else.
Advice?
Beta Was this translation helpful? Give feedback.
All reactions