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

feat(fe2): Improve property name display and search functionality in filtering #2396

Conversation

andrewwallacespeckle
Copy link
Contributor

Description & motivation

This PR addresses user feedback from the forums regarding the display of property names and the search functionality in our UI for Revit files. Users requested more user-friendly property names instead of raw database keys and improved search capabilities.

Changes:

  • Display user-friendly property names for Revit files instead of raw database keys.
  • Enhance the search functionality to include user-friendly property names for Revit files.
  • Ensure that non-Revit properties are displayed and searched as usual, without modification.

Copy link

linear bot commented Jun 18, 2024

@andrewwallacespeckle andrewwallacespeckle marked this pull request as ready for review June 18, 2024 16:27
return revitPropertyRegex.test(key)
}

const getPropertyName = (key: string): string => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like everywhere where we use this fn we have access to the entire filter object. If we pass that in, instead of just the key, we don't have to do the props.filters.find() bit

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Passing the entire filter object introduced complexity with a fallback mechanism and error handling in title. Let me know if this is enough to stop us merging and I can take another look on Monday but I'm running out of time today

fabis94
fabis94 previously approved these changes Jun 21, 2024
@andrewwallacespeckle andrewwallacespeckle merged commit d019e32 into main Jun 21, 2024
21 of 23 checks passed
@andrewwallacespeckle andrewwallacespeckle deleted the andrew/web-462-output-property-names-in-list-of-searchable-properties branch June 21, 2024 14:46
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