Ryan McKinley
ad69de4a10
AppEvents: export appEvents in @grafana/runtime and support copy panel ( #40715 )
2021-10-20 13:01:21 -07:00
renovate[bot]
39866d4a7f
Update dependency @types/rollup-plugin-visualizer to v4 ( #40484 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-20 15:40:54 +01:00
Andres Martinez Gotor
302fef394a
Chore: remove strict errors for azure-monitor ( #40675 )
2021-10-20 16:34:24 +02:00
kay delaney
565537c6e2
A11y/Dashboard: Fix various dashboard settings issues ( #40641 )
...
See #39429
2021-10-20 14:54:00 +01:00
Maria Alexandra
5b6831ab4d
Plugin Catalog: Fix A11y issues on plugin list ( #40629 )
2021-10-20 15:36:51 +02:00
Jack Westbrook
1e471a6f76
Storybook: fix theme colors not updating ( #40679 )
2021-10-20 13:30:00 +02:00
Jack Westbrook
6e2237c02f
Chore: Replace Sass-lint with Stylelint ( #40617 )
...
* chore(sass): introduce stylelint
* chore(sass): introduce stylelint config that closely matches sass-lint config
* chore: remove sass-lint from codebase
* style(theme): disable stylelint string-quotes rule
* chore(sass): introduce stylelint-prettier-config to prevent config conflicts
* chore: delete sass-lint file
* style(sass): fix remaining stylelint errors
2021-10-20 11:34:24 +02:00
Marcus Andersson
44c4d5d6fc
Toolkit: Prevent toolkit from crashing when an error occur. ( #40627 )
2021-10-19 17:03:19 +02:00
Coleman Rollins
70f68289f5
Slider: Adjusts input to enforce min/max values on blur ( #40524 )
...
* [cr] adjusts slider input to enfore min/max values on blur
* [cr] additional test for blur action, min/max readability
2021-10-19 16:44:46 +02:00
Torkel Ödegaard
c174664e63
Scale: Fixes handling of NaN percent when data min = data max ( #40622 )
2021-10-19 15:03:33 +02:00
Torkel Ödegaard
26dda75db5
ValueMappings: Fix so that value mappings work in stat/gauge/bargauge/piechart ( #40612 )
2021-10-19 14:11:31 +02:00
Josh Hunt
d5a0f719df
Grafana-UI: Move Select container styles to outer most container ( #40611 )
...
* Grafana-UI: Move Select container styles to outer most container
* Update packages/grafana-ui/src/components/Select/Container.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
* Rename file
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2021-10-19 13:29:33 +02:00
Torkel Ödegaard
d179c2a4e9
Table: Tweak to type icon styles ( #40596 )
2021-10-19 08:53:56 +02:00
Torkel Ödegaard
25813db334
RowsToFields: Fix issue with field names that are numbers ( #40580 )
...
* RowsToFields: Fix issue with field names that are numbers
* Only add the index accessor if field name does not conflict with it
* fix lint
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2021-10-19 07:27:24 +02:00
Guilherme Caulada
a9faab6b09
Dashboard: Add week start option to global and dashboard preferences ( #40010 )
...
* Add global week start option to shared preferences
* Add default_week_start to configuration docs
* Add week start option to dashboards
* Add week start argument to tsdb time range parser
* Fix strict check issues
* Add tests for week start
* Change wording on default_week_start documentation
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update week_start column to be a nullable field
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com >
* Update configuration to include browser option
* Update WeekStartPicker container selector
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
* Add menuShouldPortal to WeekStartPicker to remove deprecation warning
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
* Add inputId to WeekStartPicker
* Use e2e selector on WeekStartPicker aria-label
* Simplify WeekStartPicker onChange condition
* Specify value type on WeekStartPicker weekStarts
* Remove setWeekStart side effect from reducer
* Fix updateLocale failing to reset week start
* Store week start as string to handle empty values
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com >
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2021-10-18 10:27:14 -03:00
Duke Manh
9eccb8e416
CodeEditor: Trigger the lastest getSuggestions() passed to CodeEditor ( #40544 )
2021-10-18 12:36:13 +02:00
renovate[bot]
52b69a9a80
Update dependency @types/rimraf to v3 ( #40467 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-18 11:23:37 +02:00
Ivana Huckova
4e1cf7dea7
Logs: Fix creating of detected fields for each letter in log line ( #40507 )
...
* Logs: Fix using of JSON parser for strings
* Update packages/grafana-data/src/utils/logs.ts
* Update packages/grafana-data/src/utils/logs.ts
* Update parser typing and documentation
2021-10-18 11:16:24 +02:00
Piotr Jamróz
2de769420e
Chore: Reduce strict error in DataSourceHttpSettings.onChange callback ( #40497 )
...
* Reduce strict TS errors
* Update ERROR_COUNT_LIMIT after merging from main
* Update number of errors
2021-10-18 10:40:43 +02:00
Dominik Prokop
6201b5b1d9
Table panel: Fix filter not working for special characters and allow filter's case sensitivity control ( #40458 )
...
* Fix filter not working for special characters and allow case sansitive filter control
* Memoize regex
2021-10-18 09:19:05 +02:00
renovate[bot]
73ac9c2717
Update dependency @types/semver to v7 ( #40515 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-15 13:25:42 +01:00
renovate[bot]
58fdb717ba
Update dependency @types/react to v17 ( #40440 )
...
* Update dependency @types/react to v17
* Chore: Typescript fixes
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2021-10-15 12:25:47 +01:00
Hugo Häggmark
09bb890092
WIP Chore: reduce strict errors ( #40462 )
...
* Chore: reduce strict error in ngReact
* Chore: reduce strict errors for ShareModal
* Chore: reduce strict errors in VersioHistory
* Chore: reduce strict error in ExpressionDatasource
* Chore: reduce strict error in DashboardWatcher
* Chore: reduce strict error in PluginPage
* Chore: reduce strict errors for guard
* Chore: update threshold
* Chore: reduce strict errors in Graph
* Chore: reduce threshold
* Apply suggestions from code review
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
* Chore: reduce strict errors in TimeSeries
* Chore: reduce threshold
* Chore: reduce strict errors in polyfill
* Chore: reduce threshold
* Chore: update after PR comments
* Update public/app/features/plugins/PluginPage.tsx
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
* Update public/app/features/plugins/PluginPage.tsx
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
* Chore: changes after PR comments
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
2021-10-15 08:57:55 +02:00
Nathan Rodman
4fc86594c0
Alerting: Link prometheus and loki datasources to an alertmanager ( #39887 )
...
* add config option for alertmanager linking
* Add button for silencing a rule
* use uid for alertmanager
* move alertmanager link to separate function
2021-10-14 16:01:01 -07:00
Gábor Farkas
19972600d7
grafana-ui: export lazy-loaded version of react-monaco-editor ( #39570 )
...
* grafana-ui: refactor: move laziness to a lower level in code-editor
* grafana-ui: re-export react-monaco-editor
* rename export
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
* improved comment
* reverted name change
we already have an export with that name
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2021-10-14 14:33:45 +02:00
renovate[bot]
4565fcd0df
Update dependency @testing-library/user-event to v13 ( #40394 )
...
* Update dependency @testing-library/user-event to v13
* Changes needed for userEvent v13
* Ignore pointer-event checks until jsdom issue is fixed
* Remove unused act imports
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2021-10-14 13:29:41 +01:00
renovate[bot]
0c7e27bada
Update dependency @types/d3 to v7 ( #40395 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-14 10:12:30 +02:00
Hugo Häggmark
a981ea22fb
A11y: Fix fastpass issues for share modal ( #40386 )
2021-10-14 07:13:15 +02:00
Hugo Häggmark
a512dcf1bb
A11y: Fix fastpass issues for annotation/variables settings ( #40364 )
...
* A11y: Fix fastpass issues for annotation/variables settings
* Chore: fixes fastpass for annotations
* Chore: updates after PR comments
* Chore: readd div
2021-10-13 15:21:34 +02:00
Will Browne
281d60095f
remove refs to --pure-lockfile ( #40345 )
2021-10-13 14:59:47 +02:00
Hugo Häggmark
30c1e7fa5c
A11y: Fix fastpass issues for /explore with gdev-testdata ( #40309 )
...
* A11y: Fix fastpass issues for /explore with gdev-testdata
* Chore: changes after PR feedback
* Chore: revert file to main
* Tests: fix for e2e tests
2021-10-13 06:09:35 +02:00
Sarah Zinger
47f09fca8d
E2E: Fix path for importDashboards ( #40111 )
...
* Small e2e fix for importDashboards
2021-10-12 15:48:36 -04:00
Uchechukwu Obasi
3cec0b1227
TimePickerCalendar: adds keyboard navigation to the widget ( #39070 )
...
* WIP: adds react-aria package to package.json
* adds focus trapping to the calendar widget
* makes focus to move in and out of the widget
* Chore: remove unused component
* WIP: adds keyboard nav to calendar
* adds close button to calendar on wide screen
* Chore: update test to reflect new changes
* use more descriptive aria label
* prune duplicate absolute timeRange aria label
* TimePicker: Use aria overlays to enable closing with esc (#40045 )
* Move timepicker to function component
* update overlayprops
* Remove unused import
* Fix for picker closing before setting the range when selecting quick ranges
* use more descriptive aria label
* update test to correspond with new label
* chore: some nit fix
* chore: used specific version for react-aria/overlay package
* Chore: refactor timePickerCalendar component
* chore: nit fixes
* chore: nit fixes
* reverts back to main and re-add deps with yarn 2
* chore: removes react-aria deps from root
* Chore: replace default export
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com >
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com >
2021-10-12 16:48:24 +02:00
Ryan McKinley
ea0c1006f5
Dashboards: Show logs on time series when hovering ( #40110 )
...
* Dashboard: Show logs on time series when hovering
* Fix passing hover handler to LogRow
* use DataHoverEvent
* use DataHoverEvent
* Clean up
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2021-10-12 14:57:17 +02:00
kay delaney
c443f244a0
A11y/Dashboard: Fix misc. fastpass issues ( #40296 )
...
* A11y/Dashboard: Fix misc. fastpass issues
See #39429
2021-10-12 13:26:01 +01:00
Giordano Ricci
0ac81e9e47
Chore: remove volta references ( #40275 )
2021-10-12 12:39:54 +01:00
Ivana Huckova
19ad08e6b8
Prometheus: Run exemplars explore queries through backend ( #39531 )
...
* Prometheus: Run Explore both queries trough backend
* Refactor, simplify
* Set default values for query type selector
* Run multiple queries as one query trough backend
* Remove trailing newlines
* Pass utcOffset
* Remove trailing comma
* WIP: Implementatioon of exemplars
* add sampling for exemplars
* Refactor to use response as custom metadata
* Simplify processing of exemplars
* Update, clean up
* Refactor the way how we get available exemplars
* Simplify exemplars disabling and running on frontend
* Add tests
* Update toggle
* Remove console log
* Fix go linting
* Fix e2e test
* Trigger Build
* Compare lengts, small fix
* Remove duplicated time check
* Address feedback
* Remove redundant ! as not needed
* Update
2021-10-12 13:16:09 +02:00
Piotr Jamróz
6081790992
Add missing feature flag type ( #40260 )
2021-10-12 11:37:50 +02:00
Domas
571257226e
Alerting: make alert state indicator in panel header work with Grafana 8 alerts ( #38713 )
2021-10-11 16:55:45 +03:00
kay delaney
b2e94d0733
Chore: Migrate yarn from v1 to v2 ( #39082 )
...
* Chore: Migrate yarn from v1 to v2
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com >
2021-10-08 15:19:10 +01:00
Ashley Harrison
e367fefdae
Chore(dependencies): Remove puppeteer since we don't use it anywhere ( #40137 )
2021-10-08 09:22:43 +01:00
Ryan McKinley
ff9ad7ad20
Schema: use the generated graph.gen.ts ( #40090 )
...
* actually generate graph.gen.ts
* getting closer
* keep file where it is
* manual fixes
* Update packages/grafana-schema/src/schema/graph.gen.ts
Co-authored-by: sam boyer <sam.boyer@grafana.com >
* Docs: Whats new in 8.2 (#39945 )
* Added time range controls updates
* Added plugins catalog update
* Added enterprise images
* Added community contributions highlights for 8.2
* accessibility statement
* Update docs/sources/whatsnew/whats-new-in-v8-2.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com >
* Update docs/sources/whatsnew/whats-new-in-v8-2.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com >
* Update docs/sources/whatsnew/whats-new-in-v8-2.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com >
* Update docs/sources/whatsnew/whats-new-in-v8-2.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com >
* Update docs/sources/whatsnew/whats-new-in-v8-2.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/whatsnew/whats-new-in-v8-2.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/whatsnew/whats-new-in-v8-2.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com >
* Update docs/sources/whatsnew/whats-new-in-v8-2.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/whatsnew/whats-new-in-v8-2.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com >
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com >
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Live: array for Processor, Outputter and Subscriber in channel rule top level (#39677 )
* ReleaseNotes: Updated changelog and release notes for 8.1.7 (#40081 )
* more
* more
Co-authored-by: sam boyer <sam.boyer@grafana.com >
Co-authored-by: Petros Kolyvas <code@petros.io >
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com >
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
Co-authored-by: Alexander Emelin <frvzmb@gmail.com >
Co-authored-by: Grot (@grafanabot) <43478413+grafanabot@users.noreply.github.com >
2021-10-07 05:19:58 -04:00
Marcus Andersson
d9ca3c5c5d
CodeEditor: making sure we trigger the latest onSave callback provided to the component ( #39835 )
2021-10-07 08:51:23 +02:00
Ryan McKinley
3db98f417d
Panel Options: support dynamic options editors ( #39491 )
2021-10-06 21:41:42 +02:00
Oscar Kilhed
ba31e4ee4d
TimePicker: fix console error on time picker open ( #40067 )
...
* TimePicker: fix console error on time picker open
2021-10-06 14:17:24 +02:00
dependabot[bot]
d1b2b10e6a
Chore: bump jest-junit from 6.4.0 to 13.0.0 ( #40037 )
...
Bumps [jest-junit](https://github.com/jest-community/jest-junit ) from 6.4.0 to 13.0.0.
- [Release notes](https://github.com/jest-community/jest-junit/releases )
- [Commits](https://github.com/jest-community/jest-junit/compare/v6.4.0...v13.0.0 )
---
updated-dependencies:
- dependency-name: jest-junit
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-06 11:59:49 +01:00
kay delaney
1ce750471f
A11y: Fix fastpass issues for dashboard management pages ( #39940 )
...
* A11y: Fix fastpass issues for dashboard pages
See #39429
2021-10-06 11:58:18 +01:00
ying-jeanne
227c8403b5
Fix the disjuction of panels ( #39412 )
...
[As code] Correct trim apply defaults when import/export dashboards
2021-10-06 11:39:23 +02:00
dependabot[bot]
697a90699b
Chore: Remove pretty-format since it's not used ( #39980 )
...
* Bump pretty-format from 25.1.0 to 27.2.4
Bumps [pretty-format](https://github.com/facebook/jest/tree/HEAD/packages/pretty-format ) from 25.1.0 to 27.2.4.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v27.2.4/packages/pretty-format )
---
updated-dependencies:
- dependency-name: pretty-format
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Chore(dependencies): Remove pretty-format as it's not currently used
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2021-10-05 11:58:16 +01:00
Torkel Ödegaard
ead8429210
Annotations: Improve rendering performance of event markers ( #39984 )
2021-10-05 12:53:25 +02:00