1. 15 Dec, 2020 3 commits
  2. 14 Dec, 2020 1 commit
  3. 11 Dec, 2020 1 commit
    • Alerting: Next gen Alerting page (#28397) · 6118ab41
      * create page and sidebar entry
      
      * add components for query editor and definition
      
      * split pane things
      
      * add reducer and action
      
      * implement split pane and update ui actions
      
      * making things pretty
      
      * Unify toolbar
      
      * minor tweak to title prefix and some padding
      
      * can create definitions
      
      * fix default state
      
      * add notificaion channel
      
      * add wrappers to get correct spacing between panes
      
      * include or exclude description
      
      * implement query editor
      
      * start on query result component
      
      * update from master
      
      * some cleanup and remove expressions touch ups
      
      Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
      Peter Holmberg committed
  4. 04 Dec, 2020 1 commit
    • QueryGroup & DataSourceSrv & DataSourcePicker changes simplify usage, error… · 3d6380a0
      QueryGroup & DataSourceSrv & DataSourcePicker changes simplify usage, error handling and reduce duplication, support for uid (#29542)
      
      * Starting moving more stuff into data source picker
      
      * WIP progress
      
      * Progress on datasource picker rethink
      
      * Things are working now some details to figure out
      
      * Removed commented part
      
      * Complex work on getting data source lists
      
      * Fixed variable support showing correct data sources
      
      * Tried fixing dashboard import but failed
      
      * Fixes
      
      * Fixed import dashboard
      
      * Fixed unit test
      
      * Fixed explore test
      
      * Fixed test
      
      * Fix
      
      * fixed more tests
      
      * fixed more tests
      
      * fixed showing which option is default in picker
      
      * Changed query variable to use data source picker, updated tests and e2e
      
      * Fixed more tests
      
      * Updated snapshots, had wrong typescript version
      Torkel Ödegaard committed
  5. 03 Dec, 2020 2 commits
  6. 02 Dec, 2020 3 commits
    • QueryEditors: Refactoring & rewriting out dependency on PanelModel (#29419) · 068fef8c
      * 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
    • Variables: Fixes Textbox current value persistence (#29481) · 3dcfe54d
      * 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
    • Chore: Enable remaining eslint-plugin-react rules (#29519) · 73518bf1
      * 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
  7. 01 Dec, 2020 3 commits
    • DataLinks: Removes getDataSourceSettingsByUid from applyFieldOverrides (#29447) · 34f2a72f
      * 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
    • Chore: Enable eslint-plugin-react partial rules (#29428) · 546f569e
      * 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
    • Variables: Fixes Constant variable persistence confusion (#29407) · fb622650
      * 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
  8. 26 Nov, 2020 4 commits
  9. 25 Nov, 2020 2 commits
  10. 21 Nov, 2020 1 commit
  11. 18 Nov, 2020 2 commits
  12. 11 Nov, 2020 1 commit
    • Dashboard: remove usage of Legacyforms (#28707) · 6d402064
      * refactor(dashboard): remove usage of legacyform components in sharemodal
      
      * refactor(dashboard): replace legacyform components
      
      * refactor(dashboard): remove ng-if and correct typo in content of sharesnapshot
      
      * feat(grafana-ui): set displayName prop for Switch component
      
      * refactor(dashboard): migrate TimePickerSettings legacyform components
      
      * refactor(queryoptions): migrate switch and input to nextgen components
      
      * refactor(sharesnapshot): prefer InlineFieldRow over gf-form-group
      
      * refactor(shareembed): styling fixes
      
      * refactor(timepickersettings): prefer double bang over nullish coalescing operator
      
      * fix(grafana-ui): switch uses id prop if passed in
      
      * feat: connect labels and switches with ids
      Jack Westbrook committed
  13. 04 Nov, 2020 2 commits
  14. 03 Nov, 2020 1 commit
  15. 29 Oct, 2020 1 commit
  16. 28 Oct, 2020 1 commit
  17. 27 Oct, 2020 1 commit
  18. 22 Oct, 2020 1 commit
  19. 21 Oct, 2020 1 commit
  20. 19 Oct, 2020 1 commit
  21. 16 Oct, 2020 1 commit
    • Explore: respect min_refresh_interval (#27988) · 1760fdd5
      * Explore: respect min_refresh_interval
      
      Fixes #27494
      
      * fixup! Explore: respect min_refresh_interval
      
      * fixup! Explore: respect min_refresh_interval
      
      * UI: export defaultIntervals from refresh picker
      
      * fixup! Explore: respect min_refresh_interval
      
      Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
      Elliot Pryde committed
  22. 14 Oct, 2020 2 commits
    • Chore: use new Input component in Share Modal (#28269) · cb72242d
      * Chore: Add dashboard-alt icon
      
      * Chore: use new Input component in Share Modal
      
      * Update packages/grafana-ui/src/types/icon.ts
      
      Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
      
      * Update public/app/features/dashboard/components/ShareModal/ShareLink.tsx
      
      Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
      
      * Update packages/grafana-ui/src/types/icon.ts
      
      Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
      
      Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
      Giordano Ricci committed
    • Dashboard: Allow shortlink generation (#27409) · 65940c77
      * intial frontend resolution/redirection logic
      
      * backend scaffolding
      
      * enough of the frontend to actually test end to end
      
      * bugfixes
      
      * add tests
      
      * cleanup
      
      * explore too hard for now
      
      * fix build
      
      * Docs: add docs
      
      * FE test
      
      * redirect directly from backend
      
      * validate incoming uids
      
      * add last_seen_at
      
      * format documentation
      
      * more documentation feedback
      
      * very shaky migration of get route to middleware
      
      * persist unix timestamps
      
      * add id, orgId to table
      
      * fixes for orgId scoping
      
      * whoops forgot the middleware
      
      * only redirect to absolute URLs under the AppUrl domain
      
      * move lookup route to /goto/:uid, stop manually setting 404 response code
      
      * renaming things according to PR feedback
      
      * tricky deletion
      
      * sneaky readd
      
      * fix test
      
      * more BE renaming
      
      * FE updates -- no more @ts-ignore hacking :) and accounting for subpath
      
      * Simplify code
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Short URLs: Drop usage of bus
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * ShortURLService: Make injectable
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Rename file
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add handling of url parsing and creating of full shortURL to backend
      
      * Update test, remove unused imports
      
      * Update pkg/api/short_urls.go
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add correct import
      
      * Pass context to short url service
      
      * Remove not needed error log
      
      * Rename dto and field to denote URL rather than path
      
      * Update api docs based on feedback/suggestion
      
      * Rename files to singular
      
      * Revert to send relative path to backend
      
      * Fixes after review
      
      * Return dto when creating short URL that includes the full url
      
      Use full url to provide shorten URL to the user
      
      * Fix after review
      
      * Fix relative url path when creating new short url
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      Co-authored-by: Ivana <ivana.huckova@gmail.com>
      Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
      Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
      Pete Davids committed
  23. 09 Oct, 2020 1 commit
  24. 06 Oct, 2020 1 commit
    • Transformations: Use Observable (#27584) · de1b2bdc
      * WIP: changes transformer API to Observable
      
      * Refactor: changes ResultProcessor
      
      * WIP: TransformationUI
      
      * wip
      
      * Refactor: Cleaning up code in CalculateFieldTransformerEditorProps
      
      * Refactor: pushing editor and input output down to TransformationEditor
      
      * Refactor: renaming props
      
      * Refactor: makes transformDataFrame more readable
      
      * Refactor: fixes editor issues
      
      * Refactor: changes after merge with master and first tests
      
      * Tests: completes the tests for the Explore changes
      
      * Tests: fixes all transform tests
      
      * Tests: fixed annotations test
      
      * Tests: fixed typechecks
      
      * Refactor: changes transform interface to MonoTypeOperatorFunction
      
      * Chore: cleans up typings
      
      * Update packages/grafana-data/src/transformations/transformDataFrame.ts
      
      Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
      
      * Tests: fixes broken tests
      
      Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
      Hugo Häggmark committed
  25. 01 Oct, 2020 2 commits