Deterministically select the issue that represents the stack#202
Deterministically select the issue that represents the stack#202maforget merged 2 commits intomaforget:masterfrom
Conversation
|
Build Successful! You can find a link to the downloadable artifact below.
|
|
You shouldn't add reference to Id or even the Comic to the There is also a But I've noticed something, it may fix the problem when there are still situation like sorting via Number, etc. But it doesn't always match the sorting inside the stack (even when no grouping). The regular sort inside a stack only shows the latest setting, but remembers 3. So it does also use a But my function only uses the 1st, so to match the behavior of the inside of a stack we would need to take all 3 (non-null). That would reduce even more the problem without even needing to add a tie-breaker and would match the inside stack behavior. I don't know if it's worth to fix some very rare disparities. Check the nightly build to confirm that my changes still fixes the issue on your side. |
|
I appreciate the tips. This was my first time digging into the CR source so it was a lot to grapple with. I'm also more of a sysadmin guy so my coding experience is limited to basic bash, Python, or PowerShell scripts. I know it shows, so thanks for your cleanup. |
|
Test build looks good over here. As far as the other edge cases that you noted: My 2c is that the goal of this PR is to stabilize the thumbnail selection. It succeeds in reducing visual artifacts and flickering as stack thumbnails change when refreshing a smart list. It also fixes the glitchy stack behavior in #68. The thumbnail selection logic can be improved in a future PR if there is demand. I suspect most people will just manually select their thumbnail issue by using "set as top of stack" if they don't like the chosen issue. |
Handles a few edge cases that result in the "top of the stack" issue changing when refreshing a smart list. Fixes #68.