Commit Graph

564 Commits

Author SHA1 Message Date
RachelElysia
55b844715d
UI: Consistent code for anchor elements, specifically external links (#6542) 2022-09-02 15:28:42 -04:00
RachelElysia
3e310ba150
Fleet UI: Fix bug with label sidebar not collapsing (#7402) 2022-09-01 17:42:25 -04:00
RachelElysia
93e684d524
Frontend: Cleanup implied types, unused imports and variables (#7439) 2022-09-01 11:28:02 -04:00
RachelElysia
d30dea44ee
Frontend: Refactor building query params for export hosts and host count (#7269) 2022-08-31 14:18:32 -07:00
RachelElysia
2f10e53082
Fleet UI: Fix clearing filters on manage host page (#7466) 2022-08-31 08:31:21 -07:00
gillespi314
8157359f84
Ingest Windows host display version for hosts table (#7403) 2022-08-30 10:16:48 -05:00
RachelElysia
5f088148e5
Fleet UI: Show SQL of scheduled queries (#7277) 2022-08-29 12:11:30 -07:00
RachelElysia
e64dd73b54
Fleet UI: Button loading spinners (#7124)
Co-authored-by: Luke Heath <luke@fleetdm.com>
2022-08-29 08:21:37 -07:00
RachelElysia
aa3c70be92
Fleet UI: Label errors (#7406) 2022-08-26 07:55:21 -07:00
RachelElysia
0fff51ed96
Fleet UI: Fix updating filters resetting to page 1 (#7348)
Co-authored-by: Sarah Gillespie <sarahgillespi314@gmail.com>
2022-08-25 14:18:13 -07:00
Roberto Dip
9a1d2066bb
deprecate host_settings in favor of features (#7358)
Related to #7312, this makes use of the changes introduced in #7353 to rename host_settings to features while keeping backwards compatibility.
2022-08-25 13:41:50 -03:00
Gabriel Hernandez
9f9cb597fa
remove unused code and change copy (#7376) 2022-08-24 15:45:32 +01:00
Gabriel Hernandez
041920bcaf
Implement dropdown for label filters on manage hosts page (#7300)
* add label filter dropdown to the manage host page table

* increase label filter select width

* improve responsive styling for manage host page
2022-08-24 13:38:43 +01:00
RachelElysia
5e8f46da73
Fleet UI: Manage Host Page disable next on pagination of if on last page of results (#7356) 2022-08-23 10:29:44 -07:00
gillespi314
7fb109e6b3
Handle errors for duplicate os records (#7294) 2022-08-22 14:34:00 -05:00
RachelElysia
5ee763457f
Fleet UI: Remove "Toggle SortBy" tooltip (#7240) 2022-08-18 08:51:31 -05:00
Luke Heath
1a5e1ff56e
Fix MDM solution name filter text (#7287) 2022-08-18 08:45:54 -05:00
RachelElysia
18852aae66
Fleet UI: macOS dashboard MDM solutions (#7014)
Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
2022-08-15 17:47:07 -05:00
gillespi314
8d4ad6ce9f
Enhanced UI for host operating systems to include additional information for Windows and macOS (#7201) 2022-08-15 16:39:00 -05:00
gillespi314
78af071fce
Handle invalid time values on host details page (#7217) 2022-08-15 15:09:27 -05:00
Gabriel Hernandez
34749e377f
fix sandbox expiration styling on host details (#7110) 2022-08-09 15:13:31 +01:00
RachelElysia
73d0299af9
Fleet UI: Schedule frequency units, Convert seconds to units using date-fns (#7102) 2022-08-09 10:00:09 -04:00
Gabriel Hernandez
35a0c1c1a0
clean up host entity loadHosts method (#7083) 2022-08-09 12:25:49 +01:00
Gabriel Hernandez
aa60f3a54f
cleanup of manage host page utilities (#7055)
* colocate LabelForm with ManageHostPage

* add url utility to create query string from params object
2022-08-05 09:27:10 -04:00
RachelElysia
44bbaebf68
Fleet UI: Back to host from details page keeps filters applied (#7027) 2022-08-04 13:03:18 -04:00
RachelElysia
7a035c42c6
Fleet UI: Hitting enter global modal parameter, rename modals to match UI (#6939) 2022-08-04 11:05:11 -04:00
RachelElysia
45b8ba2675
Fleet UI: Align dropdown cursors, buttons (#6886) 2022-07-27 08:51:45 -04:00
RachelElysia
8792acb1ec
Readable copy message, fix modal cta button alignment (#6877) 2022-07-27 08:21:16 -04:00
Gabriel Hernandez
7a1317432b
Add expiry time warning in sandbox mode (#6830)
* create a MainContent and SidePanelContent containers for layout

this creates these two new components for handling layout more cleanly. It also allows us to put in common components into main layout, like sandbox expiration notification

* use MainContent and SidePanelContent in current pages

this brings in the two new components and wraps the page contents in these. This also allowed us to clean up and remove unused/no needed styling code

* add MainContent component to user settings page and clean up user settings component

this cleans up the user settings page to follow the panel convention we have as well as adds the MainContent component to this page

* add MainContent component to team pages

* update Sandbox gate to render optional component when in sandbox mode and add to MainContent

* add call to sandbox api to get expiry time

this adds a conditional call when the user is in sandbox mode to get the expiry time of the instance

* fix sticky elements on settings pages to work with sandbox expiry message

* fix e2e test after MainContent refactor
2022-07-26 13:05:57 +01:00
RachelElysia
fb76123b16
Fleet Desktop UI: Add device user error for invalid token (#6850) 2022-07-26 06:36:33 -04:00
RachelElysia
f00647379e
UI: Fix disabled cursor with/without tooltip (#6846) 2022-07-25 16:22:00 -04:00
RachelElysia
6ec08b405b
Manage Host UI: Convert uptime column to last restarted (#6812) 2022-07-25 09:37:12 -04:00
RachelElysia
acdf46314e
Device User UI: Update policy banners (#6825) 2022-07-22 12:15:23 -04:00
gillespi314
406004894a
Update placeholder text for select targets search box (#6826) 2022-07-22 11:13:37 -05:00
gillespi314
0312454f4c
Modify host battery health returned by GET /hosts/:id (#6782) 2022-07-20 21:16:03 -05:00
RachelElysia
0afa3e4b54
Host UI: Refactored disk space bar graph to a global component (#6741) 2022-07-20 12:39:19 -04:00
gillespi314
4792d7a759
Add UI for Fleet Sandbox to download prepackaged installers (#6721) 2022-07-19 14:28:06 -05:00
RachelElysia
1c1bec12d2
Tooltip: Spiffier 4 users list (#6730) 2022-07-19 15:13:20 -04:00
Gabriel Hernandez
f4b20b6ae5
Add SandboxGate to fleet UI that gates functionality when in sandbox mode (#6738) 2022-07-19 19:55:47 +01:00
RachelElysia
da1868d6ae
Host Details Page: Correct software vulnerabilities count (#6729) 2022-07-19 11:43:04 -04:00
RachelElysia
733abe1aa7
Manage Host Page: Render host disk space (#6593) 2022-07-18 16:37:38 -04:00
RachelElysia
b058365c4e
UI: Spiffier tooltip (#6642) 2022-07-15 15:10:35 -04:00
RachelElysia
9ce5ef2f59
Host Details Page UI: Granulated disk space levels (#6586) 2022-07-14 10:21:36 -04:00
Luke Heath
b91b2c238b
Fix battery health null check (#6541) 2022-07-07 13:43:05 -07:00
RachelElysia
ed33a031db
Fleet UI: Host details / Device user page last restart time bug (#6500) 2022-07-06 13:56:31 -04:00
Luke Heath
943a1188f1
Add battery health to host details (#6472) 2022-07-05 12:17:51 -07:00
RachelElysia
fd3300a962
Host Details UI: Fix software table column width, caret alignment (#6411) 2022-06-30 10:46:05 -04:00
gillespi314
58892fee2e
Fix false negatives for os version policies generated by UI (#6375) 2022-06-24 12:42:51 -05:00
gillespi314
44f902218c
Improve live query UX (#5749) 2022-06-10 13:29:45 -05:00
gillespi314
db7424282b
Add software details page (#6089) 2022-06-08 14:01:38 -05:00
Luke Heath
49b409904b
Fix export hosts filtering (#5905) 2022-05-25 18:48:48 -05:00
Luke Heath
16209b4ec5
Add e2e tests for export hosts feature (#5895) 2022-05-25 10:29:50 -05:00
Luke Heath
65a673870f
Fix device refetch page reload error (#5891) 2022-05-24 15:42:25 -05:00
Luke Heath
b1028465e1
Export hosts to CSV with selected columns (#5841) 2022-05-23 22:46:40 -05:00
Luke Heath
d510db37ef
Fix issue count display (#5871) 2022-05-23 17:18:32 -05:00
gillespi314
bbc1891420
Add ability to see Google Chrome profiles on the Hosts page (#5839) 2022-05-23 14:27:30 -05:00
gillespi314
2db2c16511
Include MIA hosts under total count for Offline hosts (#5854) 2022-05-23 14:11:02 -05:00
Luke Heath
7d87c03eb1
Get license data from device details response (#5822) 2022-05-19 22:21:48 -05:00
Luke Heath
5a89d93f73
Remove view all hosts links from device user page (#5793) 2022-05-19 17:21:06 -05:00
Luke Heath
c52604cfb7
Add policies to my device page (#5787) 2022-05-18 10:27:03 -05:00
Luke Heath
a6b2d2413a
Add last used column to host details software table (#5681) 2022-05-12 11:34:46 -05:00
RachelElysia
e145aa180a
Fix software inventory for device user (#5620) 2022-05-09 10:18:00 -05:00
RachelElysia
b85105113f
UI bug fix: Mac details > Software tooltip shows correctly on hover (#5597) 2022-05-05 16:47:09 -04:00
RachelElysia
6b34f32e88
Frontend Tech Debt: All data/page errors use same component (#5455) 2022-05-03 16:57:08 -04:00
RachelElysia
88b86d063d
UI Revert empty state for host details users/software (#5489) 2022-05-02 18:41:26 -04:00
Roberto Dip
a4725518ac
filter out Google Chrome profiles without an associated email before ingesting (#5440)
To add support for #400, we're using the macadmins/osquery-extension to gather Google Chrome profiles from hosts.

Under the hood, the extension looks and parses a json file in which Chrome stores a bunch of data. Given that emails are not required to create Chrome profiles, some of the profiles stored in this file and returned by the query we're using contain empty emails.

The idea after this change is to prevent empty emails from being ingested in the first place instead of filtering them after the fact. I have also included a migration to clean the rows with empty email columns.

Fixes #4780
2022-05-02 09:55:40 -03:00
Luke Heath
2651343be4
Refresh user and config on every route change (#5425)
* Refresh user and config on every route change

* Fix build error

* Remove stray log
2022-04-29 08:22:02 -07:00
Martavis Parker
0cb8326423
Fixed style for action buttons in all modals (#5402)
* fixed style for action buttons in all modals

* fixed tests and modified more components

* fixed class reference in test

* removed unused file
2022-04-27 13:40:28 -07:00
RachelElysia
6917331a1b
Host Details Page: Render better messaging for various empty states (#5294) 2022-04-26 14:00:47 -04:00
Martavis Parker
384c987389
Removed all traces of Redux from the app! (#5287)
* clean up routes and useless components

* component clean up

* removed redux from routes

* rename file

* moved useDeepEffect hook with others

* removed redux, fleet, app_constants dirs; added types to utilities

* style cleanup

* typo fix

* removed unused ts-ignore comments

* removed redux packages!!!

* formatting

* fixed typing for simple search function

* updated frontend readme
2022-04-22 09:45:35 -07:00
Martavis Parker
0d30854121
Unified text for private IP address (#5301)
* unified text for private ip address

* updated capitalization
2022-04-22 00:28:11 -07:00
Noah Talerman
124d272b38
Update the columns and elements the Fleet UI shows/hides at breakpoints (#5186)
* Revisions to the specification in the "Make table behavior in the Fleet UI consistent down to 768px" issue: #3052
2022-04-18 13:36:25 -04:00
Martavis Parker
0604b64f6b
removed extra data on smaller screens (#5154) 2022-04-15 12:05:41 -05:00
RachelElysia
e02ececbe7
Temporarily remove export host csv button (#5125) 2022-04-13 14:22:10 -05:00
RachelElysia
46e323cd9c
Host Details Page: Policy table truncates policy name (#5087) 2022-04-12 15:31:07 -05:00
RachelElysia
d1860ad86d
UI: Enter button presses action button for forms/modals (#4939) 2022-04-07 20:07:38 -05:00
gillespi314
1a2123a358
Improve UI responsiveness for tables at narrower screen sizes (#4926) 2022-04-07 14:12:38 -05:00
Martavis Parker
cfb1474eb8
Auth Redux Removal (#4924)
* all login methods no longer use redux

* removed redux from registration

* redirect user from registration

* removed redux from sso invite

* removed redundant component

* refactored user settings page

* removed redux from logout

* cleaned up unused redux calls

* lint fixes

* removed test

* removed old config interface

* fixed registration bug

* team permission fix

* removed remaining redux references from pages - #4436

* better way to set config
2022-04-07 09:08:00 -07:00
gillespi314
1cf784999c
Extend client-side search across columns in UI tables (#4955) 2022-04-07 10:37:43 -05:00
RachelElysia
53ca15e93b
Manage Host Page: Export hosts as CSV (#4917) 2022-04-04 14:53:14 -04:00
RachelElysia
5cce257e1e
Host Details Page: Software vulnerability column (#4836) 2022-04-04 12:33:02 -04:00
Martavis Parker
3575d34507
Refactor Redux-triggered flash message component (#4795)
* base logic to handle rendering a notification without redux

* removed dispatches for new flash mesage triggers

* query page wrapper is no longer needed

* refactored confirm invite page to remove redux

* refactored email token redirect to functional and typescript

* refactored pack composer page to functional and typescript

* clean up

* lint fixes

* tests no longer needed

* fixed confirm sso invite test

* test fix

* fixed test

* fixed tests

* removed redux from flash on rebased pages
2022-03-31 23:42:26 -07:00
RachelElysia
a402ccab25
Host Details Page: Same naming convention for info as device user page (#4815) 2022-03-29 10:35:02 -04:00
RachelElysia
118ae6499b
UI Accessibility: Ability to tab through app (#4699) 2022-03-28 17:31:36 -04:00
RachelElysia
6748e8bff6
Refactor host details page into components (#4632)
* Refactor host details and device user page into components and shared components
* Refactor stylesheets and update class names on cypress tests
2022-03-25 13:38:50 -04:00
Luke Heath
5e647660bb
Filter out device users if no email is present (#4773) 2022-03-23 15:45:19 -05:00
RachelElysia
a3789c817e
Fleet Desktop: Refetch uses device API not host API (#4770) 2022-03-23 14:51:12 -04:00
RachelElysia
bf4713b742
Remove vuln count detail for device user, fix padding/margins (#4744) 2022-03-23 10:57:42 -04:00
RachelElysia
81f5a6c3bd
Remove macadmin call from device user page (#4713) 2022-03-21 13:49:53 -04:00
RachelElysia
e1f84436ab
Device user cannot view all hosts software (#4710) 2022-03-21 12:34:36 -04:00
Benjamin Edwards
74bb559645
Add public ip to hosts & derive geolocation when rendering host (#4652)
* geoip wip
* return nil if ip is empty string or if ParseIP returns nil
* add ui component to render geolocation if available, address PR feedback
* render public ip if available
* add changes file, document geoip in deployment guide
* update rest-api docs
2022-03-21 12:29:52 -04:00
RachelElysia
84de0b7db0
Fleet Desktop device user page (#4589) 2022-03-21 09:38:59 -04:00
gillespi314
c814011c0b
Autofocus select query modal (#4595) 2022-03-15 11:09:04 -05:00
RachelElysia
a022a11ebf
Frontend Tech Debt: Typescript types (#4319) 2022-03-10 10:10:44 -05:00
gillespi314
482c20a3aa
Fix undefined host software error (#4495) 2022-03-07 10:25:12 -06:00
RachelElysia
6f109cc792
Remove unused HostsError component (#4466) 2022-03-07 08:24:02 -05:00
RachelElysia
8af5fa7a5a
Fix duplicate (team name, label name, user email) error handling (#4352) 2022-03-01 13:28:51 -05:00
Luke Heath
df08b40eb8
Update dependencies to resolve dependabot alerts (#4396) 2022-03-01 11:02:05 -06:00
Martavis Parker
33c5f0651c
New tooltips! (#4326)
* Allow sort by more than one key

* created custom tooltip component

* remove unused code

* fixed style for more layouts

* added tooltip to query side panel

* tooltips added to setting form

* finished settings form

* added tooltip for perf impact table headers

* tooltip for pack table and user form

* tooltip on manage policies page

* tooltip for manage schedules

* tooltip for automations; spacing for form input

* tooltip for automations modal

* user form; fixed input with icon component

* more user form tooltips

* tooltip for homepage; style fixes

* replaced many more tooltips with new version

* added story for tooltip

* added position prop

* fixed tests

* re-work how we click react-select dropdowns

* forcing the update button click

* trying a blur

* fixed typo

* trying blur on another element

* temp check-in

* replaced tooltip from host details software

* more consolidation of tooltip use for software

* fixed settings flow test

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2022-02-28 13:25:06 -08:00
Martavis Parker
ad9fb8b36f
Removed uptime from about this host (#4384)
* removed uptime from about this host

* removed updated at from about this host

* modified time display for first enrolled
2022-02-28 10:41:45 -08:00
RachelElysia
ecf15adc33
Fleet UI: Enter submits for Remove and Delete modals (#4336) 2022-02-24 09:15:50 -05:00
RachelElysia
6f1c61bc86
UI Revamp: Add hosts modal (#4217) 2022-02-16 16:21:42 -05:00
RachelElysia
0ffca38f77
Queries and Scheduled Queries UI: Performance impact tooltips (#4201) 2022-02-15 11:19:01 -05:00
RachelElysia
bb11f5008f
Frontend tech debt: Clean up 409 lint warnings (#3703)
* Clean up unused variables, return types, many quick type any
2022-02-14 17:11:12 -05:00
gillespi314
90fe417ce0
Sync current team to url params on manage hosts page (#4010) 2022-02-06 10:07:43 -06:00
gillespi314
143d5ce874
Remove vuln banner when software filter is removed (#4015) 2022-02-03 18:49:03 -06:00
gillespi314
d101ec7c18
Add ability to filter software by "Vulnerable" on the Host details page (#3875)
- Add new "Software" tab to host details page
- Add dropdown to filter vulnerable software
- Extend DataTable client-side filtering to accommodate filter inputs that are controlled by parent components
- Refactor host details software into separate component
2022-01-31 16:41:54 -06:00
RachelElysia
9cdb70348f
E2e refactor: integration/all/app (#3785) 2022-01-28 11:48:51 -05:00
Martavis Parker
349a88e25b
Forcing 404 page where entity ids do not exist (#3833)
* Allow sort by more than one key

* forcing 404 page where entity ids do not exist

* refactored error boundary; handling 404s now

* added 403 overlay; refactored auth wrappers

* fixed test for maintainer

* more efficient fetches; test fixes

* clarify comment

* clean up

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2022-01-27 14:10:12 -08:00
RachelElysia
66b3f97b37
Teams Details Page: Add generate installer and manage enroll secret CTA buttons (#3864) 2022-01-25 13:20:24 -05:00
Tomas Touceda
35f806f7d1
Merge Release candidate 4.9.0 into main (#3844)
* Better jitter (#3716) (#3744)

* Better jitter (#3716)

* Better jitter

* Fix lint

* Use milliseconds

* Make duration milliseconds

* Update based on Lucas' suggestion

* Add changes file

* Panic on error

* Fix compilation error

* Use time.after instead of time.tick to not leak

* Include browser extensions in software inventory (#3733) (#3757)

Use appropriate JOINs against users table to include all results.

For #3557

* Build Docker images on push to any branch (#3756) (#3758)

Allows for testing release branches and any others.

* Optimize users detail query (#3754) (#3770)

@Smjert reported instances of Windows Domain Controllers having massive
resource utilization and being killed by the watchdog when running this
query. In his test environment, this new query performs much better.

* Refactor async host processing to avoid redis SCAN keys (for policies) (#3657) (#3755)

* Issue 3707 clean targets on delete (#3739) (#3776)

* wip

* Delete targets when deleting teams, hosts, and labels

* Add changes file

* Fix error message

* Remove unused teamsTable

* Cleanup new pack

* Clean new packs at end of test

* Update operating system policy (#3779)

- Update policy's query to check for operating system versions greater than or equal to

* Improve loading of manage policies page (#3695) (#3781)

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>

* Fix logo (#3765)

* fixed duplicate query modal not closing (#3787)

* fixed style for connection line on activity feed (#3789)

* Improve loading state for query platform compatibility (#3752) (#3783)

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>

* Disable pagination for teams page (#3794)

* Shorten "simple" query API period to 25s (#3775) (#3804)

This helps the period stay under the default request timeouts for most
load balancers.

Some default timeouts:
* AWS ALB - 60s
* Nginx - 60s
* GCP LB - 30s

* Clear user checkbox selections after successfully removing selected row from table UI #3798 (#3801)

* Alias fleetctl sandbox to fleetctl preview (#3803) (#3806)

Preparing for some work the product team is planning to rebrand preview
to sandbox.

* Remove flash of spinner to no spinner (#3799)

* Revert "Better jitter (#3716) (#3744)" (#3807)

This reverts commit c857b52d2b373ed9e302d643e6d2212af7353408.

* Fix teams dropdown sizing (#3759) (#3810)

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>

* fixed link for expiration message (#3788)

* Fixed empty string for compatible platforms (#3812)

* fixed empty string for compatible platforms

* default checked for platforms on policy query

* Block autocomplete for username and password in SMTP settings (#3732) (#3816)

* No hosts for software/policy renders better message (#3701) (#3821)

Co-authored-by: Martavis Parker <47053705+martavis@users.noreply.github.com>

* Get failing policies webhook data on page load (#3824)

* Fix reset password flow (#3826)

* Prepare for 4.9.0 (#3820)

- Add CHANGELOG
- Bump versioning
- Remove changes files
- Spelling fix for operating system policy's description

* Remove merge artifact

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
Co-authored-by: Luke Heath <luke@fleetdm.com>
Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: RachelElysia <71795832+RachelElysia@users.noreply.github.com>
Co-authored-by: Martavis Parker <47053705+martavis@users.noreply.github.com>
2022-01-24 15:32:25 -03:00
gillespi314
fc44970f49
Fix bug in row select checkbox for table UI (#3798) 2022-01-19 18:22:45 -06:00
Martavis Parker
4a83201092
No hosts for software/policy renders better message (#3701)
* Allow sort by more than one key

* more accurate message for no hosts on filter

* added changes file

* lint fix

* more accurate message for no hosts on filter

* added changes file

* lint fix

* small logical change

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2022-01-19 12:49:14 -08:00
gillespi314
ba64dc0003
Improve loading of manage policies page (#3695) 2022-01-18 09:17:44 -06:00
RachelElysia
1041c6dd46
Settings Pages Refactor: User management page & Teams > members page (#3625) 2022-01-13 18:11:45 -05:00
RachelElysia
a85e47b28b
Spiffier UI: Dashboard and Manage Host Page loading states (#3638) 2022-01-13 12:12:54 -05:00
Luke Heath
e64f1a63ba
Correct instances of multiple requests for same resource (#3631) 2022-01-12 18:16:50 -06:00
RachelElysia
09efce8ea8
Bug fix: No matching hosts message (#3652) 2022-01-12 15:01:47 -05:00
Noah Talerman
ddff616ba0
Update default description for operating system policy (#3556)
- Update default description for operating system policy to make it clear that the policy attempts to match the exact version
2022-01-04 12:24:07 -05:00
gillespi314
0c6defc1b0
Handle null case for mdm data in host details UI 2021-12-29 17:19:26 -06:00
Luke Heath
8f606ffccd
Refactor manage hosts search (#3475) 2021-12-29 12:10:54 -06:00
gillespi314
6d2d28d5a8
Add mobile device management and device-user mapping information to host details to UI (#3499)
* Add mdm, munki and device-user mapping to UI
2021-12-27 17:57:15 -06:00
gillespi314
b54b5722d8
Handle certificate errors in generate installer UI (#3435)
* Handle errors in generate installer UI

* Add pem validation
2021-12-23 18:12:08 -06:00
Luke Heath
1d891cd343
Fix incorrect load state when selecting all hosts from the hosts filter (#3426) 2021-12-22 20:56:52 -06:00
Luke Heath
e75c5dbdaf
Clear selected hosts on transfer (#3430) 2021-12-22 11:07:12 -06:00
Luke Heath
5b64985ece
Refine manage hosts page to better handle timing and loading issues (#3402) 2021-12-17 15:40:57 -06:00
RachelElysia
c491616eb5
Manage Host Page Bug: Update observers to not see generate installer CTA (#3352) 2021-12-13 13:44:28 -08:00
RachelElysia
e05562ef09
Spiffier: Fix grammar and sentence casing (#3316) 2021-12-10 11:57:06 -08:00
Luke Heath
78d5e13a97
Show all teams for global users and save team selection between pages (#3204) 2021-12-06 20:04:40 -06:00
RachelElysia
eba5d1b1b6
Manage Policies Page: New policy modal (#3108) 2021-12-05 17:12:55 -06:00
Luke Heath
e750eb9745
Standardize TeamsDropdown component usage (#3135) 2021-12-01 17:37:33 -06:00
Noah Talerman
ce15a8189f
Update "Operating sytem" modal on the Host details page (#3167)
- Update the example policy to use a period `.` instead of a comma `,`
- Update the secondary button text to use "Close" instead of "Cancel"
- Adjust padding
2021-12-01 14:17:35 -05:00
RachelElysia
3b0a454fb5
App wide UI: Fix policies keys (#3145) 2021-11-30 13:24:30 -05:00
RachelElysia
b3b107512e
Host Details Page: OS policy creator (#3109) 2021-11-30 12:12:53 -05:00
Lucas Manuel Rodriguez
964f85b174
Amend policy creation and spec (for proprietary query), and add update APIs (#2890)
* Amend policy creation (proprietary query), add update APIs

* Fix Datastore.SavePolicy bug (and add tests)

* Add integration tests for new policy APIs

* Add author email

* Add activities

* Push breaking changes for return policy fields

* WIP

* Add integration test for host policies

* Make more improvements to policy representation

* Improve upgrade code (from PR review comments)

* PR changes

* Revert activities for policies

* Use *uint instead of uint for queryID, use fleet.PolicyPayload

* Filter out other schemas

* New policy flow (#2922)

* created new policy flow -- no API connection

* added api props

* fixed prop name

* lint fixes

* removed unused modal; fixed style

* name, desc icons; created global components

* lint fixes

* ignoring certain files and lines for prettier

* Update frontend/pages/policies/PolicyPage/PolicyPage.tsx

* Make policy names unique across deployment

* Amend upgrade script

* Fix migration for unique names

* Do not deduplicate but instead rename policies

Co-authored-by: Martavis Parker <47053705+martavis@users.noreply.github.com>
2021-11-24 14:16:42 -03:00
RachelElysia
b249f3de77
Fix software column widths (#3074) 2021-11-23 10:27:33 -05:00
RachelElysia
257a974742
Fix includes title in software vuln link (#3024) 2021-11-18 12:35:58 -05:00
gillespi314
28179f80b4
Fix unauthorized requests to teams API (#3022) 2021-11-18 11:26:56 -06:00
RachelElysia
5bfda67588
App UI: Link styling, code clean up (#2992)
* Fix styling on all app links

* Rename MembersPagePage to MembersPage
2021-11-18 10:08:20 -05:00
Martavis Parker
86d5983a44
Fixed loading software data for home page (#2988)
* Allow sort by more than one key

* fixed calls to software api

* lint fix

* added software status dropdown to modal; style fixes

* lint fix

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2021-11-17 16:39:30 -08:00
gillespi314
33a2b7a743
Fix conflicting CSS class names (#3002) 2021-11-17 18:14:12 -06:00
Martavis Parker
f2142f6a53
fixed uncaught error causing 500 popover (#2952) 2021-11-17 15:57:50 -08:00
gillespi314
5dece416da
Fix padding (#3001) 2021-11-17 17:34:50 -06:00
gillespi314
eb29e63189
Add info banner for no enroll secrets (#2993) 2021-11-17 16:26:32 -06:00
RachelElysia
18b4a172dc
4 empty states for software on dashboard (#2990) 2021-11-17 14:15:50 -05:00
RachelElysia
8edf40601c
Host Details Page: Fix column widths of tables (#2959) 2021-11-17 13:08:54 -05:00
RachelElysia
321402ebb7
New error state outline red under 32 char (#2951) 2021-11-16 12:30:04 -05:00
RachelElysia
a7c6b3e7d7
Add/Edit/Delete enroll secret UI (#2645) 2021-11-15 16:16:06 -05:00
Luke Heath
4619696036
Fix table layout styling on host details and query page (#2925) 2021-11-15 14:11:22 -06:00
gillespi314
679734ed8d
Fix empty state of policies table (#2905) 2021-11-12 16:33:19 -06:00
Luke Heath
af956537a1
More room for software names and keep tooltips visible (#2867) 2021-11-12 15:51:47 -06:00
gillespi314
249ca8482c
Add tab-based UI to host details page (#2878) 2021-11-12 13:43:29 -06:00
Martavis Parker
f31a3d9366
fixed padding (#2893) 2021-11-12 08:30:45 -08:00
gillespi314
3e2dad8caa
Add login shell information to host users table (#2854) 2021-11-11 11:26:03 -06:00
RachelElysia
0a5049b51e
Schedules and Policy UI: New empty state (#2787) 2021-11-10 13:46:16 -05:00
Jacob Shandling
01959434cb
Render a host's version of osquery on its host details page (#2851) 2021-11-09 14:59:56 -06:00
RachelElysia
81ccbab31f
Dashboard UI: Hosts change on team selection (#2839) 2021-11-09 15:48:23 -05:00
RachelElysia
2d1e4c0898
Reinstate generate installer code from #2493 (#2771) 2021-11-09 15:02:01 -05:00
RachelElysia
8196fd0117
Host Details Page: No CTA for policies that have unknown status (#2841) 2021-11-08 14:19:50 -08:00
Martavis Parker
bcfac603f0
Added components to Storybook library (#2768)
* added storybook

* added avatar component

* added button story

* added dropdown button story

* removed unused ellipsis component

* cleaned up modal path

* reorganized enroll secrets table file

* added flash story; removed unused persistent flash

* added fleet ace story

* added checkbox story

* added dropdown story

* added input story

* fixed storybook build

* fixed avatar

* added input with icon story

* added radio button story

* added select targets dropdown story

* added slider story

* added tooltip story

* added info banner story

* removed unused loaders; added spinner story

* added modal story

* removed unused NumberPill

* added pagination story

* lint fixes

* added documentation to run

* modified documentation

* fixed corelayout test

* fixed format for date-fns

* fixed date format that breaks tests

* wait for page
2021-11-06 23:41:09 -07:00
RachelElysia
7a22e71c69
Host Details Page: Hover rows for policies table and software table (#2808) 2021-11-05 09:29:03 -07:00
Martavis Parker
f1ed172ac5
Client side search for tables no longer debounce (#2807)
Relates to #2793.

Removed debounce from client-side search for tables because it conflicted with react-table's search mechanism.
2021-11-04 21:16:42 -07:00
RachelElysia
0fbb9ab45f
Pass fail UI for Policies app wide (#2769) 2021-11-03 13:13:58 -04:00
RachelElysia
9cb128d17a
Teams API: Free tier no longer calls team API throughout the app (#2766) 2021-11-02 14:17:12 -04:00
Luke Heath
b877c4244c
Hide delete button from team observers on host details (#2709) 2021-10-27 16:33:20 -05:00
gillespi314
cf0baa7ab0
Restyle button for policy filter & software filter (#2679) 2021-10-27 12:15:13 -05:00
Luke Heath
6998bc5d8a
Include select column in manage hosts for team admins (#2698) 2021-10-26 23:58:44 -05:00
RachelElysia
0f8e3d063b
Manage Host Page: Reintroduce add host modal (#2681)
Reverts #2493 - Generate Installer Modal built within that PR
2021-10-26 16:24:50 -04:00
Martavis Parker
9f804e1858
New card for preview self host policies (#2666) 2021-10-26 14:47:34 -05:00
Luke Heath
b12c7ab925
Add UI for team admin role (#2637) 2021-10-26 09:24:16 -05:00
RachelElysia
36babcc510
UI feature: Frontend of performance impact bubbles (#2589)
Includes backend fixes and test
Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2021-10-22 16:05:49 -04:00
RachelElysia
403ef5cc59
Dev X: Destructure props in functional component's argument (#2582) 2021-10-22 11:34:45 -04:00
RachelElysia
34510ed144
Host Details Page: Resolve policy issues (#2571) 2021-10-19 19:18:02 -04:00
RachelElysia
61e0f37cc6
Manage Host Page: Host issues column with tooltip icon (#2554) 2021-10-19 14:15:48 -04:00
Martavis Parker
5be54a72cf
Teams and Software for Homepage (#2567)
* added global teams dropdown

* added teams dropdown

* created tabs wrapper component

* comment out software table for now

* lint fixes

* added changes file

* removed test data

* fixed permissions

* fixed scroll behavior for test with sticky header

* lint fixes
2021-10-19 11:13:18 -07:00
gillespi314
974485e639
Add ability to refresh host vitals without page reload (#2559)
* Implement useQuery refetch for host details
* Disable useQuery auto refetch options
* Change refetch message
* Refactor software table
* Refactor users and software states to useQuery
2021-10-19 11:52:57 -05:00
RachelElysia
a768a4402d
Host Details Page: Spiffier vertically centered header (#2566) 2021-10-19 10:07:55 -04:00
RachelElysia
57150fde6c
Host Details Page: Paginate user and software tables (#2464) 2021-10-18 15:14:24 -04:00
Luke Heath
fb6d83ea05
Add policies table to host details page (#2547) 2021-10-18 13:29:48 -05:00
gillespi314
8c6ca606c3
Add new UI feature: Filter hosts by software version (#2541)
* Add new UI feature: filter hosts by software version
* Move specific CVE information to appear alongside aggregate hosts filtered by software version
rather than on individual host details page
* Relocate users table to below software inventory on host details page
2021-10-18 10:01:01 -05:00
RachelElysia
cc40bf132d
Manage Host Page: No host renders generate installer modal (#2493)
* Update Context API to contain enrollSecret
* Update e2e tests with generate installer modal
* Edge case with empty Team showing Generate Installer CTA
2021-10-15 09:40:42 -04:00
RachelElysia
67645f327b
Manage Host Page: Add tooltip to search (#2475) 2021-10-14 11:11:53 -04:00
Luke Heath
6cda48220d
Fix hosts table search and pagination (#2494) 2021-10-13 13:36:17 -05:00
RachelElysia
de1e73b5b4
Bug Fixes: sortBy key and e2e hosts.spec.ts (#2506) 2021-10-13 13:12:44 -05:00
RachelElysia
3ca3b1c823
Manage Host Page (Bug fix): Transfer and delete hosts updates total host count (#2501)
* refetchHosts includes retrieveHosts and retrieveHostCount
2021-10-13 11:30:01 -04:00
RachelElysia
ded8feea56
Host Details Page: Relocate host details page header and buttons (#2447) 2021-10-11 14:59:43 -04:00
RachelElysia
2000b1b263
Manage Host Page: Custom host count based on filters, labels, etc (#2377)
* Host count includes label id parameter
* Remove page and pageSize from hostCountAPI call
* Only retrieve hostCount on filter change
2021-10-11 13:27:14 -04:00
gillespi314
89f4234819
Add tooltips for advanced options on settings page (#2470)
* Add tooltips for advanced options on settings page

* Remove old css

* Fix failing Cypress test
2021-10-11 12:01:25 -05:00
gillespi314
daa8a5d31a
Fix title of manage hosts page UI for free version (#2467) 2021-10-11 10:11:54 -05:00
RachelElysia
981028705e
Sentence Case: Throughout UI, tests, validators, docs (#2455) 2021-10-11 10:58:27 -04:00
gillespi314
84a3c6e134
Fix teams dropdown default value for hosts page filtered by policy; fix policy button text (#2439) 2021-10-07 14:30:14 -05:00
gillespi314
63269835d8
Hide transfer for team maintainer (#2407) 2021-10-06 12:42:34 -05:00
gillespi314
c28e3bbc9a
Hide edit and delete label from observer (#2401) 2021-10-06 11:58:27 -05:00
gillespi314
be2f08550d
Reveal host select column to team maintainer (#2397) 2021-10-06 10:58:43 -05:00
RachelElysia
ea3f0f127f
Manage Host Page: Spiffier icons for filter status/policy button/dropdowns (#2379) 2021-10-06 10:54:15 -04:00
RachelElysia
a2fe3bae7e
Edit Packs Page: Refactor and revamp (#1400)
* New query pack table renders
* services/entities created/updated with 5+ needed APIs requests for EditPacksPage
* Refactor jsx to tsx PackQueriesListWrapper, EditPackForm, EditPackPage
* Refactor to new patterns on useQuery, useEffect, and useState
* Refactor to new pattern formData formatting
* Edit, remove pack query modals
* e2e test: packflow built to test create, update, delete of pack, fix brittle teamflow
2021-10-04 16:26:10 -04:00
RachelElysia
8fa009a93e
Manage Host Page: Delete multiple hosts (#2327)
* Delete multiple hosts with delete host modal
* Free tier admin/maintainers access to select checkboxes and bulk delete
2021-10-04 16:20:56 -04:00
Martavis Parker
937161a2d1
Fixed table sort URL lag (#2340)
* fixed table sort url lag

* lint fixes
2021-10-04 08:31:55 -07:00
Martavis Parker
d0056b8941
Fixed broken e2e tests (broken Manage Hosts page) (#2320)
* fixed localstorage retrieval

* fixed broken tests

* lint fixes

* bug fixes that tests caught

* fixed edit label test

* fixed deleting label in test

* another fix

* more label test fixes
2021-10-01 18:46:19 -07:00
gillespi314
0a423f4c7b
Add new feature: Team policies (#2142) 2021-10-01 19:35:13 -05:00