]>
git.ipfire.org Git - thirdparty/vuejs/router.git/log
Eduardo San Martin Morote [Fri, 28 Jun 2019 09:29:15 +0000 (11:29 +0200)]
feat: handle initial navigation
Eduardo San Martin Morote [Fri, 28 Jun 2019 09:28:18 +0000 (11:28 +0200)]
refactor: rename matchLocation to resolveLocation
Eduardo San Martin Morote [Fri, 28 Jun 2019 09:27:04 +0000 (11:27 +0200)]
chore(devDeps): update
Eduardo San Martin Morote [Fri, 28 Jun 2019 09:26:20 +0000 (11:26 +0200)]
test: move history tests to own folder
Eduardo San Martin Morote [Tue, 11 Jun 2019 16:19:49 +0000 (18:19 +0200)]
test(errors): add tests for errors in history listener
Eduardo San Martin Morote [Tue, 11 Jun 2019 15:38:37 +0000 (17:38 +0200)]
fix(errors): avoid unhandled errors in history listener
Eduardo San Martin Morote [Tue, 11 Jun 2019 15:17:50 +0000 (17:17 +0200)]
fix(router): throw NavigationCancelled when it should
Eduardo San Martin Morote [Tue, 11 Jun 2019 15:08:08 +0000 (17:08 +0200)]
fix(history): cancel old navigations
Eduardo San Martin Morote [Tue, 11 Jun 2019 12:20:21 +0000 (14:20 +0200)]
test(example): log time waiting
Eduardo San Martin Morote [Tue, 11 Jun 2019 12:20:05 +0000 (14:20 +0200)]
fix(router): avoid in-guard redirect in new navigation happened
Eduardo San Martin Morote [Tue, 11 Jun 2019 10:45:01 +0000 (12:45 +0200)]
test(example): add navigation cancel with checbox
Eduardo San Martin Morote [Tue, 11 Jun 2019 10:41:40 +0000 (12:41 +0200)]
fix(history): fix pausing between back and forward
I realized calling history.forward() on Safari didn't immediately called
the popstate listener, so simply setting a variable before and after
history.back() and history.forward() wasn't enough.
It still doesn't work consistently between all browsers. eg: on Safari
calling history.back() mulitple times in a row will trigger only one
popstate listener but on Firefox, it will trigger as many as necessary
Eduardo San Martin Morote [Tue, 11 Jun 2019 10:40:13 +0000 (12:40 +0200)]
feat(router): handle cancelled navigations
Eduardo San Martin Morote [Fri, 7 Jun 2019 08:56:12 +0000 (10:56 +0200)]
feat(link): add initial version router-link
Eduardo San Martin Morote [Fri, 7 Jun 2019 08:55:54 +0000 (10:55 +0200)]
fix(view): correctly freez route, matched non enumerable
Eduardo San Martin Morote [Thu, 6 Jun 2019 14:19:58 +0000 (16:19 +0200)]
feat: working version of simple router-view
Eduardo San Martin Morote [Wed, 5 Jun 2019 16:08:09 +0000 (18:08 +0200)]
wip
Eduardo San Martin Morote [Wed, 5 Jun 2019 15:02:19 +0000 (17:02 +0200)]
chore: add Vue to exploration
Eduardo San Martin Morote [Wed, 5 Jun 2019 14:28:49 +0000 (16:28 +0200)]
refactor(router): use paused property in router listener
Eduardo San Martin Morote [Wed, 5 Jun 2019 14:25:37 +0000 (16:25 +0200)]
feat(abstract): avoid listeners with back and forward
Eduardo San Martin Morote [Wed, 5 Jun 2019 13:58:11 +0000 (15:58 +0200)]
refactor: rename NavigationType NavigationDirection
Eduardo San Martin Morote [Wed, 5 Jun 2019 13:57:51 +0000 (15:57 +0200)]
feat(abstract): remove listeners
Eduardo San Martin Morote [Wed, 5 Jun 2019 13:35:17 +0000 (15:35 +0200)]
feat(abstract): listen for navigation
Eduardo San Martin Morote [Tue, 4 Jun 2019 17:05:32 +0000 (19:05 +0200)]
feat(abstract): move forward in history
Eduardo San Martin Morote [Tue, 4 Jun 2019 16:32:20 +0000 (18:32 +0200)]
fix: remove duplicate fn from rebase
Eduardo San Martin Morote [Tue, 4 Jun 2019 16:30:43 +0000 (18:30 +0200)]
feat(abstract): history log
Eduardo San Martin Morote [Sat, 1 Jun 2019 15:27:48 +0000 (17:27 +0200)]
fix: missing void type
Eduardo San Martin Morote [Tue, 4 Jun 2019 16:23:24 +0000 (18:23 +0200)]
chore: up deps
Eduardo San Martin Morote [Wed, 29 May 2019 10:40:38 +0000 (12:40 +0200)]
fix: preserve fullPath when redirecting in matcher
Eduardo San Martin Morote [Tue, 28 May 2019 18:47:03 +0000 (20:47 +0200)]
refactor: improve matchLocation
Eduardo San Martin Morote [Tue, 28 May 2019 17:42:00 +0000 (19:42 +0200)]
refactor: rename variable in matchLocation
Eduardo San Martin Morote [Tue, 28 May 2019 17:27:24 +0000 (19:27 +0200)]
feat: add redirectedFrom in normalized location
Eduardo San Martin Morote [Sat, 25 May 2019 14:02:24 +0000 (17:02 +0300)]
chore: up deps
Eduardo San Martin Morote [Wed, 22 May 2019 06:46:17 +0000 (08:46 +0200)]
wip: listening to history
Eduardo San Martin Morote [Fri, 17 May 2019 13:16:04 +0000 (15:16 +0200)]
chore: up deps
Eduardo San Martin Morote [Fri, 17 May 2019 13:15:52 +0000 (15:15 +0200)]
fix import type
Eduardo San Martin Morote [Tue, 7 May 2019 16:13:36 +0000 (18:13 +0200)]
chore: remove unused function
Eduardo San Martin Morote [Tue, 7 May 2019 08:40:29 +0000 (10:40 +0200)]
chore: remove todos
Eduardo San Martin Morote [Mon, 6 May 2019 20:28:35 +0000 (22:28 +0200)]
refactor: remove old TODOS
Eduardo San Martin Morote [Mon, 6 May 2019 20:14:51 +0000 (22:14 +0200)]
test: beforeEnter nested routes
Eduardo San Martin Morote [Mon, 6 May 2019 19:47:46 +0000 (21:47 +0200)]
feat: allow beforeEnter as array
Eduardo San Martin Morote [Mon, 6 May 2019 19:24:59 +0000 (21:24 +0200)]
fix: call beforeRouteLeave in right order
Eduardo San Martin Morote [Mon, 6 May 2019 19:24:14 +0000 (21:24 +0200)]
feat: call beforeRouteLeave with nested routes
Eduardo San Martin Morote [Mon, 6 May 2019 17:58:12 +0000 (19:58 +0200)]
test: refactor types
Eduardo San Martin Morote [Mon, 6 May 2019 17:54:54 +0000 (19:54 +0200)]
test: beforeRouteEnter with nested routes
Eduardo San Martin Morote [Mon, 6 May 2019 17:15:22 +0000 (19:15 +0200)]
test: test beforeRouteEnter on initial navigation nested routes
Eduardo San Martin Morote [Mon, 6 May 2019 17:08:22 +0000 (19:08 +0200)]
test: add afterEach test for nested routes
Eduardo San Martin Morote [Mon, 6 May 2019 17:06:39 +0000 (19:06 +0200)]
test: assert arguments on beforeEach with nested routes
Eduardo San Martin Morote [Mon, 6 May 2019 17:02:41 +0000 (19:02 +0200)]
test: test global beforeEach on children
Eduardo San Martin Morote [Mon, 6 May 2019 16:52:59 +0000 (18:52 +0200)]
chore: add children routes for explorations
Eduardo San Martin Morote [Mon, 6 May 2019 16:37:55 +0000 (18:37 +0200)]
fix: allow empty paths children
Eduardo San Martin Morote [Mon, 6 May 2019 16:18:22 +0000 (18:18 +0200)]
test: matcher nested record
Eduardo San Martin Morote [Mon, 6 May 2019 16:17:46 +0000 (18:17 +0200)]
test: add test for params with nested routes
Eduardo San Martin Morote [Mon, 6 May 2019 15:40:29 +0000 (17:40 +0200)]
refactor: remove dead code
Eduardo San Martin Morote [Mon, 6 May 2019 15:33:07 +0000 (17:33 +0200)]
refactor: remove duplicated code
Eduardo San Martin Morote [Mon, 6 May 2019 15:29:05 +0000 (17:29 +0200)]
fix: wrong order for params resolving in matcher
Eduardo San Martin Morote [Mon, 6 May 2019 15:21:02 +0000 (17:21 +0200)]
chore: comments
Eduardo San Martin Morote [Mon, 6 May 2019 15:16:22 +0000 (17:16 +0200)]
feat: match nested routes with different location formats
Eduardo San Martin Morote [Mon, 6 May 2019 13:57:48 +0000 (15:57 +0200)]
build: refactor to build esm version
Eduardo San Martin Morote [Mon, 6 May 2019 13:42:48 +0000 (15:42 +0200)]
feat: add children suppor to matcher
Eduardo San Martin Morote [Mon, 6 May 2019 10:29:45 +0000 (12:29 +0200)]
test: add remove guards test
Eduardo San Martin Morote [Mon, 6 May 2019 10:09:42 +0000 (12:09 +0200)]
feat: throw with invalid redirect
Eduardo San Martin Morote [Mon, 6 May 2019 10:09:16 +0000 (12:09 +0200)]
test: better mocha snapshot matching
Eduardo San Martin Morote [Mon, 6 May 2019 09:27:35 +0000 (11:27 +0200)]
test: fix types
Eduardo San Martin Morote [Sat, 4 May 2019 11:16:48 +0000 (13:16 +0200)]
chore: update deps
Eduardo San Martin Morote [Fri, 3 May 2019 19:43:14 +0000 (21:43 +0200)]
feat(matcher): handle redirect in rout records
Eduardo San Martin Morote [Fri, 3 May 2019 15:21:24 +0000 (17:21 +0200)]
types: add redirect option to routerecord
Eduardo San Martin Morote [Fri, 3 May 2019 14:18:14 +0000 (16:18 +0200)]
feat: allow redirect in next
Eduardo San Martin Morote [Thu, 2 May 2019 20:54:34 +0000 (22:54 +0200)]
wip: add types for redirect in next
Eduardo San Martin Morote [Thu, 2 May 2019 20:49:07 +0000 (22:49 +0200)]
chore: add comments
Eduardo San Martin Morote [Thu, 2 May 2019 20:41:21 +0000 (22:41 +0200)]
test: ignore index.ts in coverage
Eduardo San Martin Morote [Thu, 2 May 2019 20:41:09 +0000 (22:41 +0200)]
test: check beforeEnter, same component
Eduardo San Martin Morote [Thu, 2 May 2019 20:40:53 +0000 (22:40 +0200)]
test: refactor using noGuard
Eduardo San Martin Morote [Thu, 2 May 2019 20:23:06 +0000 (22:23 +0200)]
feat: allow named views
Eduardo San Martin Morote [Thu, 2 May 2019 20:04:45 +0000 (22:04 +0200)]
test: refactor using noGuard util
Eduardo San Martin Morote [Thu, 2 May 2019 15:30:59 +0000 (17:30 +0200)]
refactor: extractComponentGuards
Eduardo San Martin Morote [Thu, 2 May 2019 13:58:59 +0000 (15:58 +0200)]
feat: basic beforeRouteUpdate
Eduardo San Martin Morote [Thu, 2 May 2019 13:43:01 +0000 (15:43 +0200)]
feat: type components for a route record
Eduardo San Martin Morote [Thu, 2 May 2019 13:04:48 +0000 (15:04 +0200)]
docs: add docs to typings so they appear on vscode
Eduardo San Martin Morote [Thu, 2 May 2019 13:04:35 +0000 (15:04 +0200)]
test: add test with lazy loaded beforeRouteLeave
Eduardo San Martin Morote [Thu, 2 May 2019 10:55:33 +0000 (12:55 +0200)]
chore: refactor utils in test
Eduardo San Martin Morote [Thu, 2 May 2019 10:55:22 +0000 (12:55 +0200)]
feat: prevent calling before enter guards on reused views
Eduardo San Martin Morote [Thu, 2 May 2019 10:05:50 +0000 (12:05 +0200)]
feat: call beforeRouteLeave
Eduardo San Martin Morote [Thu, 2 May 2019 10:05:15 +0000 (12:05 +0200)]
test: fix beforeEach tests
Eduardo San Martin Morote [Thu, 2 May 2019 08:41:58 +0000 (10:41 +0200)]
chore: comments
Eduardo San Martin Morote [Wed, 1 May 2019 16:07:15 +0000 (18:07 +0200)]
feat: add replace option to push
Eduardo San Martin Morote [Wed, 1 May 2019 15:49:01 +0000 (17:49 +0200)]
chore: refactor tests for replace
Eduardo San Martin Morote [Wed, 1 May 2019 15:26:25 +0000 (17:26 +0200)]
chore: fix tests names
Eduardo San Martin Morote [Wed, 1 May 2019 15:22:14 +0000 (17:22 +0200)]
chore: rename tests
Eduardo San Martin Morote [Wed, 1 May 2019 13:52:12 +0000 (15:52 +0200)]
test: add pending tests for guards
Eduardo San Martin Morote [Wed, 1 May 2019 13:52:00 +0000 (15:52 +0200)]
feat: resolve async components
Eduardo San Martin Morote [Wed, 1 May 2019 13:23:59 +0000 (15:23 +0200)]
feat: add per component beforeRouteEnter
Eduardo San Martin Morote [Wed, 1 May 2019 12:48:31 +0000 (14:48 +0200)]
feat: add beforeEnter
Eduardo San Martin Morote [Wed, 1 May 2019 09:34:37 +0000 (11:34 +0200)]
chore: rename tests
Eduardo San Martin Morote [Wed, 1 May 2019 09:30:02 +0000 (11:30 +0200)]
test: no afterGuard if navigation is cancelled
Eduardo San Martin Morote [Tue, 30 Apr 2019 21:27:11 +0000 (23:27 +0200)]
after guards
Eduardo San Martin Morote [Mon, 29 Apr 2019 09:37:00 +0000 (11:37 +0200)]
chore: add second guard to exploration
Eduardo San Martin Morote [Fri, 19 Apr 2019 11:59:51 +0000 (13:59 +0200)]
fix: wait when calling guards
Eduardo San Martin Morote [Thu, 18 Apr 2019 16:54:07 +0000 (18:54 +0200)]
test: test beforeEach hook
Eduardo San Martin Morote [Thu, 18 Apr 2019 16:53:47 +0000 (18:53 +0200)]
feat: add beforeEach