Related to https://github.com/grafana/grafana/pull/93756 where old dashboards with refresh: true would end up with refresh=true in URL which would set the auto refresh to first valid interval.
The OSS PR fixed the issue but this PR is to make sure it can't be introduced again somehow by mistake
This PR
Never add refresh to URL unless it has a value (so no longer &refresh= added to URL)
Never allow invalid interval values to set refresh to first valid valid value
Related to https://github.com/grafana/grafana/pull/93756 where old dashboards with refresh: true would end up with refresh=true in URL which would set the auto refresh to first valid interval.
The OSS PR fixed the issue but this PR is to make sure it can't be introduced again somehow by mistake
This PR
&refresh=
added to URL)