Ivana Huckova
0609b80fdc
Explore: Add logs navigation to request more logs ( #33259 )
...
* Update layout for new logs navigation
* Add LogsNavigation component
* WIP clean up of css
* Add clear navigation and styling
* Add clearing to queyrRows run Query
* Make querying and displaying reliable
* Rename chunks to pages
* Refactor, remove logsNavigationCleared from navigation
* Rmove clear logs navigation
* Add flipping
* Update styling
* Add test
* Fix import
* Update Wrapper test
* Update public/sass/pages/_explore.scss
* Update public/app/features/explore/Logs.tsx
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
* Add spinner to page to prevent jumpy time
* Create standard size for page
* Fix test
* Fix postioning and useRefs
* Add maxHeight
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2021-05-03 19:34:32 +02:00
Ryan McKinley
6b0417207d
VizLegend: move onSeriesColorChanged to PanelContext (breaking change) ( #33611 )
2021-05-03 08:23:17 -07:00
Torkel Ödegaard
578283078b
PanelEdit: Improves viz picker ux, auto close on click ( #33633 )
...
* PanelEdit: Improves viz picker ux, auto close on click
* Fixing strict ts error
* Updated e2e
2021-05-03 16:49:09 +02:00
Uchechukwu Obasi
44ffd77206
Forms/Field: updates component with the new theme model ( #33634 )
2021-05-03 14:05:00 +01:00
Uchechukwu Obasi
1be7d1a733
FilterPill: updates component with the new theme model ( #33624 )
...
* FilterPill: updates component with the new theme model
* fixes small spacing nit
2021-05-03 12:55:36 +02:00
Torkel Ödegaard
7ee994f843
Theme: Renames new theme model from GrafanaThemeV2 to just GrafanaTheme ( #33619 )
2021-05-03 09:45:54 +02:00
Torkel Ödegaard
b165bfabc1
Table: Fixes not data warning style ( #33603 )
...
* Table: Fixes not data warning style
* Update Table.test.tsx
2021-05-03 09:43:42 +02:00
Torkel Ödegaard
f2e4f41f69
Alerting: Support for alerting for react panels, and lots of fixes to alert annotations for both react and angular ( #33608 )
...
* Alerting: Support for alerting for react panels, and lots of fixes to alert annotations for both react and angular
* Fix showing annotations in panel edit
2021-05-03 08:52:05 +02:00
Leon Sorokin
1e0c6040c6
Icons: unfork react-inlinesvg ( #33607 )
2021-05-02 13:43:18 -05:00
Leon Sorokin
5bf76ce881
GraphNG: uPlot 1.6.9 ( #33598 )
2021-05-02 20:31:27 +02:00
Leon Sorokin
e159985aa2
Tooltip: eliminate flickering when repaint can't keep up ( #33609 )
2021-05-02 13:03:50 -05:00
Torkel Ödegaard
1db26f8907
Theme: Fix for Graph tooltip background ( #33601 )
2021-05-02 17:45:24 +02:00
Ryan McKinley
528edcaec6
Live: expose publish on live interfaces ( #33596 )
2021-04-30 17:35:03 -07:00
Ryan McKinley
69f2a43063
EventBus: add origin to all events and support nested EventBus ( #33548 )
2021-04-30 22:33:29 +02:00
Erik Sundell
cedac5f4d4
add selector for code editor ( #33554 )
2021-04-30 13:07:34 -07:00
Uchechukwu Obasi
65673857b6
EmptySearchResult: updates component with the new theme model ( #33573 )
2021-04-30 16:07:25 +01:00
Uchechukwu Obasi
aad772a7fc
ButtonSelect: updates component with the new theme model ( #33565 )
2021-04-30 15:45:43 +01:00
Torkel Ödegaard
c0d28d9ed7
PageLayout: Fixes max-width breakpoint so that it triggers only when there is room for margin+ ( #33558 )
2021-04-30 12:08:02 +02:00
Jack Westbrook
8f62e42554
Plugins: add level and signature badges to plugin details page ( #33553 )
...
* feat(grafana-ui): badge can accept react node for text, add shield-exclamation to icons
* feat(plugins): add PluginSignatureType type
* feat(pluginpage): introduce PluginSignatureDetailsBadge. Fix sidebar icon margin
* feat(pluginlistpage): update filterinput placeholder, introduce filter by plugin type
2021-04-30 11:00:41 +02:00
Hugo Häggmark
492227fa0a
Chore: Upgrades @braintree/sanitize-url ( #33551 )
2021-04-30 10:13:41 +02:00
Torkel Ödegaard
f6ecded86b
Theme: Page styles move to emotion global styles and design tweaks ( #33529 )
...
* Theme: Page styles move to emotion global styles and design tweaks
* More style tweaks
* tweaks
* Updating snapshots
* Another fix
* Another fix
* minor fix
* More style tweaks to page toolbar and alert rule page
* minor polish
2021-04-30 10:04:01 +02:00
Oscar Kilhed
aaca022df6
Make sure big lists of suggestions don't expand outside of the viewport ( #33520 )
...
* Add CustomScrollbar to data links suggestions
* Make sure to scroll to selected suggestion
2021-04-30 09:52:34 +02:00
Torkel Ödegaard
33cfc3d9c2
Theme: Fixing storybook theme ( #33541 )
2021-04-29 21:12:50 +02:00
Alex Khomenko
3b515e650c
Grafana-UI: Update React Hook Form to v7 ( #33328 )
...
* Update hook form
* Update Form component
* Update ChangePassword.tsx
* Update custom types
* Update SaveDashboardForm
* Update form story
* Update FieldArray.story.tsx
* Bump hook form version
* Update typescript to v4.2.4
* Update ForgottenPassword.tsx
* Update LoginForm.tsx
* Update SignupPage.tsx
* Update VerifyEmail.tsx
* Update AdminEditOrgPage.tsx
* Update UserCreatePage.tsx
* Update BasicSettings.tsx
* Update NotificationChannelForm.tsx
* Update NotificationChannelOptions.tsx
* Update NotificationSettings.tsx
* Update OptionElement.tsx
* Update AlertRuleForm.tsx
* Update AlertTypeStep.tsx
* Update AnnotationsField.tsx
* Update ConditionField.tsx
* Update ConditionsStep.tsx
* Update GroupAndNamespaceFields.tsx
* Update LabelsField.tsx
* Update QueryStep.tsx
* Update RowOptionsForm.tsx
* Update SaveDashboardAsForm.tsx
* Update NewDashboardsFolder.tsx
* Update ImportDashboardForm.tsx
* Update DashboardImportPage.tsx
* Update NewOrgPage.tsx
* Update OrgProfile.tsx
* Update UserInviteForm.tsx
* Update PlaylistForm.tsx
* Update ChangePasswordForm.tsx
* Update UserProfileEditForm.tsx
* Update TeamSettings.tsx
* Update SignupInvited.tsx
* Expose setValue from the Form
* Update typescript to v4.2.4
* Remove ref from field props
* Fix tests
* Revert TS update
* Use exact version
* Update latest batch of changes
* Reduce the number of strict TS errors
* Fix defaults
* more type error fixes
* Update CreateTeam
* fix folder picker in rule form
* fixes for hook form 7
* Update docs
Co-authored-by: Domas <domasx2@gmail.com>
2021-04-29 16:54:38 +03:00
Marcus Andersson
9de2f1bb8f
Alerting: moving data source uid to query instead of model ( #33416 )
...
* initial commit.
* Some more improvements to the expression data source support.
* added tests to verify that time range picker and data source picker only is visible when callbacks is passed to row.
* fixing issue with filter in alerting list.
* minor refactoring.
* removed guarding code, should be fixed in backend.
* cleaning the data query if we change to a different data source.
2021-04-29 15:10:14 +02:00
Dominik Prokop
45c763a76b
GraphNG: Bring back plot instance getter on the Plot context ( #33516 )
...
* Bring back plot instnace getter on the Plot context
* Update plot context usage
2021-04-29 13:51:21 +02:00
Torkel Ödegaard
017bcc73ba
Theme: Move displayProcessor & fieldOverrides & visualizations to use new theme model ( #33502 )
...
* WIP updating getColorForTheme
* Progress
* More fixes
* Updating more parts
* Fixing unit tests
* Fixing more tests
* Fixing storybook issues
* More refactoring
* Fixed test
2021-04-29 12:44:06 +02:00
Jack Westbrook
0836e7bde8
IconButton: introduce variant for red and blue icon buttons ( #33479 )
...
* feat(iconbutton): introduce variant for red and blue icon buttons
* refactor(iconbutton): give variants breathing space in story
* docs(iconbutton): add docblock comment for variant prop
* refactor(iconbutton): prefer secondary to undefined variant prop and add default
* refactor(iconbutton): use icon color for hover
2021-04-29 10:47:06 +02:00
Alex Khomenko
440f4182b9
Chore: Update @grafana/eslint-config ( #33512 )
...
* Update @grafana/eslint-config
* Update @typescript-eslint/eslint-plugin and @typescript-eslint/parser
* Update dependencies in grafana/toolkit
2021-04-29 11:30:19 +03:00
Jack Westbrook
249004ebef
Pages: update react components to use v2 theme ( #33413 )
...
* chore: expose theme types / functions
* fix(grafana-ui): withTheme2 extends themeable2
* feat: migrate page components to use new theme
* refactor(pages): replace legacy form components with latest form components
* refactor(dashboardimport): update page component to use theme spacing
* refactor(alerting-ng): update page component to use v2 theme
* test(dashboardpage): update test for v2 theme
* test(apikeyspage): update test to select InlineSwitch component
* test(createteam): update snapshot
* refactor(playlist): update page components to use v2 theme
* refactor(page): put back classes on page-container and background colors
2021-04-28 16:05:00 +02:00
Alex Khomenko
6d95f2f1db
Chore: Update typescript to v4.2.4 ( #33297 )
...
* Update typescript to v4.2.4
* Update @types/slate
* Fix QueryVariableEditor.test.tsx
* Fix search-related type errors
* Fix Plugin pages type errors
* Fix missing initializer errors
* Update snapshot
* Revert tsconfig changes
2021-04-28 15:40:01 +03:00
Torkel Ödegaard
bac8b967be
PieChart: Refactoring & adding unsubscribe ( #33432 )
...
* Tweaks to piechart and theme
* Adds unsubscribe to events and move out to separate hook
* reverted constrast change
* Minor refactor after review feedback
* chain the subs
2021-04-28 14:02:41 +02:00
Alex Khomenko
1336a57e99
Grafana-UI: Export Card container styles ( #33386 )
...
* Export Card container styles
* Export CardContainer as a separate component
* Update story
* Remove tooltip
2021-04-28 13:41:20 +03:00
Uchechukwu Obasi
0d1cdbe227
DataLinksSuggestion: updates component with the new theme model ( #33390 )
...
* updates component with the new theme model
* uses correct new theme property
* removes constant variables and inlined their usage
2021-04-28 11:17:10 +01:00
Domas
df4181c43a
Alerting: edit receivers (grafana) ( #33327 )
2021-04-28 12:22:48 +03:00
Uchechukwu Obasi
643e7af3e0
Collapse: updates component to use the new theme model ( #33326 )
...
* updates component to use the new theme model
* updates ssome old style to use new theme
* uses correct theme color property
* updates new theme style with correct naming
2021-04-28 10:07:01 +02:00
kay delaney
780b776387
BasicAuthSettings: Update styles to use emotion and new theming ( #33164 )
...
* BasicAuthSettings: Update styles to use emotion and new theming
* Use InlineField
2021-04-28 10:04:26 +02:00
Uchechukwu Obasi
faa80003b9
DataLinksInlineEditor: updates component with the new theme model ( #33391 )
2021-04-28 10:01:18 +02:00
Zoltán Bedi
70bafc2725
GraphNG: Fix exemplars window position ( #33427 )
2021-04-28 09:37:35 +02:00
Josh Hunt
a13c5380a7
Grafana-UI: Switch CodeEditor to UMD @monao-editor/react ( #33204 )
...
* Grafana-UI: Switch CodeEditor to @monao-editor/react
* update copy script and paths
* hide context menu
* use __grafana_public_path__
* Fix value and language not updating
* update jaeger tsconfig
* update tsconfig
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-04-27 17:34:56 +01:00
Giordano Ricci
ea3d3a2218
Grafana-UI: Fix options margin when spanning on multiple lines ( #33436 )
2021-04-27 17:24:40 +01:00
Uchechukwu Obasi
3725654b38
CallToActionCard: updates component to use the new theme model ( #33309 )
...
* updates component to use the new theme model
* fixes frontend test
2021-04-27 15:52:47 +01:00
Uchechukwu Obasi
fce40fff63
updates component with the new theme model ( #33387 )
2021-04-27 15:51:57 +01:00
Torkel Ödegaard
d5465e5c6a
Cards: Fix margins in old card styles ( #33421 )
2021-04-27 15:54:33 +02:00
Torkel Ödegaard
eef4e18b62
Theme: Use outline buttons for Cancel & Back actions ( #33418 )
...
* Buttons: Use new outline button for cancel & back buttons
* More buttons
* More tweaks
* Updated row snapshot
2021-04-27 15:36:48 +02:00
Domas
e8faec5c19
Alerting: create/edit notification templates ( #33225 )
2021-04-27 16:28:53 +03:00
Torkel Ödegaard
5d855dbf33
Theme: Fixes to time picker calendar & variable dropdowns & more ( #33407 )
...
* More theme fixes
* more updates
* Fixed alerts in explore
2021-04-27 15:13:08 +02:00
Jack Westbrook
45fa5fdf48
Buttons: introduce buttonStyle prop ( #33384 )
...
* Wip
* Updates to colors to make secondary outline work
* refactor: prefer buttonStyle="text" over variant="link" for text buttons
* revert(button): put back mdx story page
* fix(button): variant link disabled as text disabled
* docs(button): remove link variant from stories
* feat(grafana-ui): introduce basic deprecation notice for button and linkbutton components
* docs(button): update usage of href with button and buttonlink
* feat(button): add grafana/ui to deprecation warning
* refactor(buttons): use a more descriptive name for prop warning function
* test(buttonrow): update snapshots
* refactor(buttons): change prop name from buttonStyle to fill
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-04-27 12:03:06 +02:00
Jack Lu
495345c0c2
added overflow wrapping css to solve alert url overflowing ( #33400 )
2021-04-27 07:30:19 +02:00
Atif Shoukat Ali
408bc06bab
clear state.calcs on every append ( #33245 )
2021-04-26 19:53:32 -07:00