flopp999
911a91308f
Units: add (IEC) and (Metric) ( #23175 )
...
since only bits and bytes is displayed when it is selected, I added (IEC) and (Metric)
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-03-30 20:47:13 +02:00
Torkel Ödegaard
bdf5654837
Theme:s Tooltip fixes ( #23174 )
...
* LightTheme: Fixed tooltips background & text
* LightTheme: Fixed tooltips background & text
2020-03-30 16:31:53 +02:00
Torkel Ödegaard
d524bb1ff0
NewPanelEdit: Side options collapse/expand design update ( #23161 )
...
* WIP: Panel options search
* Panel options search
* Minor update
* Fixed ts issues
* StatPanel: Fixed duplicate option exception
* Added some polish
* Updated snapshot
* Minor fix
* updated snapshot
2020-03-30 14:39:18 +02:00
Tobias Skarhed
3385ed9007
Storybook: Update theme switcher ( #23187 )
2020-03-30 11:50:46 +02:00
Hugo Häggmark
5307cfeabd
Transformers: adds series to column transformer ( #23012 )
...
* Refactor: adds first naive implemenation of join by field name
* Chore: changes after PR comments
* Refactor: fixes labels and adds support for multiple columns
2020-03-30 06:24:54 +02:00
Torkel Ödegaard
53630b5f13
StatPanels: Refactoring DisplayValueOptions and renaming & adding new panel options to react panels ( #23153 )
...
* StatPanels: Refactoring DisplayValueOptions and renaming
* added return
* Progress
* Updated
* Made radio groups full width by default in panel options
* Fixed ts issue
* Updated
* Added remaining options
* Removed unused type
* Updated snapshot
* Renamed to ReduceDataOptions
2020-03-28 23:11:50 +01:00
Stephanie Closson
b6c1a063be
must publish a dist folder as well ( #23152 )
2020-03-27 09:44:55 -06:00
Tobias Skarhed
6d6d86f940
Storybook: Add internal stories functionality ( #23139 )
2020-03-27 14:37:08 +01:00
Steven Vachon
9272c0817c
@grafana/e2e: exit with non-0 code on error ( #23121 )
2020-03-27 08:59:43 -04:00
Torkel Ödegaard
08133ea31a
BarGauge: First bar gauge panel option & some refactoring ( #23128 )
...
* First bar gauge panel option
* Update doc comments
* Minor changes
* progress
* Fixing typing errors
* Minor type updates
* Fix that TS!
* Bring satisfaction to that beast called typescript
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2020-03-27 12:38:46 +01:00
Torkel Ödegaard
7e094ac559
Buttons: Fixed vertical centering, now pixel perfect ( #23140 )
2020-03-27 12:38:28 +01:00
Torkel Ödegaard
e19493ae24
RadioButtonGroup: Fixed vertical centering ( #23138 )
2020-03-27 11:38:09 +01:00
Alex Khomenko
7e2fedb0cc
Storybook: Sort icons by name ( #23115 )
...
* Storybook: Sort icons by name
* Storybook: Add icon search
2020-03-27 11:09:23 +02:00
Ivana Huckova
be157b8457
Update raw range only if isMathString ( #23122 )
2020-03-27 10:04:43 +01:00
Torkel Ödegaard
16306ccacb
NewPanelEditor: Fixed color option error ( #23127 )
2020-03-27 07:04:40 +01:00
Dominik Prokop
4eae1b5483
NewPanelEditor: fluent API for custom field config and panel options creation ( #23070 )
...
* Registry of standard option editors
* Move override processors to grafana data
* API for declaratively creating field config/panel options
* Enable declarative API in PanelPlugin for options and field config
* Use new api in react table panel
* Add color and unit picker to option registries
* Add some docs and tests
* Fix tests
2020-03-26 21:48:46 +01:00
Steven Vachon
a4308fffe7
@grafana/e2e: API improvements ( #23079 )
...
* Minor changes
* Fixtures path is now relative to the project directory
* URL support module now has individual exports
* Scenario context timing issues resolved
... caused by being ran synchronously, instead of as part of Cypress' asynchronous queue.
* Scenario context API now supports multiple keys per function call
* addDataSource flow accepts a config argument
… and optionally checks datasource health status
* Added readProvisions command
* Added addPanel flow
2020-03-26 12:15:58 -04:00
Lukas Siatka
13ab84f201
DevEnv: update frontend dependencies - react-transition-group ( #22998 )
...
* DevEnv: updates @types/react-transition-group 2.0.16 -> 4.2.4
* DevEnv: updates @types/react-transition-group 2.0.16 -> 4.2.4 in grafana-ui package
* DevEnv: updates react-transition-group 2.6.1 -> 4.3.0 in grafana-ui package
* DevEnv: updates react-transition-group 2.6.1 -> 4.3.0
2020-03-26 16:04:14 +01:00
Ryan McKinley
1ff736b4b3
e2e: remove old toolkit e2e implementation ( #23091 )
2020-03-26 07:31:44 -07:00
Lukas Siatka
107a0d86f9
Bugfix: updates highlighter passed style prop from string to object ( #23112 )
2020-03-26 15:18:39 +01:00
Tobias Skarhed
e5f4ac8ca0
Forms Migrations; Remove Buttons from Forms namespace ( #23105 )
2020-03-26 12:47:21 +01:00
Lukas Siatka
01d4cb9e37
DevEnv: update frontend dependencies - mixed 3/4 ( #22995 )
...
* DevEnv: updates pixelmatch 4.0.2 -> 5.1.0
* DevEnv: updates pixelmatch 5.0.2 -> 5.1.0 in grafana-toolkit package
* DevEnv: updates postcss-flexbugs-fixes 4.1.0 -> 4.2.0 in grafana-toolkit package
* DevEnv: updates postcss-preset-env 6.6.0 -> 6.7.0 in grafana-toolkit package
* DevEnv: updates less 3.10.3 -> 3.11.1 in grafana-toolkit package
* DevEnv: updates ora 3.4.0 -> 4.0.3 in grafana-toolkit package
* DevEnv: updates semver 6.1.1 -> 7.1.3 in grafana-toolkit package
* DevEnv: updates simple-git 1.112.0 -> 1.132.0 in grafana-toolkit package
* DevEnv: updates ora import to commonjs after its update
2020-03-26 12:46:46 +01:00
Lukas Siatka
6a9480e3b4
DevEnv: updates react-docgen-typescript-loader 3.3.0 -> 3.7.1 ( #23003 )
2020-03-26 12:46:09 +01:00
Tobias Skarhed
5cdb8f8e44
Form Migrations: Button ( #23019 )
...
* Update legacy exports and fix Type errors
* Remove Button and LinkButton from Forms namespace
* Fix errors
* Update snapshots
* Move Legacy button
* Migrate more Buttons
* Remove legacy button dependency
* Move button up
* Remove legacy button
* Update Snapshots
* Fix ComponentSize issues
* Switch primary button
* Switch primary
* Add classNames and fix some angular directive issues
* Fix failing build and remove log
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2020-03-26 11:50:27 +01:00
Alex Khomenko
85dc4e565e
Search/migrate search results ( #22930 )
...
* Search: Setup SearchResults.tsx
* Search: add watchDepth
* Search: Use SearchResults.tsx in Angular template
* Search: Render search result header
* Search: Move new search components to features/search
* Search: Render nested dashboards
* Search: Expand dashboard folder
* Search: Remove fa prefix from icon names
* Search: Enable search results toggling
* Search: Add onItemClick handler
* Search: Add missing aria-label
* Search: Add no results message
* Search: Fix e2e selectors
* Search: Update SearchField imports
* Search: Add conditional classes
* Search: Abstract DashboardCheckbox
* Search: Separate ResultItem
* Search: Style ResultItem
* Search: Separate search components
* Search: Tweak checkbox styling
* Search: Simplify component names
* Search: Separate tag component
* Search: Checkbox docs
* Search: Remove inline on click
* Add Tag component
* Add Tag story
* Add TagList
* Group Tab and TabList
* Fix typechecks
* Remove Meta
* Use forwardRef for the Tag
* Search: Use TagList from grafana/ui
* Search: Add media query for TagList
* Search: Add types
* Search: Remove selectThemeVariant from SearchItem.tsx
* Search: Style section + header
* Search: Use semantic html
* Search: Adjust section padding
* Search: Setup tests
* Search: Fix tests
* Search: tweak result styles
* Search: Expand SearchResults tests
* Search: Add SearchItem tests
* Search: Use SearchResults in search.html
* Search: Toggle search result sections
* Search: Make selected prop optional
* Search: Fix tag selection
* Search: Fix tag filter onChange
* Search: Fix uncontrolled state change warning
* Search: Update icon names
* Search: memoize SearchCheckbox.tsx
* Search: Update types
* Search: Cleanup events
* Search: Semantic html
* Use styleMixins
* Search: Tweak styling
* Search: useCallback for checkbox toggle
* Search: Add stylesFactory
Co-authored-by: CirceCI <circleci@grafana.com >
2020-03-26 10:09:08 +01:00
Ryan McKinley
19123444a1
Chore: move specific DataQuery props to loki/tsdb ( #23086 )
2020-03-25 22:30:22 -07:00
Ryan McKinley
27913289d3
Chore: fix typo and remove deprecation ( #23073 )
2020-03-25 17:21:09 -07:00
Lukas Siatka
4c2b191a83
Revert "DevEnv: update frontend dependencies - react-table ( #23006 )" ( #23075 )
...
This reverts commit d6b6b0f25c .
2020-03-25 17:11:14 +01:00
Marcus Andersson
f75387bd14
Fix: reverted back to import * as module instead of using namespaces ( #23069 )
...
* Removed namespace declaration to prevent issues with external plugins.
* fixed imports and tests.
2020-03-25 17:01:43 +01:00
Lukas Siatka
b8018fad34
DevEnv: update frontend dependencies - react-test-renderer ( #23004 )
...
* DevEnv: updates @types/react-test-renderer 16.9.0 -> 16.9.2 in grafana-ui package
* DevEnv: updates react-test-renderer 16.9.0 -> 16.13.1 in grafana-ui package
2020-03-25 14:24:34 +01:00
Lukas Siatka
05fd583938
DevEnv: update frontend dependencies - react-highlight-words ( #23009 )
...
* DevEnv: updates react-highlight-words 0.11.0 -> 0.16.0
* DevEnv: updates react-highlight-words 0.11.0 -> 0.16.0 in grafana-ui package
2020-03-25 14:23:58 +01:00
Torkel Ödegaard
4b6fe5bcc3
Packages: Fixing rollup issue ( #23063 )
...
Co-authored-by: CirceCI <circleci@grafana.com >
2020-03-25 14:23:23 +01:00
Torkel Ödegaard
0870ccea7d
NewPanelEdit: Fixed error with custom override properties ( #23055 )
2020-03-25 14:04:41 +01:00
Hugo Häggmark
6f3ca2616f
Chore: fixes test data in processDataFrame.test.ts ( #23058 )
2020-03-25 13:18:41 +01:00
Ivana Huckova
65d97edb3b
Create ComponentSize type and replace ButtonSize with it ( #23059 )
2020-03-25 13:10:37 +01:00
Lukas Siatka
d6b6b0f25c
DevEnv: update frontend dependencies - react-table ( #23006 )
...
* DevEnv: updates @types/react-table 7.0.2 -> 7.0.12 in grafana-ui package
* DevEnv: updates react-table 7.0.0-rc.15 -> 7.0.0 in grafana-ui package
* Updated yarn.lock
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2020-03-25 13:09:44 +01:00
Andrej Ocenas
ae09ccbf79
Trace UI demo ( #20297 )
...
* Add integration with Jeager
Add Jaeger datasource and modify derived fields in loki to allow for opening a trace in Jager in separate split.
Modifies build so that this branch docker images are pushed to docker hub
Add a traceui dir with docker-compose and provision files for demoing.:wq
* Enable docker logger plugin to send logs to loki
* Add placeholder zipkin datasource
* Fixed rebase issues, added enhanceDataFrame to non-legacy code path
* Trace selector for jaeger query field
* Fix logs default mode for Loki
* Fix loading jaeger query field services on split
* Updated grafana image in traceui/compose file
* Fix prettier error
* Hide behind feature flag, clean up unused code.
* Fix tests
* Fix tests
* Cleanup code and review feedback
* Remove traceui directory
* Remove circle build changes
* Fix feature toggles object
* Fix merge issues
* Fix some null errors
* Fix test after strict null changes
* Review feedback fixes
* Fix toggle name
Co-authored-by: David Kaltschmidt <david.kaltschmidt@gmail.com >
2020-03-25 12:25:39 +01:00
Arve Knudsen
b6f73e35a5
Chore: Typecheck TypeScript in CI pipelines ( #23052 )
...
* circle-test-frontend.sh: Typecheck TypeScript
* Chore: fixes type errors
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
2020-03-25 12:19:21 +01:00
Lukas Siatka
3f08a789d7
DevEnv: update frontend dependencies - apache arrow, bizcharts, commander ( #22994 )
...
* DevEnv: updates bizcharts 3.5.5 -> 3.5.8 in grafana-ui package
* DevEnv: updates apache-arrow 0.15.1 -> 0.16.0 in grafana-data package
* DevEnv: updates commander 2.20.0 -> 5.0.0 in grafana-toolkit package
* DevEnv: updates commander 4.1.1 -> 5.0.0 in grafana-e2e package
2020-03-25 11:01:02 +01:00
Lukas Siatka
bcad3fbda1
DevEnv: update frontend dependencies - rc ( #22977 )
...
* DevEnv: updates rc-cascader 0.17.5 -> 1.0.1
* DevEnv: updates rc-cascader 0.17.5 -> 1.0.1 in grafana-ui package
* DevEnv: updates rc-drawer 3.0.2 -> 3.1.3 in grafana-ui package
* DevEnv: updates rc-time-picker 3.7.2 -> 3.7.3 in grafana-ui package
* DevEnv: updates rc-slider 8.7.1 -> 9.2.3 in grafana-ui package
* Fix option mappings
* Some clean up of the code.
* removed unused function.
Co-authored-by: Tobias Skarhed <tobias.skarhed@gmail.com >
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
2020-03-25 10:10:26 +01:00
Torkel Ödegaard
e8efd17ea9
Buttons: Improves vertical alignment in buttons ( #23030 )
...
* Buttons: Improves vertical alignment in buttons
* Updated snapshot
* Fixed strict null errors
2020-03-25 09:21:44 +01:00
Agnès Toulet
d825b9e799
Analytics: Send event when opening a dashboard ( #22921 )
...
* Analytics: add open dashboard event
* Analytics: move code to analyticsProcessor
* Dashboard: fix init tests
* Analytics: remove open event for new dashboard
* Analytics: rename analyticsProcessor functions
2020-03-25 09:01:49 +01:00
Torkel Ödegaard
441e87d4d4
NewPanelEdit: Adding repeating options ( #22984 )
...
* NewPanelEdit: Adding repeating options
* Added all repeat options
* reduce strict null errors
2020-03-24 15:44:13 +01:00
Alex Khomenko
014e7d9261
Granfana ui/tag components ( #22964 )
...
* Add Tag component
* Add Tag story
* Add TagList
* Group Tab and TabList
* Fix typechecks
* Remove Meta
* Use forwardRef for the Tag
* Add actions instead of console.log
* Add previews
2020-03-24 13:52:20 +02:00
Torkel Ödegaard
08c95c3419
UI: Theme changes ( #22880 )
...
* Theme: Updates the theme to align panel & page background colors
* Updated dashboard settings view to be similar to new panel edit
* Updated themes
* Added shadow
* Updates generated files
* Minor fix to inspect drawer
* Clean up old dashboard setttings stuff
* Polish to search
* Updated truth image
* Minor tweaks to dropdown menu
* Updates and alignments between inspect drawer and explore rich history
* removed unused variables
* Minor tweak to light page header bg
2020-03-24 10:30:53 +01:00
Lukas Siatka
e2f7f85222
DevEnv: update frontend dependencies - eslint ( #22990 )
...
* DevEnv: updates eslint-plugin-jsdoc 21.0.0 -> 22.1.0
* DevEnv: updates @typescript-eslint/eslint-plugin 2.19.2 -> 2.24.0 in grafana-toolkit package
* DevEnv: updates @typescript-eslint/parser 2.19.2 -> 2.24.0 in grafana-toolkit package
* DevEnv: updates eslint 6.7.2 -> 6.8.0 in grafana-toolkit package
* DevEnv: updates eslint-config-prettier 6.7.0 -> 6.10.0 in grafana-toolkit package
* DevEnv: updates eslint-plugin-prettier 3.1.1 -> 3.1.2 in grafana-toolkit package
* DevEnv: updates eslint-plugin-jsdoc 18.4.1 -> 22.1.0 in grafana-toolkit package
2020-03-24 08:25:57 +01:00
Lukas Siatka
d4d3874a38
DevEnv: update frontend dependencies - react-dev-utils ( #23007 )
...
* DevEnv: updates @types/react-dev-utils 9.0.1 -> 9.0.4 in grafana-toolkit package
* DevEnv: updates react-dev-utils 9.0.1 -> 10.2.1 in grafana-toolkit package
2020-03-24 08:25:12 +01:00
Lukas Siatka
01ebaf9260
DevEnv: update frontend dependencies - storybook ( #22976 )
...
* DevEnv: updates storybook-dark-mode 0.3.0 -> 0.3.1 in grafana-ui package
* DevEnv: updates @storybook/addon-actions 5.3.9 -> 5.3.17 in grafana-ui package
* DevEnv: updates @storybook/addon-docs 5.3.9 -> 5.3.17 in grafana-ui package
* DevEnv: updates @storybook/addon-info 5.3.9 -> 5.3.17 in grafana-ui package
* DevEnv: updates @storybook/addon-knobs 5.3.9 -> 5.3.17 in grafana-ui package
* DevEnv: updates @storybook/addon-storysource 5.3.14 -> 5.3.17 in grafana-ui package
* DevEnv: updates @storybook/theming 5.3.9 -> 5.3.17 in grafana-ui package
* DevEnv: updates @storybook/react 5.3.9 -> 5.3.17 in grafana-ui package
2020-03-24 08:23:52 +01:00
Lukas Siatka
18f4e3ce47
DevEnv: update frontend dependencies - ts-node & node-sass ( #22988 )
...
* DevEnv: updates ts-node 8.6.2 -> 8.8.1
* DevEnv: updates ts-node 8.5.0 -> 8.8.1 in grafana-e2e package
* DevEnv: updates node-sass 4.12.0 -> 4.13.1 in grafana-toolkit package
* DevEnv: updates ts-node 8.5.0 -> 8.8.1 in grafana-toolkit package
2020-03-24 06:56:58 +01:00
Lukas Siatka
7e8b1d2866
DevEnv: update frontend dependencies - react-color ( #23008 )
...
* DevEnv: updates react-color 2.17.0 -> 2.18.0
* DevEnv: updates @types/react-color 2.17.0 -> 3.0.1
2020-03-24 05:49:00 +01:00