fleet/frontend/interfaces
Martavis Parker 596a54e781
Urgent bug fixes for Query Experience - v4.3.0 (#2033)
* Step 1 for improving query experience (#1591)

* fake change to create draft PR

* temp routes to work and not modify old query page

* created new API abstraction for query

* refactored App.jsx to prepare react-query

* fixed flow of redirects after page refresh; functional component added

* setup for getting data on edit

* implementing functions for query page

* Old form showing on new setup

* improving and breaking up query form

* no need for the helpers anymore; clean up

* added type for button component variant

* step toward new save modal; have to switch gears to #1619

* creating new query works

* clean up

* linting cleanup

* added default value for new query

* will address dynamic save disabled in edit step

* Step 2 for improving query experience (select targets) (#1732)

* fake change to create draft PR

* temp routes to work and not modify old query page

* created new API abstraction for query

* refactored App.jsx to prepare react-query

* fixed flow of redirects after page refresh; functional component added

* setup for getting data on edit

* implementing functions for query page

* Old form showing on new setup

* improving and breaking up query form

* no need for the helpers anymore; clean up

* added type for button component variant

* step toward new save modal; have to switch gears to #1619

* creating new query works

* clean up

* linting cleanup

* added default value for new query

* split steps into separate files for readability

* components laid out

* new targets picker

* function clean up

* styling tables

* fixing logic

* fixed logic to keep getting related hosts

* formatting targets for API

* fixed default query

* clean up

* styled target selectors; fixed target input styles

* began total count

* forgot to remove debugging code

* lint fixes

* added target count from API

* clean up

* able to remove selected host targets from table

* lint fixes

* Improving query experience - Step 3 (query results) (#1766)

* fake change to create draft PR

* temp routes to work and not modify old query page

* created new API abstraction for query

* refactored App.jsx to prepare react-query

* fixed flow of redirects after page refresh; functional component added

* setup for getting data on edit

* implementing functions for query page

* Old form showing on new setup

* improving and breaking up query form

* no need for the helpers anymore; clean up

* added type for button component variant

* step toward new save modal; have to switch gears to #1619

* creating new query works

* clean up

* linting cleanup

* added default value for new query

* split steps into separate files for readability

* components laid out

* new targets picker

* function clean up

* styling tables

* fixing logic

* fixed logic to keep getting related hosts

* formatting targets for API

* fixed default query

* clean up

* styled target selectors; fixed target input styles

* began total count

* forgot to remove debugging code

* lint fixes

* added target count from API

* clean up

* able to remove selected host targets from table

* lint fixes

* connected run query with modern React/JS; clean up

* linting fixes

* fixed logic to retrieve results from live query

* linting fixes

* created new, simpler query progress

* populating results and errors tables as expected

* syntax fixes

* fixing styles for query results

* more styling for query results

* manual merge from main

* Rename core->free and basic->premium

* Fix lint js

* Comment out portion of test that seems to timeout

* Rename tier  to premium if basic is still loaded

* go sum

* Query Experience Cleanup Tasks (#1807)

* fixes to get merged main branch to build and work

* moved screens for query pages; clean up

* updated and typed react ace for query form; clean up

* using console error instead

* added real types instead of `any` except for errors

* query side panel ts and functional. prep for close task.

* ability to hide, show query table sidebar

* improved live query status warning

* added loading and error state for targets search

* error screen for targets; improved loading display

* now using API-created label for all linux

* missed some files on previous commit

* able to edit query

* clean up

* lint fixes

* query results showing as they come

* remove unused code

* removed old query page. major file cleanup.

* removed selectedTargets redux implementation

* removed unused redux actions and reducers

* removed unused keys in initial state

* selectedOsqueryTable is now using context API

* removed all querypages redux code

* set up context for app and user

* fixed auth with temp fix for wrapper

* completed redux removal from query page

* fixed var names coming from main branch

* fixed var name changes coming from issue 1501

* fixed save popup bug; clean up

* added permissions

* fixed login redirect

* removed unused props

* linting fix

* clean up

* removed unused component, refactor, and clean up

* fixed styles for step 1 as admin

* fixed styles for step 1 as observer

* fixed percentage of online hosts

* added loading progress to query stop button

* reset query status on run again

* added download icon to export button text

* fixed error reset on name input; fixed styles

* fixed bug where query value wasn't saving

* fixed query value when blank

* fixed bug - default query was running every time

* auto adding host from url to targets

* fixed flows for repeating run and save steps

* fleet ace is now TS and functional

* fixed a couple of tests

* fixed issues with query value text inconsistencies

* fixed query side panel not showing

* hiding error count if not > 0

* fixed showing editor for different roles

* using integer for targets

* go sum

* fixed targets param

* catching all errors while running query

* fixed hover state for title and description

* ignore unit test for now; lint fixes

* locking react-ace version

* ignoring tests breaking in github actions

* brought tests back

* fixing file name

* fixing file name again

* fixed e2e test

* have to ignore tests for now

* ignore certain premium tests for now

* one last test to revamp

* another test

* fixed teamflow test

* fixed observer query 403

* lint fixes

* fixed maintainer test

* added changes file

* query sidebar cleanup

* fixed save modal feedback

* reset targets after done button clicked

* using edited query on run

* fixed query modal value conflict

* lint fixes

* fixed running edited saved query

* fixed form prop conflicts with local state

* lint fixes

* remove logs

* have to reset value when query id changes

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2021-09-13 14:23:24 -07:00
..
activity.ts Align API docs and frontend interfaces with API GET responses (#1602) 2021-08-16 10:30:19 -04:00
campaign.ts 1497 improved query experience (#1998) 2021-09-10 12:06:37 -07:00
config_option.js add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
config.ts App Settings Page: Host status webhook UI (#1899) 2021-09-10 10:49:11 -07:00
datatable_config.ts 1497 improved query experience (#1998) 2021-09-10 12:06:37 -07:00
decorators.js add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
dropdownOption.ts team add new host UI (#723) 2021-05-12 14:06:39 +01:00
enroll_secret.ts UI: License expiration warning banner (#1825) 2021-08-30 15:52:13 -04:00
errors.ts test and team feature improvements (#804) 2021-05-21 17:29:28 +01:00
form_field.ts 1497 improved query experience (#1998) 2021-09-10 12:06:37 -07:00
global_scheduled_query.ts Align API docs and frontend interfaces with API GET responses (#1602) 2021-08-16 10:30:19 -04:00
host_summary.ts Align API docs and frontend interfaces with API GET responses (#1602) 2021-08-16 10:30:19 -04:00
host_users.ts Host Details Page: Users table (#1152) 2021-06-22 12:26:57 -07:00
host.ts Host Details Page: Render disk space (#1770) 2021-08-25 13:05:54 -07:00
invite.ts Align API docs and frontend interfaces with API GET responses (#1602) 2021-08-16 10:30:19 -04:00
label.ts Fix display of platform labels (#1866) 2021-08-31 20:02:23 -05:00
license.js add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
notification.ts UI: License expiration warning banner (#1825) 2021-08-30 15:52:13 -04:00
osquery_table.ts 1497 improved query experience (#1998) 2021-09-10 12:06:37 -07:00
pack.ts Align API docs and frontend interfaces with API GET responses (#1602) 2021-08-16 10:30:19 -04:00
policy.ts Add new feature: Policies (#1772) 2021-08-30 18:02:53 -05:00
query_stats.ts Host Details Page: Query performance column (#1867) 2021-09-01 18:08:20 -04:00
query.ts Urgent bug fixes for Query Experience - v4.3.0 (#2033) 2021-09-13 14:23:24 -07:00
redirect_location.ts 1497 improved query experience (#1998) 2021-09-10 12:06:37 -07:00
registration_form_data.js Remove username from UI (#1168) 2021-06-24 13:42:29 -07:00
registration_form_data.ts Fix missing field in setup confirmation (#2005) 2021-09-10 18:53:28 -05:00
scheduled_query.ts Align API docs and frontend interfaces with API GET responses (#1602) 2021-08-16 10:30:19 -04:00
software.ts Host Details Page: Software Inventory Searchable (#1390) 2021-07-15 10:01:52 -07:00
ssoSettings.ts Align API docs and frontend interfaces with API GET responses (#1602) 2021-08-16 10:30:19 -04:00
status_labels.ts Fix display of platform labels (#1866) 2021-08-31 20:02:23 -05:00
target.ts 1497 improved query experience (#1998) 2021-09-10 12:06:37 -07:00
team_scheduled_query.ts Align API docs and frontend interfaces with API GET responses (#1602) 2021-08-16 10:30:19 -04:00
team.ts 1497 improved query experience (#1998) 2021-09-10 12:06:37 -07:00
user.ts Align API docs and frontend interfaces with API GET responses (#1602) 2021-08-16 10:30:19 -04:00
version.ts Align API docs and frontend interfaces with API GET responses (#1602) 2021-08-16 10:30:19 -04:00
vulnerability.ts Host Details Page: Software Inventory Searchable (#1390) 2021-07-15 10:01:52 -07:00