1853 Commits

Author SHA1 Message Date
Scott Bell
01cc501f6a replace comment 2023-06-13 12:03:59 +02:00
Scott Bell
16dd43d1c8 add todo for search and removed mutation listener 2023-06-13 12:02:46 +02:00
Scott Bell
a5e3317f8e
Merge branch 'master' into 6557-annotations-image-tagging-prototype 2023-06-12 15:28:33 +02:00
Scott Bell
3cc93c0656
Add time context for telemetry collections (#6543)
* add time context for telemetry collections

* move time context to options

* clean up jsdoc

* clean up jsdoc

* Update src/api/telemetry/TelemetryAPI.js

* clean up comments

* use time context bounds if defined for start and end

* refactor: format with prettier
2023-06-09 17:21:44 +00:00
Scott Bell
cfe0c7f68e
Merge branch 'master' into 6557-annotations-image-tagging-prototype 2023-06-02 09:51:09 +02:00
Scott Bell
a9158a90d5
Support filtering by severity for events tables (#6672)
* hide tab if not editing and fix issue where configuration is null

* show filters tab if editing

* works with dropdown

* add a none filter to remove 'filters applied' styling'

* pass appropriate comparator

* openmct side is ready

* clear filter still not working

* fix clearing of procedures

* add filters

* add some basic documentation

* add some basic documentation

* add some basic documentation

* fix grammar issues and convert away from amd pattern

* convert to permanent links

* refactor: format with prettier

* add aria labels for selects
2023-06-01 14:26:14 -07:00
Scott Bell
fbb37ac382
Merge branch 'master' into 6557-annotations-image-tagging-prototype 2023-05-24 11:36:12 +02:00
Jesse Mazzella
fea68381a7
fix: unlisten to annotation event beforeDestroy (#6690)
* fix: unlisten to annotation event beforeDestroy

* refactor: `npm run lint:fix`

---------

Co-authored-by: Scott Bell <scott@traclabs.com>
2023-05-24 09:29:19 +00:00
Scott Bell
609dcb0460 refactor: format with prettier 2023-05-19 16:10:03 +02:00
Scott Bell
3bff7f9f32 pause when annotating 2023-05-19 16:08:41 +02:00
Scott Bell
09df2f64f2 fix rectangle blurriness on retina screens 2023-05-19 16:08:41 +02:00
Scott Bell
6b2adcb7b7 add basic tagging test 2023-05-19 16:08:41 +02:00
Scott Bell
6dd6c87ceb fix tests 2023-05-19 16:08:41 +02:00
Scott Bell
3a77efb010 separate annotation guard 2023-05-19 16:08:41 +02:00
Scott Bell
bd356653db remove some debug code 2023-05-19 16:08:41 +02:00
Scott Bell
d1e8b3835d generate keystring on mount 2023-05-19 16:08:41 +02:00
Scott Bell
051a0adbb7 added notes on how search selection will work 2023-05-19 16:08:41 +02:00
Scott Bell
87d695a454 remove kdbush and generalize annotation selection 2023-05-19 16:08:41 +02:00
Scott Bell
85482902be works on load 2023-05-19 16:08:41 +02:00
Scott Bell
8015aceaa7 added indicator 2023-05-19 16:08:41 +02:00
Scott Bell
a381673f21 add icon for annotations 2023-05-19 16:08:41 +02:00
Scott Bell
7a808622ae need to add image indicator 2023-05-19 16:08:41 +02:00
Scott Bell
5fb78a9604 rough prototype done 2023-05-19 16:08:41 +02:00
Scott Bell
629e884c9b annotation selection much better 2023-05-19 16:08:41 +02:00
Scott Bell
a8949d39bf still need to clean up selection code 2023-05-19 16:08:41 +02:00
Scott Bell
91ad130f8b switch plots to use flatbush 2023-05-19 16:08:41 +02:00
Scott Bell
72d8779736 clicking on annotations finds them 2023-05-19 16:08:41 +02:00
Scott Bell
e34093eda7 remove flickering 2023-05-19 16:08:41 +02:00
Scott Bell
501fdf902b can draw annotations, now need to select existing annotations 2023-05-19 16:08:41 +02:00
Scott Bell
cb32dd94f8 loading annotations from db 2023-05-19 16:08:41 +02:00
Scott Bell
2d868cdb58 rudimentary annotation 2023-05-19 16:08:41 +02:00
Scott Bell
424a2b30ac get math right for drawing the rectangle 2023-05-19 16:08:41 +02:00
Scott Bell
693b8804ba dragging 2023-05-19 16:08:41 +02:00
Scott Bell
9018dcd319 fix pointer events 2023-05-19 16:08:40 +02:00
Scott Bell
0aaa7998f5 add canvas click events 2023-05-19 16:08:40 +02:00
Scott Bell
d426ae86b8 separate into canvas 2023-05-19 16:08:40 +02:00
Scott Bell
002d8d11e8 drawing a bunch of garbage on the image 2023-05-19 16:08:40 +02:00
Jesse Mazzella
caa7bc6fae
chore: add prettier (2/3): apply formatting, re-enable lint ci step (#6682)
* style: apply prettier formatting

* fix: re-enable lint ci check
2023-05-18 21:54:46 +00:00
Jesse Mazzella
172e0b23fd
chore: add prettier (1/3): add packages, configurations, fix lint issues (#6382)
* fix: remove redundant eslint rules

* chore: bump `prettier` to v2.8.7

* docs: vue files to use html comments for licenses

- Prettier's Vue parser freaks out if it sees a *.js style comment in a *.vue file.

* docs: more licenses for vue files

* fix: don't ignore *.vue files

* fix: use defaults for tabWidth and printWidth

* simplify .prettierignore

* enforce a printWidth of 100

* fix: use `eslint-plugin-prettier`, remove conflicting rules

* test: fix gauge tests (for real)

* test: fix notebook test selectors

* test: fix restrictedNotebook test selectors

* test: remove useless assignment

* lint: __dirname as global

* lint: revert eslint config + whitespace changes, commit new config

* style: remove unnecessary string concat of literals

* test: fix missed gauge test

* fix: use new eslint rules

* feat: add blank `.git-blame-ignore-revs` file

* docs: update to mention Prettier and format.

* Revert "test: fix gauge tests (for real)"

This reverts commit 6afad450389edc2f16ff0d00c9524621a7ba53bc.

* Revert "test: fix notebook test selectors"

This reverts commit 17fe1cbbff02e9298f041b5ea0fea5494fe54d94.

* Revert "test: fix restrictedNotebook test selectors"

This reverts commit 97e0ede826b7dd61c5443845443d806a56f3f305.

* Revert "test: fix missed gauge test"

This reverts commit e2398fc38ca94beff2066cc253173412ad47f8b9.

* test: fix gauge tests (no formatting)

* test: update notebook e2e selectors (no formatting)

* test: update restrictedNotebook e2e selectors (no formatting)

* fix: temporarily disable lint check
2023-05-18 21:29:20 +00:00
Rukmini Bose (Ruki)
5df7971438
[Plots] Fix wrapping of Y Axis when height is small (#6264)
* New branch to fix y-axis icons

* test: fix locator

---------

Co-authored-by: Jesse Mazzella <jesse.d.mazzella@nasa.gov>
2023-05-17 18:32:05 +00:00
Charles Hacskaylo
225fa22c72
Fix Locator in Move and Link dialogs (#6663)
Closes #6654
- Corrected form builder configurations.
2023-05-16 09:50:42 -07:00
Jamie V
2c3b6fa540
[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>
2023-05-11 17:11:09 +00:00
Jesse Mazzella
ba4353aacb
fix: Gantt Chart displays draft status of Plan in composition (#6642)
* fix: setStatus when add/replace a plan in composition

* test: add regression test

* chore: lint:fix

* test: add visual tests for plan and gantt chart drafts
2023-05-05 23:48:34 +00:00
David Tsay
9f079255f1
Free findSubscriptionProvider! (#6547)
free `findSubscriptionProvider`
2023-05-05 16:41:07 -07:00
John Hill
f5eacc504b
[Couchdb] Update couchdb init script and bump version to latest (#6643)
* chatty

* bad linebreak

* bump to 3.3.2

---------

Co-authored-by: Jesse Mazzella <ozyx@users.noreply.github.com>
2023-05-05 19:24:54 +00:00
Jamie V
b7c68f715b
[LAD Table][Browse Bar] Visual test and title attributes for actions (#6640) 2023-05-03 18:11:01 -07:00
Jamie V
fe677fa359
[LAD Tables] Persist view modified configuration (#6637)
* chore: bump version to `2.2.2` (#6615)

* persisting lad configuration in the view when it changes

---------

Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
2023-05-02 16:19:23 -07:00
David Tsay
6f2b20eee9
Retain styling on condition widgets when adding or removing a url (#6625)
* fix spelling error
* apply changes after dynamic component updates
* remove * listener
* react to url change
* es6 mode
* fix html structure
* Closes #6614
- CSS fixes for revised widget approach.
* include url prop for vue component reactivity
* disable a tag overriding font color
* provide a reactive object for component reactivity

Co-authored-by: Charles Hacskaylo <charlesh88@gmail.com>
2023-04-28 20:17:14 +00:00
Jesse Mazzella
968eee6698
chore: bump Playwright to v1.32.3 (#6511)
* chore: bump Playwright to v1.32.1

* test: fix locators, remove unnecessary awaits

* chore: bump Playwright in ci workflows

* test: better selectors for yAxis configs

- fix tests

* chore: bump Playwright to 1.32.3

* refactor: ensure openmct starts after plugins install

* fix: wait for domcontentloaded on initial nav

* test: fix autoscale snapshot test

* test: fix `--max-failures` argname typo

* test: update old locators

* test(fix): add missing await

* test: fix typo 😅
2023-04-18 22:32:29 +00:00
Jesse Mazzella
dbdc9bb4e2
fix(#6549): [StaticRootPlugin] Remap non-empty root namespaces and non-root namespaces correctly (#6583)
* fix: preserve truthy namespaces and unmapped values

- Fixes the issue of the Static Root provider overriding existing namespaces, such as those from a telemetry dictionary
- Fixes the issue of keys of child objects NOT present in the idMapping (such as those from a telemetry dictionary) being overwritten as undefined
- TODO: This will not work for objects exported from an environment that has the "MyItems" namespace defined to anything other than an empty string. Need to figure out how to handle this.

* fix: handle the case of rootId having a namespace !== ""

* refactor: use `parseKeyString`

* fix: StaticRootPlugin object mapping for non-empty namespaces

* fix: use index, fix location identifiers

* tets: add non-empty namespace tests (wip)

* refactor: rename and move test files

* test: update StaticModelProvider tests

* fix: remap to identifiers for config, not keystring

---------

Co-authored-by: Khalid Adil <khalidadil29@gmail.com>
2023-04-14 18:31:04 -05:00