Dominik Prokop
ca54b4d6b0
Routing NG: persist state on partial updates ( #33687 )
...
* Persist location state on partial updates
* Add test
2021-05-06 09:15:52 +02:00
Zoltán Bedi
88497305a9
Fix dead key issue in slate ( #33545 )
2021-05-05 15:22:00 +02:00
Jack Westbrook
34d81b7d13
Piechart: add e2e test ( #33737 )
2021-05-05 14:02:55 +02:00
Dominik Prokop
b2d4730ca1
GraphNG: display original values in the tooltip when stacking ( #33740 )
2021-05-05 13:28:35 +02:00
Torkel Ödegaard
dbcfebac56
TimeSeries: Make timeseries the default panel and remove beta state ( #33639 )
...
* TimeSeries: Make timeseries the default panel and remove beta state
* rename old graph
* Updated panel descriptions, fixed e2e tests
* Updated text
* Fixed e2e
* Fixing e2e tests
2021-05-05 13:19:14 +02:00
Josh Hunt
f121e3a281
Grafana-UI: Create Grafana themes for Monaco ( #33716 )
...
* Grafana-UI: Update monaco theme to use Grafana colours
* _variables changes
* comment where the colour names come from
2021-05-05 13:10:42 +02:00
Leon Sorokin
a5c13feb61
GraphNG: refactor ( #33348 )
2021-05-05 03:44:31 -05:00
Zoltán Bedi
578a755cb4
Fix data source picker width issue ( #33720 )
...
* Fix data source picker width issue
* Use theme.spacing
2021-05-05 10:17:14 +02:00
Torkel Ödegaard
1e810b3d59
PanelEdit: Highlight matched words when searching options ( #33717 )
2021-05-05 09:12:06 +02:00
Torkel Ödegaard
dbe9a30ad0
PanelEdit: Do not show override option for panel with no field config options ( #33699 )
...
* Do not show overrides button if there are no field config options
* not show radiobuttons for non data panels
* remove unused style
2021-05-04 20:43:53 +02:00
Ryan McKinley
36fc37fd0e
Toolkit: add deprecation notice to toolkit/ci commands ( #33664 )
2021-05-04 10:13:29 -07:00
Ryan McKinley
33e4f8d7ac
Live: remove feature toggle and enable by default ( #33654 )
2021-05-04 08:44:55 -07:00
Uchechukwu Obasi
9315152d4f
FieldValidationMessage: updates component with the new theme model ( #33647 )
...
* FieldValidationMessage: updates component with the new theme model
* used correct theme value
2021-05-04 17:43:47 +02:00
Uchechukwu Obasi
3b11e7318a
FieldSet: updates components with the new theme model ( #33640 )
2021-05-04 16:08:53 +01:00
Jack Westbrook
907d7b71dc
docs(piechart): refactor story to use controls ( #33696 )
2021-05-04 17:01:47 +02:00
Uchechukwu Obasi
43fd829565
FormField: removes theme model since its not used in styles ( #33632 )
2021-05-04 15:46:32 +01:00
Peter Holmberg
0006765a40
Alerting: Run queries ( #33423 )
...
* alertingqueryrunner first edition
* added so we always set name and uid when changing datasource.
* wip.
* wip
* added support for canceling requests.
* util for getting time ranges for expression queries
* remove logs, store data in state
* added structure for marble testing.
* change so the expression buttons doesnt submit form.
* fixed run button.
* replaced mocks with implementation that will set default query + expression.
* fixed so we set a datasource name for the default expression rule.
* improving expression guard.
* Update public/app/features/alerting/components/AlertingQueryEditor.tsx
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
* fixed some nits.
* some refactoring after feedback.
* use grafanthemev2
* rename grafanatheme
* fixing so we convert to correct relative time range.
* added some more tests.
* fixing so duplicating query works.
* added some more tests without marbles.
* small refactoring to share code between runRequest and alerting query runner.
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-05-04 16:31:25 +02:00
Hugo Häggmark
810ece57bd
Chore: Adds better logging and longer timeout threshold ( #33690 )
2021-05-04 14:23:26 +02:00
Torkel Ödegaard
ab872612ce
RadioButtonGroup: Change background to background.primary ( #33678 )
2021-05-04 13:42:59 +02:00
Torkel Ödegaard
a62bfba63b
Alerting: Updates the new alerting rule table to use new theme ( #33684 )
2021-05-04 13:38:01 +02:00
Torkel Ödegaard
b62e87f753
TimeSeries: Render thresholds as lines and areas ( #33357 )
...
* TimeSeries: First take on uplot thresholds rendering
* Updating theme for color picker and fixing issues
* Updating theme for color picker and fixing issues
* Minor progress
* Added test dashboard
* Adding transparent and text colors to color picker and making them visible
* Good progress on migrations
* Fixed selected issue in color picker
* Fixes
* migration fix
* Fixed test
* Fixing line rendering and refactoring
* Minor ordering fix
* fixed test
* Draw thresholds before axes & series and other tweaks
* Update packages/grafana-ui/src/components/uPlot/config/UPlotThresholds.ts
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-05-04 13:03:35 +02:00
kay delaney
2cc66e548a
Library panels: Normalize feature name as "Library panels" ( #33540 )
2021-05-04 09:00:44 +01:00
ying-jeanne
22b2d3c38a
frontend for trim/apply defaults and some bug fixing ( #33561 )
...
* remove empty object and workaround on list
* frontend
* add toggle on frontend
2021-05-04 15:03:42 +08:00
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