Skip to content
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

Fixed bugs in ViewBar filtering #7608

Merged
merged 4 commits into from
Oct 11, 2024
Merged

Conversation

lucasbordeau
Copy link
Contributor

  • Fixed CSS for SortOrFilter chips
  • Fixed bug when refreshing with an actor source filter set

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This pull request addresses bugs in the ViewBar filtering functionality, focusing on CSS improvements for SortOrFilter chips and fixing issues with actor source filters.

  • Modified 'ACTOR' case handling in turnObjectDropdownFilterIntoQueryFilter.ts to improve filter processing for 'Is' and 'IsNot' operands
  • Adjusted CSS in SortOrFilterChip.tsx, reducing padding and adding max-height for better visual consistency
  • Removed bottom padding from StyledChipContainer in ViewBarDetails.tsx to improve chip alignment
  • These changes aim to enhance the user experience and resolve issues with actor source filters during page refreshes

3 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

break;
}
case ViewFilterOperand.IsNot: {
const parsedRecordIds = JSON.parse(rawUIFilter.value) as string[];
Copy link
Contributor

Choose a reason for hiding this comment

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

style: Duplicate JSON parsing. Consider extracting this to a variable to avoid repetition

@charlesBochet charlesBochet merged commit fef3d32 into main Oct 11, 2024
4 of 8 checks passed
@charlesBochet charlesBochet deleted the fix/filter-css-and-actor-source branch October 11, 2024 18:25
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