Commit Graph

7719 Commits

Author SHA1 Message Date
Khalid Adil
fdae0ceb72 Wait for background image to load 2023-07-24 15:22:16 -05:00
Jesse Mazzella
eeff0a7bff fix: remove typo 2023-07-24 11:22:53 -07:00
Jesse Mazzella
23a0ddb97c fix(#3117): can remove item from displayLayout via tree context menu while viewing another item 2023-07-24 10:07:13 -07:00
Jesse Mazzella
724ec423d1 fix(e2e): fix grand search test 2023-07-21 16:52:00 -07:00
Jesse Mazzella
b41c98d4ab fix: replace all instances of $delete with Array.splice() or delete 2023-07-21 14:34:08 -07:00
Jesse Mazzella
76c37ff410 fix(restrictedNotebook): fix issue causing snapshots to not be able to be deleted from a locked page
- Using `this.$delete(arr, index)` does not update the `length` property on the underlying target object, so it can lead to bizarre issues where your array is of length 4 but it has 3 objects in it.
2023-07-21 14:18:24 -07:00
Shefali
c1d1b03b23 Merge branch 'e2e-test-fixes' of https://github.com/nasa/openmct into e2e-test-fixes 2023-07-21 12:30:15 -07:00
Jesse Mazzella
e0fc2ae043 fix(restrictedNotebook): fix issue causing sections not to update on lock 2023-07-21 12:21:58 -07:00
Jesse Mazzella
9a946bcd6f fix(e2e): fix restricted notebook locator 2023-07-21 12:21:39 -07:00
Jesse Mazzella
9f77c03ddb fix(e2e): update snapshots 2023-07-21 11:52:09 -07:00
Shefali
bdf8601091 6826: Fixes padStart error due to using it on a number rather than a string 2023-07-21 10:23:53 -07:00
Jesse Mazzella
2719a283d2 e2e: move test info annotations to within test 2023-07-21 09:31:20 -07:00
Shefali
a1d9842c16 Fix timestrip test 2023-07-21 07:42:35 -07:00
Shefali
c77bbc16eb Fix telemetry table test 2023-07-21 06:50:17 -07:00
Shefali
05a1d53b92 fix autoscale test and snapshot 2023-07-21 06:30:31 -07:00
Shefali
cb93d17742 Fix Inspector tabs remounting on change 2023-07-21 00:34:00 -07:00
Shefali
771158de3b Fix some tests for itc for display layouts 2023-07-20 22:02:04 -07:00
Shefali
8d5219cf09 Improve how time bounds are set in independent time conductor.
Fix tests for flexible layout and timestrip
2023-07-20 21:59:03 -07:00
Shefali
625bdc0ed8 Fix locator for time conductor popups 2023-07-20 16:07:17 -07:00
Khalid Adil
43fa10443d Add fixme to tagging tests, issue described in 6822 2023-07-20 17:44:08 -05:00
Jesse Mazzella
dc0f461d9f test(e2e): fix ITC imagery test 2023-07-20 14:37:04 -07:00
Jesse Mazzella
99cb90987a test(e2e): disable one imagery test due to known bug 2023-07-20 13:33:36 -07:00
Shefali
7db9805976 Don't remove the itc popup from the DOM. Just show/hide it once it's added the first time. 2023-07-20 13:29:34 -07:00
David Tsay
f48afeb179 add fixmes to e2e tests failing due to regressions 2023-07-20 13:10:29 -07:00
Jesse Mazzella
e94cf27c9a fix(e2e): update appActions and tests to use a11y locators for ITC 2023-07-20 12:41:55 -07:00
John Hill
6d68512d99 Add watch mode 2023-07-20 09:03:29 -07:00
Jesse Mazzella
c6ff7f2958 a11y: fix label collisions, specify 'Menu' in label 2023-07-19 17:09:17 -07:00
Jesse Mazzella
3dab216d2c a11y: more accessibility for TC 2023-07-19 17:03:13 -07:00
Jesse Mazzella
2d16e91704 a11y: ARIA for conductor and independent time conductor 2023-07-19 16:53:56 -07:00
Khalid Adil
c400c7c12d Specify global time conductor to fix issues with duplicate selectors with independent time contexts 2023-07-19 18:49:45 -05:00
Shefali
9b4410d540 Fix displayLayout e2e tests 2023-07-19 16:25:28 -07:00
Shefali
6769fb4e3e Fix log plot e2e tests 2023-07-19 16:25:28 -07:00
Shefali
34229d3a86 Remove log statement 2023-07-19 16:25:28 -07:00
Shefali
f9c5e12a59 Ensure realtime uses upstream context when available
Eliminate ambiguity when looking for time conductor locator
2023-07-19 16:25:28 -07:00
Shefali
72c432ffcc clock, timeConductor and appActions fixes 2023-07-19 16:25:28 -07:00
Jesse Mazzella
4885c816dc
Migrate to Vue 3 Migration Build (#6767)
* Replacing all instances of the new Vue() component creation pattern
* In Vue 3, components cannot be created on the fly and mounted off-DOM. The suggested fix from Vue is to use createApp, but in the context of Open MCT this means dozens of Vue apps being created and destroyed at any given moment. Instead, we have used a community hack for creating individual components.
* beforeDestroy() -> beforeUnmount()
* destroyed() -> unmounted()
* The addition of deep: true option on Array listeners is now required to detect Array changes
* Open MCT is now mounted on a child div instead of directly on document.body


---------

Co-authored-by: Scott Bell <scott@traclabs.com>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
Co-authored-by: John Hill <john.c.hill@nasa.gov>
2023-07-19 11:22:23 -07:00
Jamie V
42b545917c
[Time] Conductors and API Enhancements (#6768)
* Fixed #4975 - Compact Time Conductor styling
* Fixed #5773 - Ubiquitous global clock
* Mode functionality added to TimeAPI
* TimeAPI modified to always have a ticking clock
* Mode dropdown added to independent and regular time conductors
* Overall conductor appearance modifications and enhancements
* TimeAPI methods deprecated with warnings
* Significant updates to markup, styling and behavior of main Time Conductor and independent version.


---------

Co-authored-by: Charles Hacskaylo <charlesh88@gmail.com>
Co-authored-by: Shefali <simplyrender@gmail.com>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
Co-authored-by: John Hill <john.c.hill@nasa.gov>
Co-authored-by: Scott Bell <scott@traclabs.com>
2023-07-18 17:32:05 -07:00
John Hill
85974fc5f1
[CI] Temporarily disable some tests (#6806)
Temporarily disable some tests
2023-07-17 14:03:47 -07:00
Jesse Mazzella
761d4ce7e4
chore: bump version to 3.0.0-SNAPSHOT (#6800) 2023-07-15 08:26:56 -07:00
Shefali Joshi
5b1298f221
Adds limits subscription to the Telemetry API (#6735)
* Add subscription for limits for domain objects
---------

Co-authored-by: John Hill <john.c.hill@nasa.gov>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
2023-07-14 17:09:05 -07:00
Andrew Henry
662d14354c
Suppress role selection if no roles available (#6802) 2023-07-14 16:22:25 -07:00
Shefali Joshi
e386036dbf
Enhance telemetry tables to allow in place updates for data (#6694)
* cherry-pick(#6602) : [ExportAsJson] Multiple Aliases in Export and Co… (#6658)

cherry-pick(#6602) : [ExportAsJson] Multiple Aliases in Export and Conditional Styles Fixes (#6602)

Fixes issues that prevent import and export from being completed successfully. Specifically:

* if multiple aliases are detected, the first is created as a new object and and added to it's parent's composition, any subsequent aliases of the same object will not be recreated, but the originally created one will be added to the current parent's composition, creating an alias.

* Also, there are cases were conditionSetIdentifiers are stored in an object keyed by an item id in the configuration.objectstyles object, this fix will handle these as well.

* Replaces an errant `return` statement with a `continue` statement to prevent early exit from a recursive function.

---------

Co-authored-by: Andrew Henry <akhenry@gmail.com>

* chore: bump version to `2.2.3` (#6685)

* Add configuration detection to update table rows in place

* Fix typo for datum access

* First add new rows to the table and then update rows in place

* Each row much be checked for in place updates and inserted as needed

* Fix typo. Remove unused code.

* Update datum only. And don't allow undefined values for columns

* Fix typo

* Rename function for clarity

* Use telemetry metadata to indicate datum property to use for in place updates

* Fix typo for method call

* Fix typo for return value

* fullDatum is the datum BEFORE normalizing.

---------

Co-authored-by: Jamie V <jamie.j.vigliotta@nasa.gov>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
Co-authored-by: John Hill <john.c.hill@nasa.gov>
2023-07-14 14:51:23 -07:00
Michael Rogers
6e79e5e2b0
[Timelist] Fixed Time use Now as start time - 5772 (#6497)
* Selectively filter activities only for realtime

* Remove unnecessary logic

* Adjust hideAll and showAll flags for non-realtime mode

* Filter out past events for fixed time

* Set the timestamp on bounds change

* Cleanup

* Removed duplicated listing since handled by different method

* Inverted variable

* removed setting showAll flag

* Remove unusued showAll value

* Removed noCurrent state and isCurrent logic check based on noCurrent

* Set formatted start / end to utc mode to synchronize with current time counductor value

* Add missed file

* Lint fixes

* Formatter improvements to use the Time API and lint fix

* Updated test to use Time API formatter instead of moment directly

* Linting fix to pluginSpec

* Prettier one line

---------

Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
2023-07-14 15:19:33 -05:00
Michael Rogers
32529ff6b2
Role selection for operator status roles (#6706)
* Add additional test roles to example user

* Add session storage and role to user indicator

* Update example user provider

* Added selection dialog to overlays and implemented for operator status

* Display role in user indicator

* Updates to broadcast channel lifecycle

* Update comment

* Comment width

* UserAPI role updates and UserIndicator improvement

* Moved prompt to UserIndicator

* Reconnect channel on error and UserIndicator updates

* Updates to status api canPRovideStatusForRole

* Cleanup

* Store status roles in an array instead of a singular value

* Added success notification and cleanup

* Lint

* Removed unused role param from status api call

* Remove default status role from example user plugin

* Removed status.getStatusRoleForCurrentUser

* Cleanup

* Cleanup

* Moved roleChannel to private field

* Separated input value from active role value

* More flight like status role names and parameter names

* Update statusRole parameter name

* Update default selection for roles if input is not chosen

* Update OperatorStatusIndicator install to hide if an observer

* console.log

* Return null instead of undefined

* Remove unneccesary filter on allRoles

* refactor: format with prettier

* Undid merge error

* Merge conflict extra line

* Copyright statement

* RoleChannelProvider to RoleChannel

* Throw error on no provider

* Change RoleChannel to ActiveRoleSynchronizer and update method calls to match

* iconClass to alert

* Add role selection step to beforeEach

* example-role to flight

* Dismiss overlay from exampleUser plugin which affected menu api positioning

---------

Co-authored-by: Scott Bell <scott@traclabs.com>
2023-07-14 19:10:58 +00:00
Jamie V
92329b3d8e
Tree item abort (#6757)
* adding abortSignal back to composition load
* suppress AbortError console.errors from couch, delay requests for test to trigger abort
---------

Co-authored-by: John Hill <john.c.hill@nasa.gov>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
2023-07-14 17:49:10 +00:00
Khalid Adil
cde8fbbb0d
[Tooltips] Add tooltips on hover (#6756)
* Add tooltip api, extend object api to add telemetry composition lookups, and add tooltips to gauges/notebook embeds/plot legends/object frames/object names/time strips/recent objects/search results/object tree

* Add tooltips to telemetry/lad tables

* Styling normalization, sanding and polishing.

* Add tooltips for Conditional widgets and Tab Views

* Add tests

* Switch to using enum-ish consts for tooltip locations

* Trim LAD table row name to account for spacing required by linting rules

---------

Co-authored-by: Charles Hacskaylo <charlesh88@gmail.com>
2023-07-13 21:37:59 -07:00
Shefali Joshi
795d7a7ec7
Fix couchdbsearchfolder and allow clocky reports (#6770)
* Fix CouchDBSearchFolder plugin to have unique identifiers.
Allow ttt-reports to be viewed as web pages

* Remove ttt-report type from WebPage view provider. This is being moved to the viper-openmct repo instead

* Adds check for classList

* Add WebPage to the components list

* Remove uuid and use the folder name as the identifier instead

* Remove focused test

---------

Co-authored-by: John Hill <john.c.hill@nasa.gov>
Co-authored-by: Jamie V <jamie.j.vigliotta@nasa.gov>
2023-07-13 19:50:52 +00:00
Michael Rogers
5031010a00
Add role attribution to notebook entries and export (#6793)
Co-authored-by: Jamie V <jamie.j.vigliotta@nasa.gov>
2023-07-13 19:09:00 +00:00
Andrew Henry
ac22bebe76
Batch Couch DB create calls (#6779)
* Implement persistence batching for Couch DB

* Add tests for persistence batching

---------

Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
2023-07-12 04:36:00 +00:00
Shefali Joshi
d08ea62932
Toggle between showing aggregate stacked plot legend or per-plot legend (#6758)
* New option to show/hide stacked plot aggregate legend - defaulted to not show.
Use the Plot component in the StackedPlotItem component for simplicity and show/hide sub-legends as needed.

* Fix position and expanded classes when children are showing their legends

* Fix broken tests and ensure gridlines and cursorguides work.

* Adds e2e test for new legend configuration for stacked plot

* Address review comments - Remove commented out code, optimize property lookup, fix bug with staleness

* Remove the isStale icon in the legend when a plot is inside a stacked plot.

---------

Co-authored-by: Jamie V <jamie.j.vigliotta@nasa.gov>
2023-07-11 23:16:46 +00:00