kay delaney
8584c2d2d5
DataSourceSettings: Hide custom HTTP header options when access mode is browser ( #26481 )
...
Closes #26422
2020-07-22 12:40:52 +01:00
Alex Khomenko
9c3f47aa23
Grafana-UI: Pass timeZone to TimePickerButtonLabel ( #26454 )
2020-07-20 16:57:14 +03:00
Alex Khomenko
7b183971fd
Grafana-UI: Enable empty time range ( #26320 )
...
* Grafana-UI: Enable empty time range
* Grafana-UI: Add clearable prop
* Grafana-UI: Update types
* Grafana-UI: Use InputTimeRange type
* Grafana-UI: Remove InputTimeRange type
* Grafana-UI: Fix clear icon hover color
2020-07-17 14:04:05 +03:00
Zoltán Bedi
5046e54918
Suggestion: render documentation as markdown in suggestion's info ( #25953 )
...
* Panel: render documentation as markdown in TypeaheadInfo
* Modify TypeaheadInfo to sanitize markdown output
2020-07-15 19:05:51 +02:00
Andreas Opferkuch
72cd9a3222
ThemeContext: Fix useStyles memoization ( #26200 )
2020-07-14 17:16:14 +02:00
Peter Holmberg
7cdbae4ae6
Fix: Make the JSON in JSONCell Tooltip more visible ( #26048 )
...
* add white background to tooltip component
* remove faulty background
* new theme for tooltip
* correct colors, remove custom box-shadow
* rename theme and add documentation
* use useStyles for style memo
2020-07-13 13:52:28 +02:00
Torkel Ödegaard
b1e48f429f
BarGauge: Fixed width of unfilled region not being correct when value is close to 100% ( #26193 )
...
* BarGauge: Fixed width of unfilled region not being correct when value is close to 100%
* removed accidental change
* updated snapshot
2020-07-13 12:53:59 +02:00
kay delaney
1391575853
Chore: Removes some unneeded console logging and changes logs to errors ( #26235 )
2020-07-10 15:07:04 +01:00
Alex Khomenko
718d6fb25d
Grafana-UI: Add time range input ( #26158 )
...
* Grafana UI: Do not submit form on range change
* Grafana UI: Add TimeRangeInput
* Grafana UI: Style input
* Grafana UI: Customize content
* Grafana UI: Adjust caret style
* Grafana UI: Add mdx
* Grafana UI: Fix caret styles
* Grafana UI: Fix typo
* Grafana UI: Do not reload page on timerange change
* Grafana UI: Sync TimeRangeForm state with external value
* Grafana UI: Close overlay on apply
* Grafana UI: Remove unused props
* Grafana UI: Fix story
* Grafana-UI: Make time zone optional
* Grafana-UI: Update styles
* Grafana-UI: Extract button label props
* Grafana-UI: hideHistory => showHistory
* Grafana-UI: Fix caret styles
2020-07-10 14:45:49 +03:00
Torkel Ödegaard
8f78b0e7bc
Chore: Fix all Typescript strict null errors ( #26204 )
...
* Chore: Fix typescript strict null errors
* Added new limit
* Fixed ts issue
* fixed tests
* trying to fix type inference
* Fixing more ts errors
* Revert tsconfig option
* Fix
* Fixed code
* More fixes
* fix tests
* Updated snapshot
* Chore: More ts strict null fixes
* More fixes in some really messed up azure config components
* More fixes, current count: 441
* 419
* More fixes
* Fixed invalid initial state in explore
* Fixing tests
* Fixed tests
* Explore fix
* More fixes
* Progress
* Sub 300
* Now at 218
* Progress
* Update
* Progress
* Updated tests
* at 159
* fixed tests
* Progress
* YAy blow 100! at 94
* 10,9,8,7,6,5,4,3,2,1... lift off
* Fixed tests
* Fixed more type errors
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2020-07-10 12:46:59 +02:00
Jess
f242840275
Create ConfirmButton.mdx ( #26113 )
...
add docs to ConfirmButton element
2020-07-08 18:29:33 +03:00
Oana Mangiurea
ea33668014
Update TextArea.mdx ( #26159 )
...
Add additional information in docs to textarea component
2020-07-08 18:06:08 +03:00
Oana Mangiurea
84bf94709e
Created Legend.mdx ( #26146 )
...
Add simple docs to legend component
Signed-off-by: Oana <oana.mangiurea@gmail.com>
2020-07-08 18:05:42 +03:00
Jess
14209c0ed1
Create Badge.mdx ( #26114 )
2020-07-08 18:05:18 +03:00
Jess
6d4f72cd04
Create Slider.mdx ( #26149 )
...
add simple documentation for slider component
2020-07-08 18:05:01 +03:00
Torkel Ödegaard
fd44c01675
Chore: Fix typescript strict null fixes now at 298 ( #26125 )
...
* Chore: Fix typescript strict null errors
* Added new limit
* Fixed ts issue
* fixed tests
* trying to fix type inference
* Fixing more ts errors
* Revert tsconfig option
* Fix
* Fixed code
* More fixes
* fix tests
* Updated snapshot
* Chore: More ts strict null fixes
* More fixes in some really messed up azure config components
* More fixes, current count: 441
* 419
* More fixes
* Fixed invalid initial state in explore
* Fixing tests
* Fixed tests
* Explore fix
* More fixes
* Progress
* Sub 300
* Fixed incorrect type
* removed unused import
2020-07-08 11:05:20 +02:00
Dominik Prokop
eb4391a228
grafana/ui: Do not rename export for InlineFormLabel ( #26118 )
2020-07-07 14:09:58 +02:00
Torkel Ödegaard
c9f22b72e3
StatPanel: Fixes issue with name showing for single series / field results ( #26070 )
...
* StatPanel: Fix text mode auto logic
* Removed import
2020-07-07 10:16:06 +02:00
Peter Holmberg
8f1115c6ac
Fix: Icon and Tooltip on Variables editor ( #26086 )
2020-07-07 08:45:37 +02:00
Andreas Opferkuch
390c80d7f5
ThemeContext: Make useStyles type-aware ( #26056 )
...
PLUS:
Make it more consise
Add unit test
2020-07-06 12:16:02 +02:00
Ryan McKinley
3acc2a6ac2
Table: JSON Cell should try to convert strings to JSON ( #26024 )
2020-07-03 10:23:32 +02:00
Alex Khomenko
c3d4e69a32
Grafana UI: Make FileUpload button size customizable ( #26013 )
2020-07-02 14:17:42 +03:00
Ryan McKinley
085b2f3dbf
Monaco: check suggestions against current word ( #25992 )
...
* trigger on current word
* proper index
* test suggestsions
* test suggestsions
* fix test
2020-07-02 10:42:44 +02:00
Ryan McKinley
73e82af4df
Value Mappings: remove unused operator property from interface ( #25989 )
2020-07-01 12:52:36 -07:00
Marcus Andersson
039367336c
Chore: added change log for 7.1.0-beta1. ( #25978 )
2020-07-01 15:02:01 +02:00
Marcus Andersson
700ab8f3d8
Chore: bumped version to next minor. ( #25971 )
2020-07-01 13:26:36 +02:00
Torkel Ödegaard
d65569f5d9
StatPanel: Option showing name instead of value and more ( #25676 )
...
* StatPanel: Option showing name instead of value and more
* rename option to textMode
* Move the logic of only showing name if more than one value to gauge and bar gauge panels
* Got tooltip working
* Updated devenv test dashboard
* Added docs for text mode
* Added migration logic
* Update docs/sources/panels/visualizations/stat-panel.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/panels/visualizations/stat-panel.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/panels/visualizations/stat-panel.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/panels/visualizations/stat-panel.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/panels/visualizations/stat-panel.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/panels/visualizations/stat-panel.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/panels/visualizations/stat-panel.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* docs fix
* Fixed ts issue
* review changes
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-07-01 11:06:21 +02:00
Ryan McKinley
bbd24cd93a
Monaco: add suggestions for template variables ( #25921 )
...
* now with suggestions
* using suggestions API
* using variable suggestions
* using variable suggestions
* show variables
* minor cleanup
* add @alpha warning
* Do not produce data variables if panel does not support queries
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-07-01 09:36:34 +02:00
Ivana Huckova
e93640878d
Explore/Tooltip: Fix label value in tooltip ( #25940 )
...
* Fix value name in tooltip
* Fallback to field.name
* Use getFieldDisplayName method
2020-07-01 09:07:44 +02:00
Torkel Ödegaard
199f772bcf
StatPanel: Add migration for singlestat tableColumn to to fields property ( #25901 )
2020-07-01 08:52:49 +02:00
Ryan McKinley
d4239e6fd2
Monaco: option to hide line numbers ( #25920 )
2020-06-30 14:05:34 -07:00
Peter Holmberg
20db5680d2
Fix: Value mappings match against string values ( #25929 )
...
* Use standard input for value mappings value
* add test and case for matching string values
* re add number on rangemap
* remove FieldTypeNumber required
2020-06-30 17:03:39 +02:00
Alex Khomenko
275c37503a
Grafana-UI: Add FileUpload ( #25835 )
...
* Grafana UI: Setup component
* Grafana UI: DashboardFileUpload => FileUpload
* Grafana UI: Expand docs
* Grafana UI: Add className
* Grafana UI: Update import
* Grafana UI: Clarify props
* Update packages/grafana-ui/src/components/FileUpload/FileUpload.tsx
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
* Grafana UI: Style icon
* Grafana UI: Show uploaded file name
* Grafana UI: Add tests
* Grafana UI: Add useStyles + useCallback
* Grafana UI: Remove stylesFactory
* Grafana UI: Revert to useTheme
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
2020-06-30 17:48:38 +03:00
Andrej Ocenas
81d7cb1773
DataLinks: Add internal links in table and allow custom query ( #25613 )
...
* Add internal links in table and with custom query
* Add specific types for internal and external link
* Change the datalink types to be more backward compatible
* Refactor the link utils for explore
* Add internal linking to table panels
* Fix derived field condition
* Prettify
* Add and fix tests
* Prettify
* Fix imports and tests
* Remove unused type
* Update packages/grafana-data/src/types/explore.ts
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* Update packages/grafana-data/src/types/explore.ts
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-06-30 14:51:04 +02:00
Marcus Andersson
8e36a15968
TimeZonePicker: added possibility to toggle if internal time zones should be included or not. ( #25934 )
...
* made some small adjustments after feedback.
* made the flag optional.
2020-06-30 13:30:18 +02:00
Dominik Prokop
a47fac72bf
grafana/ui: Fix storybook dev ( #25928 )
...
* Minimize css and js only for storybook build
* Update CodeEditor story, make it internal
* Update storybook webpack config
2020-06-30 11:44:38 +02:00
Dominik Prokop
6eabe6c29f
grafana-ui: Make output chunks correct ( #25922 )
2020-06-30 09:22:09 +02:00
Ryan McKinley
1a711e7df0
Panel Inspect: use monaco for json display ( #25251 )
2020-06-29 10:58:47 -07:00
Ivana Huckova
4488a4cd5a
Explore/Loki: Fix scrolling of context when leaving context window ( #25838 )
...
* Fix jumping layout
* Update log row hover background only if context is not open
2020-06-29 18:24:08 +02:00
Ryan McKinley
c344422a68
TimeZonePicker: expose for panel configuraiton ( #23523 )
2020-06-29 07:50:44 -07:00
Tobias Skarhed
1378cadb68
Switch: Deprecate checked prop in favor of value ( #25862 )
2020-06-29 15:48:34 +02:00
Peter Holmberg
6465b2f0a3
Migration: Migrate New notification channel page ( #25265 )
...
* creating page
* add types select
* adding switches
* start with converting angular templates to json
* converting more alert channels to new format
* convert remaining channels
* typing the form
* add validation, update models
* fix default value in type select
* fix type
* fix issue with validation rule
* add missing settings
* fix type errors
* test notification
* add comments to structs
* fix selectable value and minor things on each channel
* More typings
* fix strictnull
* rename ModelValue -> PropertyName
* rename show -> showWhen
* add enums and adding comments
* fix comment
* break out channel options to component
* use try catch
* adding default case to OptionElement if element not supported
2020-06-29 13:39:12 +02:00
Torkel Ödegaard
7e83e77dcd
Theme: Fixes bug in light theme for query editor part ( #25789 )
...
* Theme: Fixes bug in light theme for query editor part
* Remove different backgrond
2020-06-28 08:29:38 +02:00
Steven Vachon
fb3bec058a
@grafana/e2e: improvements ( #25708 )
...
* Set time range when opening a dashboard
* Set UTC timezone when creating a dashboard
* Added flow for selecting options in custom select fields
* Fix flaky test
2020-06-26 13:33:05 -04:00
Marcus Andersson
9421ae93f8
adding missing namedExport for lodash. ( #25857 )
2020-06-26 11:18:32 +02:00
Marcus Andersson
1abbb477cf
TimeZone: unify the time zone pickers to one that can rule them all. ( #24803 )
...
* draft on a unified TimeZonePicker.
* most of the data structures is in place.
* wip.
* wip.
* wip: timezone selector in progress.2
* fixed so we have proper data on all timezones.
* started to add timezone into time picker.
* addeing time zone footer.
* footer is working.
* fixed so we use the timeZone picker in shared preferences.
* Added so we can change timeZone from picker.
* did some styling changes.
* will update timezone on all places that we need to update it.
* removed console.log
* removed magic string.
* fixed border on calendar.
* ignoring eslint cache.
* cleaned up the code a bit.
* made the default selectable.
* corrected so the behaviour about default works as expected.
* excluded timezone from change tracker.
* revert so default will always be the intial value.
* default will always fallback to the one in the config.
* do the country mapping on startup.
* fixed nit.
* updated snapshots for timepicker.
* fixed build errors.
* updating so snapshot tests is in sync.
* removed Date.now from prop since it will change each run in the snapshot tests.
* fixed so e2e tests works as before.
* moved files into separate folders.
2020-06-26 09:08:15 +02:00
Marcus Andersson
7f587b209f
removed the event listener on will unmount instead of adding it again. ( #25844 )
2020-06-25 17:04:43 +02:00
Tobias Skarhed
62e1e78fbe
DatatLinks: Fix open in new tab state mismatch ( #25826 )
2020-06-25 14:54:34 +02:00
Dominik Prokop
657dc612d5
Update changelog (7.0.4) ( #25823 )
2020-06-25 12:25:12 +02:00
Ivana Huckova
9a6bf88020
Explore/Loki: Fix context menu log line highlighting ( #25731 )
...
* Add stopPropragation to context
* Remove redundant stopPropagation from header
* Format comment
2020-06-25 11:14:19 +02:00