Torkel Ödegaard
b46ac2891d
StatPanel: Fixed value being under graph and reduced likley hood for white and dark value text mixing ( #28641 )
...
* StatPanel: Fixed value being under graph and reduced likley hood for white and dark value text mixing
* Updated snapshot
* Updated storybook config
2020-10-29 14:08:09 +01:00
Torkel Ödegaard
1e51d33d85
Table: Fix image cell mode so that it works with value mappings ( #28644 )
2020-10-29 13:53:08 +01:00
Isa Ozler
85a04794ac
Field config API: add slider editor ( #28007 )
...
* Field config: implementation slider editor (#27592 )
* PR-28007 feedback fixed
* Field config: implementation slider editor (#27592 )
* PR-28007 feedback fixed
* processed review PR-28007
* Field config: implementation slider editor (#27592 )
* PR-28007 feedback fixed
* Field config: implementation slider editor (#27592 )
* processed review PR-28007
* fixing leftover number[] bugs
* RichHistoryQueriesTab.test fix + slider vertical feat fixed
* fixed Slider.test.tsx expectation
* Added @docs to prevent build-frontend-docs from failing
Co-authored-by: Isa Ozler <contactme@isaozler.com>
2020-10-28 15:00:31 +01:00
Dominik Prokop
019173eb79
Update uPlot to 1.2.2 and align timestamps config with new uPLot API ( #28569 )
2020-10-28 14:49:38 +01:00
Alex Khomenko
c96ef2676e
Grafana-UI: Add Card component ( #28216 )
...
* Base card
* Add disabled state
* Expand knobs
* Add card actions
* Add meta data
* Allow custom tags
* Extend container props
* Add inner link
* Add docs
* Add missing keys
* Update margins
* Add description
* Add full card example
* Tweak disabld state
* Export Card
* title => heading
* Filter out empty content
* Add disableEvents
* Move tooltip to container
* Use new Card for AlertRuleItem
* Cleanup
* Update snapshot
* Rename props
* Rename props[2]
* Disable hover is onClick is missing
* Fix alert rule item
* Update snapshot
* Export CardProps
* Replace logo
* Remove tag prop
* Remove extra div
* Add @public
* Update AlertRuleItem
* Simplify disabled logic
* Export Card styles
* Remove AlertRuleItem tooltips
* Revert to old button design
* Make component internal
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-10-28 09:23:22 +02:00
Torkel Ödegaard
283fd4c247
API: Reducing some api docs errors ( #28575 )
2020-10-27 17:54:02 +01:00
Alex Khomenko
75ebf3f15c
Grafana-UI: ContextMenu docs ( #28508 )
...
* Add story
* Add docs
* Get rid of selectThemeVariant
* Minor tweaks
2020-10-27 17:18:45 +02:00
Dominik Prokop
4468d41417
Plugin signing: UI information ( #28469 )
...
* first pass
* return list
* types and cleanup
* add to plugin page and add styles
* update comment
* update comment
* fix component path
* simplify error component
* simplify error struct
* fix tests
* don't export and fix string()
* update naming
* remove frontend
* introduce phantom loader
* track single error
* remove error from base
* remove unused struct
* remove unnecessary filter
* add errors endpoint
* Update set log to use id field
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* skip adding BE plugins
* remove errs from plugin + ds list
* remove unnecessary fields
* add signature state to panels
* Fetch plugins errors
* grafana/ui component tweaks
* DS Picker - add unsigned badge
* VizPicker - add unsigned badge
* PluginSignatureBadge tweaks
* Plugins list - add signatures info box
* New datasource page - add signatures info box
* Plugin page - add signatures info box
* Fix test
* Do not show Core label in viz picker
* Update public/app/features/plugins/PluginsErrorsInfo.tsx
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update public/app/features/plugins/PluginListPage.test.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/features/plugins/PluginListPage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/features/datasources/NewDataSourcePage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Review comments 1
* Review comments 2
* Update public/app/features/plugins/PluginsErrorsInfo.tsx
* Update public/app/features/plugins/PluginPage.tsx
* Prettier fix
* remove stale backend code
* Docs issues fix
Co-authored-by: Will Browne <will.browne@grafana.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2020-10-27 13:08:08 +01:00
Will Browne
4d2b20f727
Auth: Fix SigV4 request verification step for Amazon Elasticsearch Service ( #28481 )
...
* remove forward header and add extra steps for encoding
* add comment
* re-use forwarded header
* fix service param
* Make SDK the default auth option in UI
* use SDK code instead
* propagate err
* refactor flow
* fix prom service namespace
2020-10-26 12:36:11 +01:00
Jack Westbrook
a8a3686785
Grafana/ui: auto focus threshold editor input ( #28360 )
...
* feat(grafana-ui): autofocus threshold editor input
* refactor(grafana-ui): remove commented out css
* feat(grafana-ui): use ref for autofocus new thresholds editor input
* refactor(grafana-ui): conditionally set input ref for latest threshold
* refactor(grafana-ui): put back createRef for input ref
2020-10-26 12:21:41 +01:00
Dênis Volpato Martins
639460a789
Checkbox: Fix component sample typo ( #28518 )
2020-10-26 06:26:34 +01:00
Ivana Huckova
d9d34ceedf
Fix cut off icon ( #28442 )
2020-10-21 21:39:24 +02:00
Ivana Huckova
3f39b4b601
Loki: Visually distinguish error logs for LogQL2 ( #28359 )
...
* Loki: Add errored logs and update UI
* Update messaging
* Add icon and tooltip for errored logs
* Update name of variable for more semantic meaning
* Add tests
* Update test
* Refactor, remove unnecessary state
* Update packages/grafana-data/src/types/logs.ts
* Update packages/grafana-ui/src/components/Logs/LogDetails.tsx
Co-authored-by: Giordano Ricci <gio.ricci@grafana.com>
Co-authored-by: Giordano Ricci <gio.ricci@grafana.com>
2020-10-21 19:11:32 +02:00
Zoltán Bedi
e1c44d7a8a
Chore: react hooks eslint fixes in grafana-ui ( #28026 )
...
* Fix some rule violation in grafan-ui
* Update eslint-plugin-react-hooks to latest
* Remove duplicate dependency
* Fix more files
* Props destruction
2020-10-21 09:06:41 +02:00
Ryan McKinley
0bfdf79968
Chore: fix jsdoc desc and return ( #28383 )
2020-10-20 07:35:45 -07:00
Jack Westbrook
04c06f2286
Grafana/ui: pass html attributes to segment ( #28316 )
...
* feat(grafana-ui): introduce rest props to segment components
* docs(grafana-ui): add segment stories for html attributes
2020-10-20 14:18:05 +02:00
kay delaney
64304dafce
Webpack: Split out unicons and bizcharts ( #28374 )
2020-10-19 22:47:47 +01:00
Torkel Ödegaard
566cd2c6af
ColorSchemes: Adds more color schemes and text colors that depend on the background ( #28305 )
...
* Adding more color modes and text colors that depend on the background color
* Updates
* Updated
* Another big value fix
* Fixing unit tests
* Updated
* Updated test
* Update
* Updated
* Updated
* Updated
* Updated
* Added new demo dashboard
* Updated
* updated
* Updated
* Updateed
* added beta notice
* Fixed e2e test
2020-10-19 10:25:27 +02:00
Peter Holmberg
fb516ecf64
Docs: Add docs for valuepicker ( #28327 )
2020-10-17 08:47:06 +02:00
Dominik Prokop
2a08f4bdc2
GraphNG: Use AxisSide enum ( #28320 )
2020-10-16 16:21:42 +02:00
Elliot Pryde
1760fdd55d
Explore: respect min_refresh_interval ( #27988 )
...
* Explore: respect min_refresh_interval
Fixes #27494
* fixup! Explore: respect min_refresh_interval
* fixup! Explore: respect min_refresh_interval
* UI: export defaultIntervals from refresh picker
* fixup! Explore: respect min_refresh_interval
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2020-10-16 13:10:25 +02:00
Dominik Prokop
f989e37132
Graph NG: fix toggling queries and extract Graph component from graph3 panel ( #28290 )
...
* Fix issue when data and config is not in sync
* Extract GraphNG component from graph panel and add some tests coverage
* Update packages/grafana-ui/src/components/uPlot/hooks.test.ts
* Update packages/grafana-ui/src/components/uPlot/hooks.test.ts
* Update packages/grafana-ui/src/components/uPlot/hooks.test.ts
* Fix grid color and annotations refresh
2020-10-16 12:51:32 +02:00
Zoltán Bedi
e93bd23353
Jaeger: timeline collapser to show icons ( #28284 )
...
* Fix: timeline collapser to show icons
* Use IconButton
* Export named component instead of default
2020-10-15 19:26:25 +02:00
Will Browne
3706fd3942
Update changelog ( #28292 )
...
* update changelog
* Update CHANGELOG.md
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
2020-10-15 18:11:48 +02:00
Arve Knudsen
febdad4da2
Chore: Update package.json ( #28291 )
...
* Chore: Update what's new and release notes URL in package.json
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Chore: Update version
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-15 14:41:25 +02:00
Levente Balogh
d58dc96f3d
feat(grafana/ui): export FieldArray ( #28251 )
2020-10-15 10:54:16 +03:00
Chris Morrow
7ad468ba82
Prometheus: Data source settings page help wording. ( #28274 )
...
* Add a space between: "handled." and "Server".
This text is .. a little ambiguous, is it:
"handled.Server()..."
or:
"handled. Server should...."
Punctuation it matters.
https://i.pinimg.com/originals/ad/db/a1/addba11374256fd0b1d679a595f57d9b.jpg
* Fix the sentence to be readable.
2020-10-15 08:06:53 +02:00
Ryan McKinley
fe423644ae
Transformations: add Concatenate fields transformer ( #28237 )
2020-10-14 10:34:04 -07:00
Torkel Ödegaard
3fed829b8b
Gauge: Improve text sizing and support non threshold color modes ( #28256 )
...
* Gauge: Improve text sizing and support non threshold color modes
* Updated tests
2020-10-14 16:17:41 +02:00
Marcus Andersson
b5196f531c
Build: added steps to generate packages api documentation. ( #27930 )
...
* added steps to generate docs.
* re-generated the drone.yml file.
* removed metrics reporting from pr pipeline.
* fixed spelling issues.
* fixed so package generation should work.
* some small refactorings.
* fixed spelling error.
* adding echo to verify that we execute the correct script.
* removed echo statement.
* changed scripts a bit.
* added ci flag to script.
* adding exit 1
* increased the limit.
* added missing space.
* fixed shellcheck error.
* fixing lint errors.
* renamed build step.
* changed logic.
* increased limit.
* changed to echo instead of echo -e
* fixed shellcheck errors.
* trying to debug script,
* trying to simplify the find statement.
* fixed issue with text formatting on linux.
* imported build step.
* Update scripts/ci-reference-docs-lint.sh
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* removed cleanup of packages.
* increased limit.
* will build frontend docs on master but not lint it.
* will always run the linting step.
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-14 14:35:55 +02:00
Marcus Andersson
a779622982
Variables: prevent adhoc filters from crashing when they are not loaded properly ( #28226 )
...
* fixing so we will present a better error message when loading ad hoc filter variables.
* added tests to verify url parsing.
* added a test to make sure it works the oppisite way.
2020-10-14 12:55:28 +02:00
Torkel Ödegaard
451836a86a
NamedColors: Named colors refactors ( #28235 )
...
* NamedColors: Refactoring, performance improvements, and simplifications
* More simplifification
* Updated to use new function
* Updates
* Updates
* Updated BarGauge to use fallback color intead of magic string
* Updates
* Fixed unused import
2020-10-14 10:21:45 +02:00
Torkel Ödegaard
558ce5fd7f
Theme: Deprecate selectThemeVariant util function ( #28223 )
2020-10-13 18:02:07 +02:00
Marcus Efraimsson
519ec93c7d
Datasource: Prefix SigV4 json data keys with sigV4 ( #28195 )
...
Prefixes SigV4 json data and secure json data keys with sigV4 to make
sure they don't collide with any other settings. Also minor fixes to UI.
Ref #27552
2020-10-12 17:52:17 +02:00
Peter Holmberg
ac88da14d3
Docs: Add Storybook docs for BigValue ( #27814 )
...
* first things
* finishing docs
* display mode docs
2020-10-12 08:15:09 +02:00
Peter Holmberg
873c32bc97
Docs: Pagination component ( #28143 )
...
* Add basic docs for pagination component
* Update packages/grafana-ui/src/components/Pagination/Pagination.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update packages/grafana-ui/src/components/Pagination/Pagination.mdx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2020-10-09 16:45:16 +02:00
Jess
670b8512bf
Add docs for IconButton ( #28136 )
...
* Update IconButton.story.tsx
* Create IconButton.mdx
* Add missing row
* Add props table
* Expand docs
Co-authored-by: Clarity-89 <homes89@ukr.net>
2020-10-09 16:25:27 +03:00
Ivana Huckova
a3ef101618
Explore: Fix showing of Prometheus data in Query inspector ( #28128 )
...
* Fix showing of data in explore's query inspector
* Add test
* Add test
* Updat etest
* Implement react-testing-library and remove props export
* Update tests for consistency
2020-10-09 14:49:14 +02:00
Dominik Prokop
a3d1d9a9c5
Graph NG: EventsCanvas & WIP exemplars support ( #28071 )
...
* Use annotations data observable
* WIP exemplars
* Refactor usePlotContext to use getters instead of properties
* Use DataFrame in EventsCanvas instead of custom type
* Minor tweaks
2020-10-09 11:38:30 +02:00
Torkel Ödegaard
d181782943
FieldColor: Adds new standard color option for color ( #28039 )
...
* FieldColor: Added field color option
* Progress
* FieldColor: Added custom schemes
* move to fieldColor
* move to fieldColor
* add back the standard color picker
* FieldColor: Added registry for field color modes
* wip refactor
* Seperate scale from color mode
* Progress
* schemes working
* Stuff is working
* Added fallback
* Updated threshold tests
* Added unit tests
* added more tests
* Made it work with new graph panel
* Use scale calculator from graph panel
* Updates
* Updated test
* Renaming things
* Update packages/grafana-data/src/field/displayProcessor.ts
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
* updated according to feedback, added docs
* Updated docs
* Updated
* Update docs/sources/panels/field-options/standard-field-options.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/panels/field-options/standard-field-options.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Updated docs according to feedback
* fixed test
* Updated
* Updated wording
* Change to fieldState.seriesIndex
* Updated tests
* Updates
* New names
* More work needed to support bar gauge and showing the color modes in the picker
* Now correct gradients work in bar gauge
* before rename
* Unifying the concept
* Updates
* review feedback
* Updated
* Skip minification
* Updated
* UI improvements
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-10-09 09:34:57 +02:00
Agnès Toulet
de9f55cb3e
Table: don't format React components values ( #28116 )
2020-10-08 15:25:51 +02:00
Will Browne
7d63b2c473
Auth: Add Sigv4 auth option to datasources ( #27552 )
...
* create transport chain
* add frontend
* remove log
* inline field updates
* allow ARN, Credentials + Keys auth in frontend
* configure credentials
* add tests and refactor
* update frontend json field names
* fix tests
* fix comment
* add app config flag
* refactor tests
* add return field for tests
* add flag for UI display
* update comment
* move logic
* fix config
* pass config through props
* update docs
* pr feedback and add docs coverage
* shorten settings filename
* fix imports
* revert docs changes
* remove log line
* wrap up next as round tripper
* only propagate required config
* remove unused import
* remove ARN option and replace with default chain
* make ARN role assume as supplemental
* update docs
* refactor flow
* sign body when necessary
* remove unnecessary wrapper
* remove newline
* Apply suggestions from code review
* PR fixes
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-08 10:03:20 +02:00
Alex Khomenko
9c112cd785
Grafana-UI: Form elements fixes ( #27858 )
...
* Fix inline label tooltip position
* Allow resetting max-width
* Fix label alignment and props
* Fix label line height
2020-10-07 13:20:32 +03:00
Dominik Prokop
aa6c98f7ff
Graph NG: annotations display ( #27972 )
...
* Annotations support POC
* Fix markers memoization
* dev dashboard update
* Update public/app/plugins/panel/graph3/plugins/AnnotationsPlugin.tsx
2020-10-06 11:39:06 +02:00
Zoltán Bedi
b1186d693a
Stackdriver: fix project name change regression ( #27909 )
...
* Update stackdriver query editor not to overwrite project name
* Fix legacy select form no options didn't show
* Update config link to docs
2020-10-03 11:55:09 +02:00
Zoltán Bedi
b00755a2d9
Fix errors in grafana-ui's storybook files ( #28004 )
2020-10-03 11:53:01 +02:00
Torkel Ödegaard
dfe04ea3e8
Packages: Fixed npm dependency issue ( #27996 )
...
* Packages: Fixed npm dependency issue
* Updated yarn.lock
* Fixes
* Updated
2020-10-03 07:13:19 +02:00
Linus Groh
9d422fc400
Storybook: Fix typo in ThemeColors component ( #27999 )
2020-10-03 07:07:53 +02:00
John S
4d3067e139
Docs: Refactor inconsistent unordered lists ( #27826 )
...
* Docs: Refactor inconsistent unordered lists
* add requested changes
* Update docs/sources/linking/data-link-variables.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/http_api/_index.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/guides/whats-new-in-v6-0.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/auth/auth-proxy.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* resolve weird line breaks
* revert unintentional change
* Update docs/sources/auth/auth-proxy.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/auth/auth-proxy.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/auth/auth-proxy.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-10-02 11:02:11 -07:00
Lundbyit
2c1c4d613c
Storybook: Fix checkbox spacing ( #27980 )
...
* Remove <br> and add line-height
* use theme line-height instead of custom
2020-10-02 16:07:47 +03:00