Forum Discussion
[Beta] SuperDatePicker — free custom date slicer, would love feedback from fellow devs
This looks really well thought out — the HC mode deep-dive alone shows a level of care that most custom visuals skip entirely. A few thoughts from the dev perspective:
On HC mode: The issue you described with Power BI persisting previous theme colors into formatting settings is a real pain. One pattern I've seen work well is to check host.colorPalette.isHighContrast on every update and explicitly override all resolved colors rather than trusting the persisted values. You probably already do this, but worth confirming you're doing it in update() not just initialization.
On the formatting pane (calendarStyle split): Given you're planning the breaking refactor anyway, I'd suggest surfacing "today highlight", "selected range color", and "weekend color" as top-level controls in whichever card they land in — those are the three things report authors reach for first and always hate hunting through nested cards to find.
On the modal dialog UX: One thing the native slicer still doesn't handle well is the case where the visual is near the bottom/right edge of the canvas and the modal clips. Worth testing that edge case specifically in the Service at 75% zoom.
Feature I'd reach for first: A "relative date" mode (last N days where N is a fixed number or linked to a parameter/measure) — I know it's on your list, but it's the #1 reason people abandon the native date slicer. Even a basic "last 30/60/90 days" preset would cover a lot of ground.
The zero-privilege capabilities.json is a smart move for AppSource submission — that'll make certification much smoother. Good luck with the 1.0!
- BIsuperhero5 months agoRegular Visitor
Thanks for the detailed feedback — really appreciate the dev perspective.
On HC mode: confirmed, I'm already checking `host.colorPalette.isHighContrast` in `update()` and forcing all color overrides explicitly. The persistence bug is nasty and doing it only at init definitely isn't enough — good call highlighting that.
On formatting pane: fair point — my own clients tend to have fairly standardized report styles so I never felt the friction myself, but I can absolutely see how report authors in more varied environments would hate hunting for those three controls. Makes sense to surface them prominently in the refactor.
Modal clipping: good catch — I haven't actually tested that edge case yet, adding it to the todo to verify the behavior specifically at 75% zoom near the canvas edges in the Service.
Relative date mode: this is actually nudging it higher in my roadmap than I originally planned. Current thinking is an "last N" input with a toggle between days (default), weeks, and months — weeks because a chunk of my clients report on a weekly cadence, and months felt like a minimal addition that covers enough future use cases to be worth including from the start.
Thanks again — this kind of directional feedback is exactly what's useful!