Carlos Mondragon
0937335f14
Add onClick handler to CTA.
2018-10-11 13:50:53 +02:00
Peter Holmberg
02e7d713a1
Added Loading state on org pages
2018-10-11 11:49:34 +02:00
Johannes Schill
9a8a476776
Updated test snapshot #13425
2018-10-10 15:02:13 +02:00
Johannes Schill
501d974eaa
Remove the fixed widths and make it possible to pass it in as a prop instead #13425
2018-10-10 14:15:28 +02:00
Johannes Schill
77d06a0924
User filtering now works properly at the backend #13425
2018-10-10 14:15:28 +02:00
Johannes Schill
779691a072
Removed old code #13425
2018-10-10 14:15:28 +02:00
Johannes Schill
ffae3e7a58
Rename css class "gf-form-select2" to "gf-form-select-box" #13425
2018-10-10 14:15:28 +02:00
Johannes Schill
9afcef985c
Use new class names #13425
2018-10-10 14:15:28 +02:00
Johannes Schill
e20fa1ba70
Fixes for the tag filtering in the search #13425
2018-10-10 14:15:28 +02:00
Johannes Schill
4d2be024f4
Start implementing the upgraded react-select in the tag filter box #13425
2018-10-10 14:15:28 +02:00
Johannes Schill
67d77e6061
Bump react-select to 2.1.0 #13425
2018-10-10 14:15:27 +02:00
Johannes Schill
5c842f3ed3
Add frontend filtering of users in user picker #13425
2018-10-10 14:15:26 +02:00
Johannes Schill
be7ed3ebca
Upgrade Datasources-picker on Explore page #13425
2018-10-10 14:15:26 +02:00
Johannes Schill
52b329562d
Enable trailing on the debounce in the TeamPicker (same as in UserPicker) #13425
2018-10-10 14:15:26 +02:00
Johannes Schill
a29d80df4e
Update typescript notifications #13425
2018-10-10 14:15:26 +02:00
Johannes Schill
2d65845bac
Update (js-) tests and snapshots for react-select 2 #13425
2018-10-10 14:15:25 +02:00
Johannes Schill
087ff2fa74
wip: Remove code for old react-select component #13425
2018-10-10 14:15:25 +02:00
Johannes Schill
d703b8062f
wip: The pickers are stateful nowadays, no need to pass in the current value #13425
2018-10-10 14:15:25 +02:00
Johannes Schill
d9434ba1b1
wip: Upgrade react-select #13425
2018-10-10 14:15:25 +02:00
Torkel Ödegaard
ee1d4ce0e2
fix tab switching
2018-10-10 09:26:17 +02:00
Torkel Ödegaard
d2bdf8cff1
wip: fixed issues now things are starting to work as before for angular panels
2018-10-09 17:07:13 +02:00
Peter Holmberg
78b56dd528
reverted AddPermissions
2018-10-09 14:50:46 +02:00
David Kaltschmidt
76a3b1a793
Explore: highlight typed text in suggestions
...
- use react-highlight-words
- add highlighting (color and border) to the matching substring of the
suggested items in the typeahead
- extracted match finding from logging datasource
- created new utils/text.ts class for text-related functions
- added more types
2018-10-09 12:33:25 +02:00
Peter Holmberg
ac6bee621c
modified AddPermissions component
2018-10-09 11:07:23 +02:00
David Kaltschmidt
5ec9adb7a7
Explore: compact state URLs
...
- allow positional state array in URL
- key-based parsing as fallback
- fix issue where split state was kept in URL after closing split
2018-10-05 17:09:40 +02:00
Torkel Ödegaard
848f19a4a1
ux: misc react migration fixes and info box style improvement
2018-10-05 08:43:56 +02:00
David Kaltschmidt
9914071cc0
Dont rebuild datasource options on each render
2018-10-04 15:28:32 +02:00
Torkel Ödegaard
0aa0ae0eb1
react-2-angular: added generic angular directive loader util that can be used from react
2018-10-04 13:02:29 +02:00
Torkel Ödegaard
dcb7f0d492
Merge branch 'master' into react-panels-ux-idea2
2018-10-04 09:08:19 +02:00
Peter Holmberg
45113e6c8b
updated after pr feedback
2018-10-03 10:54:15 +02:00
Torkel Ödegaard
afdec3d1b0
Revert "Revert "Org users to react""
2018-10-03 09:43:10 +02:00
Torkel Ödegaard
fe4f2f71c3
Revert "Org users to react"
2018-10-03 09:40:37 +02:00
Torkel Ödegaard
38637f056f
Merge pull request #13488 from grafana/org-users-to-react
...
Org users to react
2018-10-03 09:30:08 +02:00
Peter Holmberg
09b681326e
Merge branch 'master' into org-users-to-react
2018-10-02 11:18:01 +02:00
Peter Holmberg
cc1e22925f
snaps
2018-10-02 11:11:36 +02:00
Peter Holmberg
a188ceacbc
invitees
2018-10-02 11:04:55 +02:00
Peter Holmberg
3c8820ab55
invites table
2018-10-01 18:01:26 +02:00
Peter Holmberg
13666c8462
tests
2018-10-01 14:17:28 +02:00
Peter Holmberg
a43ede70bc
added default prop instead of specifying prop
2018-10-01 14:02:13 +02:00
David Kaltschmidt
68dfc5699b
Moved explore helpers to utils/explore
2018-10-01 12:56:26 +02:00
David Kaltschmidt
54c9beb146
Explore: jump to explore from panels with mixed datasources
...
- extends handlers for panel menu and keypress 'x'
- in a mixed-datasource panel finds first datasource that supports
explore and collects its targets
- passes those targets to the found datasource to be serialized for
explore state
- removed `supportMetrics` and `supportsExplore`
- use datasource metadata instead (set in plugin.json)
- Use angular timeout to wrap url change for explore jump
- Extract getExploreUrl into core/utils/explore
2018-10-01 12:03:57 +02:00
David
7b543ca4b5
Merge pull request #13463 from grafana/davkal/explore-url-state
...
Explore: Store UI state in URL
2018-10-01 10:09:15 +02:00
Peter Holmberg
8f99276606
first crude display
2018-09-28 17:21:00 +02:00
David Kaltschmidt
200784ea4a
Explore: Store UI state in URL
...
Storing queries, split state, and time range in URL.
- harmonize query serialization when generating Explore URLs in
dashboards (use of `renderUrl`)
- move URL parse/serialization to Wrapper
- keep UI states under two keys, one for left and one for right Explore
- add option to angular router to not reload page on search change
- add lots of types
- fix time service function that gets triggered by URL change
2018-09-28 16:44:07 +02:00
Peter Holmberg
21cfc11009
implemented general actionbar
2018-09-28 14:34:58 +02:00
Peter Holmberg
3081e0f84a
Merge branch 'master' into 13411-react-api-key
2018-09-28 13:10:55 +02:00
Torkel Ödegaard
5eede26a24
Merge pull request #13438 from grafana/plugin-list-to-react
...
Plugin list to react
2018-09-27 15:50:55 +02:00
Peter Holmberg
1e2c06083a
rewrote to use react.sfc
2018-09-27 12:15:41 +02:00
Johannes Schill
97d718f87a
Pick up the type from app/types
2018-09-27 11:53:18 +02:00
Johannes Schill
e8ba35ab2d
Move User type out of UserPicker and into app/types
2018-09-27 11:53:18 +02:00
Chris Hicks
499b71c8ff
Remove .dropdown-menu-open on body click fixes #13409
2018-09-25 16:12:11 +01:00
Peter Holmberg
0b7576a1f9
filter plugins and layout mode
2018-09-25 16:21:52 +02:00
Torkel Ödegaard
3fd3dbba8a
Merge pull request #13388 from jsferrei/fix-metric-segment-typeahead
...
Fix metric-segment options displaying after blur
2018-09-22 09:42:53 +02:00
Jon Ferreira
5fd24e2435
Fix https://github.com/grafana/grafana/issues/13387 metric segment
...
options displays after blur
2018-09-21 17:25:37 -04:00
Torkel Ödegaard
4022374181
Merge pull request #12128 from grafana/11056-folder-m
...
added span with folder title that is shown for recently and starred
2018-09-21 16:49:43 +02:00
Torkel Ödegaard
be3b684140
Merge branch 'master' into react-panels
2018-09-18 15:19:43 +02:00
Torkel Ödegaard
dd0b1d8410
Merge branch 'remove-mobx'
2018-09-15 15:04:03 +02:00
Torkel Ödegaard
693f2fd8e9
Merge pull request #13273 from grafana/permissions-to-redux
...
Permissions to redux
2018-09-15 15:02:13 +02:00
Torkel Ödegaard
66ae7ddc02
fix: increased team picker limit to 50, closes #13294
2018-09-15 04:59:45 -07:00
Torkel Ödegaard
e58c2ebc1c
tech: remove all mobx stuff
2018-09-14 09:43:34 +02:00
Torkel Ödegaard
331be7d47a
fix: add permission fixes
2018-09-14 08:25:35 +02:00
Torkel Ödegaard
7bb0109261
feat: dashboard permissions are working
2018-09-14 07:47:33 +02:00
Torkel Ödegaard
c7fdea1dfb
wip: dashboard permissions to redux
2018-09-13 16:00:02 +02:00
Torkel Ödegaard
d173ebe7e8
Merge branch 'master' into permissions-to-redux
2018-09-13 14:48:04 +02:00
Torkel Ödegaard
f2edb82e79
Folder pages to redux ( #13235 )
...
* creating types, actions, reducer
* load teams and store in redux
* delete team
* set search query action and tests
* Teampages page
* team members, bug in fetching team
* flattened team state, tests for TeamMembers
* test for team member selector
* wip: began folder to redux migration
* team settings
* actions for group sync
* wip: progress on redux folder store
* wip: folder to redux
* wip: folder settings page to redux progress
* mobx -> redux: major progress on folder migration
* redux: moved folders to it's own features folder
* fix: added loading nav states
* fix: gofmt issues
* wip: working on reducer test
* fix: added reducer test
2018-09-13 14:10:51 +02:00
Torkel Ödegaard
d35eca333f
folder permissions in redux
2018-09-13 13:56:09 +02:00
Torkel Ödegaard
f360b6186b
wip: first couple of things starting to work
2018-09-13 10:52:29 +02:00
Torkel Ödegaard
c7bb44b34a
fix: url update loop fix ( #13243 )
2018-09-12 13:13:47 +02:00
Torkel Ödegaard
0705bf570d
fix: added loading nav states
2018-09-12 09:47:23 +02:00
Torkel Ödegaard
7c27a87dcb
Merge branch 'master' into folder-to-redux
2018-09-12 08:28:37 +02:00
Torkel Ödegaard
19cbff658b
wip: folder settings page to redux progress
2018-09-11 17:36:23 +02:00
Peter Holmberg
0768a078ed
Upgrade react and enzyme ( #13224 )
...
* upgrade to latest react and fixed failing test
* upgrading libs
* grunt exec update due to change filename
* new yarn lock
* updated snaps
2018-09-11 16:31:34 +02:00
Patrick O'Carroll
953bdc4dc0
put folder name under dashboard name, tweaked aliginments in search results
2018-09-11 14:53:38 +02:00
Peter Holmberg
9f73f13091
Teams page replace mobx ( #13219 )
...
* creating types, actions, reducer
* load teams and store in redux
* delete team
* set search query action and tests
* Teampages page
* team members, bug in fetching team
* flattened team state, tests for TeamMembers
* test for team member selector
* team settings
* actions for group sync
* tests for team groups
* removed comment
* remove old stores
* fix: formating of datasource.go
* fix: minor changes to imports
* adding debounce and fixing issue in teamlist
* refactoring: moving types to their own files
2018-09-11 14:14:03 +02:00
Torkel Ödegaard
1ce9001141
upgrade of typescript and tslint and jest ( #13223 )
2018-09-11 13:48:13 +02:00
Patrick O'Carroll
1599806b75
Merge remote-tracking branch 'origin' into 11056-folder-m
2018-09-11 09:50:15 +02:00
Torkel Ödegaard
c82bf7f67f
fix: changing edit / view fullscreen modes now work
2018-09-10 17:55:06 +02:00
Torkel Ödegaard
100ab0ba23
Merge branch 'master' into react-panels
2018-09-10 15:42:36 +02:00
Torkel Ödegaard
a440d3510a
renaming things in admin
2018-09-07 17:55:38 +02:00
Alexander Zobnin
e4a488baf1
graph legend: use refactored version of scrollbar, #13175
2018-09-07 16:12:28 +03:00
Alexander Zobnin
29899003ff
Merge remote-tracking branch 'upstream/master' into graph-legend-to-react
2018-09-07 16:07:42 +03:00
Torkel Ödegaard
4391209f7b
Merge branch 'master' into redux-poc2
2018-09-07 14:49:05 +02:00
Torkel Ödegaard
35ef51dca9
refactoring: custom scrollbars PR updated, #13175
2018-09-07 14:24:33 +02:00
Alexander Zobnin
349b2787cb
scrollbar: use enzyme for tests instead of react-test-renderer
2018-09-07 14:31:56 +03:00
Alexander Zobnin
8fca79e87e
scrollbar refactor: replace HOC by component with children
2018-09-06 22:53:40 +03:00
Alexander Zobnin
e67b8a3e1a
scrollbar refactor: replace HOC by component with children
2018-09-06 22:52:14 +03:00
Alexander Zobnin
a186bc01e0
tests for withScrollBar() wrapper
2018-09-06 15:37:31 +03:00
Alexander Zobnin
28cc605e32
tests for withScrollBar() wrapper
2018-09-06 15:36:22 +03:00
Alexander Zobnin
cf832e7db4
wrapper for react-custom-scrollbars component
2018-09-06 15:09:18 +03:00
Alexander Zobnin
b2ba9c5166
wrapper for react-custom-scrollbars component
2018-09-06 15:03:24 +03:00
Carl Bergquist
3c0b1ef581
Merge pull request #13170 from bergquist/alerting_default_setting
...
make default values for alerting configurable
2018-09-06 13:26:42 +02:00
bergquist
3ce89cad71
make default values for alerting configurable
2018-09-06 11:26:14 +02:00
Patrick O'Carroll
2b74b1c4d6
added radix rule and changed files to follow rule ( #13153 )
2018-09-05 16:51:31 +02:00
Patrick O'Carroll
25f13bd3ad
added only-arrow-functions rule and changed files to follow new rule ( #13154 )
2018-09-05 15:28:30 +02:00
Torkel Ödegaard
0aea60bf17
Merge branch 'master' into redux-poc2
2018-09-05 12:11:11 +02:00
Torkel Ödegaard
c9ae585d2a
Merge branch '12918-no-conditional-assignment'
2018-09-05 12:09:32 +02:00
Torkel Ödegaard
dc236b5063
refatoring: minor changes to PR #13149
2018-09-05 12:09:16 +02:00
Torkel Ödegaard
00c0b71f3d
Merge branch '12918-only-arrow-functions4'
2018-09-05 11:46:54 +02:00
Torkel Ödegaard
432e203df1
Merge branch '12918-only-arrow-functions3'
2018-09-05 11:26:30 +02:00
Patrick O'Carroll
777010b20b
added no-conditional-assignment rule and changed files to follow new rule
2018-09-05 10:53:58 +02:00
Patrick O'Carroll
72ab24f300
Changed functions to arrow functions for only-arrow-functions rule. ( #13131 )
2018-09-05 07:47:30 +02:00
Torkel Ödegaard
d8b3fa01d0
mobx: removed unused SearchStore
2018-09-04 22:38:18 -07:00
Peter Holmberg
cab6861d27
Reactify sidebar ( #13091 )
...
* created react component and moved markdown
* extracting components
* Broke out parts into components
* tests
* Flattened file structure
* Tests
* made instances typed in test
* typing
* function instead of variable
* updated user model with missing properties
* added full set of properties to user mock
* redone from variable to function
* refactor: minor refactorings of #13091
* removed logging
2018-09-04 17:24:08 +02:00
Patrick O'Carroll
dc4f547a40
Changed functions to arrow functions for only-arrow-functions rule.
2018-09-04 17:02:32 +02:00
Patrick O'Carroll
19b7ad61dd
Changed functions to arrow functions for only-arrow-functions rule.
2018-09-04 14:27:03 +02:00
Marcus Efraimsson
7e527de5f1
Merge pull request #11081 from svenklemm/postgres-query-builder
...
postgres: graphical query builder
2018-09-04 12:24:10 +02:00
Carl Bergquist
2f6af7b811
Merge pull request #13125 from overcookedpanda/master
...
added Bitcoin as a currency option
2018-09-04 11:07:49 +02:00
Patrick O'Carroll
eca7b76290
fixed title prefix, fixes #13123 ( #13128 )
2018-09-04 10:33:18 +02:00
Overcooked Panda
4ab3826a08
added Bitcoin as a currency option
2018-09-03 22:02:58 -05:00
Sven Klemm
de917dfc4d
Merge branch 'master' into postgres-query-builder
2018-09-03 13:43:58 +02:00
Patrick O'Carroll
b8d82df97e
added no-angle-bracket-type-assertion rule and updatet files to follow rule ( #13115 )
2018-09-03 11:30:44 +02:00
Patrick O'Carroll
7837ee4466
Updated rules for variable name ( #13106 )
...
* updated rules for variable name and fixed files that didn't follow new rules
* fixed test so it uses new rule
* made exceptions to rule in interval_variable
2018-09-03 11:00:46 +02:00
Torkel Ödegaard
2a64d19f5b
wip: load alert rules via redux
2018-09-02 11:36:03 -07:00
Torkel Ödegaard
7b06800295
refactor: changed nav store to use nav index and selector instead of initNav action
2018-09-02 10:36:36 -07:00
Torkel Ödegaard
2ac202b22f
moving things around
2018-09-02 07:11:21 -07:00
Torkel Ödegaard
de456f8b73
wip: solid progress on redux -> angular location bridge update
2018-08-31 13:16:20 -07:00
Sven Klemm
265d5daf57
Merge branch 'master' into postgres-query-builder
2018-08-31 19:02:46 +02:00
Patrick O'Carroll
abbb6f933c
added jsdoc-format rule and fixed files that didn't follow new rule ( #13107 )
2018-08-31 16:40:43 +02:00
Patrick O'Carroll
944c1da27b
set member-access and no-var-keyword to true, removed public in two files ( #13104 )
2018-08-31 16:40:23 +02:00
Torkel Ödegaard
eef41cbccd
Merge branch 'grafana-loading-page'
2018-08-31 07:38:42 -07:00
Alexander Zobnin
0e10fdb415
graph: legend as React component
2018-08-31 16:32:05 +03:00
Torkel Ödegaard
cf58eea1db
redux: wip progress for using redux
2018-08-31 13:24:36 +02:00
Patrick O'Carroll
c9995d39d7
fixed so preloader is removed when app is loaded
2018-08-31 09:57:27 +02:00
Torkel Ödegaard
ad9f38ae4d
Merge branch 'master' into redux-poc2
2018-08-30 13:04:29 -07:00
Torkel Ödegaard
154fbe2413
New TV Mode, dashboard toolbar update (layout change & new cycle view mode button) ( #13025 )
...
* wip: design update for navbar with kiosk mode button
* feat: progress on new view mode button
* css: view state refactorings
* feat: kiosk modes & playlist support
* feature: cycle tv mode feature, renamed view modes to TV, and Kiosk
* fix: updated the alert notification message
* fix: removed unused parameter
* fix: correct the css class set for tv mode
* some minor improvements to playlist
2018-08-30 11:52:31 +02:00
Torkel Ödegaard
36bc8b77fb
Merge branch 'tsconfig-no-implicit-this'
2018-08-30 11:46:13 +02:00
Patrick O'Carroll
a8547ae36e
added this:any to functions and changed functions to arrowfunctions
2018-08-30 10:49:18 +02:00
Patrick O'Carroll
552a61b6ae
changed var to let in 50 files ( #13075 )
2018-08-30 09:03:11 +02:00
Patrick O'Carroll
b494a29e02
changed var to let in last files ( #13087 )
2018-08-30 08:58:43 +02:00
Torkel Ödegaard
c960af098a
tslint: added 1 more rule, #12918
2018-08-30 07:47:46 +02:00
Torkel Ödegaard
0bb249096f
tslint: added 2 more rules and removed unused component, #12918
2018-08-30 07:40:13 +02:00
Sven Klemm
70daa56a31
Merge branch 'master' into postgres-query-builder
2018-08-29 14:44:23 +02:00
Patrick O'Carroll
a702603e7b
changed var to const 2 ( #13068 )
...
* changed var to const
* fixed typo created in last commit
* added or empty object to options in prometheus/datasource
2018-08-29 14:27:29 +02:00
Patrick O'Carroll
5e0d0c5816
changed var to const ( #13061 )
2018-08-29 14:26:50 +02:00
Marcus Efraimsson
e204124791
Merge pull request #12939 from grafana/12865-login-loading-animation
...
animation during slow login
2018-08-27 15:17:19 +02:00
Patrick O'Carroll
1a2ab532d1
fixed so validation of empty fields works again
2018-08-27 14:16:34 +02:00
Sven Klemm
7177f19436
Merge branch 'master' into postgres-query-builder
2018-08-27 11:23:55 +02:00
Torkel Ödegaard
e1beaaa0f7
tslint: tslint to const fixes part3 ( #13036 )
2018-08-26 21:52:57 +02:00
Torkel Ödegaard
35c00891e7
tslint: more const fixes ( #13035 )
2018-08-26 20:19:23 +02:00
Torkel Ödegaard
9b978b7203
tslint: autofix of let -> const ( #13033 )
2018-08-26 17:14:40 +02:00
Torkel Ödegaard
fd81f89509
wip: angular panels now have similar edit mode and panel type selection enabling quick changing between panel react and angular panel types
2018-08-25 12:22:50 -07:00
Torkel Ödegaard
4424bdd1b1
fix: going from fullscreen fix
2018-08-25 07:37:37 -07:00
Torkel Ödegaard
91b343403c
wip: minor fixes
2018-08-25 07:21:00 -07:00
Torkel Ödegaard
1c97816275
wip: trying to align react & angular edit modes
2018-08-24 18:46:17 +02:00
Torkel Ödegaard
0b794ff685
Merge branch 'master' into react-panels
2018-08-24 17:29:10 +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
Patrick O'Carroll
050902a1e7
fixed so animation starts as soon as one pushes the button and animation stops if login failed
2018-08-23 15:31:25 +02:00
Sven Klemm
1b5486ae7f
Merge branch 'master' into postgres-query-builder
2018-08-21 21:58:04 +02:00
Marcus Efraimsson
d6ad1ced6d
when value in variable changes, identify which variable(s) to update
...
Given you have variables a, b, c, d where b depends on a, c depends on b, c, d depends on a.
When updating a only an update of b and d should be triggered since c depends on b
and c will be updated eventually when the update of b are finished.
2018-08-17 12:20:21 +02:00
Sven Klemm
e84a1cbcc5
persist datatype information
2018-08-16 12:50:32 +02:00