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

Update the Container Image Tags page view #999

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions airgun/views/containerimagetag.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,31 @@ def is_displayed(self):
@View.nested
class details(SatTab):
product = ReadOnlyEntry(name='Product')
repository = ReadOnlyEntry(name='Repository')
schema = ReadOnlyEntry(name='Schema Version')
manifest_type = ReadOnlyEntry(name='Manifest Type')
digest = ReadOnlyEntry(name='Digest')

@View.nested
class lce(SatTab):
TAB_NAME = 'Lifecycle Environments'
table = SatTable(
'.//table',
column_widgets={'Environment': Text('./a'), 'Content View Version': Text('./a')},
column_widgets={
'Environment': Text('./a'),
Copy link
Contributor

Choose a reason for hiding this comment

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

Please take a look into this reference PR "fix bad table row locator" raised by @sambible

'Environment': Text('.//a')

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Although both options work, after off-line communication we decided to keep the current version.

'Content View Version': Text('./a'),
'Published At': Text('./a'),
},
)

@View.nested
class repos(SatTab):
TAB_NAME = 'Repositories'
table = SatTable(
'.//table',
column_widgets={
'Name': Text('./a'),
'Product': Text('./a'),
'Content View': Text('./a'),
'Last Sync': Text('./a'),
},
)
Loading