Commit Graph
36 Commits
Author SHA1 Message Date
Scott Gress cd18ced3e9 Rename teams and queries to fleets and reports in UI (#39572) 2026-02-17 15:19:33 -06:00
Victor Lyuboslavsky ba5f02f9ca os_versions endpoint performance improvements (#34897)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #34500 and Resolves #33758

Video demo: https://www.youtube.com/watch?v=4HZlKG0G1B0

- Added a new aggregation table
`operating_system_version_vulnerabilities` for faster queries. The table
is currently used only for Linux vulnerabilities, but could be used for
other OS vulnerabilities.
- Added `max_vulnerabilities` parameter per [API
doc](https://github.com/fleetdm/fleet/pull/33533)
- Also added `max_vulnerabilities` parameter to `os_versions/{id}`
endpoint, but not making it public since that endpoint is still slow and
needs other API changes. bug #34974
- Removed `"kernels": []` from `os_versions` endpoint result

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.

- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)

## Testing

- [x] Added/updated automated tests
- [x] Where appropriate, [automated tests simulate multiple hosts and
test for host
isolation](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/reference/patterns-backend.md#unit-testing)
(updates to one hosts's records do not affect another)

- [x] QA'd all new/changed functionality manually

## Database migrations

- [x] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [x] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [x] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Added ability to limit the number of vulnerabilities displayed for
operating system versions via an optional parameter.
* Introduced vulnerability count tracking for operating system versions,
now visible in API responses and UI displays.
* Enhanced operating system vulnerability visualization with improved
count-based rendering.

* **Tests**
* Added comprehensive test coverage for vulnerability limiting behavior
across multiple operating system versions and architectures.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-11-03 13:07:44 -06:00
RachelElysia efc64389b1 Fleet UI [Feature]: UI reskin (#33558) 2025-09-29 12:10:41 -05:00
RachelElysia 3715545e67 Fleet UI: Revamp host > software page with inventory/library tabs (#29759) 2025-06-20 15:02:22 -04:00
RachelElysia 5e05fd4dac FE: Error messages in Storybook (#28640) 2025-05-06 09:20:03 -04:00
RachelElysia cd7da066ac Fleet UI: More pixel grace for zoomed out screensize (#28778) 2025-05-05 13:42:26 -04:00
RachelElysia 57a2fb4341 Fleet UI: Add Self-service categories key and filtering (#28506) 2025-05-02 12:11:48 -04:00
RachelElysia 00c3611712 Fleet UI: Table improvements (tooltips, tab-ability) (#27986) 2025-04-10 15:42:10 -04:00
RachelElysia df61e6b7f5 Fleet UI: Fix platform resetting on pagination of OS table (#27896) 2025-04-07 09:45:45 -04:00
RachelElysia 29034bb230 Fleet UI: Pagination follow-up (#27428) 2025-03-31 11:44:04 -04:00
RachelElysia 769154b821 Fleet UI: Fix several team ids that were dropping in certain flows (#26590) 2025-02-27 10:53:34 -05:00
RachelElysia df8e753e71 Fleet UI: Consistent table row clickability (#26022) 2025-02-04 14:05:22 -05:00
RachelElysia 42d7227611 Fleet UI: Fix Manage automation dropdown styling (#25753) 2025-01-27 09:14:16 -05:00
RachelElysia 65da5adfa7 Fleet UI: Fix dropdowns and use newer react-select (#25374) 2025-01-14 09:08:46 -08:00
RachelElysia 706a42032a Fleet UI: Hides Never timestamp for empty OS page, clean styling (#23844) 2024-11-18 13:33:33 -05:00
Ian Littman d0040e7622 Add platform filtering to Software > OS table (#21797)
#20385

See notes on that issue for API limitations (which is why Windows and
macOS are the only platforms listed).

Will move out of draft after adding the changes file and tests.

# Checklist for submitter

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-10-16 10:02:06 -05:00
Ian LittmanandJacob Shandling ebf1a2d8f5 Show zeroes on software/software OSes/software vulns tables (#21584)
#18897 

# Checklist for submitter

- [x] Changes file added for user-visible changes in `changes/`
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-08-30 18:12:19 -05:00
jacobshandlingandJacob Shandling 9353d091fe UI – Test all data tables, 1/6 (#21481)
## Addresses #20919 
- Write tests
- Componentize table rendering where helpful for testing
- Misc. improvements and cleanups

- [x] Added/updated tests

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-08-26 13:59:17 -07:00
jacobshandlingandJacob Shandling 17979b07bc UI – Update software table loading state (#20982)
## #20535 


~https://github.com/user-attachments/assets/4c39bd5d-3d75-46f0-9f39-05ec36dac0d0~

### Improved solution:

**Flow**:

![Screenshot-2024-08-19-at-114948A](https://github.com/user-attachments/assets/03de39c1-1436-49bd-a077-d73b248dcdfe)

**Just loading state:**
<img width="1617" alt="Screenshot 2024-08-19 at 11 50 18 AM"
src="https://github.com/user-attachments/assets/df429956-0699-4e73-a017-4022013ccce4">

****

- [x] Changes file added for user-visible changes in `changes/`
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-08-21 13:12:42 -07:00
jacobshandlingandJacob Shandling 232947b634 UI – Restore search/filter to empty SW versions table; empty state update for SW title details w/o versions (#21098)
## Parts 1b and 2 for #21053 

1b: 
<img width="1502" alt="Screenshot 2024-08-06 at 12 14 30 PM"
src="https://github.com/user-attachments/assets/19dc67ca-adde-49ff-a884-b9ebaa15b1d7">


2: <img width="1502" alt="Screenshot 2024-08-06 at 12 13 28 PM"
src="https://github.com/user-attachments/assets/951bdf0b-adfc-41a1-b668-2d0b53addbe4">


- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-08-06 15:29:15 -07:00
RachelElysia 7173727f22 Fleet UI: Update software updated time tooltip (#20029) 2024-06-27 09:41:35 -04:00
RachelElysia 85a5c6eecb Fleet UI: Update software empty states (#19744) 2024-06-17 09:57:03 -04:00
RachelElysia 35a467b7e0 Fleet UI: Refactor client filtered counts for cleaner rendering (#19689) 2024-06-14 13:12:56 -04:00
RachelElysia 5223640e5c [released bugs] UI fix: 4 software/policy tables reset to page 0 when switching teams (#19035) 2024-06-03 09:42:34 -04:00
Gabriel Hernandez 4c99ebebaf UI updates to software page to support added software feature. (#18731)
relates to #18328

make updates to the software titles page to support new add software
feature. this includes.

**Change of page description**


![image](https://github.com/fleetdm/fleet/assets/1153709/e90a2149-54c4-41f0-a1ec-12ebc4619d6c)

**new install status column and change order of `Type` and `verison`
columns**


![image](https://github.com/fleetdm/fleet/assets/1153709/662841fd-2f9e-489c-adc3-fbf1442228b2)

**adding new dropdown filter option and conditionally showing it for
titles and versions tables**


![image](https://github.com/fleetdm/fleet/assets/1153709/8e81680e-d733-4d63-94b6-b4441cb708e3)

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality
2024-05-06 13:49:49 +01:00
Victor Lyuboslavsky 64e76f6f10 15919 vulnerabilities page (#17047)
#15919 

This is a feature branch. All PRs into this branch have already been
reviewed.
2024-02-23 11:00:31 -06:00
RachelElysia 2a6e94a55e Frontend tech debt: Cleanup {} around strings (#16592) 2024-02-23 09:57:18 -05:00
Victor Lyuboslavsky 9e83339f3d Merge branch 'main' into 15919-vulnerabilities-page 2024-02-22 16:27:15 -06:00
Gabriel Hernandez 2c383a060f Fix UI software versions and os initial loading state (#16927)
relates to #16854

This fixes the inital loading state in the UI for the software versions
and os tables.

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
- [x] Manual QA for all new/changed functionality
2024-02-22 16:54:32 +00:00
Jacob Shandling 1cf7362968 Merge branch 'main' into 15919-vulnerabilities-page 2024-02-21 10:58:58 -08:00
Jacob ShandlingandJacob Shandling 4df1159d75 UI – Apply missing truncation and overflow styles to SW OS table (#16971)
## –> #16941 

<img width="968" alt="Screenshot 2024-02-19 at 2 20 12 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/461d7eab-57ac-45e9-aa36-1310118caacd">


- [x] Changes file added for user-visible changes in `changes/` 
- [x] Manual QA

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-02-19 14:50:36 -08:00
RachelElysia de40fa6988 Fleet UI Software pages: Add team id params onto various software detail pages (#16757) 2024-02-15 10:35:58 -07:00
RachelElysia 4f32ba3235 Vuln FE Iteration: Free columns, clickable rows, export host call update (#16749) 2024-02-15 10:35:58 -07:00
RachelElysia c4da90f7fa Fleet UI: Update os version detail page to use os_version_id in URL and call API (#16448) 2024-01-31 13:32:45 -05:00
Jacob ShandlingandJacob Shandling 3c5d52a5ff UI – Adjust API Token modal, other small fixes (#16396)
<img width="653" alt="Screenshot 2024-01-26 at 4 03 14 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/4cb59fbc-1cde-4b07-bbf4-cc73091c26b1">

- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-01-29 13:05:22 -08:00
RachelElysiaandGabriel Hernandez 6e7174c22f Frontend: UI Vulnerabilities feature (#16322)
Co-authored-by: Gabriel Hernandez <ghernandez345@gmail.com>
2024-01-25 13:03:44 -05:00