Commit Graph

48 Commits

Author SHA1 Message Date
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
gillespi314
3734cbd3a4
Remove new hosts count from homepage (#4283) 2022-02-17 17:27:29 -06:00
gillespi314
1526a1b336
Enhance activity feed UI (#4177)
* Refactor for useQuery
* Add apply policy spec activity
2022-02-17 16:54:27 -06:00
Martavis Parker
d536aad63e
Removed moment.js in favor of date-fns (#4238)
* removed moment.js in favor of date-fns

* updated yarn and unit test

* fixed e2e test
2022-02-16 15:01:05 -08: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
Noah Talerman
f14653fcd6
Fix broken link and sentence casing in UI (#4127)
- Fix broken link in the empty state for the "Software" card on Home page
- Update "API Token" to sentence case "API token"
2022-02-14 10:19:33 -05:00
Martavis Parker
df87e8e4b6
Fixed macOS homepage tooltips (#4167)
* complete refactor of homepage card layout

* modified data fetching for hosts summary

* lint fixes

* removed comments

* unnecessary file

* Add CountsUpdatedAt for munki/mdm status

* Update doc

* fixed last updated at text

* added changes file

* moved card description implementation

* lint fixes

* fixed manage hosts link; clean up

* filtering macadmins by team

* fixed host summary count toggling

* lint fix

* fixed tooltip collision

* clean up

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2022-02-10 15:58:29 -08:00
Martavis Parker
21f1260b3a
Fixed platform host count on homepage (#4155)
* complete refactor of homepage card layout

* modified data fetching for hosts summary

* lint fixes

* removed comments

* unnecessary file

* Add CountsUpdatedAt for munki/mdm status

* Update doc

* fixed last updated at text

* added changes file

* moved card description implementation

* lint fixes

* fixed manage hosts link; clean up

* filtering macadmins by team

* fixed host summary count toggling

* lint fix

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2022-02-10 14:04:22 -08:00
Martavis Parker
260d8c6910
Homepage refactor - MDM/Munki (#4038) 2022-02-07 23:03:01 -06:00
gillespi314
4d5e3277ef
Add new feature: Software page (#3923)
* Add new software page
* Add hosts counts and last updated to software card on homepage
* Extend InfoCard component to all children to set dynamic title information and hyperlinks
* Add new TeamsDropdownHeader component
* Refactor TableContainer to move server-side pagination buttons to DataTable
* Extend DataTable to include footer element
2022-01-31 16:24:20 -06: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
RachelElysia
a85e47b28b
Spiffier UI: Dashboard and Manage Host Page loading states (#3638) 2022-01-13 12:12:54 -05:00
gillespi314
fec450ab5a
Fix pagination for homepage software UI (#3501) 2021-12-29 16:22:18 -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
RachelElysia
b397b3a68e
Dashboard: Show software count in dashboard's software modal (#3228) 2021-12-08 22:30:28 -08:00
Luke Heath
fde1da714b
Add team filtering to software card and improve load states (#3188) 2021-12-07 14:42:21 -06: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
Luke Heath
e750eb9745
Standardize TeamsDropdown component usage (#3135) 2021-12-01 17:37:33 -06:00
RachelElysia
3b0a454fb5
App wide UI: Fix policies keys (#3145) 2021-11-30 13:24:30 -05:00
Luke Heath
d10741bddb Adjust software card styling for no host count column 2021-11-23 16:55:10 -06:00
Tomas Touceda
c65f8507fe
Remove host counts from software (#3082)
* Remove host counts from software

* Actually remove the host count from the struct

* Fix get test
2021-11-23 15:50:51 -03:00
Luke Heath
f510dcf936
Page position jumps when loading homepage software table (#3092) 2021-11-23 12:18:35 -06:00
Martavis Parker
0f13c0748e
Home software text and styles (#3023)
* Allow sort by more than one key

* fixed styles for software

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2021-11-18 09:57:10 -08: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
RachelElysia
18b4a172dc
4 empty states for software on dashboard (#2990) 2021-11-17 14:15:50 -05:00
Martavis Parker
5ac01dff4e
Re-enabled software card for home page (#2780)
* re-enabled software

* added changes files

* lint fix

* fixed url format

* fixed 500 bug, order key

* fixed table data

* fixed data gathering and linking to hosts

* fixed grid columns
2021-11-15 15:42:51 -08:00
RachelElysia
7db762f8e2
Homepage UI: Add host total count and host status count (#2894) 2021-11-12 09:27:05 -05:00
RachelElysia
81ccbab31f
Dashboard UI: Hosts change on team selection (#2839) 2021-11-09 15:48:23 -05: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
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
d6ab0615f8
Add space after Resolve (#2763) 2021-11-02 14:16:44 -04:00
Zach Wasserman
4376a3553c
Fix policy constants in policy preview (#2729)
Allows the policy preview to render properly
2021-10-27 18:56:06 -07:00
Martavis Parker
65f7c8f3a5
changed preview host id to 1 (#2727) 2021-10-27 17:09:12 -07:00
Martavis Parker
58b33942a4
Homepage - Hiding policy if neither passing or failing (#2708)
* not display policy if neither passing nor failing

* removed log
2021-10-27 15:38:34 -07:00
RachelElysia
5561bd6731
Dashboard UI: Style activity feed error state and empty state (#2678) 2021-10-27 10:34:34 -04:00
Luke Heath
707628683b
Adjust error icon size (#2693) 2021-10-26 16:47:58 -05:00
Martavis Parker
9f804e1858
New card for preview self host policies (#2666) 2021-10-26 14:47:34 -05: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
RachelElysia
fda757a700
Dashboard: Fix activity feed verbage (#2540) 2021-10-18 13:44:13 -04:00
Martavis Parker
5f4541be30
New layout for home page with cards (#2524)
* renamed spinner

* removed redux

* new layout

* changes; default view until more info is added

* fixed page background

* added activities pagination

* lint fix
2021-10-18 06:36:43 -07:00
gillespi314
19ae427916
Fix all linux count on hompage (#2344) 2021-10-04 16:39:43 -05:00
gillespi314
bd38cc1fe9
Fix UI for activity feed initial empty state (#1742) 2021-08-20 22:13:45 -05:00
RachelElysia
e99dee52ec
Spiffier activity feed with line (#1594) 2021-08-09 16:53:41 -04:00
noahtalerman
11351a4253
Edit padding on the "Home" page (#1523)
- Edit padding so the homepage content is center when page is resized
- Increase margin between 'Hosts' and Org name
2021-07-30 13:53:38 -04:00
RachelElysia
a188d03015
Homepage: Refactor platform counts in host summary (#1490)
Co-authored by: @gillespi314
2021-07-27 18:04:43 -04:00
gillespi314
c27dd72f33
Launch new feature: Activity feed (#1452)
Add activity feed to homepage
2021-07-26 15:04:35 -05:00
RachelElysia
29e900d7c3
Homepage Dashboard - New feature! (#1340)
* Adds homepage dashboard to Fleet app
* Host Summary is displayed on the dashboard
2021-07-12 10:15:47 -07:00