# Clamp unsupported chart granularity to selected date range · flambo/atlantis

[View on GitCafe](https://git.cafe/flambo/atlantis/commit/f52f21daf48ef269e4de49d26bfb158e072f307f)

Repository: [flambo/atlantis](https://git.cafe/flambo/atlantis)

Visibility: public

Requested revision: f52f21daf48ef269e4de49d26bfb158e072f307f

Requested commit: f52f21daf48ef269e4de49d26bfb158e072f307f

Commit: f52f21daf48ef269e4de49d26bfb158e072f307f

Tree: 036fb7915bb67a60ca9ec635c0c5ea9258241f9c

Author: flamboh

Committer: flamboh

## Message

```
Clamp unsupported chart granularity to selected date range

- add date-range granularity guards in chart utils
- disable invalid group-by options with tooltip in primary filters
- auto-clamp selected granularity in dashboard state sync
- add vitest coverage for allow/deny/clamp behavior

```

## Parents

- [2a55f8f101090f697118a389bbcb02ac513780f6](https://git.cafe/flambo/atlantis/commit/2a55f8f101090f697118a389bbcb02ac513780f6?format=markdown)

[Source at this commit](https://git.cafe/flambo/atlantis/tree/f52f21daf48ef269e4de49d26bfb158e072f307f?format=markdown)
