Commit Graph

8141 Commits

Author SHA1 Message Date
Scott Bell
4a4dabf7f0 Merge remote-tracking branch 'origin/master' into telemetry-comps 2024-10-28 08:43:49 +01:00
Scott Bell
96b1ef0db5 reduce size 2024-10-22 21:02:10 +02:00
Jesse Mazzella
2010f2e377
chore: bump @playwright/test to v1.48.1 (#7913) 2024-10-21 17:03:54 -07:00
Jesse Mazzella
3241e9ba57
chore: remove release.yml (#7907) 2024-10-18 15:43:57 -07:00
Shefali Joshi
057a5f997c
Encode urls for css background images (#7906)
* Add new utility to encode urls.
Use the encode urls utility to encode all background images in css

* need a commit to pull exampleimagery from

* skip and fix on otherside

---------

Co-authored-by: John Hill <john.c.hill@nasa.gov>
2024-10-18 19:59:02 +00:00
John Hill
078cd341a5
Bump references to support node22 (#7901)
* Bump references to support node22

* strings!

---------

Co-authored-by: Jesse Mazzella <ozyx@users.noreply.github.com>
2024-10-18 10:07:26 -07:00
Jesse Mazzella
518b55cf0f
fix(vipergc-660): identify axis keys upon adding object to composition (#7897)
* fix: identify axis keys upon adding object to composition

* fix: set yKey to 'none' if nonArrayValues
2024-10-17 15:08:52 -07:00
Shefali Joshi
3e23dceb64
fix(#7892): restore "now" (marcus bains) line to planning views (#7898)
* Initialize alignment offset to 0. (it was undefined). Also handle a small bug with swimlane configuration not getting replaced when the plan used by a gantt chart was changed

* lint: fix

* test: update visual tests to mock clock and show now line

---------

Co-authored-by: Mazzella, Jesse D. (ARC-TI)[KBR Wyle Services, LLC] <jesse.d.mazzella@nasa.gov>
2024-10-17 14:24:26 -07:00
Shefali Joshi
7f8b5e09e5
Fix gantt chart swimlane order (#7895)
* Use the planObject to get ordered swimlane names

* If there is no plan object, don't try to render the chart

---------

Co-authored-by: Jamie V. <jamie.j.vigliotta@nasa.gov>
2024-10-17 17:28:55 +00:00
David Tsay
7c2bb16bfd
Bugfix/7873 time conductor input validation (#7886)
* validate on change because input is too aggressive
* validate logical bounds on submit
* perfection
2024-10-16 18:57:56 -07:00
Andrew Henry
890ddcac4e
Revert d8c5095ebb (#7894) 2024-10-16 09:57:24 -07:00
John Hill
d8c5095ebb add environment variable check 2024-10-16 09:08:34 -07:00
Jesse Mazzella
ccf7ed91af
fix(vipergc-574): Use selected shelve duration for fault management (#7890)
* refactor: `Indefinite` -> `Unlimited`
* refactor: remove unused const
* fix: use the selected shelveDuration
* fix: set and use default if none selected
* fix: bad optional chaining
* fix: handle the case of no provider
* fix: don't assign defaults if no provider
2024-10-15 23:26:57 +00:00
Scott Bell
1516524f0b support lambda values 2024-10-14 15:28:19 +02:00
Scott Bell
51f73bbfbe Merge remote-tracking branch 'origin/master' into telemetry-comps 2024-10-14 09:33:29 +02:00
Shefali Joshi
2b8673941a
Don't persist current tab when display is locked (#7882)
Check if a display is locked before saving current tab. 

---------

Co-authored-by: Andrew Henry <akhenry@gmail.com>
2024-10-11 16:17:29 -07:00
Scott Bell
00c8c0e095 Merge remote-tracking branch 'origin/master' into telemetry-comps 2024-10-11 11:37:34 +02:00
Andrew Henry
703186adf1
Add script to lock object sub-tree and fix object locking bugs (#7855)
* Script for locking an object tree

* Show lock button if locked

* Do not allow properties editing of locked objects

* Remove package-lock.json

* Added p-debounce

* Allow duplication of locked objects

* Better user feedback

* Add semaphores to prevent file handle exhaustion

* Leverage official Apache Couch library - nano. Clean up dependencies. Default to environment variables for couch config. Simplify batching mechanism to make it synchronouse

* Added lock user attribution

* Remove unused code

* Modify open script for adding auth design doc

* Added script for creating auth design doc

* Add css class for disallow unlock

* Add user attribution to lock button

* Fix import

* Typo

* User it was locked by, not current user. Wow.

* Closes #7877
- Front-end sanding and shimming: displays <span> instead of button when domainObject.disallowUnlock.

* Fixed bug where lock is shown even if object is not locked

---------

Co-authored-by: Charles Hacskaylo <charles.f.hacskaylo@nasa.gov>
Co-authored-by: Jesse Mazzella <ozyx@users.noreply.github.com>
2024-10-10 15:09:39 -07:00
Jamie V.
c43ef64733
[Telemetry Tables] Fix sort issues (#7875)
* Issue where immutable objects sort order was not being set correctly in telemetry tables. 
* Configuration couldn't be saved and the sort order was not being saved in memory. 
* Telemetry was not being re-requested when the sort order of a table was changed and the table was in performance (limited) mode.
* We've moved sort order to both configuration and in-memory and we will re-request telemetry if changing sort order in performance mode.

---------

Co-authored-by: Andrew Henry <akhenry@gmail.com>
2024-10-10 14:24:31 -07:00
Jesse Mazzella
f4cf9c756b
test(visual): Stabilize compass per timestamp (#7866)
* feat: add function to generate a seeded random value

* fix: produce the same compass orientation per timestamp
- helps for consistent visual tests

---------

Co-authored-by: John Hill <john.c.hill@nasa.gov>
2024-10-10 10:52:42 -07:00
Scott Bell
7d46afbced add placeholder 2024-10-10 11:15:04 +02:00
Scott Bell
6710ad0d4c remove unused function 2024-10-10 10:34:17 +02:00
Scott Bell
d5ee430f8b update output when comp changes 2024-10-10 10:31:16 +02:00
Scott Bell
3b78d4d2bf fix output and add accumulation label 2024-10-10 09:38:34 +02:00
Scott Bell
4de03542f8 impute requested data properly 2024-10-09 22:15:53 +02:00
Scott Bell
3b06c7749e change to just value 2024-10-09 17:56:02 +02:00
Scott Bell
3be414e2e7 Merge remote-tracking branch 'origin/master' into telemetry-comps-with-acc 2024-10-09 13:53:23 +02:00
Scott Bell
85a77699e6 check for blank test values 2024-10-09 13:35:46 +02:00
Scott Bell
d6f50567bc allow blank test values for arrays 2024-10-09 13:32:56 +02:00
Scott Bell
bf9d5ef4a7 add a few more awaits 2024-10-09 13:20:11 +02:00
Scott Bell
7c01a5e0d7 ensure we are checking for not equal 2024-10-09 12:47:03 +02:00
Scott Bell
ba7f2919c0 can do derived derived accumulated comps now 2024-10-09 12:36:20 +02:00
Scott Bell
2de628adac ensure we have a reference value before we slice 2024-10-09 12:16:02 +02:00
Scott Bell
8e7bfd080d ensure number for sample size 2024-10-09 12:04:28 +02:00
Scott Bell
c6806944eb check if sample size greater than zero 2024-10-09 10:24:57 +02:00
Scott Bell
3f92deb896 add sample size 2024-10-09 10:24:08 +02:00
Scott Bell
395436a361 works 2024-10-09 09:32:44 +02:00
David Tsay
4415fe7952
Fix complex displays not loading (#7858)
Clock
* pass in default timeContext in request options
* observe for clock tick, instead of polling, to determine if clock has time set

Progress Bars
* use scale instead of move animation

Plan
* use a ResizeObserver instead of polling for size changes

---------

Co-authored-by: Jesse Mazzella <jesse.d.mazzella@nasa.gov>
Co-authored-by: Charles Hacskaylo <charlesh88@gmail.com>
Co-authored-by: Charles Hacskaylo <charles.f.hacskaylo@nasa.gov>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
2024-10-08 13:10:35 -07:00
Shefali Joshi
83e4a124e2
Fix table sorting in descending order (#7863)
When adding sorted arrays to the beginning, make sure to insert them in the same order and not accidentally reverse them while inserting.

Co-authored-by: Andrew Henry <akhenry@gmail.com>
Co-authored-by: John Hill <john.c.hill@nasa.gov>
2024-10-08 13:56:28 +00:00
John Hill
47f0b66c7e
[CI] Fix flake with clocks and state generators (#7867)
* add two appActions

* replace with appAction

* replace with determinsitic appAction

* fix lint

* speed
2024-10-04 15:47:25 -07:00
Scott Bell
d859322a47 add new flag to deal with plots asking for zoomed out data that should be ignoring clock 2024-10-04 14:29:52 +02:00
Scott Bell
58d6cdb574 some changes 2024-10-04 11:29:00 +02:00
Scott Bell
f718ccdf4e stacked plots are overriding telemetry object configurations 2024-10-04 11:14:45 +02:00
Scott Bell
38316bd2f5 more debug just in case 2024-10-04 09:46:51 +02:00
Jesse Mazzella
55c023d1eb
chore: it is 2024. (#7864) 2024-10-03 06:28:26 -07:00
Scott Bell
4bbbd17b61 more telemetry collection changes to acommodate bound changes 2024-10-03 15:24:48 +02:00
Scott Bell
154e8c695d fix slow loading errors 2024-10-03 14:47:12 +02:00
Scott Bell
8e5ac68360 improvement in loading 2024-10-03 14:10:45 +02:00
Jamie V.
37b2660f27
[Conditionals] Increase performance, switch to TelemetryCollections (#7841)
* adding telemetry collections to condition manager

* handling telemetry collection data not datum

* adding from maaster

* addressing PR comments

* update unit test to work with telemetry collections

* fixing tests

* removing unnecessary addition

* removing focused describe

* removing focused it

* fix weird test bleed

* adding test for conditional styling

* removing some auto fix es-lint

* got a bit overzealous

* clarification

* using raf utility which handles it correctly and moving visiblity handling into the raf for consistency and performance

* using raf correctly

* removing raf, was causing issues

* move the test and add some determinism

* oops only

* missed lint

* got it!

* fix comments

* test(condStyling): stabilize test

---------

Co-authored-by: John Hill <john.c.hill@nasa.gov>
Co-authored-by: Jesse Mazzella <jesse.d.mazzella@nasa.gov>
2024-10-02 14:14:15 -07:00
Scott Bell
1a9401039e Merge remote-tracking branch 'origin/master' into telemetry-comps 2024-10-02 16:33:02 +02:00