fleet icon indicating copy to clipboard operation
fleet copied to clipboard

New policies page issues

Open xpkoala opened this issue 1 year ago • 1 comments

Fleet version: main

Web browser and operating system: NA


💥  Actual behavior

  1. Policies Team page shows button in top right corner when there are no policies shown on the page. This button should be omitted per the Figma specs

  2. Policies Team page showing inaccurate policy counts when using the search bar. The count on the left always appears to include the total Team policy count, even when no results are displayed, but will omit any global based policies that are not returned.

🧑‍💻  Steps to reproduce

  1. View the Team policy page with no saved policies.
  2. The video will demonstrate some of the behaviors outlined.

🕯️ More info (optional)

image

https://github.com/fleetdm/fleet/assets/11012743/8aa21afc-62ef-4b1b-bc46-0fb05ca1a00f

xpkoala avatar May 09 '24 16:05 xpkoala

@xpkoala heads up the second bug ended up being an API bug

@mostlikelee found the issue quickly and will be putting a PR and integration tests in for it.

RachelElysia avatar May 09 '24 18:05 RachelElysia

A button hidden, True count in search now seen, Fleet's canvas serene.

fleet-release avatar May 23 '24 20:05 fleet-release