Skip to content

Conversation

@davidguttman
Copy link
Owner

No description provided.

@davidguttman davidguttman force-pushed the allow-multi-solo branch 8 times, most recently from bf920c8 to dcdb0e4 Compare October 26, 2025 02:22
Enable multiple solo filters to be active simultaneously across dimensions
and values. Previously only one solo filter could be active at a time.

Users can now:
- Solo multiple values within a dimension (e.g., USA + Canada in Country)
- Solo across multiple dimensions (e.g., Country: USA + Status: Active)
- Toggle filters on/off by clicking

Filter logic:
- Multiple values within a dimension are OR'd (USA OR Canada)
- Multiple dimensions are AND'd ((Country: USA OR Canada) AND Status: Active)

Implementation:
- Store solo state as {dimension: {serializedKey: true}} structure
- Toggle behavior: clicking active value removes it, inactive adds it
- Extract filtering logic into createSoloFilter helper
- Add safeParseSoloPayload for safe JSON parsing in dropdown
- Separate addSoloValue/removeSoloValue helper methods
- Use setState callbacks instead of setTimeout

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@davidguttman davidguttman merged commit 5c30a07 into master Oct 26, 2025
@davidguttman davidguttman deleted the allow-multi-solo branch October 26, 2025 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants