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

✨ Add Dependencies page & drawer #1077

Merged
merged 3 commits into from
Jul 12, 2023
Merged

Conversation

ibolton336
Copy link
Member

@ibolton336 ibolton336 commented Jun 29, 2023

  • Adds the dependencies page & dependencies drawer from these mockups
  • Uses the existing server side filter/sort method for both the dependencies and dependencies applications components

@ibolton336 ibolton336 force-pushed the deps-update branch 2 times, most recently from b079fed to 29a1692 Compare July 5, 2023 20:11
@codecov
Copy link

codecov bot commented Jul 5, 2023

Codecov Report

Patch coverage: 83.33% and project coverage change: +0.03 🎉

Comparison is base (db4c8f2) 44.04% compared to head (5a5645b) 44.08%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1077      +/-   ##
==========================================
+ Coverage   44.04%   44.08%   +0.03%     
==========================================
  Files         177      177              
  Lines        4493     4498       +5     
  Branches     1007     1007              
==========================================
+ Hits         1979     1983       +4     
- Misses       2503     2504       +1     
  Partials       11       11              
Flag Coverage Δ
unitests 44.08% <83.33%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
client/src/app/api/rest.ts 54.00% <80.00%> (+0.24%) ⬆️
client/src/app/Constants.ts 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ibolton336 ibolton336 force-pushed the deps-update branch 2 times, most recently from a605691 to 3a57ba8 Compare July 6, 2023 01:27
@ibolton336 ibolton336 changed the title [WIP] Add Dependencies page & drawer ✨ Add Dependencies page & drawer Jul 6, 2023

export const Dependencies: React.FC = () => {
const { t } = useTranslation();

const allAffectedApplicationsFilterCategories =
useSharedAffectedApplicationFilterCategories();
Copy link
Member Author

Choose a reason for hiding this comment

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

Changed this shared hook name since we are using it in dependencies. Open to name suggestions if this one is confusing.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This name works for me, I can't really think of anything better than "affected application filter categories" for "filters on application properties that aren't for the app inventory page" 🙃

Copy link
Collaborator

@mturley mturley left a comment

Choose a reason for hiding this comment

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

LGTM once we address the CI issue! Nice.

@mturley
Copy link
Collaborator

mturley commented Jul 10, 2023

@ibolton336 the CI error here looks to be a conflict with the PF upgrade:

src/app/pages/dependencies/dependency-apps-table.tsx(5,3): error TS2305: Module '"@patternfly/react-table"' has no exported member 'TableComposable'.

The old TableComposable is now just Table.

Copy link
Collaborator

@mturley mturley left a comment

Choose a reason for hiding this comment

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

Spoke too soon, a couple tiny things:

Signed-off-by: ibolton336 <ibolton@redhat.com>
Signed-off-by: ibolton336 <ibolton@redhat.com>
Copy link
Collaborator

@mturley mturley left a comment

Choose a reason for hiding this comment

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

LGTM

@ibolton336 ibolton336 merged commit d17502f into konveyor:main Jul 12, 2023
mturley added a commit that referenced this pull request Sep 22, 2023
Fixes a bug @ibolton336 found where filters weren't working on the
Single Application tab of the Issues page.

Looks like this param was removed in #1077

Signed-off-by: Mike Turley <mike.turley@alum.cs.umass.edu>
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