This repository was archived by the owner on Nov 21, 2023. It is now read-only.
0.3.0
- [afa430f] Update README
- [a2f7bbb] Housekeeping
- [7a3941f] Update wpdtrt-npm-scripts to access release changelog
- [76abbf7] Update README
- [b45222c] Add screenshots, update changelog, move FAQs to README.md
- [e02b082] Update PHP requirements
- [edacb18] Update wpdtrt-npm-scripts
- [1cd4525] Update build badge [ci skip]
- [80d2ef6] Remove $dom->normalizeDocument(), comment CI fail
- [184a99a] Trim and remove line breaks in filters
- [9cfbd33] Remove comments on tests that now pass
- [fec7907] Trim strings before testing
- [89b5088] Processes \r\n's first so they aren't converted twice.
- [62c6e8c] Disable $dom->preserveWhiteSpace, add $dom->normalizeDocument(), uncomment CI fails
- [f9f2ecb] Comment out tests failing due to new lines added on CI
- [903336d] Disable tests failing due to new lines added on CI
- [f118555] Remove new lines before loading HTML into DOMDocument
- [6382241] Disable $dom->preserveWhiteSpace
- [06abe35] Test HTML of first section
- [86efbdf] Update wpdtrt-npm-scripts
- [78761ce] Update wpdtrt-npm-scripts to access version script, bump version
- [f94d525] test_filter_content_sections_copy_attributes
- [8a00745] Test DOM structure
- [63206b4] test_render_headings_in_sections
- [111abcf] test_render_headings_as_anchors
- [abcd6f3] Add tests, rename tests
- [a7a81a8] Merge filters
- [70ac937] Add tests for output when no anchors, rename tests
- [a58a493] Update tests for new markup
- [f315571] Fix linting errors
- [d6b376b] Rename functions, refactor filter_content_sections to add render_heading_in_section function
- [7b7d514] Rename data-id to data-anchorlinks-id, document
- [c250443] Don't output anchor list scaffolding if there are no anchors (fixes #13)
- [8f1fc04] Transfer margin below anchor links to additions padding, as a margin adds space below dbth's banner
- [4a3cdb1] Change breakpoint range
- [e87a5ef] Fix bad value
- [a87f6dc] Expose core styling through variables, hardcode progress bar into template
- [98b3b11] Remove relative AP helper from additions block as theme now uses flexbox columns here
- [0558d6f] Fix max-height when pinned (fixes #14)
- [359ba01] Allow for (sticky) top offset when calculating pinned max-height
- [87c2ef0] Remove pre-sticky absolute positioning as it's now redundant (#11)
- [2392f1b] Append additions to a container, for better control over their layout
- [7331188] Change from position:fixed grid to position:sticky element to fix anchor links layout issue in MacOS Safari (fixes #11)
- [06e141a] Remove redundant function
- [ad1d819] Add option to clone or move additions
- [09c169b] Optimise breakpoints
- [76a2017] Update wpdtrt-npm-scripts to trigger compile from scss
- [3ddb5fc] Don't hide anchor list (and important additions) when the footer is scrolled into view, instead prevent it from hitting the footer
- [2523bb8] Remove commented code
- [18e7622] Add new default option to move rather than clone the elements added to the anchor list
- [1987683] Comment out redundant code
- [e066297] Append items to list parent, rather than inserting them after the list, to preserve the specified order
- [1291def] Speed up list fade in and fade out
- [9b6cfd1] Calculate max list height, to allow for title, injected elements and leading & trailing margins
- [e4b25e2] Allow theme elements to be inserted after the anchor list
- [4b09e79] Don't apply list link styling to unsticky list title
- [4ba8ad9] Use JS to replace pinned list title with summary heading text, to add context when clicking content links
- [79fe9c3] Use JS to replace pinned list title with summary heading text, to add context when clicking content links
- [903b888] Update wpdtrt-npm-scripts to improve phpunit reporting
- [db8bcb6] Check that child is a DOMElement before testing its tagName
- [1b16bdb] Suppress camelCase warnings properly
- [69e9ff0] Fix linting issues
- [482a8be] Document shortcode test approach
- [bd62b7e] Fix DOMDocument::loadHTML(): htmlParseStartTag: misplaced tag in Entity, line: 1. (fixes #7)
- [cc7e736] Reword test messages, fix list heading targetting, consolidate selectors
- [d1e6c29] Trim strings before comparing them
- [58a1a76] Make list title optional
- [48665c3] Fix assertEquals argument order
- [05b479c] Fix link highlighting when clicked directly, omit summary link if no summary heading, housekeeping
- [9599075] Refactor link highlighting to use a data attribute on wpdtrt-gallery-viewer, document in readme
- [120f7a8] Housekeeping
- [7f0fb6d] Change anchor list title
- [f23b60f] Rename variable for consistency
- [adac934] Fix missing anchor list items due to ampersand
- [d536c68] Allow theme specific elements to control pinning and fading
- [736abb9] Replace Waypoints with Intersection Observers
- [1c256ce] Provide a default value for the anchor/section border
- [22ab85b] Move dynamic wrappers into standard HTML
- [dccafbe] Fix anchor link spacing
- [8e5580e] Add missing tabindex to anchors
- [87e5822] Update wpdtrt-npm-scripts
- [55209b4] Fix sticky layout
- [95fe9d7] When building the anchor list, use a data-id, as the section is no longer the heading parent due to the gallery filter
- [643815e] Add section wrappers as divs, as DOMDocument doesn't support HTML5 elements
- [3dc5b64] Remove redundant code
- [0c5fa64] Fix $page_id lookup outside of unit tests
- [ceceff4] Update dependencies
- [34f75da] Fix badges
- [dad234e] Update build config
- [5eba572] Update dependencies
- [83eb48e] Update wpdtrt-npm-scripts to get bundled test installer
- [b77e4e0] Add mysql credentials
- [445475a] Move GH action to the expected folder
- [f586d72] Run tests on CI server
- [42ddb89] Pass $post_id to shortcode during tests
- [06239e3] Update wpdtrt-npm-scripts
- [7e697b7] Lint JS
- [0ae9671] Update wpdtrt-npm-scripts to add support for phpunit
- [8030a83] Housekeeping
- [4dd4e84] Document use of shortcode and add unit tests
- [2938125] Make list title configurable in shortcode
- [ff71b6b] Remove redundant CSS
- [4a1f724] Refactor JS into functions, fix target classnames
- [196dd65] Replace relevant styles with CSS variables to allow skinning via the theme
- [6084866] Output parent ol
- [e54be0b] Update classnames
- [2059b35] Reinstate legacy classes, fix JS init
- [3486404] Fix anchor list output
- [57a47a8] Fix boilerplate version
- [2454f48] Add shortcode for anchor list
- [106f625] Docs
- [c2502a2] Add file required for build
- [2b9de05] Add Github action config
- [12f81f8] Lint PHP
- [7b03532] Lint JS
- [374b61e] Lint PHP
- [1ac77b5] Lint JS with new rules from wpdtrt-npm-scripts
- [ca1e122] Rename function
- [91bf82e] Remove better-anchor-links and wpdtrt-contentsections dependencies
- [af210cb] Housekeeping
- [f644056] Remove odd nested self
- [de609c0] Replace gulp with wpdtrt-npm-scripts
- [cfe55b9] Add anchors and links to headings
- [3841f56] Unpin anchor links when the footer is scrolled to