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(revit): CNX-543 category filter #373

Merged
merged 15 commits into from
Nov 8, 2024

Conversation

oguzhankoral
Copy link
Member

No description provided.

Copy link

linear bot commented Nov 8, 2024

CNX-543 Category Filter

Copy link

codecov bot commented Nov 8, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 8.40%. Comparing base (a18beec) to head (96414f6).
Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
...e.Connectors.DUI/Bindings/SendBindingUICommands.cs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##             dev    #373   +/-   ##
=====================================
  Coverage   8.39%   8.40%           
=====================================
  Files        238     237    -1     
  Lines       4692    4690    -2     
  Branches     512     512           
=====================================
  Hits         394     394           
+ Misses      4282    4280    -2     
  Partials      16      16           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -17,6 +18,9 @@ public async Task RefreshSendFilters() =>
public async Task SetModelsExpired(IEnumerable<string> expiredModelIds) =>
await Bridge.Send(SET_MODELS_EXPIRED_UI_COMMAND_NAME, expiredModelIds).ConfigureAwait(false);

public async Task SetFilterObjectIds<T>(string modelCardId, T idMap) =>
Copy link
Member

Choose a reason for hiding this comment

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

T generic arg could be replaced with object

public override List<string> GetObjectIds() => SelectedObjectIds;
public override List<string> RefreshObjectIds()
{
ObjectIds = SelectedObjectIds; // We know it is bad, it is for backward compatibility!
Copy link
Member

Choose a reason for hiding this comment

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

Can we use SelectedObjectIds everywhere instead? add on the ISendFilter.

I don't think the name will be confusing,

@oguzhankoral oguzhankoral merged commit b2606d2 into dev Nov 8, 2024
5 checks passed
@oguzhankoral oguzhankoral deleted the oguzhan/cnx-543-category-filter-experimental branch November 8, 2024 13:34
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.

3 participants