Commit Graph

8153 Commits

Author SHA1 Message Date
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
Jesse Mazzella
43cc963328
chore: bump @playwright/test to 1.47.2 (#7859) 2024-10-01 21:01:02 +00:00
Scott Bell
5e013b6aa8 ensure we only ask for latest for comp editor 2024-10-01 21:28:50 +02:00
Jesse Mazzella
ad30a0e2d0
feat(Fault Management): allow fault providers to define shelve durations (#7849)
* refactor: clean up FaultManagementView code

* feat: providers can now provide "Shelve Duration" options

* fix(exampleFaultSource): support `getShelveDurations`

* a11y: aria label for fault management list item

* a11y(FaultManagement): more labels

* refactor: eliminate some faultUtils and refactor locator() out of tests

* docs: add some more docs to fault management api

* refactor: make for loop more readable

* test: use static faults when testing

* fix: set a timestamp for static faults and subtract so we get faults in order

* refactor: autoformat

* chore: add missing copyright header

* fix: use as default parameter to get value as method is called

* refactor: make magic number a const

* fix(codecov): use codecov github action to upload

* fix: generate the report

* build: update circleci yml to use codecov orb

* build: remove codecov scripts and package

* build: don't use the orb because things can't be easy

- nasa org disallows "third party" orbs

* build: only use `sudo` if we ain't da root user

---------

Co-authored-by: Andrew Henry <akhenry@gmail.com>
2024-10-01 10:41:18 -07:00
Scott Bell
eb5d32c2a0 fix domains 2024-10-01 18:02:07 +02:00
Andrew Henry
29f1956d1a
Improve telemetry buffering implementation (#7837)
* Simplifies the implementation of telemetry buffering in Open MCT.
* Switches from per-parameter buffering to a shared queue. Per-parameter buffering is too easily overwhelmed by bursts of telemetry from high-frequency parameters. A single shared buffer has more overhead to grow when a burst arrives without overflowing, because the buffer is shared across all parameters.
* Removes the need for plugins to pass serialized code to a worker.
* Switched to a "one-size-fits-all" batching strategy removing the need for plugins to define a batching strategy at all.
* Captures buffering statistics for display in the PerformanceIndicator.
2024-09-30 14:36:40 -07:00
Charles Hacskaylo
c498f7d20c
Fix bad color value for Gauge 'Needle' type (#7821)
* Closes #7820
- Fix 0 opacity fill in theme constants files for Gauge type needle.

* move gauge plugin to its own suite

* add two more snapshots

* driveby: fix some flake

* bug: update linting rule

---------

Co-authored-by: John Hill <john.c.hill@nasa.gov>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
2024-09-28 09:17:32 -07:00
David Tsay
a8fbabe695
fix(#7825): imagery pause (#7842)
* more readable

* unpause explicitly

* fix jsdoc

* e2e testing multiple image removal

* prettier

* fix to remove multiple images from history

* move tests that use playwright clock api into own file

* fix playwright clock tests

* add aria-label to element

* prevent straggler debounced function call on unmount

* clean up and fix tests

* update paths

* lint fix

* lint fix

---------

Co-authored-by: John Hill <john.c.hill@nasa.gov>
2024-09-27 14:32:14 -07:00
Shefali Joshi
e792403788
Bar graphs should only get latest historical datum (#7811)
* Only as for latest historical telemetry

* Add test for size 1 request when a bar graph is loaded

* Use strategy latest instead of size 1 for historical request

* Fix linting issues

* Add size and strategy

* Remove bar graph tests

---------

Co-authored-by: Jesse Mazzella <ozyx@users.noreply.github.com>
2024-09-25 09:37:38 -07:00
Scott Bell
4a301a15d2 ensure derived DERIVED telemetry loads in the proper order. also have telemetry collections prioritize request options over clock 2024-09-25 13:19:00 +02:00
Scott Bell
dfcfa47237 pass options on request to underlying collections 2024-09-24 21:32:56 +02:00
Scott Bell
ee612a6b5a resolve conflicts 2024-09-17 16:45:43 +02:00
John Hill
de122b91c2
[Build] Update tsconfig to explicitly set target and module options (#7845)
* bugfix: update tsconfig to set module to NodeNext and exclude openmct/e2e

* chore: remove unnecessary paths from exclude

- the `exclude` option only excludes files in the context of the `include` paths, if there are any. We can remove some of these because they don't match anything in the include paths.

* chore: fix capitalization for consistency

---------

Co-authored-by: Jesse Mazzella <jesse.d.mazzella@nasa.gov>
2024-09-16 23:23:56 +00:00
John Hill
fa8efa858b
[Build] Update package lock to reference correct version of package and also update the browserlist (#7843)
chore: update package lock to 4.1.0-next and update browserlist
2024-09-13 07:52:58 -07:00
Scott Bell
c1a361db5f
Merge branch 'master' into telemetry-comps 2024-09-11 15:59:27 +02:00
Jesse Mazzella
26578e849d
chore: bump version to 4.1.0-next (#7832)
chore: bump version to 4.1.0-next
2024-09-10 23:14:22 +00:00
Scott Bell
e02217ad63
Merge branch 'master' into telemetry-comps 2024-09-10 10:28:36 +02:00
Scott Bell
60e07e642b refactor aria labeling 2024-09-10 10:27:45 +02:00
Jamie V.
fccae3bd49
Don't change sort order when changing performance mode (#7810)
* adding an option to no swap order to initiatSort

* debug

* defaulting to desc order for requests if there is not saved order

* adding some common constants

* replace all got into a comment

---------

Co-authored-by: Jesse Mazzella <ozyx@users.noreply.github.com>
2024-09-10 02:28:05 +00:00
Jesse Mazzella
440474b2e3
fix(conditional styling): conditional visibility for images and alpha-numerics in display layouts (#7824)
* fix: apply `is-style-invisible` className to image and alphanumeric items

* test: generate storagestate file with basic condition set

* refactor: small a11y additions for Toolbars

* test: add suite for display layout conditional styling

* fix: make condition true half of the time

* fix: use a period of 5 so tests are more stable

* test: mark as slow

* test: use inline base64 image text instead of a url

* fix: use vue reactivity system to conditionally show these objects

* test: use tiny base64 image

* fix: condition for v-show

* fix: use both v-if and v-show to toggle visibility

* refactor: convert to ES6 class

* fix: remove focused test

* fix: switch back to a div due to visual artifacts. settle for an aria role instead

- IT'S CALLED COMPROMISE!
2024-09-09 22:41:29 +00:00
Scott Bell
8b4eed938a good job code scanner. changing to or condition 2024-09-09 09:45:22 +02:00
Scott Bell
dd57d78c4f add some basic object path label tests 2024-09-07 11:30:14 +02:00
Scott Bell
89e18d482d add output format test 2024-09-06 11:50:47 +02:00
Scott Bell
b251fde1fc ensure output format propagates 2024-09-06 11:27:20 +02:00
Scott Bell
1b186d7596 add tests 2024-09-06 10:47:20 +02:00
Charles Hacskaylo
59461d6b06 Enhancements for Derived Telemetry object
- Closes #7823
- Final sanding and polishing.
- New discrete item style `c-output-featured` added to controls.scss
  - Applied to 'Current Output' section of both Derived Telemetry and Condition Sets.
- TODOs:
  - [ ] Check for low-risk regressions in Condition Sets browse and edit modes.
  - [ ] New tests for ObjectPathString.vue component.
2024-09-05 17:12:07 -07:00
Charles Hacskaylo
1615c36b7e Merge branch 'telemetry-comps' of github.com:nasa/openmct into telemetry-comps 2024-09-05 15:03:21 -07:00
Scott Bell
80d8babb61 handle arrays and add skeleton tests 2024-09-05 21:43:35 +02:00
Charles Hacskaylo
fdcece8e0e Merge branch 'telemetry-comps' of github.com:nasa/openmct into telemetry-comps 2024-09-05 12:13:51 -07:00
Charles Hacskaylo
cde34e3c6d Enhancements for Derived Telemetry object
- Closes #7823
- Updated Derived Telemetry glyph design.
- Set `CompsViewProvider.js` to use the correct icon.
2024-09-05 12:11:09 -07:00
Scott Bell
dde0d1a64d can delete properly 2024-09-05 15:55:15 +02:00
Scott Bell
1996e66891 can chain and plot derived data 2024-09-05 15:38:41 +02:00
Scott Bell
06e916ea20 allow deleting of parameters 2024-09-05 15:27:09 +02:00
Scott Bell
fb8730cf22 clean up composition effects 2024-09-05 13:44:08 +02:00
Scott Bell
9aeb454fb6 trying this again without blowing away the very pretty styling 2024-09-05 09:34:34 +02:00
Scott Bell
02cf70135e Revert "do not apply test data when edit mode changes to false"
This reverts commit eac4676cad.
2024-09-05 09:31:08 +02:00
Scott Bell
eac4676cad do not apply test data when edit mode changes to false 2024-09-05 09:28:35 +02:00
Charles Hacskaylo
e1f50feda0 Enhancements for Derived Telemetry object
- Closes #7823
- Code cleanup and tweaks.
2024-09-04 18:22:50 -07:00
Charles Hacskaylo
f8ceaa5a83 Merge branch 'telemetry-comps' of github.com:nasa/openmct into telemetry-comps
# Conflicts:
#	src/plugins/comps/components/CompsView.vue
2024-09-04 17:41:34 -07:00