Skip to content

Conversation

@aali309
Copy link
Collaborator

@aali309 aali309 commented Nov 26, 2025

Fixes: GITOPS-7364

Screenshot 2025-12-09 at 3 31 14 PM

Filter options

Screenshot 2025-12-09 at 3 30 50 PM

Signed-off-by: Atif Ali <atali@redhat.com>
},
},
{
cell: t('Last Updated'),
Copy link
Collaborator

@keithchong keithchong Dec 1, 2025

Choose a reason for hiding this comment

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

I know some of the other lists do not have it, but could you put a Labels column here? See the Rollouts list for example

}
}
},
{
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you move this above Rollouts and add a separator? Something like this:

Screenshot 2025-12-01 at 4 58 17 PM

Copy link
Collaborator

Choose a reason for hiding this comment

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

  {
    "type": "console.navigation/separator",
    "properties": {
      "perspective": "admin",
      "section": "gitops-navigation-section",
      "id": "argocd-separator",
      "insertAfter": "appproject",
    }
  },

"type": "console.navigation/resource-ns",
"properties": {
"id": "appproject",
"name": "App Projects",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Make it the pluralized kind, eg. "AppProjects" instead of "App Projects"

],
},
{
filterGroupName: t('Source Repositories'),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Some of these filters appear very useful indeed. From what I understand, the filters act upon the information presented from one of the columns in the table. For example, in the applications list page, the filter is based on sync status or health status. So you filter the table to show only those apps that are healthy. Here, the source repositories and Destinations aren't shown in any column. I see the value though and can be convinced to keep these. Your thoughts?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You are right, these filters don’t correspond to the visible columns, but they are valuable because users often want to filter projects by the repos and destinations. Also, AppProjects are configuration objects where source repos and destinations define security boundaries. Users often need to find projects based on their allowed repositories or deployment targets, even if those fields aren’t shown as columns. The filters help with security governance and operational discovery. I think yes, we should keep these filters.

<div>
{showTitle == undefined && (
<ListPageHeader
title={t('App Projects')}
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe this has to be the pluralized kind, eg. AppProjects, to be consistent with the other k8s resources list pages.

Signed-off-by: Atif Ali <atali@redhat.com>
Copy link
Collaborator

@keithchong keithchong left a comment

Choose a reason for hiding this comment

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

@aali309 . Label column looks good. Just a few comments and I think it'll be good to go.

{
id: 'gitops-action-edit-project',
disabled: !project?.metadata?.namespace || !project?.metadata?.name,
label: t('Edit App Project'),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Edit AppProject

bValue = b.metadata?.labels || {};
break;
case 'last-updated':
aValue = getLastUpdateTimestamp(a);
Copy link
Collaborator

@keithchong keithchong Dec 8, 2025

Choose a reason for hiding this comment

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

The sort doesn't seem to work for me. I had two projects and they didn't sort properly. It sorted ascending, but didn't switch the order back on descending, on any of the following time formats:

Just now
9 minutes ago
Dec 8, 2025, 9:19 AM
Dec 8, 2025, 11:33 AM

I need to fix this in the Rollouts list too.

@@ -0,0 +1,7 @@
.project-list-page {
&__topology-link {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will you be using this? The rollouts stuff will link to the topology.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

removed the unused topology-link SCSS

hideFavoriteButton={false}
>
<ListPageCreate groupVersionKind={modelToRef(AppProjectModel)}>
{t('Create App Project')}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Create AppProject

…ink SCSS

Signed-off-by: Atif Ali <atali@redhat.com>
@aali309 aali309 requested a review from keithchong December 9, 2025 20:31
Copy link
Collaborator

@keithchong keithchong left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @aali309 !

@keithchong keithchong merged commit ff5e533 into redhat-developer:main Dec 10, 2025
3 checks passed
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