User Tools

Site Tools


awp:brandportal-block-timeline

Timeline Block

A timeline block shows dated entries in the order of their dates: items found by searches, or entries written in the block. They can be grouped in lanes, each with its own name and colour. Without entries the whole block including its heading and text is hidden.

Settings

Setting Description
Entries fromRecords (default) shows items, Text the entries written in the block.
LayoutVertical list (default) lists the entries one below the other, Horizontal time axis places them on a time axis.
Close long empty stretches of the time axisOpens the time axis with its empty stretches closed. Default: unchecked.
Start atThe entry the time axis opens on. Default, and if the timeline does not show that entry: all entries.
With Records, an item found by a search in the main object type. When the editor opens, a note tells if the timeline does not show it.
With Text, one of the entries listed by their headings in the edit language, or All entries. The choice applies to all languages.

Lanes take their colours in their order from a set of eight, which starts over with the ninth lane.

Entries from Records

Setting Description
LanesA Lane name and a Search query per lane, see Blocks with Records. Add lane adds a row, the arrows move it up or down and the bin removes it. Rows without name and query are dropped when saving.
Records per laneNumber of items shown per lane, the earliest ones. Default 50, at most 100.
Title fieldText field of the main object type shown as title, on the entry and in its item dialog. Default, and for an item without value in the field: the Standard Information of the item.
Date fieldDate, date and time, or date range field of the main object type that dates the items. Default: the first of these fields. Without any such field, the editor shows a note and the block is not shown on the page.
TextShown above the entries.
  • Only items with a value in the date field are found.
  • A date range shows as a period from its start to its end and is sorted by its start. A range that ends where it starts, or has only one of the two, shows as a single date.
  • Lanes with the same name are shown as one, and lanes without a query are left out. As long as no lane has a name, the items are shown without lanes.
  • Clicking an item opens the item dialog. An item whose file is a video shows a play symbol on its image.

Entries from Text

The entries are written under Timeline entries as Markdown headings that start with their date:

From the first satellite to the moon landing.

# USA

## 1958-01-31 Explorer 1
The first American satellite.

## 1961/1972 Apollo program

# Soviet Union

## 1957-10-04: Sputnik 1
  • A line starting with ## (H2 in the editor) is an entry: its date, an optional colon and the title. The lines below it, up to the next heading of these two kinds, are its description, formatted with Markdown.
  • A date is a year, a month or a day, written 1969, 1969-07 or 1969-07-20. The year has four digits, for example 0079. The page shows a date as precisely as it is written, in the format of the page language.
  • A period has two such dates separated by /, for example 1961/1972.
  • A date before Christ ends with BC or BCE in every language, for example 490 BC or 44-03-15 BC; its year has one to five digits. At the end of a period it applies to both dates, as in 500/300 BC; a period into the years after Christ is written 27 BC/0014.
  • A line starting with # (H1) starts a lane. Text below a lane heading is not shown.
  • Text above the first heading is shown as introduction.
  • A heading whose date cannot be read, or whose period ends before it starts, is refused when saving, naming the heading. Headings inside code blocks belong to the code.

Horizontal Time Axis

Each lane is a band of its colour with its entries at their dates. A single year or month covers the whole year or month, a single day is a point. The axis counts in UTC, so a date with a time is shown in UTC. The description of an entry from the text is only shown where there is room for it. While the block is narrower than about 560 pixels, the vertical list is shown instead.

To Do
ZoomTurn the mouse wheel while holding Ctrl (Cmd on a Mac), pinch, or use the buttons below the axis.
MoveDrag, swipe or scroll sideways. The buttons at the edges move to the nearest entry outside the axis.
See entries that do not fitThey are counted in a button that zooms in on them when clicked. Where zooming in no further helps, it shows their lane alone; entries that do not fit even then are left out.
See one lane onlyClick the name of the lane. Clicking it again, or the button showing all entries, shows all lanes.
See all lanes in one bandClick the first button below the axis, offered with more than one lane.
Close or open empty stretchesClick the button left of the zoom buttons. A stretch without entries can be closed to a narrow gap if it takes at least a fifth of the time the timeline covers and is far longer than the others.
See more about an entryRest the mouse pointer on it. An item shows its image or video and the fields of the mini info view of the Brand Portal's view set, if it has one for the item's table; clicking the window opens the item. An entry from the text shows its description, if it has one.
Switch to the listClick the button before the last one.
Use the whole windowClick the last button. In this full view the mouse wheel zooms without Ctrl. The button again or Esc returns to the page.
awp/brandportal-block-timeline.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki