Tobias Skarhed
4c41d7e7fb
Template vars: Add error message for failed query var ( #21731 )
2020-01-24 15:55:36 +01:00
Tobias Skarhed and Dominik Prokop
6ff315a299
Emotion: Add main package with version 10 ( #21560 )
...
* Update version and snapshots
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2020-01-21 07:40:05 +01:00
Tobias Skarhed
fef31acbf2
ButtonCascader: Fix error in Explore ( #21585 )
...
* Add children and remove nullified icon
* Revert data format with children
* Update test
* Revert styles
* Update types
2020-01-17 18:07:40 +01:00
Tobias Skarhed
aa0982da56
Add component: Cascader ( #21410 )
...
* Rename old cascader
* Change name of old cascader
* Add basic cascader without search
* Add basic cascader without search
* Flatten options to make it searchable
* Add regex search and make backspace work
* Add barebone search without styles
* Add SearchResult list
* Add search navigation
* Rewrite of cascader and add some things to SelectBase
* Make SelectBase controlllable
* Cleanup
* Add initial value functionality
* Add onblur to hand caret direction
* New storyboom format for ButtonCascader
* Add knobs to story
* Add story and docs for UnitPicker
* Make UnitPicker use Cascader
* Fix backspace issue and empty value
* Fix backspace issue for real
* Remove unused code
* Fix focus issue
* Change children to items and remove ButtonCascaderProps
* Remove local CascaderOption
* Fix failed test
* Revert UnitPicker changes and change format for ButtonCascader
* Fix failing tests
2020-01-17 11:30:33 +01:00
Tobias Skarhed
ec492e55dc
Refactor: EmptyListCTA ( #18516 )
...
* Rewrite EmptyListCTA props and start removing css classes
* Add watchDepth onClick
* EmptyListCTA with React in annotaitons/editor
* Begin conversion of DashLinks editor EmptyListCTA
* Use React component in DashLinks, Variables and TeamGroupSync
* Remove scss file and add emotion styles
* Update snapshot
* Remove style import
* Fix feedback
* Update snapshot
2019-08-20 17:19:21 +02:00
Tobias Skarhed
90df8c4bb0
Chore: Rename Popper to Popover ( #18543 )
...
* Rename PopperContent to TooltipContent
* Move exports from PopperController
* Change ToolipContent to PopoverContent and PopoverController
* Rename Popper to Popover
* Add forgotten files
* Update snapshot
* Remove generic
2019-08-19 11:40:47 +02:00
Tobias Skarhed
3392471bb2
Login: Fixes undefined redirect ( #18545 )
2019-08-14 12:41:09 +01:00
Tobias Skarhed
91a911b64e
Login: Angular to React ( #18116 )
...
* Migrating login services
* Add user signup
* Remove lodash
* Remove media query and extarct LoginServices
* Add React LoginCtrl
* Handle location with Redux and start form validation
* Fix proposal
* Add basic validation
* Fix validation
* Remove state from controller
* Extract login forms
* Fix things up
* Add change password and LoginPage
* Add React page and route to it
* Make redux connection work
* Add validation for password change
* Change pws request
* Fix feedback
* Fix feedback
* LoginPage to FC
* Move onSkip to a method
* Experimenting with animations
* Make animations work
* Add input focus
* Fix focus problem and clean animation
* Working change password request
* Add routing with window.location instead of Redux
* Fix a bit of feedback
* Move config to LoginCtrl
* Make buttons same size
* Change way of validating
* Update changePassword and remove angular controller
* Remove some console.logs
* Split onChange
* Remove className
* Fix animation, onChange and remove config.loginError code
* Add loginError appEvent
* Make flex and add previosuly removed media query
2019-08-13 15:46:40 +02:00
Tobias Skarhed
93ecf63e70
InfoTooltip: Info icon with tooltip ( #18478 )
2019-08-13 13:41:49 +02:00
Tobias Skarhed and Dominik Prokop
1db9fff056
strictNullChecks: First batch ( #18390 )
...
* First batch of strictNullChecks
* Remove undefined
* Check an alternative solution
* Fix strict nullChecks
* Low hanging strictNullChecks
* Fixing strict nulls issues and more
* Minor change
* fixed unit test
* Fix feedback
* Update public/vendor/ansicolor/ansicolor.ts
Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com >
* Update public/vendor/ansicolor/ansicolor.ts
Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com >
* Update public/vendor/ansicolor/ansicolor.ts
Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com >
* Fix build errors
2019-08-12 16:11:06 +02:00
Tobias Skarhed
d54851f8e2
Chore: strictNullChecks, ColoringEditor and time_region_manager ( #18442 )
...
* Make swicth booleans non-optional
2019-08-09 10:41:00 +02:00
Tobias Skarhed
151b40ee2f
Markdown: Handle undefined/null strings ( #18433 )
2019-08-07 13:25:09 +02:00
Tobias Skarhed
1f9bce7f9f
PanelLinks: Fix render issue when there is no panel description ( #18408 )
...
Make empty string if there is no panel description
2019-08-06 14:30:09 +02:00
Tobias Skarhed
760aec7d3b
e2e tests: Make pageObjects mandatory ( #18406 )
...
- Lower strictNullChecks: true errors
2019-08-06 14:29:26 +02:00
Tobias Skarhed
b62ab25c41
SignIn: Update redirect on reroute ( #18360 )
...
* Connect SignIn with redux and get url
* Update test snapshot
2019-08-03 16:21:17 +02:00
Tobias Skarhed
85da4a169d
Keybindings: Disable on login url ( #18331 )
2019-08-02 08:15:36 +02:00
Tobias Skarhed
83da3660da
Chore: noImplictAny no errors left ( #18303 )
...
* Add types and rewrite datasourceChanged to async/await
2019-08-01 14:38:34 +02:00
Tobias Skarhed
21f702f7c9
TablePanel: Remove scroll option on TablePanel ( #18318 )
2019-07-31 18:56:06 +02:00
Tobias Skarhed
7891233812
Chore: noImplicitAny Sub 500 errors ( #18287 )
2019-07-30 15:49:32 +02:00
Tobias Skarhed
c8498461a5
noImplicitAny: Down approx 200 errors ( #18143 )
...
* noImplicitAny playlist approx 200
* Add AngularPanelMenuItem interface
* Roughly 100 noImplicitAny
2019-07-18 08:03:04 +02:00
Tobias Skarhed
0ef4060b98
Chore: Fix about 200 noImplicitAny errors ( #18067 )
...
* Fix 200 ish errors
* Add interface
2019-07-16 11:35:42 +02:00
Tobias Skarhed
e1cec1069c
noImplicitAny: 1670 errors ( #18035 )
...
* Sub 2000 errors
* Down to 1670 errors
* Minor fixes
2019-07-11 17:05:45 +02:00
Tobias Skarhed
ffa9429c68
Fix unused variable errors ( #18030 )
2019-07-10 13:46:33 +02:00
Tobias Skarhed
d6e8129588
Packages: create shared tsconfig.json ( #18010 )
2019-07-10 12:50:52 +02:00
Tobias Skarhed
9e87dbb153
CSV Export: Timezone based on dashboard setting ( #18002 )
...
* Timezone export CSV based on dashboard setting
* Add options object and interface
2019-07-09 16:16:46 +02:00
Tobias Skarhed
baed5d7bd9
noImplicitAny: Azure Monitor ( #17966 )
2019-07-06 07:01:22 +02:00
Tobias Skarhed
88a2c6fce7
Graphite: Refactor lexer and parser ( #17958 )
2019-07-05 16:47:21 +02:00
Tobias Skarhed
9b468caea4
noImplicitAny: Datasource files, under 2500 ( #17959 )
...
* noImplicitAny on Graphite
* More noImplicitAny
2019-07-05 16:46:46 +02:00
Tobias Skarhed
17b5f48cf6
Datasource: Refactor Graphite to class ( #17942 )
...
* Rewrite Graphite Datasources to class
* Graphite: removed unused prop
2019-07-05 13:26:14 +02:00
Tobias Skarhed
418dba4b21
noImplicitAnys: Fix InfluxDB type issues #17937 )
2019-07-05 07:52:23 +02:00
Tobias Skarhed
55b63905ea
UserProfilePage: Fix team avatar urls #17866 ( #17930 )
2019-07-04 16:54:44 +02:00
Tobias Skarhed
498572d2d8
Docs: How to work with themes ( #17876 )
...
* Add docs for themes
* Edit description a little bit
* Update themes.md
2019-07-03 09:50:42 +02:00
Tobias Skarhed
3aed4d3613
StatsPicker: Fix multiple value input layout etc. ( #17827 )
...
* Add padding and centering
* Vertically center input
* Add noOptions styles
* Move reove button to same line
* StatsPicker: style tweak
2019-07-02 16:42:08 +02:00
Tobias Skarhed
4e27ba9646
noImplicitAny: Sub 3000 errors ( #17821 )
...
* noImplicitAny Stackdriver
* Sub 3000 noImplicitAny
* Update error count limit
* Add DataQueryRequest type
2019-07-01 11:11:57 +02:00
Tobias Skarhed
0b9de3f761
noImplicitAny: Lower count to about 3450 ( #17799 )
2019-06-27 15:56:02 +02:00
Tobias Skarhed
3045daedbd
noImplicitAny: Reduce errors to 3800-ish ( #17781 )
...
* Reduce noImplicitAny errors to 3900-ish
* Fix lots of errors
* Add interface
2019-06-27 13:21:04 +02:00
Tobias Skarhed
8541214c9e
Markdown: Replace rendering library ( #17686 )
...
* Replace remarkable with marked
* Add wrapper and options for marked
2019-06-26 13:15:45 +02:00
Tobias Skarhed
654f1f2eb6
Docs: Update release guide ( #17759 )
...
and add comment about Rollup namedExports
2019-06-26 07:35:58 +02:00
Tobias Skarhed
6be1606bd8
@grafana/ui: release ( #17754 )
...
* Specifying named exports for slate
* Make sure tests are performed at the beginning
* Version bump
2019-06-25 14:13:39 +02:00
Tobias Skarhed
0904607eda
Password: Remove PasswordStrength ( #17750 )
...
* Closes #17748
* Remove remaining occurences
* And the last one
2019-06-25 13:56:35 +02:00
Tobias Skarhed
1b17b7893f
noImplicitAny: time region manager etc. ( #17729 )
...
* Fix errors
* Wrong branch
* minor type fix
2019-06-25 09:49:31 +02:00
Tobias Skarhed
75c29566a6
Panel: Fully escape html in drilldown links (was only sanitized before) ( #17731 )
...
* Sanitize HTML
* Replace sanitization lib and check for config
* Add htmlToText
* Refactor: Renaming htmlToText to escapeHtml
2019-06-25 09:06:28 +02:00
Tobias Skarhed
219d711597
noImplicitAny: slate ( #17681 )
...
* Update slate types
* Fix noImplicitAny
2019-06-20 20:41:01 +02:00
Tobias Skarhed
c9ad411d8e
noImplicitAny: Fix basic errors ( #17668 )
...
* Fix basic noImplicitAny errors
* noImplicitAny HeatmapCtrl
* Update error limit
2019-06-19 19:59:03 +02:00
Tobias Skarhed
17826796da
Chore: Fix noImplicitAny issues ( #17636 )
...
* noImplicitAny: TableRenderer
* noImplicitAny and add types
* HeatmapData interface
* Heatmap rendering
* Fix optional type
* Remove use of lodash
2019-06-19 13:40:42 +02:00
Tobias Skarhed
7eb820081d
AddPanel: Fix issue when removing moved add panel widget ( #17659 )
...
* Fixes #17592
* Remove console.log
2019-06-19 13:12:04 +02:00
Tobias Skarhed
8b8f2c4540
noImplicitAny: SingleStat panel ( #17616 )
...
* noImplicitAny on Singlestat
* Lower threshold
* Fix fixes
2019-06-18 11:44:17 +02:00
Tobias Skarhed
6de75de755
Refactor buttons ( #17611 )
2019-06-17 16:15:49 +02:00
Tobias Skarhed
8ffef57178
Typescript: A batch of implicit any fixes ( #17590 )
...
* Reduce noImplicitAny errors
* Lower err count
* Static version
* Fix noImplicitAny
* Table: moved type file
2019-06-15 08:25:33 +02:00
Tobias Skarhed
2f00087a08
RefreshPicker: Handle empty intervals ( #17585 )
...
* Refresh picker empty
* RefreshPicker: refactoring
2019-06-15 08:24:52 +02:00
Tobias Skarhed and Hugo Häggmark
375dc333f2
Typescript: Reduce implicit any errors ( #17550 )
...
* Fix types on linkSrv
* Lower err count, shoot down some errs, add type pkg
* Fix changes and add test
* Update public/app/features/panel/panel_ctrl.ts
Co-Authored-By: Hugo Häggmark <hugo.haggmark@gmail.com >
* Update public/app/features/panel/panel_ctrl.ts
Co-Authored-By: Hugo Häggmark <hugo.haggmark@gmail.com >
* Update public/app/features/panel/panellinks/link_srv.ts
Co-Authored-By: Hugo Häggmark <hugo.haggmark@gmail.com >
* Update public/app/features/panel/panel_ctrl.ts
Co-Authored-By: Hugo Häggmark <hugo.haggmark@gmail.com >
* Fix last types to compile
* Fix formatting issue
* Update public/app/features/panel/panel_ctrl.ts
Co-Authored-By: Hugo Häggmark <hugo.haggmark@gmail.com >
2019-06-13 20:04:15 +02:00
Tobias Skarhed
8a99fa269d
WIP Update tslint ( #12922 )
...
* Interface linting rule
* fix: changed model names in store files so that the interface names do not conflict with the model names
2018-08-24 16:48:47 +02:00
Tobias Skarhed
739bee0207
Karma to Jest: graph (refactor) ( #12860 )
...
* Begin conversion
* Test setup started
* Begin rewrite of graph
* Rewrite as class
* Some tests passing
* Fix binding errors
* Half tests passing
* Call buildFlotPairs. More tests passing
* All tests passing
* Remove test test
* Remove Karma test
* Make methods out of event functions
* Rename GraphElement
2018-08-13 16:08:01 +02:00
Tobias Skarhed
7ae844518c
Remove unused SASS variables ( #12603 )
...
* Comment out unused vars
* Remove unused sass vars
2018-07-13 12:10:09 -07:00
Tobias Skarhed
cfa555b569
Add folder name to dashboard title ( #12545 )
...
* Add folder name to dashboard title. No display on medium displays and below
* Compare folderId instead
* folderId bigger than 0
2018-07-11 03:31:07 -07:00
Tobias Skarhed
2941dff428
Karma to Jest: datasource_srv ( #12456 )
...
* Karma to Jest: datasource_srv
* Sort function differs between Karma and Jest
* Fix error based on .sort() implementation
* Remove Karma test
* alerting: only log when screenshot been uploaded
* Remove comments
* Karma to Jest: datasource_srv
* Sort function differs between Karma and Jest
* Fix error based on .sort() implementation
* Remove Karma test
* Remove comments
* Remove console.log
* Remove console.log
* Change sorting and add test for default data source
2018-07-02 04:18:23 -07:00
Tobias Skarhed
af0a4a6039
Karma to Jest: 3 test files ( #12414 )
...
* Karma to Jest: viewstate_srv
* Karma to Jest: annotations_srv
* Remove comments
* Karma to Jest: series_override_ctrl
* Remove unnecessary code
* Class to function and fix lint error
* Fix ngInject
2018-06-28 04:43:23 -07:00
Tobias Skarhed
443ff5deb4
Karma to Jest: value_select_dropdown ( #12435 )
...
* Begin Karma 2 Jest: value_select_dropdown
* Add return for Promise
* Remove Karma test
2018-06-28 03:10:36 -07:00
Tobias Skarhed
c2381f088f
Add disabled styles for checked checkbox ( #12422 )
2018-06-28 03:02:49 -07:00
Tobias Skarhed
3a9a36d6cf
Karma to Jest: history_srv ( #12341 )
...
* Karma to Jest: history_srv
* Fix TS errors
* Remove q, as it is not needed
2018-06-19 08:05:49 -07:00
Tobias Skarhed
8666c77cc9
Karma to Jest: time_srv ( #12303 )
...
* Begin Karma to Jest: time_srv
* Remove experimental fix
* location search stubs for each test
* Fix issue where time service was not available for other tests
2018-06-18 09:47:23 -07:00
Tobias Skarhed
5bf72fc9f4
Karma to Jest: team_details_ctrl ( #12321 )
2018-06-18 07:54:56 -07:00