96 Commits

Author SHA1 Message Date
96657535f1 refactor(navigation): async component loading (aka lazy loading)
async component loading (aka lazy loading)
2017-03-02 15:05:35 -06:00
be79382386 test(e2e): refactor e2e tests to modular structure and utilize lazy loading where possible
refactor e2e tests to modular structure and utilize lazy loading where possible
2017-03-02 14:37:01 -06:00
fdd50ba47c refactor(navcontroller): clean up and algorithm documented 2017-02-28 17:53:49 +01:00
8d9f374065 fix(all): memory leaks
fixes #10459
fixes #10416
fixes #10286
2017-02-28 17:50:42 +01:00
43b90973ef docs(navController): fix setPages signature 2017-02-21 17:05:13 -05:00
aa528fdb42 docs(navController): better type setPages
Closes https://github.com/driftyco/ionic-site/issues/970
2017-02-17 16:38:25 -05:00
fae38f910c docs(navController): argument is not optional 2017-02-17 11:27:40 -05:00
a83e3f5fd3 docs(): update broken links for nav and tab
Closes #9241
2017-01-20 14:29:29 -05:00
fba159662e fix(modal): overlay-zindex is not changed in back direction
fixes #9409
2017-01-18 14:37:57 +01:00
eaa62484d7 fix(nav): fixes #9558 (#9767) 2017-01-13 14:24:21 -05:00
24d0052541 chore(noImplicitAny): add noImplicitAny to tsconfig 2017-01-12 10:14:50 -06:00
d46b3e8e9f docs(nav): fix typos in comments for NavControllerBase and ViewController (#9953)
* docs(nav): fix typo

* docs(view): fix typo
2017-01-11 16:23:18 -05:00
7f06830187 doc(navParams): update links to push and nav
Closes https://github.com/driftyco/ionic-site/issues/957
2017-01-10 12:07:37 -05:00
8ca9797c0f fix(clickblock): add NavOptions.minClickBlockDuration
* feat(clickblock): ability to set a minimum duration for click block

* fix(clickblock): add NavOptions.minClickBlockDuration
2017-01-09 16:44:37 -06:00
7000b1b173 refactor: improve tree shaking abilities
Internal refactor completed in order to improve tree shaking and dead
code removal. The public API, with an exception to ion-slides, has
stayed the same. However, internally many changes were required so
bundlers could better exclude modules which should not be bundled.
Ultimately most changes resorted to removing references to `window` or
`document`, or a module that referenced one of those.

BREAKING CHANGES

ion-slides was refactored to remove the external dependencies, and
rewritten in TypeScript/ES6 modules to again improve tree shaking
abilities.
2017-01-09 09:51:39 -06:00
472e8bc180 docs(nav-controller): fix escape char in Lifecycle table
the pipe before `Promise` adds a new column to the table which makes it push the description to a narrow column. Tried to fix it with replacing the pipe by the HTML ASCII pipe char.
2017-01-04 11:49:41 -08:00
0e081583a8 docs(deepLinker): fix spelling
Closes #9477
2016-12-09 17:01:00 -05:00
f599758db4 style(viewcontroller): some TS types and minor changes 2016-12-06 01:45:37 +01:00
cb65f79cbb fix(tabs): _touchActive() works when tab.root is a string 2016-12-06 01:25:52 +01:00
68eb1b7cb5 fix(viewcontroller): onDidDismiss() is always called
fixes #8223
2016-12-05 14:53:24 -06:00
f5b4980e35 docs(navigation): update nav controller link to Angular's docs 2016-12-05 11:39:29 -05:00
db20af7498 chore(): fixes compilation 2016-10-01 19:13:36 +02:00
8de253a9b1 fix(app): go back navigation can close menus 2016-12-02 14:06:51 +01:00
5567191a45 fix(modal): app.navPop() can dismiss modals
fixes #8692
2016-12-02 11:55:26 +01:00
c08c21a4a0 refactor(gestures): using new DomController 2016-12-02 11:45:26 +01:00
bdf02d4280 chore(util): add removeArrayItem fn 2016-11-29 10:21:47 -06:00
4219eae1f7 Merge pull request #9400 from txavier/patch-1
Update nav-controller.ts
2016-11-29 13:52:05 +01:00
eafd13f53e fix(menu): clicking the backdrop/content closes the menu 2016-11-29 12:45:00 +01:00
f45b150af6 Update nav-controller.ts
Two small spelling corrections.
2016-11-28 16:52:50 -05:00
bc1d7ad093 chore(docs): deeplinker docs 2016-11-28 15:36:57 -06:00
6b3e2ed447 fix(nav): popTo() uses the new removeView API 2016-11-28 01:39:25 +01:00
16bfb49395 fix(nav): prevents to remove all views in the nav stack
fixes #9140
2016-11-28 01:38:21 +01:00
4aa1ada7d5 perf(nav): minor performance improvements 2016-11-28 01:34:19 +01:00
5ff7072242 fix(nav): async removing for views 2016-11-26 18:33:06 +01:00
75186b447c fix(toast): toast does not disable the app
fixes #9339
2016-11-26 18:32:21 +01:00
4be47bd3dd fix(animation): improve menu and go back swipe 2016-11-21 23:09:57 +01:00
70f8a8e5eb fix(nav): zIndex in overlays 2016-11-16 12:17:25 -06:00
c16e56634d docs(navController): add note about overlay components 2016-11-16 11:00:56 -06:00
32ab817181 fix(gestures): gesture controller handled by components
* fix(gestures): gesture controller is handled by components

fixes #9046

* fix(gestures): adds hybrid disable scroll assistance

fixes #9130
fixes #9052
fixes #7444
2016-11-16 10:03:51 -06:00
b77b2ae440 fix(nav): willLeave is called before willEnter
fixes #9163
2016-11-15 10:42:03 +01:00
909293a735 fix(nav): fixes empty stack condition 2016-11-14 21:11:31 +01:00
10dfa1704b docs(navController): improve lifecycle hooks
Closes #9128
Documenting the possible return values of lifecycle hooks
2016-11-14 10:57:08 -08:00
d6418e1dc4 fix(nav): do not allow removing all views from a nav
* fix(nav): controller is initialized

* fix(nav): transitioning state is a boolean not a timer

long async promises in canLeave / canEnter can lead to a false negative of isTransitioning()
It is key for the internal consistency of NavController to always know the correct state

* fix(nav): returning Promise<false> in canLeave / canEnter works as expected

* fix(nav): it is not allowed to pop all the views
2016-11-14 09:46:45 -06:00
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
0ab990c015 fix(nav): it is not allowed to pop all the views 2016-11-04 20:18:29 +01:00
5f1a86265c fix(nav): returning Promise<false> in canLeave / canEnter works as expected 2016-11-04 20:18:09 +01:00
63d495ae43 fix(nav): transitioning state is a boolean not a timer
long async promises in canLeave / canEnter can lead to a false negative of isTransitioning()
It is key for the internal consistency of NavController to always know the correct state
2016-11-04 20:16:56 +01:00
beab06f7ce fix(nav): controller is initialized 2016-11-04 20:12:04 +01:00