Peter Holmberg
cd07c3e652
Fix: Disable draggable panels on small devices ( #20629 )
...
* fix for draggable on mobile
* elaborate in code comment
2019-11-26 12:58:20 +01:00
Dominik Prokop
9b7748ec13
Chore: Reorg packages ( #20111 )
...
Primarily- moving majority of the types and utils from @grafana/ui to @grafana/data
* Move types from grafana-ui to grafana-data
* Move valueFormats to grafana-data
* Move utils from grafana-ui to grafana-data
* Update imports in grafana-ui
* revert data's tsconfig change
* Update imports in grafana-runtime
* Fix import paths in grafana-ui
* Move rxjs to devDeps
* Core import updates batch 1
* Import updates batch 2
* Imports fix batch 3
* Imports fixes batch i don't know
* Fix imorts in grafana-toolkit
* Fix imports after master merge
2019-10-31 10:48:05 +01:00
kay delaney
99411bf37a
Types: Adds type safety to appEvents ( #19418 )
...
* Types: Add type safety to appEvents
2019-10-14 09:27:47 +01:00
Dominik Prokop
faabb839e6
Chore: Revert React 16.9.0 bump ( #18634 )
...
Since React and other dependencies bump caused some troubles with building packages that @kaydelaney and me tried to debug without any success, we decided to revert React 16.9.0 bump.
2019-08-20 11:14:53 +02:00
kay delaney
7f8f3fa458
Chore: Updates react-dependant packages to address react warnings ( #18549 )
...
Updates packages that depend on react in order to address warnings produced
by react regarding the use of `componentWillReceiveProps`
2019-08-14 14:20:35 +01:00
Tobias Skarhed
7891233812
Chore: noImplicitAny Sub 500 errors ( #18287 )
2019-07-30 15:49:32 +02:00
Ryan McKinley
70d4dfe9f7
Dashboard: Force update after dashboard resize ( #17808 )
2019-06-28 14:25:38 +02:00
Torkel Ödegaard
74a31bd9b4
Dashboard: Fixes lazy loading & expanding collapsed rows on mobile ( #17055 )
...
* Dashboard: Fixes lazy loading & expanding collapsing rows on mobile
Fixes #16978
* Updated dashboard tags
2019-05-14 14:41:24 +02:00
Ryan McKinley
bb64a0673d
PanelModel: expose isInView property to PanelModel ( #16877 )
2019-05-03 12:55:22 -07:00
Ryan McKinley
c3a5204933
Dashboard: Lazy load out of view panels ( #15554 )
...
* try this again
* use element rather than grid position
* adding back console output to debug gridPos alternative
* less logging
* simplify
* subscribe/unsubscribe to event streams when view changes
* Panels: Minor change to lazy loading
2019-05-03 15:35:37 +02:00
Torkel Ödegaard
cfea8bdcae
Prettier had not been running as a precommit hook for some time so had to run in on all files again
2019-02-13 11:14:53 +01:00
Torkel Ödegaard
cba2ca5531
Url state -> dashboard model state sync starting to work
2019-02-03 12:29:47 +01:00
Torkel Ödegaard
aafd4a339a
Moved dashboard state components to state folder
2019-01-31 08:56:17 +01:00
Johannes Schill
1230f3e48d
chore: Fix typings and remove bindings for arrow functions in DashboardGrid
2019-01-30 15:28:41 +01:00
Torkel Ödegaard
248015c937
code cleanup in add panel, and switched off grid css transforms to fix z-index issuse
2018-12-14 20:53:42 +01:00
Torkel Ödegaard
39a1b11cb3
minor fixes
2018-11-23 15:01:36 +01:00
Torkel Ödegaard
5ea34844ba
fixes to view mode for panels, can now go back as before
2018-11-20 16:00:19 +01:00
Torkel Ödegaard
90c41bb087
changed how size is calcualted and propagated and added proper interval calc to DataPanel
2018-11-14 12:03:25 +01:00
Torkel Ödegaard
f74f7b017f
Minor progress on edit mode
2018-11-10 07:34:09 -08:00
Torkel Ödegaard
93b4cb562d
Fixed issues introduced by changing to PureComponent
2018-11-07 16:03:33 +01:00
Torkel Ödegaard
c5f9d8092f
Reduce re-renderings when changing view modes
2018-10-27 16:54:04 +02:00
Torkel Ödegaard
11f66bb909
fixed issue with template refresh
2018-10-19 09:43:54 +02:00
Torkel Ödegaard
100ab0ba23
Merge branch 'master' into react-panels
2018-09-10 15:42:36 +02:00
Carl Bergquist
7e0637aa9d
Merge pull request #12260 from strohi/panelids-for-htmlbookmark
...
added id tag to Panels for html bookmarking on longer Dashboards
2018-09-10 13:01:35 +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
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
761283231c
react panels: working on changing type
2018-07-09 18:17:51 +02:00
Torkel Ödegaard
dec62d7340
another baby step
2018-07-06 04:42:59 -07:00
Torkel Ödegaard
230606146d
wip: react panel minor progrss
2018-06-19 21:25:57 +02:00
Torkel Ödegaard
db52ea66bd
react panels minor progress
2018-06-19 16:57:55 +02:00
Torkel Ödegaard
aa5c9f199a
react panel minor progress
2018-06-19 14:51:57 +02:00
Torkel Ödegaard
35403c1875
wip: react panel makeover mini progress
2018-06-19 08:42:41 +02:00
André Niemann
757e2b0b7e
added comment to reason the id tag
2018-06-18 10:59:44 +02:00
André Niemann
23c97d080f
added id tag to Panels for html bookmarking on longer Dashboards
2018-06-13 10:07:47 +02:00
Torkel Ödegaard
ddd5e5ae70
tech: updated react-grid-layout to latest official release, closes #12100
2018-05-29 13:23:07 +02:00
Torkel Ödegaard
dff2c14aed
fix: changed react-grid-layout to use grafana fork to a commit before 15503084fb
, this fixes all the panel movement bugs, fixes #10831
2018-02-27 11:34:29 +01:00
Torkel Ödegaard
456b4d2a66
poc: began react panel experiments, step2
2018-01-03 13:33:54 +01:00
Torkel Ödegaard
71658d1e76
grid: disable resize and drag on non editable dashboards, closes #10235
2017-12-15 16:23:26 +01:00
Alexander Zobnin
a48ba7b19e
Dashboard grid fixes ( #10194 )
...
* grid: fix layout saving after panel move, #10185
* don't allow to drag fullscreen panels, #10171
2017-12-13 17:53:57 +01:00
Torkel Ödegaard
79d9b64f82
fix: fixed issue with optimized build grid directive missing ngInject comment, fixes #10161
2017-12-12 11:00:16 +01:00
Torkel Ödegaard
2bc23d2063
tech: updated ngreact and with custom PR applied
2017-12-08 12:26:19 +01:00
Torkel Ödegaard
e03abde778
refactoring: #10130
2017-12-08 12:17:09 +01:00
Torkel Ödegaard
974d4d9739
Revert "Don't animate panels on initial render ( #10130 )"
...
This reverts commit e0c173c5af
.
2017-12-08 11:53:51 +01:00
Alexander Zobnin
e0c173c5af
Don't animate panels on initial render ( #10130 )
...
* grid: dont animate panels on initial render
* grid: dont animate panels on initial render
2017-12-08 11:49:14 +01:00
Alexander Zobnin
3de17ecda7
dashboard grid: enable CSS transforms ( #10125 )
2017-12-08 08:21:00 +01:00
Torkel Ödegaard
15024e96e4
ux: row collapse / expand starting to work
2017-10-24 12:33:14 +02:00
Torkel Ödegaard
bc8c2409c0
ux: work on rows
2017-10-17 14:53:52 +02:00
Torkel Ödegaard
cd10be0f52
newgrid: row progress
2017-10-16 16:09:23 +02:00