-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat: show a spinner when searching taxonomy #33190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: show a spinner when searching taxonomy #33190
Conversation
@@ -76,71 +75,72 @@ function TaxonomicGroupTitle({ openTab }: { openTab: TaxonomicFilterGroupType }) | |||
const { eventOrdering } = useValues(taxonomicFilterPreferencesLogic) | |||
const { setEventOrdering } = useActions(taxonomicFilterPreferencesLogic) | |||
|
|||
if (openTab === TaxonomicFilterGroupType.Events) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, i missed i had this change too.
this is just refactoring the method
Size Change: +2.07 kB (+0.06%) Total Size: 3.75 MB
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Added event sorting functionality and visual feedback to the taxonomic filter, allowing users to sort events by name or last seen date with loading indicators during searches.
- Added new
taxonomicFilterPreferencesLogic
to manage persistent sorting preferences with options for name, recently seen, or both - Implemented loading spinner in
InfiniteSelectResults
to provide visual feedback during searches - Enhanced
event_definition.py
with improved SQL query generation for multiple ordering expressions and date-specific sorting - Added comprehensive test coverage in
test_event_definition.py
for various sorting scenarios including alphabetical and timestamp-based ordering - Protected new sorting functionality behind
TAXONOMIC_EVENT_SORTING
feature flag
9 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
{!eventOrdering ? <IconCheck /> : <IconBlank />} | ||
<span>Both</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: 'Both' is not descriptive enough for the sorting option. Consider 'Recently seen + Name' for clarity.
c44c92a
into
feat/allow-event-sorting-in-taxonomic-filter
you get no visual feedback from the taxonomic filter when searching
let's give some
stacked on top of #33184