Skip to content

v0.26.0 — center left / center right (#62)

Choose a tag to compare

@mhoogenbosch mhoogenbosch released this 11 Oct 09:34
· 24 commits to master since this release
fd1f07b

English

Center left and center right — the 3×3 grid is complete (#62, requested by @bboykaos). Companion: ha-pipup v1.25.0.

  • position 7 = CenterLeft, 8 = CenterRight. Vertically centred, the usual 20 px from the side edge. With several popups at once (each with its own id), TopRight / CenterRight / BottomRight now stack along one side without overlapping and without covering the middle of the picture. Appended after the existing values, so nothing moves for existing callers.
  • The position order is now pinned by a unit test. The integer position (multipart, JSON and the ha-pipup integration) maps onto the enum by ordinal; that contract was only a code comment until now.
  • Readme: the form-field table still said 0..4 (stale since 0.22.0) and now lists all nine positions.

Android 6 (#41): this is the first release since 0.25.2, so it is the end-to-end test of the self-updater fix — it should install from the popup's Install button. If it does, that issue can be closed.

Nederlands

Midden links en midden rechts — het 3×3-raster is compleet (#62, gevraagd door @bboykaos). Hoort bij ha-pipup v1.25.0.

  • position 7 = CenterLeft, 8 = CenterRight. Verticaal gecentreerd, de gebruikelijke 20 px van de zijrand. Met meerdere popups tegelijk (elk met een eigen id) stapelen TopRight / CenterRight / BottomRight nu netjes langs één kant, zonder overlap en zonder het midden van het beeld te bedekken. Achteraan toegevoegd, dus voor bestaande aanroepen verschuift er niets.
  • De volgorde van de posities ligt nu vast in een unittest. De integer position (multipart, JSON en de ha-pipup-integratie) wordt op ordinaal naar de enum vertaald; dat contract stond tot nu alleen in een code-commentaar.
  • Readme: de tabel met formuliervelden zei nog 0..4 (verouderd sinds 0.22.0) en noemt nu alle negen posities.

Android 6 (#41): dit is de eerste release sinds 0.25.2 en daarmee de end-to-end-test van de zelf-update-fix — hij hoort via de knop Install in de popup te installeren. Lukt dat, dan kan dat issue dicht.