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

[frontend] fix filters adding for TimeLine views, Alert Live, and label icon (#6348) #6349

Merged
merged 7 commits into from Mar 14, 2024

Conversation

Archidoit
Copy link
Member

@Archidoit Archidoit commented Mar 14, 2024

PR content:

@Archidoit Archidoit added filigran team use to identify PR from the Filigran team filters temporarily used to identify filter issue to facilitate filter team’s work identification labels Mar 14, 2024
@Archidoit Archidoit self-assigned this Mar 14, 2024
@Archidoit Archidoit marked this pull request as draft March 14, 2024 10:51
@Archidoit Archidoit marked this pull request as ready for review March 14, 2024 11:05
Copy link

codecov bot commented Mar 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.73%. Comparing base (1278c91) to head (d4242b7).
Report is 1 commits behind head on master.

❗ Current head d4242b7 differs from pull request most recent head 97e94f9. Consider uploading reports for the commit 97e94f9 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6349      +/-   ##
==========================================
- Coverage   66.74%   66.73%   -0.01%     
==========================================
  Files         541      541              
  Lines       64530    64530              
  Branches     5306     5306              
==========================================
- Hits        43068    43067       -1     
- Misses      21462    21463       +1     

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

<Loader
variant={LoaderVariant.inElement}
withTopMargin={true}
<UserContext.Consumer>
Copy link
Member

@labo-flg labo-flg Mar 14, 2024

Choose a reason for hiding this comment

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

ouch. But probably "a bit" more work if we want to refactor this component and use hooks :)

Copy link
Member Author

Choose a reason for hiding this comment

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

yes it's far better to use hook... but need refacto ^^'

this,
)}
handleToggleModeOnlyActive={this.handleToggleModeOnlyActive.bind(
timeLineFilters={timeLineFilters}
handleAddTimeLineFilter={this.handleAddTimeLineFilter.bind(
Copy link
Member

Choose a reason for hiding this comment

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

Just from reading the code, it looks like handleAddTimeLineFilter has a different signature now, but we pass it as a parameter to ContentKnowledgeTimeLineBar which then uses it directly to pass it to Filters component (handleAddFilter={handleAddTimeLineFilter}) but handleAddFilter type doesn't have the same signature anymore.

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed :)

@Kedae Kedae merged commit ddb40da into master Mar 14, 2024
5 of 6 checks passed
@Kedae Kedae deleted the issue/6348 branch March 14, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filigran team use to identify PR from the Filigran team filters temporarily used to identify filter issue to facilitate filter team’s work identification
Projects
None yet
4 participants