Josh Hunt
8f81c4d2ce
Chore: reformat swagger specs, again ( #53205 )
2022-08-03 12:18:52 +01:00
Josh Hunt
805203dba9
Chore: Prettier ignore api-merged & api-spec swagger api specs ( #53170 )
...
* Prettier ignore api-merged & api-spec swagger api specs
* add enterprise
2022-08-03 11:41:31 +01:00
Josh Hunt
1a683e53c5
Typed variables pt2: Use type-accurate mock variables in tests ( #52987 )
...
* wip
* make diff easier to read
* Update template_srv getVariables to return new TypedVariableModel
* update VariableType to use the type from TypedVariableModel
* tidy things up
* Chore: Use type-accurate mock variables in tests
* make createBaseVariableModel take the variable type
2022-08-02 14:47:41 +01:00
Josh Hunt
4323e12588
I18n: Add X-Crowdin-SourceKey to messages.po files ( #53102 )
...
* add X-Crowdin-SourceKey to messages.po files
* remove previous fake translation
2022-08-02 06:54:24 -04:00
Josh Hunt
1cadccf137
Add crowdin config ( #53096 )
2022-08-02 05:15:37 -04:00
Josh Hunt
eaf6aea98f
Typed variables pt1: Use discriminated union for variable model ( #52981 )
...
* wip
* make diff easier to read
* Update template_srv getVariables to return new TypedVariableModel
* update VariableType to use the type from TypedVariableModel
* tidy things up
2022-08-02 10:15:25 +01:00
Josh Hunt
96564be396
GrafanaUI: Improved ClipboardButton success state ( #52665 )
...
* Add new pill-shaped Indicator component
* Use indicator for clipboard button success
* show just check icon during success state
* expose Indicator
* move animation and positioning into Indicator component
* update stories
* update stories
2022-08-01 10:46:29 +01:00
Josh Hunt
583490678b
update e2e docs to remove aria-label mentions ( #52999 )
2022-07-29 16:42:53 +01:00
06d78ea904
Dashboards: Disable variable pickers for snapshots ( #52827 )
...
* user essentials mob! 🔱
lastFile:public/app/features/variables/textbox/TextBoxVariablePicker.tsx
* user essentials mob! 🔱
* user essentials mob! 🔱
lastFile:public/app/features/variables/adhoc/picker/AdHocFilter.tsx
* finish up disabling variables in snapshots
* remove accident
* use theme.spacing instead of the v1 shim
Co-authored-by: Joao Silva <joao.silva@grafana.com >
Co-authored-by: Leodegario Pasakdal <leodegario.pasakdal@grafana.com >
2022-07-29 16:29:55 +01:00
Josh Hunt
b223c65a6c
Chore: remove unnessisary type assertion from GrafanaContext ( #52979 )
2022-07-29 11:48:52 +01:00
Josh Hunt
972105cc52
I18n: Wrap event-based modals with I18nProvider ( #52720 )
2022-07-25 08:44:11 -04:00
Josh Hunt
9f81b3dcc6
I18n: Change locale format to IETF language tag ( #52596 )
...
* I18n: Change locale format to our agreed format
* fix test
* Build lingui messages files before ci tests
2022-07-22 10:50:00 -04: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
Josh Hunt
62a3f2ed32
Chore: Align on 'internationalization' for feature name ( #52585 )
...
* rename internationalization docs
* Move localisation.tsx to internationalization/index.tsx
2022-07-21 06:31:08 -04:00
Josh Hunt
cabdfb4811
Chore: Remove any that was introduced in a test ( #52203 )
2022-07-14 09:35:12 +00:00
Josh Hunt
15d9cf2139
Chore: Set codeowner for betterer results file ( #51971 )
...
* Update CODEOWNERS
* Update CODEOWNERS
* Update CODEOWNERS
2022-07-08 09:38:19 -04:00
Josh Hunt
0c88850070
Chore: Sync betterer results ( #51963 )
2022-07-08 14:19:17 +01:00
Josh Hunt
ffd9d9d0c5
Chore: Refactor logs_model to clean up types ( #51201 )
...
* Chore: Minor refector of logs_model to clean up types
* undo a change i didn't commit to
* use isObservable instead
* fix type
2022-07-06 08:49:45 +02:00
Josh Hunt
78ee9ffa37
Chore: Remove CI stats that are also reported by betterer ( #51318 )
...
* Chore: Remove CI stats that are reported by betterer
* update betterer results
2022-06-23 14:20:45 +02:00
Josh Hunt
7cee620fbb
Chore: Use @types/webpack-env to type require.context ( #51196 )
2022-06-22 12:38:47 +01:00
Josh Hunt
8fa951df04
Type window.nonce ( #51200 )
2022-06-22 09:28:05 +01:00
Josh Hunt
26f6b91fd9
Chore: Type GA and Rudderstack analytics config ( #51197 )
...
* Chore: Type GA and Rudderstack analytics config
* rely on implicit unknown
2022-06-22 09:27:55 +01:00
Josh Hunt
24bdda72fb
Barchart: Fix warning not showing ( #51190 )
2022-06-21 17:45:37 -05:00
Josh Hunt
357b859fa7
Remove any generics from configureMockStore in tests ( #51179 )
2022-06-21 17:48:52 +01:00
Josh Hunt
98132fc7dc
Remove as any from requireActual usage ( #51182 )
2022-06-21 17:48:38 +01:00
Josh Hunt
bc7ed4baab
Chore: use jest.mocked in favor of type assertions/any ( #51156 )
...
* use jest.mocked instead of yucky any
* remove more anys in favor of jest.mocked
* fix stray unused variables
2022-06-21 13:47:33 +01:00
Josh Hunt
dcf786f3a9
I18n: Add default locale server config option ( #51035 )
...
* I18n: Set default locale in server config and expose in grafanaBootData
* put default locale behind feature flag
* update tests now that default locale is behind feature flag
* little bit of PR feedback
* update sample.ini
2022-06-21 11:12:49 +01:00
Josh Hunt
47abf44224
Chore: SharedPreferences tests ( #51132 )
...
* Add a test assertion function to make testing a little bit easier
* Add tests for SharedPreferences
* Remove some tests from UserProfileEditPage because we're testing SharedPreferences directly now
2022-06-21 09:36:34 +01:00
Josh Hunt
3cebd87bbb
I18n: Add locale to user preference ( #49425 )
...
* Add __debug_bin file to gitignore
* Add locale user preference
* undo defaulting to existing JSONData in preferences save
2022-06-14 12:53:51 +01:00
Josh Hunt
b115e73ede
LibraryPanels: Require only viewer permissions to use a Library Panel ( #50241 )
...
* rename function to requireEditPermissionsOnFolder
* Require only viewer permissions on a folder when connecting a library panel from it
* update tests
* require edit permissions on the dashboard
* revert my change to the tests - these tests test something different
* revert changes to a test file???
2022-06-13 14:26:17 +01:00
Josh Hunt
32d4f6ac60
Dashboards: Fix folder picker not showing correct results when typing too fast ( #50303 )
...
* Use callback form for loadOptions in folder picker
* clean up
* fix other tests
* clarify comment
2022-06-10 15:54:21 +01:00
Josh Hunt
9d73264895
No longer generate theme json as it's not compatible with the right tooling ( #50605 )
2022-06-10 14:26:56 +01:00
Josh Hunt
9a62849dc3
Add i18n feature flag ( #50590 )
2022-06-10 13:02:52 +02:00
Josh Hunt
e0bb01aea6
Dashboard: Fix panel menu styling issues ( #49806 )
...
* Dashboard: Fix panel menu styling issues
* remove !importants I added
2022-05-30 17:07:01 +01:00
9092150143
Cue: Update Text, Stat, and Annolist panel cue schemas ( #49479 )
...
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
lastFile:public/app/plugins/panel/stat/types.ts
* user essentials mob! 🔱
* user essentials mob! 🔱
* Use generate defaults, and fix a few remaining issues
* Add annolist to dashboard dist plugins
* minor fixes
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: Joao Silva <joao.silva@grafana.com >
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com >
Co-authored-by: sam boyer <sdboyer@grafana.com >
2022-05-25 12:07:32 +01:00
Josh Hunt
c043a2f83a
Chore: Update theme json ( #49480 )
2022-05-24 14:58:34 +01:00
Josh Hunt
5b8bc3e44c
Limit persisted notifications to 25 ( #49393 )
2022-05-23 12:32:31 +01:00
Josh Hunt
426ca2999e
GrafanaUI: Fix color of links in error Tooltips in light theme ( #49327 )
...
* GrafanaUI: Fix color of links in input validation errors in light theme
* Change colors
2022-05-20 18:54:07 +01:00
Josh Hunt
71e1305364
LibraryPanels: Fix library panels not connecting properly in imported dashboards ( #49161 )
...
* Use saved dashboard model to create library panel connections when importing
* Rename variables in dashboard import for clarity
2022-05-18 16:50:24 +02:00
Josh Hunt
18cbea84b1
prevent generated files from being prettiered ( #49061 )
2022-05-17 12:01:07 +02:00
Josh Hunt
1a633812a7
DashboardSettings: Update active tab to use new brand gradient ( #48755 )
...
* DashboardSettings: Update active tab to use new brand gradient
* Remove colons from gradients
2022-05-05 17:10:06 +01:00
Josh Hunt
b04fb8522d
QueryEditor: Set data source type in mixed query data source ref ( #48734 )
2022-05-05 15:09:00 +01:00
Josh Hunt
32a26d87a4
Chore: Generate JSON theme files ( #48762 )
2022-05-05 15:35:08 +02:00
Josh Hunt
af57804513
Tooltip: Make tooltip use secondary background color for legible links ( #48748 )
2022-05-05 14:28:45 +01:00
Josh Hunt
1cd9175075
PanelEdit: Add gap between variables, like in Dashboard view ( #48718 )
2022-05-05 09:42:39 +01:00
Josh Hunt
2f1d404949
Switch PanelEditor to v2 theme ( #48717 )
2022-05-04 16:55:49 +01:00
Josh Hunt
51c3d9d664
I18n: Developer documentation ( #48415 )
...
* Docs: Add developer documentation for localisation
* touch up docs
* more assertive
* add example for variable names
* Add naming conventions
* Rewrite 'what lingui does' section
2022-05-04 13:46:04 +01:00
Josh Hunt
5dabb55b39
Navigation: Enable new navigation by default ( #48447 )
2022-05-03 16:28:40 +02:00
eeaa160ae8
Fix: Prevent automatic parsing of string data types to numbers ( #46035 )
...
* Fix: Render unitless strings as strings from displayProcessor
Co-authored-by: kay delaney <kay@grafana.com >
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com >
Co-authored-by: joshhunt <josh@trtr.co >
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: Joao Silva <joao.silva@grafana.com >
* update tests
* Rename none unit
* rename none unit to Number
Co-authored-by: kay delaney <kay@grafana.com >
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com >
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: Joao Silva <joao.silva@grafana.com >
2022-04-28 16:07:22 +01:00
Josh Hunt
3c6e0e8ef8
Chore: ESlint import order ( #44959 )
...
* Add and configure eslint-plugin-import
* Fix the lint:ts npm command
* Autofix + prettier all the files
* Manually fix remaining files
* Move jquery code in jest-setup to external file to safely reorder imports
* Resolve issue caused by circular dependencies within Prometheus
* Update .betterer.results
* Fix missing // @ts-ignore
* ignore iconBundle.ts
* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
Josh Hunt
720c6aac62
Dashboard: Add vertical spacing between variables when they wrap ( #47762 )
2022-04-15 11:05:53 +00:00
Josh Hunt
e3b123c3fc
GrafanaUI: Change chevron directions for open/closed state ( #47386 )
2022-04-08 16:37:25 +01:00
Josh Hunt
416da59c43
Routing: Fix links to different port from being treated as internal links ( #45192 )
...
* Add some failing tests that trigger the bug
* start at refactor of stripBaseFromUrl
2022-04-08 10:44:17 +01:00
Josh Hunt
b857f8339e
TestData: Interpolate variables in more fields ( #47158 )
...
* TestData: Interpolate variables in more fields
* only interpolate variables if the field is set
* Correctly type scenarioId which can be undefined
2022-04-07 14:45:14 +01:00
Josh Hunt
41642fd5f4
Modify the Server Error scenario to return frontend errors ( #47157 )
2022-04-07 10:59:49 +01:00
Josh Hunt and kay delaney
1b27e55e5a
Analytics: Identify users to Rudderstack by externalUserId where available ( #47325 )
...
* wip
* tests
* move util, fix test
* fixes
* Update public/app/core/services/echo/utils.ts
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com >
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com >
2022-04-05 17:41:22 +02:00
71db5115f4
User: Expose GCOM user ID as externalUserId in grafanaBootData ( #47307 )
...
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* fix sql indtent
Co-authored-by: Joao Silva <joao.silva@grafana.com >
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2022-04-05 14:44:33 +01:00
Josh Hunt and achatterjee-grafana
2fe6eca7a0
NewsPanel: Remove Use Proxy option and update documentation with recommendations ( #47189 )
...
* NewsPanel: Remove CORS proxy and update documentation with recommendations
* Updated generated model
* Update news-panel.md
* Update docs/sources/visualizations/news-panel.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/visualizations/news-panel.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update news-panel.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2022-04-05 15:16:28 +02:00
Josh Hunt
8f1b208a35
Chore: Report betterer stats in ci-frontend-metrics ( #47210 )
...
* Chore: Report betterer stats to graphite
* PR feedback
* use camelCase from lodash instead
2022-04-04 12:43:23 +02:00
Josh Hunt
89757cf58f
ManageDashboards: Fix error when deleting all dashboards from folder view ( #46877 )
...
* user essentials mob! 🔱
* draft tests
* tests!
* better default ids for test data
2022-03-24 09:43:25 +00:00
Josh Hunt
c7a5d2c5c7
Chore: Remove our typeAsJestMock in favor of jest.mocked ( #45114 )
2022-02-09 23:50:59 +01:00
Josh Hunt
6baf38e84b
Variables: Fix crash when changing query variable datasource ( #44957 )
...
* Variables: refactor variable editor state to dispatch typed & atomic extended props
* Mock variable editor in tests
* Make dataSources mandatory in AdHocVariableEditorState
* nit
2022-02-07 23:52:07 +01:00
Josh Hunt
1c6eca09bb
Variables: Explicitly type variable editor extended state ( #44749 )
...
* Narrow Variable editor state using selector functions
- Explicitly type "extended" editor state in editor/reducter.ts using a union
- Create selectors to narrow the types, using unique properties from each extended state to discriminate the union
- Update DataSourceVariableEditor to use new style of redux connector
- Update variable editor components to use new selectors
* fix tests
* Make adhoc variable infoText optional, because it is!
* Add AdHocVariableEditor tests
* DataSourceVariableEditor tests
* comment
* reset
* Wrote tests for selectors \(that actually caught a bug, whodathunkit)
* fix stray types and lint issues
* Rename selector functions
2022-02-08 09:31:42 +11:00
Josh Hunt
f1b2e2b7ff
Chore: More variable e2e tests ( #44803 )
...
* Add Datasource variable e2e tests
* Update other tests
* Fix names/comments in tests
* Add Interval variable tests
* fix typo
2022-02-04 12:37:01 +11:00
Josh Hunt
de7a920967
Chore: Suppress messages and logs from tests ( #44629 )
...
* Suppress "not wrapped in act()" warning in UserPicker test
* Add menuShouldPortal to AmRoutesExpandedForm to suppress deprecation warning
* use forwardRef in alerting ActionIcon to suppress ref warning
* Add menuShouldPortal to alerting GroupBy to suppress deprecation warning
2022-02-04 12:36:44 +11:00
Josh Hunt
6211ca4d3d
Chore: Move variable field selectors to data-testid ( #44801 )
...
* Chore: Move variable field selectors to data-testid
* Fix data source variable editor selector
* fix test
2022-02-04 11:55:19 +11:00
Josh Hunt
ce4d8646fd
Chore: E2E tests for various variables types ( #44747 )
...
* Pass data-testid into VariableTextEditorField
* Add e2e tests for custom variables
* Rename query variable specs to match others
* Add e2e tests for Text Box variables
* manually remove id: null
* Add tests for constant variables
2022-02-03 09:58:56 +11:00
Josh Hunt
d2f80c3a6f
Chore: Replace ts-jest mocked with jest.mocked ( #44630 )
2022-01-31 09:28:58 +01:00
Josh Hunt
c6ce629fd8
I18n: Translate navigation items ( #44131 )
...
* I18n: Translate navigation items
* improve comment, remove console.log
* update mock macros
* Mark up all phrases for translation
* added deprecate text comment, moved translations to a seperate file
* use TestProvider in NavBarItem
* use TestProvider in nav tests
* remove text deprecation comment
* update translations
2022-01-31 03:41:58 +01:00
Josh Hunt
b1b6205651
TablePanel: Fix ad-hoc variabes not working on default datasources ( #44314 )
...
* Dashboards: Fix ad-hoc variabes not working on default datasources
* not async
* Update comment
2022-01-31 01:16:46 +01:00
Josh Hunt
bddf3d7558
Chore: Correctly escape strings in JSONFormatter ( #44096 )
...
* Chore: Properly escape double-quotes in strings in JSONFormatter
* escape slashes
2022-01-21 14:51:59 +00:00
9f97f05fcc
DashboardSettings: Prevent Dashboard permissions from linking to folder permissions when user does not have sufficient permissions ( #44212 )
...
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* add tests
* fix up
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com >
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com >
2022-01-19 16:27:33 +01:00
Josh Hunt
36983d8d3b
Chore: Mark up User Profile page for translation ( #43874 )
...
* Mark up User profile page for translation
* Extract new messages
* updated selectors
* update selectors
* wip TestProvider
* update tests
* fix field labels
* extract new messages
* don't store date objects in redux state
* don't store date objects in redux state
2022-01-17 16:58:49 +00:00
Josh Hunt
7ea951b35d
Chore: Use ReactNode type for Field error prop ( #43852 )
...
* Chore: Use ReactNode type for Field error prop
* add LoadingPlaceholder
2022-01-11 16:45:14 +00:00
Josh Hunt
609a1aa8ad
Chore: parse parseDuration values as numbers ( #42826 )
...
* Chore: parseDuration values as numbers
* Clean up RefreshPicker labels
2021-12-16 11:35:53 +00:00
Josh Hunt
4f6d08f14b
I18N: Add Lingui core translation framework. ( #41827 )
...
* I18N: Add Core Lingui framework for translating the UI
* Make FieldSet accept ReactNode for the label, so it can be translated
* Translate a phrase in the User profile edit form
* Translate phrase
* run lingui compile before webpack builds
* init i18n more lazily
* i1n:compile in drone lint step
* wip for getting tests to work
* Use mock lingui/macros because its too hard to use the real macros in Jest...
* mock messages for tests
* use specific lingui version
* add comment for test helper
* we actually don't need the i18n setup in tests because we mock out <Trans />
* update package.json
* remove unneded imports
* revert back babel core version
* Create a I18nProvider wrapper
2021-12-15 17:00:37 +01:00
Josh Hunt
130386f84b
Chore: Fix errant text appearing in AnnotationSettingsList table ( #42360 )
2021-11-26 13:25:08 +00:00
Josh Hunt
879cdcd0c7
Chore: Refactor isSharedDashboardQuery to narrow type natrually ( #42312 )
2021-11-26 10:53:08 +00:00
Josh Hunt
62e55f4724
Chore: Refactor QueryRunner to remove type assertions ( #42329 )
2021-11-26 10:28:13 +00:00
Josh Hunt
3b497f3e8d
Chore: Move babel config to a root babel.config.json ( #41615 )
...
* Chore: Move babel config to a root babel.config.json
* Re-add babel cache settings to webpack
* Re-add production browserlist in babel config
* re-add babel hot refresh config
* fix storybook
2021-11-18 16:38:58 +00:00
Josh Hunt
bfec79a7dc
Chore: Improve wording of 'Now delay' option ( #41368 )
...
* Chore: Improve wording of 'Now delay' option
* Feedback
2021-11-15 16:08:28 +01:00
Josh Hunt
ecb877cb24
Snapshots: Fix panel inspector for snapshot data ( #41530 )
2021-11-10 12:40:04 +01:00
Josh Hunt
cbc00babe4
Dashboards: Fix 'Copy' from being appended to new dashboard titles ( #41344 )
2021-11-05 11:05:47 +00:00
Josh Hunt
9fc5193ecd
Dashboard: Disable image renderer link for unsaved dashboards ( #41249 )
2021-11-03 12:17:16 +01:00
Josh Hunt
14ddb2939c
Chore: Enable strict Typescript checks ( #41198 )
...
* Chore: Enable strict Typescript checking
* Chore: Remove old strict budget checks
2021-11-02 15:23:44 +00:00
cb948d10e0
CloudWatch: Fix strict Typescript errors ( #41160 )
...
* CloudWatch: Fix strict typscript errors
* Update public/app/plugins/datasource/cloudwatch/components/ConfigEditor.tsx
Co-authored-by: Sarah Zinger <sarahzinger@users.noreply.github.com >
* Chore: reduce strict error
* Update ci-check-strict.sh
Co-authored-by: Sarah Zinger <sarahzinger@users.noreply.github.com >
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com >
2021-11-02 13:16:46 +00:00
Josh Hunt
419c465edf
Grafana-UI: Editor UI components ( #41136 )
...
* Grafana-UI: Update theme.spacing to support string value when called with just one arugment
This allows theme.spacing("auto") to be valid
* Grafana-UI: Support width="auto" for Select component
This allows for inline Selects that are sized based on their content,
rather than occupying block-width
* Add toOption for creating Select options to @grafana/data
* Add test util
2021-11-01 12:06:28 +01:00
Josh Hunt
90b802a62d
AzureMonitor: Prevent incomplete Logs queries from running ( #40512 )
...
* AzureMonitor: Prevent incomplete queries from running
* fix
2021-10-25 17:37:50 +02:00
Josh Hunt and Alex Khomenko
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
Josh Hunt
b3196621f1
AzureMonitor: Fix template variables being cleared out ( #39173 )
...
* AzureMonitor: Fix template variables being cleared out
* fix metric namespace from resetting
* tests :)
2021-09-15 16:31:37 +01:00
Josh Hunt
17306217aa
AzureMonitor: Support PostgreSQL and MySQL Flexible Servers ( #38075 )
2021-08-19 16:56:58 +02:00
Josh Hunt
1e221b6452
AzureMonitor: Show error message when subscriptions request fails in ConfigEditor ( #37837 )
...
* Fix jsdoc description for datasourceRequest
* Align default subscription width with other fields
* AzureMonitor: Show error message when requesting default subscriptions in ConfigEditor
* update snapshots:
2021-08-17 16:46:15 +01:00
Josh Hunt
afabc617ed
AzureMonitor: Apply query migrations in QueryEditor ( #37704 )
...
* move query migrations out of the angular controller
* Migrate queries in QueryEditor
* finish up migrations
* update deprecated comment
* remove comment
2021-08-17 14:03:18 +02:00
Josh Hunt
368da73ac4
AzureMonitor: Fix crash from infinite render loop ( #37924 )
2021-08-17 11:50:37 +01:00
Josh Hunt
81cfc2c347
AzureMonitor: Use React QueryEditor for annotations editor ( #37633 )
2021-08-13 11:05:57 +01:00
Josh Hunt and achatterjee-grafana
88487806e3
Docs: Clarify how to enable "Forward OAuth Identity" for data sources ( #37696 )
...
* Docs: Clarify how to enable "Forward OAuth Identity" for data sources
* Update docs/sources/developers/plugins/add-authentication-for-data-source-plugins.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update add-authentication-for-data-source-plugins.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2021-08-09 17:22:40 +01:00
Josh Hunt
f41f45f6bf
AzureMonitor: Remove Angular query editor ( #37532 )
...
* Remove angular query editor
* call debounced onRunQuery, and set some default query values
2021-08-05 10:12:25 +01:00
Josh Hunt
e530d66275
AzureMonitor: Refactor query state and fetching data for Metrics ( #37067 )
...
* Split query modifications into seperate file
* seperate setQueryValue for Logs
* wip for centralising api requests
* more wip
* moved data hooks out into seperate module, added post-request cleanup
* metric metadata
* ,
* more cleanup
* update tests, fix hasOption to work with grouped variables
* update ARG subscriptiopns field
* last select stuff
* remove todo comment
* pr feedback
* more pr feedback :) :)
* updated comment
2021-08-03 10:04:04 +01:00
Josh Hunt
43ee7acecd
AzureMonitor: Make all query properties optional ( #36701 )
...
* start to make all query fields optional
* fix other types
* fix optional types in fields
* Pfeedback!
* Clean up types
2021-07-14 12:36:11 +02:00
Josh Hunt
a2a1fa51f2
AzureMonitor: Resource Picker alignment/spacing tweaks ( #35125 )
2021-07-08 16:37:41 +02:00