Action column is empty when there is no action to list

Bug #2042932 reported by Numan Menekşe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
skyline console
Fix Released
Undecided
Unassigned

Bug Description

On any listing page, some actions are defined in the action field. However, when these actions are shown and hidden according to some roles, these actions do not appear in the list. If there is no action to show, the Action column appears empty.

It has to be: If there is no action to be listed, the Action column should be hidden.

Revision history for this message
xusongfu (xusongfu) wrote :

Hi,

This is a good suggestion; we will consider optimizing it.

Thank you.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to skyline-console (master)
Changed in skyline-console:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to skyline-console (master)

Reviewed: https://review.opendev.org/c/openstack/skyline-console/+/901530
Committed: https://opendev.org/openstack/skyline-console/commit/54e64ea9fc25045952a9fbfdfbc1689e0c3b5d5a
Submitter: "Zuul (22348)"
Branch: master

commit 54e64ea9fc25045952a9fbfdfbc1689e0c3b5d5a
Author: xusongfu <xu.songfu@99cloud.net>
Date: Tue Nov 21 17:53:55 2023 +0800

    fix: Fix action colum of the Table

    Fix action list for listener of loaderbalance

    Closes-Bug: #2042932
    Change-Id: Ie6573cbb7145baf043606c6374ff14ddd83fa4ac

Changed in skyline-console:
status: In Progress → Fix Released
Revision history for this message
Numan Menekşe (numanmenekse) wrote :

Thanks for fix.

Is it valid for any page or else DNS, LoadBalancer?

Revision history for this message
xusongfu (xusongfu) wrote :

This patch just fixed the LoadBalancer Listener. Is there a similar issue with DNS?

Revision history for this message
Numan Menekşe (numanmenekse) wrote :

Yes, it was actually valid for actions that do not have firstAction but have primaryActions. I think the firstAction part should be full, it should be an action.

I think this is the right method ?

Revision history for this message
xusongfu (xusongfu) wrote :

Actually firstAction could be empty, such as DNS.

The Set action and Unset action belong to one collection.

We probably should't use firstAction for the Set action, but use moreAction for Unset action.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/skyline-console 4.0.0.0rc1

This issue was fixed in the openstack/skyline-console 4.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.