Skip to content

Research potential upgrade to Lightbox code for new Codebase pages #140

Open

Description

@angelplasma

Context:
The new Codebase pages feature screenshot galleries, which uses a very simple CSS lightbox gallery. The gallery itself works well, while avoiding Javascript, but it has one drawback: The gallery adds states to the browser history.

Issue:
From a user perspective: After viewing the gallery, the browser's back button steps back through the gallery view states, instead of navigating to the previous web page. The back button thus acts counter-intuitively.

From a code perspective: The code's use of content-less hashes (to make its UI functional) causes Travis conflicts, and our bypassing of Travis' proofing may enable the system's acceptance of faulty links.

Desired solution:

  • Gallery viewing should not affect the browser's standard back/forward navigation functions
  • If possible, stick with a pure CSS solution

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions