Skip to content

feat: conditionally hide messages in HTML and console based on table count and location settings#44

Merged
jvlara merged 1 commit intojvlara:mainfrom
jairosoto05:update_printer
Apr 2, 2025
Merged

feat: conditionally hide messages in HTML and console based on table count and location settings#44
jvlara merged 1 commit intojvlara:mainfrom
jairosoto05:update_printer

Conversation

@jairosoto05
Copy link
Copy Markdown
Contributor

This PR introduces conditional logic to hide messages in HTML and console based on the configurations of ignore_table_countand max_locations_per_table.

Changes made:

HTML updates:

The message about displaying tables with a minimum number of queries is now conditionally displayed based on the value of ignore_table_count.

Console updates:

Similarly, the message in the console about ignored tables is conditionally shown or hidden based on the value of ignore_table_count.

Data processing logic:

Updated the logic to handle max_locations_per_table configurations. If max_locations_per_table is set to 0, all locations will be shown, and the message related to the locations will be hidden.

@jvlara jvlara self-requested a review March 11, 2025 02:41
@jvlara jvlara self-assigned this Mar 11, 2025
Copy link
Copy Markdown
Owner

@jvlara jvlara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again for contributing 🚀. I've been quite busy lately, but better late than never jaja

…count and location settings

  * added logic to hide the message in HTML when ignore_table_count is 1 or less
  * added logic to hide the message in console when ignore_table_count is 1 or less
  * updated data processing to conditionally handle max_locations_per_table and ignore_table_count configurations
  * updated HTML and console output to reflect hidden messages based on configurations
@jairosoto05 jairosoto05 requested a review from jvlara March 16, 2025 01:03
@jvlara jvlara merged commit a69bd1b into jvlara:main Apr 2, 2025
3 checks passed
@jairosoto05 jairosoto05 deleted the update_printer branch April 3, 2025 04:30
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