Ashley Harrison
a98920f910
Storybook: add controls support + remove UseState from Collapse story ( #52869 )
...
* add controls support + remove UseState from Collapse story
* exclude className as well
* exclude className prop as well
2022-07-27 15:36:54 +01:00
Jo
c2d3c90bc8
Auth: Implement Token URL JWT Auth ( #52662 )
...
* Auth: check of auth_token in url and resolve user if present
* check if auth_token is passed in url
* Auth: Pass auth_token for request if present in path
* no need to decode token in index
* temp
* use loadURLToken and set authorization header
* cache token in memory and strip it from url
* Use loadURLToken
* Keep token in url
* strip sensitive query strings from url used by context logger
* adapt login by url to jwt token
* add jwt iframe devenv
* add jwt iframe devenv instructions
* add access note
* add test for cleaning request
* ensure jwt token is not carried into handlers
* do not reshuffle queries, might be important
* add correct db dump location
* prefer set token instead of cached token
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2022-07-27 16:10:47 +02:00
Timur Olzhabayev
84930e2ef9
Adding rudderstack to our storybook ( #52777 )
2022-07-27 15:20:13 +02:00
renovate[bot]
290b2e1ed0
Update grafana monorepo to v0.4.0 ( #52805 )
...
* Update grafana monorepo to v0.4.0
* update mock
* actually mock...
* typescript is hard...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2022-07-27 09:21:13 +01:00
ismail simsek
0a664faeeb
Graphite: Introduce new query types in annotation editor ( #52341 )
...
* Fix comment lines
* Introduce graphite variable editor
* Render results differently based on queryType
* Add comments and fallback values
* Unit tests for different type of graphite queries
* Use metrics/expand endpoint to retrieve metric names
2022-07-26 18:30:23 +02:00
Ryan McKinley
5df6a95045
Transformations: Add standard deviation and variance reducers ( #52769 )
...
Co-authored-by: Selva <selvavm@hotmail.com >
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2022-07-26 11:25:35 -04:00
Gilles De Mey
aa8c9d86dd
UI/Card: Fix card items always having pointer cursor ( #52809 )
2022-07-26 16:15:18 +02:00
renovate[bot]
58d8d7c44d
Update dependency webpack to v5.74.0 ( #52799 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-26 14:36:20 +01:00
Torkel Ödegaard
6af5f71dda
Dropdown: New dropdown component ( #52684 )
...
* Progress
* Example usage in application
* Add FocusScope
* REmove unused type
* simplify it by removing trigger property
* Use new Menu.Item way to access component
2022-07-26 14:19:30 +02:00
renovate[bot]
4d7e26abfd
Update dependency rollup to v2.77.1 ( #52786 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-26 11:33:24 +01:00
renovate[bot]
1d7edb1c3a
Update dependency react-select to v5.4.0 ( #52763 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-26 10:19:23 +01:00
Esteban Beltran
8f4d924531
Grafana/toolkit: Fix incorrect image and font generation for plugin builds ( #52661 )
2022-07-26 10:36:18 +02:00
Ryan McKinley
19ef418edc
Transforms: Add Join by label transformation ( #52670 )
2022-07-25 19:16:58 -04:00
renovate[bot]
9df9b1b5c3
Update dependency ol to v6.15.1 ( #52751 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 13:54:33 -07:00
Kristina
0e13ee345d
Explore: Change datasourceName usage to datasourceUID or datasourceRef where appropriate ( #52479 )
...
* First pass at using datasource UID when appropriate
* Fix tests
* be more lenient with lookup to accomodate different URLs
* Make test setup get mock work like real datasource get
* Fix the typing issue and remaining tests
* Fix PR feedback
2022-07-25 13:05:57 -05:00
kay delaney
06012d51a9
Dashboard: Adjust styles for very long titles ( #52452 )
2022-07-25 17:03:37 +01:00
Torkel Ödegaard
feaa037a19
Menu: Improvements to menu component ( #52686 )
2022-07-25 16:54:58 +02:00
renovate[bot]
2c78977e97
Update dependency date-fns to v2.29.1 ( #52722 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 15:31:39 +01:00
kay delaney
c35c3abaa3
Chore: Bump typescript version to 4.7.4 ( #52325 )
...
* Chore: Bump typescript version to 4.7.4
* Bump related packages
* Revert eslint-plugin-react upgrade
2022-07-25 13:47:59 +01:00
renovate[bot]
4cd9fa3ff5
Update dependency core-js to v3.24.0 ( #52708 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 13:45:02 +01:00
Torkel Ödegaard
9d6994c565
ToolbarButton: Add back useful storybook story ( #52683 )
...
* ToolbarButton: Add back useful storybook story
* Remove duplicate bits
2022-07-25 12:46:07 +02:00
renovate[bot]
044d8315de
Update dependency @testing-library/user-event to v14.3.0 ( #52690 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 10:11:42 +01:00
Alex Khomenko
1e3135b18a
ColorPickerInput: Allow returning empty color value ( #52650 )
...
* ColorPickerInput: Allow returning empty color value
* ColorPickerInput: Do not call onChange if the value didn't change
2022-07-25 10:01:19 +03:00
Torkel Ödegaard
f9d8b68543
Slider: Fixes styling of marker dots ( #52678 )
2022-07-24 09:34:27 -07:00
Ilya Stoliar
d0db3ab306
TimeZone: Remove political reference ( #52689 )
...
* Remove political reference
* Name adjustment
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2022-07-24 11:41:18 +02:00
Torkel Ödegaard
be5e96f628
Timezone: Consistency in how we write time zone ( #52679 )
...
* Timezone: Consistency in how we write time zone
* Updated
2022-07-23 17:49:58 +02:00
Ryan McKinley
2fa10dc903
TimeSeries: Support multiple timezones in x axis ( #52424 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2022-07-22 22:18:27 -05:00
Ashley Harrison
2b46138202
improve meta and story typings ( #52659 )
2022-07-22 17:19:16 +01:00
Josh Hunt
1ee21b81d1
GrafanaUI: Improve ClipboardButton story ( #52656 )
...
* GrafanaUI: Improve ClipboardButton story
* GrafanaUI: Improve ClipboardButton story
2022-07-22 15:23:08 +01:00
Ashley Harrison
64d30e37b2
add support for controls in DataSourceHttpSettings story ( #52618 )
2022-07-22 13:27:43 +01:00
renovate[bot]
b4c6efa07b
Update dependency moment to v2.29.4 [SECURITY] ( #51886 )
...
* Update dependency moment to v2.29.4 [SECURITY]
* chore(moment): make sure nested moment deps resolve to moment@2.29 .4
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
2022-07-22 12:00:54 +02:00
Torkel Ödegaard
5b275ca3f5
TopNav: Support for deeper nesting in section nav ( #52562 )
2022-07-22 10:42:41 +02:00
Leon Sorokin
d7b208ec58
TimeSeries: Add option for symmetrical y axes (align 0) ( #52555 )
2022-07-21 23:38:22 -05:00
Connor Lindsey
83c1756251
Tracing: Send tags, events, and references as raw json ( #52245 )
...
* Tracing: Send tags, events, and references as raw json
* Update tempo fixture
2022-07-21 10:00:47 -06:00
Ashley Harrison
c68ae0b616
remove UseState from SpectrumPalette story ( #52612 )
2022-07-21 16:20:31 +01:00
Ashley Harrison
27542445ce
Chore: remove UseState from ColorPicker story ( #52611 )
...
* remove UseState from ColorPicker story
* remove story meta type assertion
2022-07-21 16:15:55 +01:00
Ashley Harrison
f25c609105
Convert MultiModeGraphTooltip test to RTL ( #52595 )
...
* Convert MultiModeGraphTooltip test to RTL
* don't export these styles
* use theme instead of hardcoded style values
2022-07-21 15:54:18 +01:00
Scott Lepper
de956fc3d8
Core code editor/builder components ( #52421 )
...
* migrate experimental to core grafana - update refs
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2022-07-20 12:50:08 -04:00
Drew Slobodnjak
feb9960f96
Canvas: Add constraint selection icons ( #52504 )
2022-07-20 09:49:34 -07:00
Sarah Zinger
355489d9b4
Upgrade grafana-aws-sdk from core, and remove it from @grafana/ui ( #52420 )
2022-07-20 12:33:57 -04:00
Joao Silva
e3567c21d1
Internationalisation: Translates RefreshPicker and the dashboard toolbar ( #51827 )
2022-07-20 17:28:32 +01:00
Dominik Prokop
98d41f0bf8
Table: Fix type safety ( #52525 )
2022-07-20 05:26:04 -07:00
Ezequiel Victorero
0633840777
GrafanaUI: Add success state to ClipboardButton ( #52069 )
...
* User Experience: apply the same pattern feedback for all copy to clipboard buttons
* add copy icon to all ClipboardButton use cases
* Change primary color for copy to clipboard in create token
* Add success button variant
* Remove copy confirmation from TableCellInspectModal because it's in the base component now
* Design tweaks to copy confirmation
- Only change the icon to tick to avoid the button changing size
- Change button to success green
- Only show copy confirmation state for 2 seconds
* revert TabelCellInspectModal text button back
* revert accidental change to ShareLink
Co-authored-by: joshhunt <josh@trtr.co >
2022-07-20 10:33:46 +01:00
Dominik Prokop
49311e1cfb
Legend: Right align calculation values ( #52400 )
2022-07-19 14:07:27 +02:00
Joey Tawadrous
11b743ecd9
Traces: Remove serviceMap feature flag ( #52375 )
...
* Remove serviceMap feature flag
* Remove import
* Add serviceMap to queryTypeOptions
2022-07-19 08:00:58 +01:00
Alex Khomenko
ba543343c4
Grafana/UI: Add ColorPickerInput component ( #52222 )
...
* ColorPickerInput: Setup componnet
* ColorPickerInput: Add onChange callback
* ColorPickerInput: Conver ColorInput to functional component
* ColorPickerInput: Extend Input props
* ColorPickerInput: Upate value prop
* ColorPickerInput: Allow customising color format for onChange
* ColorPickerInput: Add docs
* ColorPickerInput: Update docs
* ColorPickerInput: Memoize debounced callback
* ColorPickerInput: Add tests and use theme for spacing
* Apply styles from SpectrumPalette
* Cleanup
2022-07-19 01:09:09 -04:00
Leon Sorokin
a5a8052916
TimeSeries: Add option to match axis color to series color ( #51437 )
2022-07-18 17:50:07 -05:00
Adela Almasan
524948515c
Storage: Upload button ( #52346 )
2022-07-18 16:09:24 -05:00
Ryan McKinley
824f12a993
Storage: Remove storageLocalUpload flag ( #52413 )
2022-07-18 10:44:42 -07:00
Ivana Huckova
8ff152f98f
ModifyQuery: Improve typing for modifyQuery and query hints ( #52326 )
...
* ModifyQuery: Improve typing
* Elasticsearch: Added `modifyQuery` method to add filters in Explore (#52313 )
* fixed elasticsearch `QueryFixAction` type
Co-authored-by: Sven Grossmann <Svennergr@gmail.com >
2022-07-18 14:13:34 +02:00