Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Navigation Refactor - First Pass #5091

Closed
@johnbender

Description

@johnbender

Goals

Ordered by priority.

Abstract pushstate/hashchange handling

I'd like to unify these two events into one internally ("navigate"). Additionally I was considering providing namespaced events "forward.navigate", and "back.navigate" where appropriate but that will require review since it's tightly coupled to our hashchange handling. Again, these events will initially be internal until we decide that the module is ready for general consumption.

This likely includes the following deliverables:

  1. "navigate" triggered on window
  2. HistoryManager
  3. HistoryEntry
  4. "back.navigate", "forward.navigate" triggered on window
  5. Dependency only on jQuery

Container

I'd like to provide a container widget that manages its history and content transitions. The idea is to have this respond to navigation events and possibly delegate to changePage. This is important as we make a run at multiple container documents.

This likely includes the following deliverables:

  1. ContentContainer
  2. changePage alterations to account for a container
  3. Dependency on jQuery and some change content function (eg, changePage )

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions