Skip to content

Conversation

@PrzemyslawKlys
Copy link
Member

This PR:

  • Fixes ScrollX wrap issues
  • Changes ToggleView to Switch to ScrollX or Switch to Responsive when enabled
  • When using online mode the infocard, responsive wrap and datatables switch are now CDN hosted

…ommented code

- Updated the $TableAttributes to include 'wrap' class for improved styling.
- Removed unnecessary commented-out code related to button visibility and scrolling attributes for better readability.
… wrap issues and increment module version in PSWriteHTML.psd1 to 1.32.0.
* Introduced a `toggleView` button to switch between responsive and scrollX modes in DataTables.
* Enhanced the responsive configuration handling to store and apply settings based on the current mode.
* Updated `Example-SearchBuilder.ps1` to utilize the new button functionality.
* Enhanced the `toggleView` button to dynamically change its text between "Switch to ScrollX" and "Switch to Responsive" based on the current mode.
* Improved user experience by providing clear indications of the action that will be taken when the button is clicked.
* Added logic to determine the initial button text for the `toggleView` button.
* The button text now reflects the current view mode, switching between 'Switch to Responsive' and 'Switch to ScrollX'.
… CSS handling

* Updated `$ConfigurationURL` to version `0.0.29`.
* Changed `HeaderAlways` to `Header` for `DashboardCards` to use minified CSS.
* Adjusted `DataTablesToggleView` to utilize `Header` for JavaScript links.
* Added section for what's changed in version 1.32.0
* Documented changes to ToggleView behavior to reflect new options: `Switch to ScrollX` or `Switch to Responsive`
* Changed `HeaderAlways` to `Header` with new CSS link for responsiveWrap.
* Removed unused `MainLink` and `Default` sections to clean up the configuration.
* Improved organization of the configuration parameters for better maintainability.
### What's Changed
* Added note that when using online mode, the infocard, responsive wrap, and datatables switch are now CDN hosted.
@PrzemyslawKlys PrzemyslawKlys merged commit 8d028ee into master Jun 5, 2025
0 of 4 checks passed
@PrzemyslawKlys PrzemyslawKlys deleted the TableImprovements branch June 5, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants