matt abrams
52c9da1b11
A11y: add copy button to API Key modal ( #46387 )
...
* add copy button to API Key modal
* switch to inline button style
* update test snapshot
2022-03-11 11:10:27 +01:00
matt abrams
ec84b7bd23
A11y: Make the Library Panel "clear filter" buttons accessible ( #46341 )
...
* swap span for button + add aria-label
* swap span for button + add aria-label
* add new style + increase padding
* fix typo
* switch to link variant + trim custom css
2022-03-11 11:10:13 +01:00
Andrej Ocenas
b3f8079f4f
Prometheus: Add title to metrics in the metric select with metric help text ( #46406 )
...
* Add title to metrics in the select
* Add some comments
* Fix tests
2022-03-10 16:58:25 +01:00
Torkel Ödegaard
c952c9c90a
Loki: Adds more options to make line filter UX better ( #46324 )
...
* Loki: Adds more options to make line filter UX better
* Sync wording
* Tweak width
* More tweaks
* Added descriptions as well
2022-03-10 10:12:54 +01:00
Torkel Ödegaard
806b0e3b23
Prometheus/Loki: Improve operations header UX ( #46346 )
...
* Prometheus/Loki: Improve operations header UX
* More tweaks
* Rename file to match compponent
2022-03-10 09:38:53 +01:00
Yaelle Chaudy
9fc9708ba5
Fixed new variable button keyboard clickable ( #46293 )
2022-03-09 20:35:53 +01:00
jcolladokuri
ce543037f1
Azure Monitor: Add 2 more Curated Dashboards for VM Insights ( #45187 )
...
Some fixes to the App Insights Curated Dashboard for Azure Monitor as well.
2022-03-09 09:02:59 -05:00
Joao Silva
4b57ffbb4f
A11y: Replace LinkButton with Button in Value Mappings to make it accessible ( #46330 )
2022-03-09 14:01:24 +00:00
J Guerreiro
874ac9180b
Service Accounts: Add enabled/disabled status to list ( #46259 )
...
* ServiceAccounts: improve where condition
* ServiceAccounts: Add Enabled/Disabled status to list
2022-03-08 14:10:16 +01:00
Yaelle Chaudy
ed7701c6b2
Updated span for Button to be accessible ( #46296 )
2022-03-08 12:42:03 +01:00
Yaelle Chaudy
bfde8ee603
A11y : Updated EmptyListCTA to switch between Button and LinkButton ( #46292 )
...
* Updated EmptyListCTA to switch between Button and LinkButton
* Added tests
2022-03-08 12:41:00 +01:00
Torkel Ödegaard
79e5e5c024
DataSource: Default data source is no longer a persisted state but just the default data source for new panels ( #45132 )
...
* PanelEdit: Change the meaning of default data source to be just that the default for new panels
* Added migration, and also migration for annotation datasource prop to data source refs
* fix
* Fixing tests
* Fixes to annotation
* Fixing unit test
2022-03-08 08:56:12 +01:00
Leon Sorokin
a9ee446de4
HeatmapNG: fix Prometheus frame-per-bucket heatmap response rendering ( #46309 )
2022-03-07 20:51:11 -06:00
Leon Sorokin
0ee552dd65
LegacyBrowser: fix Safari 13.1 (lacks logical nullish assignent) ( #46260 )
2022-03-07 09:21:28 -06:00
Andrej Ocenas
1604e09549
Prometheus: Add text to Add operation button ( #46249 )
2022-03-04 15:59:11 +01:00
Andrej Ocenas
5aa1713941
Prometheus: Support more binary operations in visual builder ( #46241 )
...
* Add definitions and code to parse more binary ops
* Add alternativesKey
* Add signs to nested query
* Change label
2022-03-04 15:04:09 +01:00
Eric Leijonmarck
3d168eb34b
Searchable service accounts ( #45844 )
...
* WIP
* draft of WIP
* feat: search and filtering works 🌈
* Update pkg/models/org_user.go
* Apply suggestions from code review
* refactor: remove unsed function
* refactor: formatting
* Apply suggestions from code review
Co-authored-by: J Guerreiro <joao.guerreiro@grafana.com>
* WIP
* comment
* Update public/app/features/serviceaccounts/ServiceAccountsListPage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* review comments
* wip
* working search and initial load of service accounts
* number of tokens working
* removed api call
* Apply suggestions from code review
* added accescontrol param
* accesscontrol prefix corrected
Co-authored-by: J Guerreiro <joao.guerreiro@grafana.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2022-03-04 12:04:07 +01:00
Artur Wierzbicki
bdbb9ed54a
Live: Fix support for StreamingFrameAction.Replace
( #46086 )
...
* fix StreamingFrameAction.replace
* simplify
* beautify
* cover `streamingDataFrame.ts` changes with unit tests
* formatting
* cover `LiveDataStream.ts` changes with unit tests
* update frame length after pushing new values
2022-03-04 14:04:30 +04:00
Jack Westbrook
9b5a42845d
Chore: Remove prettier-plugin from ESLint ( #45910 )
...
* chore(eslint): remove prettier-plugin
* chore(eslint): test changes by using grafana/eslint 3.0.0-alpha
* chore(prettier): add js,ts,tsx when checking / writing
* chore(prettier): dont check js files
* chore(linting): align prettier and eslint ignore files
* style: run prettier:write on FE codebase
* chore(eslint): use grafana/eslint-config@3.0.0
2022-03-04 10:49:50 +01:00
Gilles De Mey
a9b1a964b0
Alerting: adds support for federated rules ( #46037 )
2022-03-04 10:16:13 +01:00
matt abrams
52629fbc4e
Postgres: Return tables with hyphenated schemes ( #45754 )
...
* add basic test for buildSchemaConstraint function
* wrap table schema in quote_ident function
* fix type error in meta_query.test
* swap test for inline comment
* make comment more readable
2022-03-04 09:56:55 +01:00
Gábor Farkas
c4404982dc
loki: backend-mode: add nanosecond-timestamps ( #45963 )
2022-03-04 09:42:18 +01:00
Torkel Ödegaard
a404dba29d
Datasource: Fixes changing default data source causes inconsistency between panel data source and query data source ( #46167 )
...
* Datasource: Fixes changing default data source causes inconsistency between panel data source and query data source
* Fix unit tests
2022-03-04 08:58:13 +01:00
Ryan McKinley
0aad61d0ac
Search: add a simple search page (behind feature flag) ( #45487 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2022-03-03 14:56:14 -08:00
Leon Sorokin
3e3a657343
BarChart: fix hovered series highlight in tooltip ( #44882 )
2022-03-03 10:57:54 -06:00
Ashley Harrison
b1125c0ba3
TextPanel: Sanitize after markdown has been rendered to html ( #46166 )
...
* Sanitize after markdown has been rendered to html
* Update e2e test
2022-03-03 16:50:09 +00:00
Joey Tawadrous
6f3ebbe6cc
Trace view scroll to top button ( #46077 )
...
* Trace view scroll to top button
* Updated button css selector
* Updates for scrolToTop
* Updated snapshot
* Updated render
* Add smooth scrolling
2022-03-03 16:19:44 +00:00
Andres Martinez Gotor
cfbf58fb92
AzureMonitor: Move rest of deprecated code ( #46109 )
2022-03-03 17:16:10 +01:00
Karl Persson
7966e3583e
Access control: Dashboard and folder permissions frontend ( #45094 )
2022-03-03 15:18:27 +01:00
Giordano Ricci
4caf5dbbd9
Explore: minor copy changes in the Add to dashboard modal ( #46154 )
...
* Explore: minor copy changes in the Add to dashboard modal
* fix tests
* Additional copy changes & test fixes
2022-03-03 14:01:03 +00:00
Connor Lindsey
cb1649e9b8
NodeGraph: Include frames with name edges or nodes in node graph ( #46047 )
...
* Include frames with name edges or nodes in node graph
2022-03-03 06:42:08 -07:00
Torkel Ödegaard
3b487c2661
Loki: Initial loki builder tests ( #46076 )
2022-03-03 14:30:17 +01:00
Andrej Ocenas
6dea7275a6
Prometheus: Improved the function selector with search ( #46084 )
...
* Change to cascader with search
* Don't change to select on backspace
* Fix error on group select
* Simplify getOperationDef
* Set cascader wrapper to fixed width
* Add placeholder
* Fix tests and type errors
* Fix props for backward compatibility
* Add comments
2022-03-03 10:24:33 +01:00
Giordano Ricci
09f48173fe
Explore: allow users to save Explore state to a new panel in a new dashboard ( #45148 )
...
* Add Button & Form
* Save to new dashboard
* minor adjustements
* move modal to a separate component
* handle dashboard name related errors
* pick visualization based on query results
* lift state
* fix types
* Add Open & Close tests
* Add submit test
* add navigation tests
* add tests for API errors
* remove console log
* create wrapper component for AddToDashboardButton
* remove unused mapped prop
* add wrapper test
* rename isActive to isVisible
* invert control over save & redirect logic
* remove leftover commented code
* cleanup setup parameters
* reorganize code & improve tests
* Remove option to add to existing dashboard
* UI tweaks
* disable button if no queries
* Fix tests
* better accessible tests
* handle submission errors
* improve addToDashboard types
* use dashboardSrv' saveDashboard
* remove leftover test helper
* fix typo
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* Apply suggestions from code review
Co-authored-by: Kristina <kristina.durivage@grafana.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Kristina <kristina.durivage@grafana.com>
2022-03-03 08:54:06 +00:00
renovate[bot]
52568c7af1
Update dependency ol to v6.13.0 ( #45949 )
...
* Update dependency ol to v6.13.0
* fix types
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-03-03 09:45:33 +01:00
matt abrams
c863676b65
Postgres: Fix aggregate dropdown when TimescaleDB is enabled ( #45993 )
...
* add timescaleDB checker function
* use existing fn findAggregateIndex
* build options from empty list
* refactor fn and handle state for existing elem
* remove newline
2022-03-03 09:29:37 +01:00
Leon Sorokin
89140c8353
Graph (old): fix null interval insertion, again (follow-up to #46069 ) ( #46139 )
2022-03-03 00:02:18 -08:00
Leon Sorokin
854f872b40
StateTimeline: insert trailing null value at +interval ( #45997 )
2022-03-02 18:21:12 -06:00
renovate[bot]
1f332a846b
Update dependency lezer-promql to v0.22.0 ( #45838 )
...
* Update dependency lezer-promql to v0.22.0
* Add missing peerdep + fixes in code
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-03-02 19:45:08 +01:00
Ryan McKinley
855979aac5
Heatmap: add scale display to legend ( #45571 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2022-03-02 09:04:19 -08:00
Torkel Ödegaard
5c05a3deb9
Prometheus: Save query editor mode default ( #46074 )
2022-03-02 16:16:19 +01:00
Andres Martinez Gotor
d4b05f9421
AzureMonitor: Remove deprecated configuration parameters ( #45860 )
2022-03-02 15:42:30 +01:00
Ashley Harrison
3427ae463d
Dashboard: Add feature reporting for dashboard import ( #46080 )
...
* Add feature reporting for dashboard import
* Update tracking event names
2022-03-02 14:35:52 +00:00
Marco Dalalba
e738896316
Jaeger: Add support for traceID field to accept variables. ( #45559 )
2022-03-02 07:35:36 -07:00
kay delaney
f530775e45
Chore: Remove several 'as' type assertions ( #45913 )
2022-03-02 14:02:09 +00:00
Isabella Siu
590ea19c3f
Cloudwatch: use CheckHealth for testing datasource ( #45974 )
...
Co-authored-by: Shirley Leu <4163034+fridgepoet@users.noreply.github.com>
2022-03-02 08:48:51 -05:00
Torkel Ödegaard
a53f169350
Loki: Update syntax highlighting to colorize strings ( #45962 )
...
* Loki: Update syntax highlighting to colorize strings
* Updated patterns
2022-03-02 13:43:56 +01:00
Erik Sundell
8e08128f83
CloudWatch: List all metrics properly in SQL autocomplete ( #45898 )
...
* make sure right value is passed for metric
* add unit test
2022-03-02 10:46:17 +01:00
Leon Sorokin
fa99143eee
Graph (old): use timeField.config.interval to apply null insertion logic ( #46069 )
2022-03-01 23:23:48 -06:00
Ryan McKinley
796bc27f75
Loki: support live streaming ( #42804 )
2022-03-01 14:46:52 -08:00