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

fix: recent workflow bug on filtering executions #264

Merged
merged 1 commit into from
Jan 14, 2022

Conversation

Pianist038801
Copy link
Contributor

@Pianist038801 Pianist038801 commented Jan 13, 2022

Signed-off-by: Pianist038801 [email protected]
BUG-2065

This fixes a bug in the recent workflow versions table when filtering executions.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

@codecov
Copy link

codecov bot commented Jan 13, 2022

Codecov Report

❗ No coverage uploaded for pull request base (master@3e69b11). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #264   +/-   ##
=========================================
  Coverage          ?   63.85%           
=========================================
  Files             ?      370           
  Lines             ?     8110           
  Branches          ?     1441           
=========================================
  Hits              ?     5179           
  Misses            ?     2931           
  Partials          ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e69b11...7906c20. Read the comment docs.

@@ -62,7 +62,7 @@ export const EntityVersions: React.FC<EntityVersionsProps> = ({
{ domain, project },
{
sort,
filter: [...baseFilters, ...filtersState.appliedFilters],
filter: baseFilters,
Copy link
Contributor

@anrusina anrusina Jan 13, 2022

Choose a reason for hiding this comment

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

@Pianist038801 I'm trying to understand what bug exactly was fixed. Could you please add info to description of what was going wrong, and how it is working now.
Or maybe you can record from screen broken and fixed behavior.

Copy link
Contributor

Choose a reason for hiding this comment

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

If the filter is not needed than filtersState mentions in line 50 and line 82 can also be removed 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@anrusina That's a good catch. Just pushed fix!

anrusina
anrusina previously approved these changes Jan 13, 2022
Copy link
Contributor

@anrusina anrusina left a comment

Choose a reason for hiding this comment

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

Smoke-tested - works as expected.
@Professional0321 Can you please removed unneeded mentions of filtersState in that file.

@anrusina anrusina added bug Something isn't working and removed bug Something isn't working labels Jan 13, 2022
@anrusina anrusina merged commit 0e82355 into master Jan 14, 2022
@anrusina anrusina deleted the fix/recent-workflows-bug-on-filtering branch January 14, 2022 15:49
@flyte-bot
Copy link
Collaborator

🎉 This PR is included in version 0.39.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

govalt pushed a commit that referenced this pull request Jan 15, 2022
Signed-off-by: Pianist038801 <[email protected]>

Co-authored-by: Pianist038801 <[email protected]>
Signed-off-by: csirius <[email protected]>
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