Skip to content

LAST: display one a fixed number of changes #28

@opn

Description

@opn

I suggest a new verb "LAST n" (when n is an integer) which would display the last n changes.

Rational

There are many occasions where I would like to display a minimal simple history of recent changes but cannot as the plugin is designed to render an arbitrary number of changes. This takes up an unpredictable amount of space (often too much space, or sometimes none)

For instance I may wish to place a short list of recent changes to the site on the Welcome Visitors page. SINCE 1 week may show hundreds of changes or none, where I would like to show just 5 changes regardless of when they occurred.

Ugly Rendering

In addition the rendering of the results is unnecessarily complex / ugly for a minimal presentation:

Page Activity
  since Wed Aug 10 2016
  excluding neighborhood

For a minimal presentation we just need the title and a list of links. Possibly/optionally including the data of the change. With the following markup:

NEIGHBORHOOD no
NARRATIVE
LAST 3

Rendering something equivalent (in markdown) to:

# Recent changes to this site
*  [[Some Page]] - Aug 10 2016
*  [[Another Page]] - Aug 9 2016
*  [[Last Page]] - Jan 3 2016

Metadata

Metadata

Assignees

No one assigned

    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