dec5a0b35c
perf(item): reorder is only added to the DOM if needed
...
I have measured the performance impact of this change, since we use the push change detector strategy, the *ngIf is only evaluated once.
Items wrapped around an element with the ListReorder directive will receive a hidden `<ion-reorder>` in their DOM, but items that are not wrapped (i.e. they CAN NOT be reordered) will not even have the `<ion-reorder>` element in their DOM.
fixes #9065
2016-11-08 13:22:12 +01:00
ac157c0474
docs(viewController): update viewController
2016-11-07 15:44:45 -05:00
be72d39bd9
perf(nav): avoid running zone when it is not needed
2016-11-07 20:59:48 +01:00
17dbf695c7
fix(nav): willLoad() does not have to be zone wrapped
2016-11-01 23:56:50 +01:00
04d61ee47a
fix(nav): swipe to go back gesture
...
- smoother by debouncing touch events (reduces bank)
- dynamic animation duration
- intelligent behavior based in the position, speed and direccion of the swipe (sharing logic with sliding item)
fixes #8919
fixes #8958
fixes #7934
2016-11-01 13:38:27 -05:00
033e1eae17
fix(nav): adds public willLoad lifecycle event
...
* fix(nav): adds public willLoad lifecycle event
* test(menu): adds more asserts
2016-11-01 13:12:29 -05:00
086b89e563
Update deep-linker.ts
...
Added 2 missing "," not the most exciting change on earth.
2016-10-31 13:49:53 -07:00
c1ba120b74
fix(picker): fixes regression in picker but introduces new bug.
...
OnDidLoad is called before ngonInit() is not called in children
2016-10-27 01:13:07 +02:00
e89f3b0206
fix(nav): ionViewDidLoad fires before children components have been loaded
...
fixes #8449
2016-10-24 23:12:07 +02:00
8b65398044
fix(nav): view.id is not overridden
...
fixes #8794
2016-10-20 22:06:43 +02:00
d84d8a6471
fix(tabs): regression in nav-controller-base
2016-10-19 01:14:27 +02:00
bbe54ce083
Fix CanViews to ViewCans in Nav Guard section
2016-10-18 18:07:39 -04:00
13b32896fa
refactor(nav): adds some asserts and small changes
2016-10-18 19:09:38 +02:00
d9e8b1bec6
refactor(nav-controller-base): cleanup some logic
...
NavControllerBase is the core of ionic 2 navigation. It handles all the transitions and it is complicated code to follow.
I am refactoring it to allow future developers and contributors to follow it better.
!node.parent now becomes node.isRoot()
ViewController does not remove itself from the stack, but two new auxiliar function in nav controller: _insertView() and _removeView() are used to add a view to the stack.
And so on...
All e2e and unit tests passing...
2016-10-18 16:36:55 +02:00
ff1f340285
test(assert): adds new debugging assert() util
...
improves removing of console.debug statements
fixes #8483
2016-10-18 09:10:00 -05:00
eb317d410c
fix(nav): clickblock is disabled longer
...
fixes #8713
2016-10-16 02:52:15 +02:00
ba557acb4f
fix(nav): ion-nav inside ion-content work properly
2016-10-15 02:59:57 +02:00
86701ecfb4
docs(): better document ionCanLeave and ionCanEnter
...
closes https://github.com/driftyco/ionic-site/issues/829
2016-10-13 12:49:18 -04:00
35568ba85f
chore: removed deprecated APIs
2016-10-13 11:02:45 -05:00
e9260250dc
docs(deeplinker): add docs
...
* docs(deeplinker): add inital docs
2016-10-12 16:58:47 -04:00
a40b42c055
fix(modal): canEnter is called in modals
2016-10-12 22:56:24 +02:00
1300cbd7c0
test(modal): adds canLeave test
2016-10-12 22:47:31 +02:00
ca3b9455d1
Merge pull request #8260 from vanackere/fix-viewcontroller-dismiss
...
Fix infinite loop (hang) in viewcontroller dismiss
2016-10-12 21:50:01 +02:00
58beb4173f
docs(): update links
2016-10-12 14:17:35 -04:00
451ffe1133
fix(nav): ionViewDidLoad is called in modals
...
fixes #8449
2016-10-12 11:38:44 -05:00
17fdfa80ec
docs(): fix broken links
2016-10-10 17:35:07 -04:00
c8954d8a16
fix(nav): ionViewCanLeave does not break navigation
...
fixes #8408
2016-10-10 21:45:58 +02:00
416e06b40b
docs(navController): add canLeave and canEnter
2016-10-10 10:09:47 -04:00
6496c7a996
fix(nav): remove incorrectly used removeStart as a starting index in for loop. Fixes #8442
2016-10-08 20:22:11 -05:00
88da70c386
test(nav): pushing/pop pages from lifecycle events
...
references #8510
2016-10-08 18:11:57 +02:00
9227310494
fix(ViewController): avoid deep copy in dismiss() that can turn into an infinite loop
...
For some reason, apparently related to the NavOptions.ev field,
this deep copy was turning into an infinite loop on a Nexus 7 / android 5.1.1 webview.
Replace with a non-deep copy since the deep copy is unnecessary in this case.
2016-10-03 12:01:45 +02:00
d5f71a448d
fix(view-controller): dismiss does not crash when called more than once
...
fixes #8395
2016-10-02 17:15:23 +02:00
8878e70227
feat(events): handler argument is optional in unsubscribe()
...
fixes #8235
2016-10-01 01:07:00 +02:00
9b650229f7
fix(nav): push-pop pages too quickly
...
fixes #8319
2016-09-30 20:17:19 +02:00
75175f6388
docs(): update docs
2016-09-27 11:35:30 -04:00
dbfc183cac
docs(): update docs
2016-09-26 21:11:54 -04:00
d8ecf16feb
refactor(nav): do not auto-add pascal case css class
...
Previously a css class generated from the JS class name, was
automatically being added to the page element. However, the JS class
name returned is not consistent among all browsers. Instead of
automatically applying a css classname, we now recommend adding a
`selector` to each page component.
2016-09-26 00:40:10 +01:00
e26c425766
fix(navigation): move onWillDismiss and onDidDismiss, add unit tests
2016-09-22 21:37:50 -04:00
83d973b1a8
chore(demos): change dgeni path for demos
...
change dgeni path for demos
2016-09-20 15:20:04 -05:00
35193c42c4
fix(nav): move null assignment of _onWillDismiss
2016-09-19 08:30:17 -05:00
ca8cc0af2e
feat(nav): set default stack history on app init
2016-09-19 08:06:04 -05:00
4236d57ad8
chore(docs): DeepLinker docs
2016-09-16 14:41:30 -05:00
9d563f5438
fix(urlSerializer): improve findLinkByComponentData
2016-09-16 12:36:43 -05:00
70127346c4
fix(nav): setRoot() and setPages() should not animate
...
This commit also refactors both methods to avoid deduplicate code,
2016-09-16 17:26:09 +02:00
7c05d0c0ba
fix(di): update dependency injection and default configs
2016-09-16 00:49:09 -05:00
6784f5e744
fix(exports): update module exports
2016-09-14 15:54:24 -05:00
8585427fb4
fix(menu): open/close race condition
...
fixes #7629 #8001
2016-09-14 15:49:11 -05:00
f477aa2391
feat(nav): component url navigation
2016-09-13 17:16:14 -05:00
ed221eff1d
refactor(nav): queue based transitions
2016-09-13 17:13:43 -05:00