Skip to content

[website] Make page titles follow breadcrumb scheme #461

Description

@plroebuck

Attempting to find an open webpage for this site in browser Window menu (or bookmark it) is maddening.

Examples

URL: http://unexpected.js.org/assertions/any/to-be/
Page title:

  • actual: "any - to be"
  • expected: "Assertions | any | to be | Unexpected.js"

URL: http://unexpected.js.org/api/addAssertion/
Page title:

  • actual: "addAssertion"
  • expected: "API | addAssertion | Unexpected.js"

Replacement Scheme

Page title: <top-level-menu-name> '|' [<group> '|' ]<item> '|' <site>

Benefits

  1. Site can be determined from page title
  2. Top-level grouping (all assertions together) in Window menu
  3. User doesn't have to rename default bookmark name (which is page title)

Difficulty

Easy

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions