-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance Seventeen Track Card: Advanced Sorting, Custom Padding, and C…
…olumn Visibility Options (#13) * Update seventeen-track-card.js - **Sorting Enhancement:** Replaced the original boolean `sort` option with a new `sort_order` variable. Now accepts `"ASC"` or `"DESC"` (case-insensitive) to sort packages by timestamp. If not provided or left empty, no sorting is applied. - **Table Padding Update:** Modified the `table_padding` configuration to accept a single CSS length value (e.g., `"15px"`). This value is applied uniformly to all sides of the table. The default has been updated to `"32px"`. - **Row Separator Control:** Introduced a new `separator` variable to control the display of row separators. This feature is now disabled by default (`false`), giving you the option to enable it if desired. - **Column Visibility Options:** Added new configuration variables `show_title`, `show_status`, `show_location`, and `show_last_update` (all defaulting to `true`). These options allow you to selectively display or hide each column in the table. - **One-line Last Update Styling:** Added a new variable `one_line_last_update` that, when set to `true`, renders the Last Update column with a fixed width style (e.g., `width:25%`) for a compact one-line display.
- Loading branch information
Showing
3 changed files
with
128 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters