Branch: refs/heads/master Home: https://github.com/jenkinsci/collapsing-console-sections-plugin Commit: 56d60bb46efca55c9af9feab928ad9f92aa23b4e https://github.com/jenkinsci/collapsing-console-sections-plugin/commit/56d60bb46efca55c9af9feab928ad9f92aa23b4e Author: Antoine Musso <has...@free.fr> Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths: M src/main/java/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionAnnotator.java M src/main/resources/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionNote/script.js Log Message: ----------- Remove unused data on <li> elements In the outline, the <ul> and <li> elements have a `data-level` stored, that was introduced in 2017 by 8b5370510a2a and as far as I can tell was only used by commented out `console.log()` statements. Commit: 5dbb5170ad3bf14d12c8a9c218a38b1bc4b356cf https://github.com/jenkinsci/collapsing-console-sections-plugin/commit/5dbb5170ad3bf14d12c8a9c218a38b1bc4b356cf Author: Antoine Musso <has...@free.fr> Date: 2024-10-31 (Thu, 31 Oct 2024) Changed paths: M src/main/resources/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionNote/script.js Log Message: ----------- Add missing <ul> on top section The first section started directly as a list item and missed an <ul>. When later changing the outline to use the Jenkins panels styling, that causes the first element to not have the necessary marging/padding and have it sticked to the left border. Make generateOutlineSection() to start with an <ul>, which adds the missing one from the first section. Doing so also let us remove the ul creation when inserting childs, since they are generated by generateOutlineSection() and thus get an <ul>. Commit: d679738a7e64da8d41cb3055b6ae507548dec43e https://github.com/jenkinsci/collapsing-console-sections-plugin/commit/d679738a7e64da8d41cb3055b6ae507548dec43e Author: Antoine Musso <has...@free.fr> Date: 2024-10-31 (Thu, 31 Oct 2024) Changed paths: M src/main/resources/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionNote/DescriptorImpl/outline.jelly M src/main/resources/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionNote/style.css Log Message: ----------- Change outline to use a side-bar Pane and divs Commit: 67cf01f6f884df6ded1d63ad16b98612e079c82f https://github.com/jenkinsci/collapsing-console-sections-plugin/commit/67cf01f6f884df6ded1d63ad16b98612e079c82f Author: Antoine Musso <has...@free.fr> Date: 2024-10-31 (Thu, 31 Oct 2024) Changed paths: A .stylelintrc.js M package-lock.json M package.json M src/main/resources/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionNote/style.css Log Message: ----------- Add Stylelint to validate CSS I wrote a custom formatter function to emit: - a string based report to the console for human consumption - a CheckStyle XML report for CI Commit: 6b5177b72e5fe677bb2c1bffada258615ee0eddf https://github.com/jenkinsci/collapsing-console-sections-plugin/commit/6b5177b72e5fe677bb2c1bffada258615ee0eddf Author: Antoine Musso <has...@free.fr> Date: 2024-10-31 (Thu, 31 Oct 2024) Changed paths: M src/main/java/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionAnnotator.java M src/main/resources/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionNote/script.js M src/main/resources/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionNote/style.css Log Message: ----------- Modernize the UI design Replace the collapsible sections with a `<details>` HTML Element, this has been available in all browsers since early 2020. It defaults to being collapsed and showing the `<summary>` content. Toggling is handled by the browser which let us get rid of the `doToggle()` script (which also had duplicate logic to support IE 8). The styling is inspired from Jenkins values and some shadow is casted at the bottom of the sections to help differentiate them. Commit: 7137dbde28f301a994f6294f726419725577da67 https://github.com/jenkinsci/collapsing-console-sections-plugin/commit/7137dbde28f301a994f6294f726419725577da67 Author: Antoine Musso <has...@free.fr> Date: 2024-11-04 (Mon, 04 Nov 2024) Changed paths: M pom.xml M src/main/resources/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionNote/script.js Log Message: ----------- Ensure panel to be the last in the sidebar Other plugins add sidebar elements and the order in which they are added depends on how fast their `fetch()` requests are fulfiled. The Timestamper outline is slightly slower to respond and is most often put last as a result. Add an observer for any child changes made to the sidebar, when the collapsible sections panel is not the last, move it after the last panel ensuring it is always last. Add Timestamper as a test dependency to ease testing when using hpi:run. Commit: dcdd10f00b8933647cb5f6d54ec9ba11ba709754 https://github.com/jenkinsci/collapsing-console-sections-plugin/commit/dcdd10f00b8933647cb5f6d54ec9ba11ba709754 Author: Antoine Musso <has...@free.fr> Date: 2024-11-04 (Mon, 04 Nov 2024) Changed paths: M src/main/resources/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionNote/DescriptorImpl/outline.jelly M src/main/resources/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionNote/script.js M src/main/resources/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionNote/style.css Log Message: ----------- Make the panel sticky and remove obsolete code The panel holding the section was made to stick to the top when the window was scrolled. Nowadays this can be achieved with the CSS property `position:sticky`. Remove the JavaScript code attached to `window.onscroll`. Drop the now unused div.scrollAttached The panel is made to stick at 44px from the top, which is the value used by the Timestamper plugin. Before Jenkins 2.463/2.479.1, the pane is transparent and overlapping two sticky had the texts overlayed which. Made it use a solid background, thus when scrolling, the second panel hides the first one. Commit: a5073700d5526d860c12116b38162fe1de6847ba https://github.com/jenkinsci/collapsing-console-sections-plugin/commit/a5073700d5526d860c12116b38162fe1de6847ba Author: Antoine Musso <has...@free.fr> Date: 2024-11-04 (Mon, 04 Nov 2024) Changed paths: M src/main/resources/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionNote/style.css Log Message: ----------- Balance top/bottom margins in the side pane Commit: c0b2fe11d37228c0972e9f46f89bec7a6518750e https://github.com/jenkinsci/collapsing-console-sections-plugin/commit/c0b2fe11d37228c0972e9f46f89bec7a6518750e Author: Antoine Musso <has...@free.fr> Date: 2024-11-07 (Thu, 07 Nov 2024) Changed paths: A .stylelintrc.js M package-lock.json M package.json M pom.xml M src/main/java/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionAnnotator.java M src/main/resources/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionNote/DescriptorImpl/outline.jelly M src/main/resources/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionNote/script.js M src/main/resources/org/jvnet/hudson/plugins/collapsingconsolesections/CollapsingSectionNote/style.css Log Message: ----------- Merge pull request #35 from hashar/ui-refresh Modernize the UI design to match Jenkins core and catch up with nowadays browsers capabilities (<details> element, position:sticky). Compare: https://github.com/jenkinsci/collapsing-console-sections-plugin/compare/c629a4fdf1b5...c0b2fe11d372 To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/collapsing-console-sections-plugin/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/collapsing-console-sections-plugin/push/refs/heads/master/c629a4-c0b2fe%40github.com.