Kyle Cunningham
b42d652106
Transformations: Move transformation addition into drawer ( #78299 )
...
* Start splitting out code
* Use flag
* A bit of rocket surgery
* Prettify
* Cleanup behavior
* Work through behaviors
* Move empty message from other PR
* Import fixes and prettier
* Clean things up
* Add selector for tests
* Cleanups
* Working with transformation redesign
* Some more tweaks to make sure of correct behavior
* Update betterer/eslint exceptions
* Localization
* Remove unecessary fragments
* Spacing and prettier
* Update tests for new UI
* Update e2e tests
* One more e2e test fix
* Update selectors
* Fix one test and break another
2023-12-01 14:08:54 -06:00
Jev Forsberg
a99485ba33
Transformations: Build help content for all standard transformers ( #74052 )
...
* baldm0mma/transformation_info_modal
* baldm0mma/transformation_info_modal/ add getDisplayContent
* baldm0mma/transformation_info_modal/ reamove OperationRowHelp
* baldm0mma/transformation_info_modal/ update prepMarkdown
* baldm0mma/transformation_help_modal/ add example mkdwn
* baldm0mma/transformation_help_modal/ add examples anno
* baldm0mma/transformation_info_modal/ add calFieldHelper
* baldm0mma/transformation_info_modal/ remove file
* baldm0mma/transformation_info_modal/ add CalculateFieldHelper
* baldm0mma/transformation_info_modal/ add TransformationEditorHelperModal
* baldm0mma/transformation_info_modal/ add getHelperContent
* baldm0mma/transformation_info_modal/ move TransformationEditorHelperModal
* baldm0mma/transformation_info_modal/ add ReactElement
* baldm0mma/transformations_info_modal
* baldm0mma/transformation_info_modal/ update props for TransformationEditorHelperModal
* baldm0mma/transformation_info_modal/ test
* test
* baldm0mma/transformation_info_modal/ reset vscode auth
* baldm0mma/transformation_info_modal/ update getHelperContent
* baldm0mma/transformations_info_modal/ add items for rebuilding markdown to react component
* test
* test
* baldm0mma/transformations_info_modal/ remove comment in TransformationOperationRow
* test
* baldm0mma/transformation_info_modal/ add element to typing
* baldm0mma/transformation_info_modal/ update getHelperContent with help component
* baldm0mma/transformation_info_modal/ update modal title
* baldm0mma/transformation_info_modal/ move logic to tranforms
* baldm0mma/transformation_info_modal/ remove unused comments
* baldm0mma/transformation_info_modal/ update standard reg
* baldm0mma/trfansformation_info_modal/ remove context styling
* baldm0mma/transformation_info_modal/ add content for CalculateFieldHelper
* baldm0mma/transformation_info_modal/ add ConcatenateHelper
* baldm0mma/transformations_info_modal/ add ConcatenateHelper
* baldm0mma/transformation_info_modal/ add ConfigFromQueryHelper
* baldm0mma/transformations/info_modal/ add ConvertFieldTypeHelper
* baldm0mma/transformation_info_modal/ add CreateHeatmapHelp
* baldm0mma/transformation_info_modal/ add ExtractFieldsHelper
* baldm0mma/transformation_info_modal/ add FilterFieldsByNameHelper
* baldm0mma/transformation_info_modal/ add FilterFieldsByNameHelper
* baldm0mma/transformation_info_modal/ add OperationRowHelp to parse markdown
* baldm0mma/transformation_info_modal/ remove commented out markdown
* baldm0mma/transformations_info_modal/ remove comment
* baldm0mma/transformation_info_modal/ update configFromQueryTransformRegistryItem
* baldm0mma/transformation_info_modal/ update ConcatenateHelper
* baldm0mma/transformation_info_modal/ update ConvertFieldTypeHelper
* baldm0mma/transformation_info_modal/ update ExtractFieldsHelper
* baldm0mma/transformation_info_modal/ update FieldLookupHelper
* baldm0mma/transformation_info_modal/ update TransformationEditorHelperModal with determineContentDisplay()
* baldm0mma/transformation_info_modal/ add FilterByRefIdHelper
* baldm0mma/transformation_info_modal/ add FilterByValueHelper
* baldm0mma/transformation_info_modal/ update file ext
* baldm0mma/transformation_info_modal/ add GroupByHelper
* baldm0mma/transformation_info_modal/ add HistogramHelper
* baldm0mma/transformation_info_modal/ add JoinByFieldHelper
* baldm0mma/transformation_info_modal/ add JoinByLabelsHelper
* baldm0mma/transformations_info_modal/ add LabelsToFieldsHelper
* baldm0mma/transformation_info_modal/ add LimitHelper
* baldm0mma/transformation_info_modal/ add MergeHelper
* baldm0mma/transformation_info_modal/ add PartitionByValuesHelper
* baldm0mma/transformation_info_modal/ add ReduceHelper
* baldm0mma/transformation_info_modal/ add RenameByRegexHelper
* baldm0mma/transformation_info_modal/ add SeriesToRowsHelper
* baldm0mma/transformation_info_modal/ add SortByHelper
* baldm0mma/transformations_info_modal/ add spatial
* baldm0mma/transformation_info_modal/ update to markdown
* baldm0mma/transformation_info_modal/ remove comments
* baldm0mma/transformation_info_modal/ update boarder with theme
* baldm0mma/transformation_info_modal/ add test suite
* baldm0mma/transformation_info_modal/ update tests
* baldm0mma/transformation_info_modal/ update test to run on all transformations
* baldm0mma/transformation_info_modaol/ add TimeSeriesTableHelper
* baldm0mma/transformation_info_modal/ update concatenateHelper
* baldm0mma/transformation_info_modal/ update calculateFieldHelper
* baldmomma/transformation_info_modal/ update naming
* baldm0mma/transformation_info_modal/ update getLinkToDocs location
* baldm0mma/transformation_info_modal/ update docs
* baldm0mma/transformation_info_modal/ update language
* baldm0mma/transformation_info_modal/ rename test
* baldm0mma/transformation_info_modal/ update naming 2
* baldm0mma/transformation_info_modal/ update to helper
* baldm0mma/transformation_info_modal/ update docs
* Apply suggestions from @imatwawana
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* baldm0mma/transformation_info_modal/ update convertFieldTypeHelper capitalization
* Hack around with generating Markdown from transformations helpers (#75677 )
```console
$ cd docs
$ make sources/panels-visualizations/query-transform-data/transform-data/index.md
$ make docs
```
Browse to http://localhost:3003/docs/grafana/latest/panels-visualizations/query-transform-data/transform-data/
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* baldm0mma/transformation_info_modal/ add calculateFieldHelper
* baldm0mma/transformation_info_modal/ update concatenate
* baldm0mma/transformation_info_modal/ add fieldLookup
* baldm0mma/transformation_info_modal/ add filterFieldsByName
* baldm0mma/transformation_info_modal/ add joinByField
* baldm0mma/transformation_info_modal/ update renameByRegex
* baldm0mma/transformation_info_modal/ update getHelperContent
* baldm0mma/transformation_info_modal/ update calculateFieldTransformRegistryItem
* baldm0mma/transformation_info_modal/ update concatenateTransformRegistryItem
* baldm0mma/transformation_info_modal/ update configFromDataTransformer
* baldm0mma/transformation_info_modal/ update extractFieldsTransformRegistryItem
* baldm0mma/transformation_info_modal/ update formatTimeTransformerRegistryItem
* baldm0mma/transformation_info_modal/ update heatmapTransformRegistryItem
* baldm0mma/transformation_info_modal/ update mergeTransformerRegistryItem
* baldm0mma/transformation_info_modal/ update timeSeriesTableTransformRegistryItem
* baldm0mma/transformation_info_modal/ update doc builder
* baldm0mma/transformation_info_modal/ update docs
* baldm0mma/transformation_info_modal/ remove console log
* baldm0mma/transformation_info_modal/ update console log
* baldm0mma/transformation_info_modal/ update gitignore
* baldm0mma/transformation_info_modal/ update calculateField
* baldm0mma/transformation_info_modal/ add links
* baldm0mma/transformation_info_modal/ update template
* baldm0mma/transformation_info_modal/ update template with images
* baldm0mma/transformation_info_modal/ build markdown
* baldm0mma/transformations_info_modal/update with links
* baldm0mma/transformation_info_modal/ update links
* baldm0mma/transformation_info_modal/ apdate FormatTimeTransfomerEditor
* baldm0mma/transformation_indo_modal/ update HeatmapTransformerEditor
* baldm0mma/transformation_indo_modal/ update ConfigFromQueryTransformerEditor
* baldm0mma/transformation_indo_modal/ update CalculateFieldTransformerEditor
* baldm0mma/transformation_indo_modal/ update ConcatenateTransformerEditor
* baldm0mma/transformation_indo_modal/ update FilterByNameTransformerEditor
* baldm0mma/transformation_indo_modal/ update FilterByRefIdTransformerEditor
* baldm0mma/transformation_indo_modal/ update GroupByTransformerEditor
* baldm0mma/transformation_indo_modal/ update GroupingToMatrixTransformerEditor get helper
* baldm0mma/transformation_indo_modal/ update SeriesToFieldsTransformerEditor get helper
* baldm0mma/transformation_indo_modal/ update LabelsAsFieldsTransformerEditor
* baldm0mma/transformation_info_modal/ update MergeTransformerEditor
* baldm0mma/transformation_info_modal/ update OrganizeFieldsTransformerEditor
* baldm0mma/transformation_info_modal/ update ReduceTransformerEditor
* baldm0mma/transformation_info_modal/ update RenameByRegexTransformerEditor
* baldm0mma/transformation_info_modal/ update SeriesToRowsTransformerEditor
* baldm0mma/transformation_info_modal/ update SortByTransformerEditor
* baldm0mma/transformation_info_modal/ update extractFieldsTransformerEditor
* baldm0mma/transformation_info_modal/ update FilterByValueTransformerEditor
* baldm0mma/transformation_info_modal/ update JoinByLabelsTransformerEditor
* baldm0mma/transformation_info_modal/ update FieldLookupTransformerEditor
* baldm0mma/transformation_info_modal/ update PartitionByValuesEditor
* baldm0mma/transformation_info_modal/ update PrepareTimeSeriesEditor
* baldm0mma/transformation_info_modal/ update RowsToFieldsTransformerEditor
* baldm0mma/transformation_info_modal/ update spatialTransformRegistryItem
* baldm0mma/transformation_info_modal/ update timeSeriesTableTransformRegistryItem
* baldm0mma/transformation_info_modal/ update to helperDocs
* baldm0mma/transformation_info_modal/ update built markdown
* baldm0mma/transformation_info_modal/ run prettier
* baldm0mma/transformation_info_modal/ update comments in getTransformationContent
* baldm0mma/transformation_info_modal/ add removeMarkdownAnchorLinks
* baldm0mma/transformation_info_modal/ update annos in getTransformationContent
* baldm0mma/transformation_info_modal/ add requisite url prefix to markdown images
* baldm0mma/transformation_info_modal/ add cleanMarkdownOfUnwantedSyntax
* baldm0mma/transformation_info_modal/ update annos in content.ts
* baldm0mma/transformation_info_modal/ update e2e tests with always-visiable trabnsformation
* baldm0mma/transformation_info_modal/ remove note
* baldm0mma/transformation_info_modal/ add annotation in getTransformationContent
* baldm0mma/transformation_info_modal/ update e2e test naming
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-11-07 09:29:45 -07:00
Kyle Cunningham
d673862853
Transformations: Rename "Transform" tab to "Transform data" ( #75757 )
...
* Rename transform tab to transform data
2023-10-04 14:24:21 -05:00
Ashley Harrison
e82e1593d8
Chore: Remove some hardcoded waits from e2e tests ( #75515 )
...
remove some hardcoded waits
2023-09-27 14:25:04 +01:00
Ashley Harrison
d8e99e2bb5
Chore: Remove more stuff from the e2e
object ( #75513 )
...
* cut down the e2e object more :)
* undo changes in grafana-e2e
* couple more things to undo in grafana-e2e
2023-09-27 11:33:00 +01:00
Ashley Harrison
ba7f77f25d
Chore: remove scenario wrapping in cypress tests ( #74674 )
...
* remove scenario wrapping in cypress tests
* remove more hardcoded logins
* don't forget the various suite!
* make sure we log in for every test
* fix afterAll revert
* stability
2023-09-13 13:24:20 +01:00
Ashley Harrison
247d91be2b
Chore: remove wrapping of cy
in the e2e
object ( #74650 )
...
* remove cy. wrapping as e2e().
* make trace-view-scrolling more stable and remove waits
* improve stability more
2023-09-11 11:20:54 +01:00
Ashley Harrison
0f2f25c5d9
Chore: Move to Cypress 12 and decouple cypress from @grafana/e2e
( #74084 )
...
* update drone to use cypress 12 image
* upgrade cypress to 12 in core
* cypress config actually valid
* update @grafana/e2e imports and add lint rule
* ignore grafana-e2e from betterer now it's deprecated
* fix remaining type errors
* fix failing tests
* remove unnecessary tsconfig
* remove unnecessary comment
* update enterprise suite commands to work
* add cypress config to CODEOWNERS
* export setTimeRange in utils
* remove @grafana/e2e from core deps
* try running the command through yarn
* move CMD to scripts
* Update cloud-data-sources e2e image
* Update paths
---------
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2023-09-08 16:51:59 +01:00
Marcus Andersson
c3fee5881f
E2E: Fixed so openPanelMenuItem flow works with new/old panel chrome without breaking changes ( #66118 )
...
Fixed so the openPanelMenuItem works with both angular and react panels.
2023-04-14 09:11:15 +02:00
Galen Kistler
38482c90bf
Build URL params and include requestId ( #65742 )
...
* add requestId and ds_type to datasource request url
2023-04-06 14:43:10 -05:00
Ivan Ortega Alba
45df536263
Flaky E2E: Wait for the data to be loaded before switch to table view ( #66072 )
...
Fix flaky e2e for panel edit suite
2023-04-06 09:07:41 +02:00
Alexa V
2b0c0d4b95
Dashboards: Enable feature flag newPanelChromeUI
by default ( #65593 )
2023-04-03 13:50:43 +02:00
Zoltán Bedi
f566958555
Table: Reorder panel options ( #49983 )
...
* Table: Reorder panel options
* Fix e2e selector
2022-06-01 13:11:19 +02:00
Zoltán Bedi
15b48fc188
Table: Add enable pagination option ( #45732 )
...
* Table: Add page size option / pagination
* Update docs/sources/visualizations/table/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* FIx packages build
* Move pagination below footer
* Move styles to tableStyles
* Fix typecheck in jaeger-ui
* Set footer to hide onChange
* Styling tweaks
* Center paging
* Tweaks
* Change pageSize to enablePagination
* Move header and footer options to a separate category
* Fix performance and styling issue for the pagination
* Some more styling and tweaking
* Fix tests
* Update docs/sources/visualizations/table/_index.md
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* Update docs/sources/visualizations/table/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2022-03-31 09:36:04 +02:00
Konrad Lalik
e50a78a61a
Remove unified alerting specific assertions from panel base spec ( #44961 )
2022-02-08 10:00:58 +01:00
Alex Khomenko
4e8b97b8ed
CI: Temporarily disable panel edit e2e test ( #42517 )
2021-11-30 13:46:23 +01:00
Armand Grillet
6523486122
Alerting: Make Unified Alerting enabled by default for those who do not use legacy alerting ( #42200 )
...
* update AlertingEnabled and UnifiedAlertingSettings.Enabled to be pointers
* add a pseudo migration to fix the AlertingEnabled and UnifiedAlertingSettings.Enabled if the latter is not defined
* update the default configuration file to make default value for both 'enabled' flags be undefined
Misc
* update Migrator to expose DB engine. This is needed for a ualert migration to access the database while the list of migrations is created.
* add more verbose failure when migrations do not match
Co-authored-by: gotjosh <josue@grafana.com>
Co-authored-by: Yuriy Tseretyan <yuriy.tseretyan@grafana.com>
Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>
2021-11-24 14:56:07 -05:00
Torkel Ödegaard
0f6ae272e9
E2E: Fix running any suite locally ( #42210 )
...
* e2e: Fix running any suite locally
* Fixed issue with testFiles filter when specifying suite name
* unrelated
* fixed import paths to shared
* Moving dashboards to root
2021-11-24 15:16:51 +01:00