- 02 Dec, 2020 24 commits
-
-
* 3 minor changes, including updating the title TOC * Fixing the sentence lacking verb.
achatterjee-grafana committed -
* Rewrite auth proxy tests to use standard lib Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Auth proxy: Use standard error type Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Arve Knudsen committed -
Leon Sorokin committed
-
Dashboards: hide playlist edit functionality from viewers and snapshots link from unauthenticated users (#28992) * feat: hide snapshots menu item from viewers * feat(playlists): prevent viewers from creating/editing playlists * feat: prevent viewers seeing playlist nav link if no playlists * refactor(playlist): rename isViewer property to canEditPlaylists * revert(playlists): put back note if viewer and no playlists * refactor(snapshots): consider admin/editor permission in folders/dashboards for displaying menu item * feat(snapshots): only show snapshot nav item if user is signed in * fix(snapshots): revert snapshots to previous state if delete snapshot api error
Jack Westbrook committed -
Brett Snyder committed
-
* Removing PanelModel usage from query rows * More work removing dependency on panel model * Before big change to query options * Query options now have no dependency on panel model * Test page is working * Shared query now works again * Rename component * fix after merge * Fixed issue with old angular editors
Torkel Ödegaard committed -
Hugo Häggmark committed
-
Dominik Prokop committed
-
* Pass languages directly to SlatePrism plugin * Update * Remove unused variables * Update packages/grafana-ui/src/components/DataLinks/DataLinkInput.tsx Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com> * Update public/app/plugins/datasource/prometheus/components/PromQueryField.tsx Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com> * Update public/app/plugins/datasource/prometheus/components/PromQueryField.tsx Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com> * Update public/app/plugins/datasource/loki/components/LokiQueryFieldForm.tsx Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com> * Update public/app/plugins/datasource/cloudwatch/components/LogsQueryField.tsx Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com> * Try Prism import instead of languages * Update webpack Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
Ivana Huckova committed -
* Variables: Fixes savequery for Constant and TextBox variables * Refactor: reverts textbox changes * Refactor: Fixes dashboard export and tests * Refactor: hides or migrates Constant variables * Tests: fixes snapshots * Variables: Fixes Textbox current value persistance * Refactor: fixes PR comments and adds e2e tests
Hugo Häggmark committed -
* simplify options UI inheritance * simplify options UI inheritance * OptionsEditor to OptionEditor
Ryan McKinley committed -
* Icon: changed the icon for signing in Signed-off-by: Uchechukwu Obasi <obasiuche62@gmail.com> * fixes test-frontend (I hope)
Uchechukwu Obasi committed -
closes https://github.com/grafana/grafana/issues/29487 Signed-off-by: bergquist <carl.bergquist@gmail.com>
Carl Bergquist committed -
* Middleware: Simplify Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * middleware: Rename auth_proxy directory to authproxy Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Arve Knudsen committed -
* Add test coverage for uPlot initialization and data updates * fix ts * WIP * I see some light in the tunel * Tests update * Fix rendering before hooks are evaluated
Dominik Prokop committed -
Tomo Wang committed
-
* making sure we try to use the selected db in the query row. * fixing so we use || instead of ??.
Marcus Andersson committed -
Sebastian Poxhofer committed
-
Devenv: update mysql_tests and postgres_tests blocks for allowing dynamically change of underlying docker image (#29525) * Devenv: allow dynamically change mysql_tests docker image * Devenv: allow dynamically change postgres_tests docker image
Sofia Papagiannaki committed -
* Chore: Enable eslint react/no-render-return-value rule Eanble the rule and remove the unused render return part of: #29201 * Chore: Enable eslint react/no-children-prop rule Not linting issues after turning on this. No other file changes requried part of: #29201 * Chore: Enable eslint react/no-unknown-property rule Correct enable-background to enableBackground part of: #29201 * Chore: Enable eslint react/no-unescaped-entities rule Replaced " with " replaced ' with ' part of: #29201
Chi-Hsuan Huang committed -
Docs/Transformations: Add documentation about Binary operations in Add field from calculation (#29511) * Add also infor about binary operations * Update docs/sources/panels/transformations/types-options.md Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> * Update docs/sources/panels/transformations/types-options.md Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> * Update docs/sources/panels/transformations/types-options.md Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Ivana Huckova committed -
* Fixed: error message overflow container Signed-off-by: Uchechukwu Obasi <obasiuche62@gmail.com> * used min-width property for better styling Signed-off-by: Uchechukwu Obasi <obasiuche62@gmail.com> * Switched to Alert component * Fixed passing aria-label to Alert component * Fixed e2e test (I hope) * another attempt to fix e2e * Fixed display name Co-authored-by: Uchechukwu Obasi <obate@Uchechukwus-MacBook-Pro.local> Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Uchechukwu Obasi committed -
Brett Snyder committed
-
Hugo Häggmark committed
-
- 01 Dec, 2020 16 commits
-
-
Diana Payton committed
-
Rami committed
-
* WIP Add line limit and query type switch toLoki dashboard editor * Refactor, reuse code for both - Explore and Dashboard * Üpdate snapshot tests * Refactor and unify * Rename test file * Update test
Ivana Huckova committed -
Support of both Application and Security groups in groupMembershipClaims, as per @pihai suggestion: https://github.com/grafana/grafana/issues/23358#issuecomment-685377338
mnkii committed -
* DataLinks: Removes getDataSourceSettingsByUid from applyFieldOverrides and data linking code * Fixed test * Fixed a few tests * Fixed unit tests * Removed old getDataSourceSettingsByUid from interface, still there for runtime backward compatability
Torkel Ödegaard committed -
* Fix: trace viewer scroll issue * Fix lazy loading * Listview test fixes * Move scrollElement to props
Zoltán Bedi committed -
Ryan McKinley committed
-
* Chore: Enable eslint react/display-name Enable react/display-name and fixed the corresponding linting issue part of: #29201 * Chore: Enable eslint react/no-deprecated Enable react/no-deprecated and add the UNSAFE_ prefix for deprected methods part of: #29201 * Chore: Enable eslint react/no-find-dom-node Enable react/no-find-dom-node rule and use ref instead part of: #29201 * Test: Update TeamGroupSync test snapshot Since we added the displayName for ToolTip compontent and tag name is changed. * Fix: Fixed ClickOutsideWrapper render The props.children might contains numbers of nodes which make cloneElement failed. Change to simply use a div to wrapper the children and assign the ref to div for this feature * Style: Use shorthand method definition style for inline component * Fix: Rebase master and fix linting Rebase from master branch and fix new displayName linting warning
Chi-Hsuan Huang committed -
there was a troublesome jump between time ranges of 1h and 24h in previous version
Paweł Ślusarczyk committed -
* Datasources: Look up data source by uid or name transparently * comment tweak * Removed config * fixed type issues * Initialize datasource srv * Added deprecation notice * Renamed getSettingsFor to getInstanceSettings * fixed ts issue
Torkel Ödegaard committed -
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Carl Bergquist committed -
* Variables: Fixes savequery for Constant and TextBox variables * Refactor: reverts textbox changes * Refactor: Fixes dashboard export and tests * Refactor: hides or migrates Constant variables * Tests: fixes snapshots
Hugo Häggmark committed -
Marcus Olsson committed
-
* Prometheus: don't override displayName property * Rename displayName to displayNameFromDS for consistency
Zoltán Bedi committed -
* Grunt: Removes grunt dependency and replaces some of it usage with alternatives * Removed precommit toolkit task * Fixed toolkit import * Some cleanup of unused / not working stuff in build.go * Removed sass errors
Torkel Ödegaard committed -
* Adding FilterByValue transformer skeleton * Connecting options with Editor * Improving UI and making deep copy of options on change. * Improving Transformation Editor UI * Implementing Regex filtering * Adding valueFilters.ts and creating filter registry * Connecting the test function * Correcting TypeScript errors * Using FilterInstance instead of simple Filter test function * Adding field.type as filter options * Improving UI. Adding custom placeholder depending on filter. * Implementing a few more filter types * Implementing more filters * Return original data if no filter were processed * Improving UI * Correcting TS errors * Making sure inequality transform are invalid until the filterExpression is not empty * Cleanup in the UI file * Improving UI (highlight invalid fields) * Only show filterType that are supported for the selected field * Adding tests + correction of a filter * Adding transformer test * Adding doc * Cleanup * Typing props for FilterSelectorRow component Co-authored-by: Marcus Andersson <systemvetaren@gmail.com> * Moving rendering in the JSX Co-authored-by: Marcus Andersson <systemvetaren@gmail.com> * Memoizing filterTypeOptions computation Co-authored-by: Marcus Andersson <systemvetaren@gmail.com> * Improve code compactness Co-authored-by: Marcus Andersson <systemvetaren@gmail.com> * Cleanup + solving TS errors * Updating some labels * Wrapping stuff around useMemo and useCallback * Using cloneDeep from lodash * Don't highlight field name input if null * Removing time type fields in selectable options * We want loose equality in this scenario. * Adding `onChange` to useCallback dependencies Co-authored-by: Marcus Andersson <systemvetaren@gmail.com> * Include or exclude matching any or all conditions * Correcting field name matching * Cleanup * Don't highlight the filterExpression input when its empty * Adding Range filter * Updating doc * Correcting TS error * Only showing the Match All/Match Any option if more than one condition * Two inputs for the Range filter instead of one * Improving invalid highlight for Range filter type * Cleanup * Improving labels in UI * Using ButtonSelect to improve UI * editor UI updates. * Updating tests * Adding component for Regex * Improve TS typing * Adding components for the other filter types. * Cleanup * Correct error * Updating valueFilter.test.ts * Updating filterByValue.test.ts * Reverting and removing Range filter * Update docs/sources/panels/transformations.md * starting to implement poc. * added a small poc. * wip * added tests. * added structure for dynamic value matcher editors. * added more support. * added some more value matchers. * removed unused value filters. * added some more matchers. * adding more matchers. * added a range matcher. * fixing some tests. * fixing tests. * remove unused dep. * making the matching a bit more performant. * UX improvements and alignment fixes * fixed delete button. * fixed some spacing in the UI. * added docs for matchers. * adding docs and exposing value matcher types. * will store dateTime as string. * updated docs according to feedback. * moved filter by value in transformation list. * Improved description. * added regex value filter. * added support for regex. * fixing failing tests. Co-authored-by: Marcus Andersson <systemvetaren@gmail.com> Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com> Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Totalus committed
-