Levi Harrison
74faea64dd
Removed specification of pi digits
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
9c54ee0a6e
Changed function comment
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
53d88fd147
Added hyperbolic trig functions
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
a8ad569db8
Change spaces to tabs
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
ecc29d38b8
Fixed `pi` definition
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
51bb3d4a27
Changed radian wording
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
535d8904f7
Link to docs for special cases
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
9fc7ba33aa
Remove `atan2()`
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
f1d94cc5f6
Split and shortened tests
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
d5ecdc4597
Remove variadic
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
e5a44964ff
Added docs
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
814cd5844d
Added tests
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Levi Harrison
309e020c0a
Added functions
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Julien Pivotto
bd217c58a7
Backfill: Do not query after --end ( #9340 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Julius Volz
7ff76ed1ab
Merge pull request #9323 from prometheus/feature/use-npm-workspace
...
Use npm workspace and integrate codemirror-promql locally
3 years ago
Julius Volz
47d6471bd7
Add UI linting to CircleCI
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 years ago
Julius Volz
d2c0eac37f
Fix linter errors in codemirror-promql module
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 years ago
Levi Harrison
dc2f1993d8
Limit number of alerts or series produced by a rule ( #9260 )
...
* Add limit to rules
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Julien Pivotto
1ea774f184
Merge pull request #9339 from roidelapluie/remove-double-align
...
backfill: Do not align the start of the group since we align every rule.
3 years ago
Julien Pivotto
2bde71ec5f
Merge pull request #9338 from prometheus/release-2.30
...
merge back release 2.30
3 years ago
Julien Pivotto
691ce066fb
backfill: Do not align the start of the group since we align every rule.
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Augustin Husson
1b740aeb6e
Merge branch 'main' into feature/use-npm-workspace
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
3 years ago
Julius Volz
ffe8c7e268
Merge pull request #9284 from prometheus/update-react-and-ts
...
Update React 16->17, TypeScript, and some other node deps
3 years ago
Augustin Husson
af7aab7937
add global mock for the matchMedia function
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
3 years ago
Augustin Husson
05b9a11a62
remove jest.restoreAllMock() call
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
3 years ago
Augustin Husson
c3306e6366
set canvas mock
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
3 years ago
Julius Volz
5498ca5214
Update React 16->17, TypeScript, and some other node deps
...
This updates React, TypeScript, and some other node packages (but not
everything).
A couple of notes:
- `enzyme-adapter-react-16` does not have a React 17 equivalent yet, so I
switched to the fork `@wojtekmaj/enzyme-adapter-react-17`
- A bunch of tests are still failing because I think in the enzyme testing
environment, a browser API (`ResizeObserver`) is missing, and maybe for other
reasons. This needs to be explored + fixed.
- The TypeScript update introduced more stringent rules, which required fixing
up a bunch of pieces of code a bit.
- The `use-media` package doesn't work with React 17 yet, so I just built our
own minimal `useMedia` hook instead (just a couple of lines).
- I commented out part of the code in `withStartingIndicator.tsx` because it
fails the now-stricter lint checks. It needs to be fixed (and not commented
out).
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 years ago
Augustin Husson
22fa0aa408
remove app package in codemirror-module ( #9322 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
3 years ago
Ganesh Vernekar
37468d88dc
Cut v2.30.0 ( #9329 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
3 years ago
Paweł Szulik
f5563bfe95
tests: Move from t.Errorf and others. (Part 2) ( #9309 )
...
* Refactor util tests.
Signed-off-by: Paweł Szulik <paul.szulik@gmail.com>
3 years ago
Julien Pivotto
2042b91003
Merge pull request #9334 from meehanman/update-storage-typo-dup-to
...
Removed Duplication Typo (to to)
3 years ago
Julien Pivotto
6c24529636
Merge pull request #9324 from JessicaGreben/9288-fix-backfill-bug
...
rm overlap, add label builder to fix name bug
3 years ago
Julien Pivotto
35c88e511f
Merge pull request #9333 from rfratto/expose-useragent-scrape
...
Expose scrape.userAgentHeader like remote.UserAgent
3 years ago
Dean Meehan
5751bfb61f
Removed Duplication Typo (to to)
...
Signed-off-by: Dean Meehan <dean@dean.technology>
3 years ago
Robert Fratto
daf2887fd4
expose scrape.userAgentHeader like remote.UserAgent
...
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
3 years ago
jessicagreben
b0a21f9eab
rm overlap, add label builder to fix name bug
...
Signed-off-by: jessicagreben <jessicagrebens@gmail.com>
3 years ago
Ganesh Vernekar
30534e99d9
Take snapshot only after closing the WAL ( #9328 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
3 years ago
George Robinson
049b4f4f13
Support customization of template options in TemplateExpander ( #9290 )
...
Signed-off-by: George Robinson <george.robinson@grafana.com>
3 years ago
Julien Pivotto
46286cb6ab
Merge pull request #9325 from LeviHarrison/fix-repo_sync_golangci-lint
...
Repo Sync: Create `.github/workflows` if not present
3 years ago
Levi Harrison
6c290d212d
Create github workflows dir if not present
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Augustin Husson
19f5f44bf9
remove craco, no need for it
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
3 years ago
Julien Pivotto
cad53e8901
Merge pull request #9318 from victorhaggqvist/alert-consistent-margin-bottom
...
use consistent margin-bottom for all alert kinds
3 years ago
Victor Häggqvist
9aaea327a0
use same top and bottom margin for alert filename
...
Signed-off-by: Victor Häggqvist <victor@snilius.com>
3 years ago
Augustin Husson
1e6bd815ad
fix license tarball
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
3 years ago
Augustin Husson
27aec91914
review the UI ci and associated command
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
3 years ago
Levi Harrison
cc77593176
Switch golangci-lint to GitHub Actions ( #9232 )
...
* Added golangci-lint action
Signed-off-by: Levi Harrison <git@leviharrison.dev>
3 years ago
Augustin Husson
5c42b04af7
move to npm workspace
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
3 years ago
Julien Pivotto
5c5a5dd992
Merge pull request #9320 from LeviHarrison/fix-contributing
...
Fix wording in `CONTRIBUTING.md`
3 years ago
Augustin Husson
fa56d1e43b
Merge branch 'feature/cleanup-codemirror' into feature/use-npm-workspace
3 years ago
Augustin Husson
29b788a7b5
remove app package in codemirror-module
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
3 years ago