# feat\(web\): choose the MAAD measure on file details · flambo/atlantis

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

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

Visibility: public

Requested revision: 2dd7548ff89e0aa6103b37d3e1ae5f71ffb4e287

Requested commit: 2dd7548ff89e0aa6103b37d3e1ae5f71ffb4e287

Commit: 2dd7548ff89e0aa6103b37d3e1ae5f71ffb4e287

Tree: a3de4eec21c9586175585182a55f95416aa83135

Author: flamboh

Committer: flamboh

## Message

```
feat(web): choose the MAAD measure on file details

Structure, spectrum and file-detail MAAD queries now bind a measure from
a shared parser (parseMaadParams / parseMaadStatsParams, default
addresses), so the MAX(CASE) pivots never mix measures. Spectrum routes
reject packets and bytes with a 400 because no weighted spectrum exists.

The file detail page gets a shared MaadMeasureFilter next to the address
family control. Packets and bytes hide the spectrum section. A Drizzle
migration adds the measure key and CHECKs and keeps existing rows as
addresses.

```

## Parents

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

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