Commit Graph

2449 Commits

Author SHA1 Message Date
Gabriel Hernandez
aef64e3241
Fix export hosts csv UI and editing hidden columns UI (#17691)
relates to #17632

fixes a UI bug that prevented exporting hosts by csv.

also updates the edit hidden columns modal to use column id instead of
accessor. Id is safer to use as we are now using a function definition
for the accessor for mdm enrollment status and mdm server URL columns.

- [x] Manual QA for all new/changed functionality
2024-03-19 11:51:10 +00:00
RachelElysia
b9c3d3a5b4
Fleet UI: Persist toast messages after a modal closes (#17674) 2024-03-18 14:53:30 -04:00
Gabriel Hernandez
53a08bb552
fix software page tables leading to 500 page (#17616)
quick fix to software tables so that they don't take user to 500 page
2024-03-14 15:57:07 +00:00
Sarah Gillespie
a429b51462
Remove outdated tooltips for MDM "Off" status from UI (#17575) 2024-03-14 10:04:41 -05:00
Gabriel Hernandez
3c2e4b8f4a
update UI to react 18 (#17471) 2024-03-13 19:09:16 +00:00
Jacob Shandling
c112f4425d
UI - update type, handle null in one more place (#17569)
Follow-up to #17548 

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

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-03-12 13:39:35 -05:00
Jacob Shandling
eaf8f41dd0
UI - add missing null handling on team settings (#17548) 2024-03-11 17:05:30 -05:00
RachelElysia
5cf074b485
[Unreleased tiny bugs] Vuln feature: Tooltip locations, requested copy change (#17536) 2024-03-11 15:39:33 -04:00
Jacob Shandling
a1f85f8b26
UI – refactor custom dropdown option logic, apply it to the global and team host status webhook settings (#17518)
## Addresses #17496
- Encapsulate logic for generating custom dropdown options
- Apply that logic to the team and global host status webhook settings
forms, as well as the edit query form
- Hide and show global host status webhook setting fields to match the
fresher UX of the team setting

![Screenshot 2024-03-08 at 5 56
39 PM](https://github.com/fleetdm/fleet/assets/61553566/59c618f1-e955-4ee8-abfe-ca9a3a7c7362)

- [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-03-11 11:27:34 -05:00
RachelElysia
464f4cf822
[released bugs] Fleet UI: Fix 5 params for exporting hosts onto a file (#17526) 2024-03-11 12:17:58 -04:00
RachelElysia
b2c089c351
Fleet FE: Do not pass empty search string to API for bulk transfer/delete hosts (#17525) 2024-03-11 12:08:41 -04:00
RachelElysia
1c442963e0
[unreleased nits] Vuln feature: missing tooltips, wrong software view… (#17516) 2024-03-08 16:58:16 -05:00
Gabriel Hernandez
944082d014
fix server url column header name (#17504)
real quick fix to the server url column header name.
2024-03-08 18:54:43 +00:00
Jacob Shandling
aa1845a06b
UI – Fix sw detail error handling (#17478)
## Addresses:
-  unreleased bug with error handling on the vulnerability details page
- miscellaneous code and style improvements

Bug (404 and 403s not being omitted from throwing and error as
intended):

![image](https://github.com/fleetdm/fleet/assets/61553566/4d5e556e-c812-497c-85b8-bdc3af0bc805)

Fixed:
<img width="1277" alt="Screenshot 2024-03-07 at 3 37 22 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/55c28bda-7d2f-49e7-ad69-094df8d66b46">

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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
Co-authored-by: RachelElysia <71795832+RachelElysia@users.noreply.github.com>
2024-03-08 08:21:48 -08:00
Sarah Gillespie
b0803559e7
Trucate MDM server url in hosts table UI (#17497) 2024-03-08 09:57:07 -06:00
RachelElysia
75e280e090
[unreleased bugs] Vuln details page: missing cards, incorrect link (#17495) 2024-03-08 10:53:02 -05:00
Sarah Gillespie
ed5191cf8a
Fix tooltip font size in settings page UI (#17474) 2024-03-08 09:49:05 -06:00
Gabriel Hernandez
1ca3e3e7ff
remove unneeded table boarders on mdm page (#17492)
remove unneeded header boarders on mdm pages.

**before:**


![image](https://github.com/fleetdm/fleet/assets/1153709/6fd93f49-1218-468c-a83b-aa80ca7b0384)


**after:**


![image](https://github.com/fleetdm/fleet/assets/1153709/ad885532-c88e-474e-b88c-90155c5416e3)


- [x] Manual QA for all new/changed functionality
2024-03-08 15:46:38 +00:00
RachelElysia
cbce4621ec
[unreleased bugs] Fleet UI: Missing vulnerability filter block / incorrect link param (#17473) 2024-03-08 09:22:25 -05:00
RachelElysia
563aa1e9bf
Fleet UI/docs: Update notes about public IP address (#17383) 2024-03-08 09:21:56 -05:00
RachelElysia
7e264b386f
[P1] Fleet UI: Hide bulk selection when unsupported filter (#17463) 2024-03-07 16:38:25 -05:00
RachelElysia
6b73816548
Fleet UI: Fix host summary data styling bug (#17421) 2024-03-07 14:46:13 -05:00
Sarah Gillespie
06d5c9cada
Fix UI styling of host name in ran script activity item (#17437) 2024-03-07 09:28:24 -06:00
RachelElysia
ceaa6d13fa
Transfer/Delete bug fix: fix low_disk_space (#17434) 2024-03-06 16:15:34 -05:00
RachelElysia
fe4a6c8aca
[tiny released bug] Fleet UI: Fix Munki issues tooltip wrapping (#17415) 2024-03-06 13:43:09 -05:00
RachelElysia
dfcca55b80
[released bugs] Fleet FE: Bulk host transfer and delete respects all UI page filters (#17263) 2024-03-06 13:29:14 -05:00
Jacob Shandling
fa093203df
UI – Simpler edit icon solution, applied to Edit query and Edit policy forms (#17364)
## ➡️ #17224  

- Replace the [solution merged
here](https://github.com/fleetdm/fleet/pull/17086) with a simpler and
more easily extendable one
- Apply same approach to the Edit policies form.

Edit query demo:

https://www.loom.com/share/589d3bfedc754f62b31c39bc517c2382?sid=ce65e5a5-e13f-4446-a37c-991a09cc8960

Edit query:
<img width="1791" alt="Screenshot 2024-03-04 at 5 34 35 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/6727bd9e-ad05-45b0-a65c-e01487d7d923">

Edit policy:
<img width="2550" alt="Screenshot 2024-03-05 at 11 47 34 AM"
src="https://github.com/fleetdm/fleet/assets/61553566/fdd8e455-7f54-4177-be3e-4a82a879a176">

<img width="2550" alt="Screenshot 2024-03-05 at 11 47 27 AM"
src="https://github.com/fleetdm/fleet/assets/61553566/3b33b097-f652-4e99-b944-2d29ffe3f311">



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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-03-05 14:08:24 -08:00
Jacob Shandling
a184d1e073
UI – increase scope of policy > critical checkbox width override to include new policy form (#17348)
## ➡️ #17036 

![Screenshot 2024-03-04 at 11 36
34 AM](https://github.com/fleetdm/fleet/assets/61553566/47fef465-25b8-48cb-9634-a060d5acd90c)



- [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-03-05 13:02:42 -08:00
RachelElysia
1440584d06
Fleet UI: Surface VS code extensions in UI (#17333) 2024-03-05 11:59:53 -05:00
Gabriel Hernandez
252848720c
Fix for mdm solution rollup to handle empty string for rollup correctly. (#17366)
relates to #17335

This fixes the issue with empty strings for mdm solution names. I also
cleans up a bit around the code and typing for this feature.

- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-03-05 15:48:55 +00:00
Gabriel Hernandez
60167ff0c6
Fix wrong number of host in mdm solutions modal and fix mdm solutions table UI to work for null named solutions (#17336)
relates to #16837, #17334, #17335

This fixes a UI bug for the case where the mdm solution name can be
null. We now handle this case properly and show the mdm solution data in
the modal.

This also fixes a UI bug where we showed the incorrect number of hosts
in the mdm solutions modal.

There is various cleanup here to the js and scss code in this PR too. 

- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-03-05 11:55:00 +00:00
Jacob Shandling
6c7130efa6
UI – add "No team" option when targeting live queries (#17363)
## ➡️ #16350 


https://www.loom.com/share/dfc5ea298e4342f286ed5945507403c1?sid=a0d3b9d6-8a05-4919-990e-5121d0deac3e

<img width="999" alt="Screenshot 2024-03-04 at 4 15 24 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/a5271f8c-119d-4ed7-bcd5-538640e8a1f6">


- [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-03-04 16:23:15 -08:00
Jacob Shandling
d477369ed3
UI - remove fancy error state logic on team settings (#17356)
## Updates feature per
https://github.com/fleetdm/fleet/pull/17285#issuecomment-1977457175
https://www.loom.com/share/c10941c7e2e74b4cb55c31427e0f5886
- [x] Manual QA for all new/changed functionality

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-03-04 15:08:30 -08:00
Jacob Shandling
4b1ce1d518
UI – Per-team host status webook feature (#17285)
## Addresses #17091


![Screenshot-2024-02-29-at-91723PM(1)](https://github.com/fleetdm/fleet/assets/61553566/39b7013f-3d41-404a-9526-80db034679eb)

**also addresses #17286, #17287 and miscellaneous code improvements** 

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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-03-04 13:24:26 -08:00
Jacob Shandling
f230f90cee
UI – interpret <code> element in help text (#17350)
## ➡️ #17351 
Bug:

![screenshot_2024-03-04_at_16 19
46_360](https://github.com/fleetdm/fleet/assets/61553566/54bd9619-d3bb-4b22-9d44-870f45ce931a)

Fixed:

![Screenshot 2024-03-04 at 12 45
08 PM](https://github.com/fleetdm/fleet/assets/61553566/789cb74c-a2b3-4174-8f42-294a25e80bfc)

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

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-03-04 12:57:02 -08:00
RachelElysia
316321e889
[released bug] Fleet Full stack: Allow teams filter when transferring hosts by filters (#17241) 2024-03-04 15:48:19 -05:00
RachelElysia
4345690dd2
Fleet UI: Update displayed data on device details pages (#17174) 2024-03-04 15:47:42 -05:00
Gabriel Hernandez
2d1caa84d4
rollup the mdm solutions by name on the dashboard page (#17297)
relates to #16837 

This rolls up the mdm solutions by name so that we only see one instance
of the mdm name. Clicking on this will then open a modal that shows the
server URLs and # of hosts for the mdm solution.

**Before:**

<img width="759" alt="image"
src="https://github.com/fleetdm/fleet/assets/1153709/2e8e6187-d987-42c3-8b8f-aa0552869578">

**After:**

<img width="768" alt="image"
src="https://github.com/fleetdm/fleet/assets/1153709/ff92199a-a9f8-4e42-8bb7-b626979c79d5">

**New modal:**

<img width="822" alt="image"
src="https://github.com/fleetdm/fleet/assets/1153709/88891630-352a-4aa6-999c-e25907a27ad0">


- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
- [x] Manual QA for all new/changed functionality
2024-03-04 13:14:50 +00:00
Gabriel Hernandez
4fa50778ac merge main into feat-mdm-wipe-host 2024-03-01 17:08:41 +00:00
Sarah Gillespie
e0cb59d4cb
Surface MDM devices where DEP assignment failed (#16973) 2024-03-01 10:52:19 -06:00
Jacob Shandling
cbd1a142b4
UI – Refactor edit query > name and description fields to allow reasonable control of pencil icons (#17086)
## –> #16663 
- Display text within `textarea` only when editing. Since the
problematic pencil icons are hidden in this state, it is okay that their
position varies depending on browser (see previous discussions).
- When not editing, text and icon are displayed in a `button` , removing
the dependence of their position on the variable per browser`textarea`
"col"s.
- Note that the wrapping behavior of these texts can affect how much
space is placed after it _within_ its span/textarea – the distance of
the icon from this element remains constant.


https://www.loom.com/share/105df09a447e42cc9e3a71668f5d1d2c?sid=244d0543-cc4b-43ed-83dd-22959cb08879


<img width="1284" alt="Screenshot 2024-02-27 at 2 15 12 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/7b8f7fea-bc57-4699-9d61-d93b19e8d922">



- [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-02-29 21:56:31 -08:00
Gabriel Hernandez
40892c9adb merge main into feat-mdm-wipe-host 2024-02-29 18:26:29 +00:00
RachelElysia
7158df1a85
[tiny released bug] Fleet UI: Fix live query/policy host search icon (#17082) 2024-02-29 08:49:36 -05:00
Gabriel Hernandez
66f5c34288
show error messages in flash message when wiping (#17245)
quick change to show the error message when wiping fails
2024-02-28 17:34:54 +00:00
Gabriel Hernandez
b692d7fa05 Merge branch 'main' into feat-mdm-wipe-host 2024-02-28 11:54:45 +00:00
RachelElysia
57c3ec2ca5
[unreleased bug] Fleet UI: exploit not exploited key for filtering vulns (#17176) 2024-02-27 09:33:13 -05:00
Gabriel Hernandez
5d20ee85fc
UI for wiping a host (#16874)
# Checklist for submitter

add ability in the UI to wipe a host managed by the fleet mdm. This
includes:

**new wipe host action dropdown option:**


![image](https://github.com/fleetdm/fleet/assets/1153709/a5c01e45-d494-4762-8504-1e1963093809)

**new wipe modal to initiate wiping a host:**


![image](https://github.com/fleetdm/fleet/assets/1153709/829c8dfb-a60f-427b-b6b8-2804924c0b71)

**wipe and wiping host status tags: **


![image](https://github.com/fleetdm/fleet/assets/1153709/de947160-7273-409d-bcfd-c219e887bb9d)


![image](https://github.com/fleetdm/fleet/assets/1153709/2a13e79a-2bcd-4aa5-b15f-5bb57348d191)

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
- [x] Manual QA for all new/changed functionality
2024-02-26 14:26:30 +00:00
Jacob Shandling
f18786b822
UI – handle missing vuln.severity (#17143) 2024-02-23 17:33:24 -06:00
RachelElysia
67cff18106
[unreleased bug] Fleet UI: Remove stack table controls on vulnerabili… (#17130) 2024-02-23 16:02:54 -05:00
RachelElysia
22bcc6cce7
[unreleased bug] Fleet UI: Button container min-width = max-content (#17128) 2024-02-23 16:02:33 -05:00