Skip to content

Conversation

@aholmes
Copy link
Contributor

@aholmes aholmes commented Apr 21, 2025

This change causes the Summary view to update when:

  • The Project dropdown changes
  • The start date changes
  • The end date changes

This allows users to change the summary view without the extra Search button click.

This change also alters how the related HTML elements are discovered in the DOM. Each element is queried before event execution, which means they do not need to be queried every time the Search events fire.


This PR does not update all DOM queries to only query once. Only the date/project inputs (the ones related to this PR) have been updated.

@aholmes aholmes marked this pull request as ready for review April 21, 2025 17:21
This change causes the Summary view to update when:

* The Project dropdown changes
* The start date changes
* The end date changes

This allows users to change the summary view without the extra Search
button click.

This change also alters how the related HTML elements are discovered in
the DOM. Each element is queried before event execution, which means
they do not need to be queried every time the Search events fire.
@aholmes aholmes force-pushed the aholmes-automatic-search-on-dropdown-change branch from 6809fc0 to 27702d2 Compare April 21, 2025 17:24
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.

1 participant