René Gieling
René Gieling
What problem: I assumed, this issue is about the broken type export and I assumed that this will be fixed, too. How was the journey: * A while ago while...
> But could you clarify how you plan to use this type? What problem are you solving with the type? I don't want to solve any problem with enum, I...
But now I need some assistance: I have this code: ``` defineProps({ buttonVariant: { type: String, default: 'primary', }, }) ``` And now I get an ts error (sorry for...
OK. I got it: ``` import type { ButtonVariant } from '@nextcloud/vue/components/NcButton' defineProps({ buttonVariant: { type: String as PropType, default: 'primary', }, }) ```
Oh my. This is way better than the big prop objects sometimes. Nice, thanks, was not aware of this variant.
> Hi. I am willing to write the tests. You would make me happy with contibuting and maintaining tests!
Some numbers see https://github.com/nextcloud/polls/issues/3679#issuecomment-2326166328: * 7.5k polls * 200k votes * 60k shares * 40k options
@AndyScherzinger I think, the subqueries cause a heavy load, if any poll scans shares, ... every poll. Additionally some indices should be created to avoid full table scans. It would...
Index creation is another issue. But I count the priority of the runtime issue higher. So lets first solve this first. I still have limited time (and brain) theese weeks.
I think this is solved.