Skip to content

Commit

Permalink
Enhancements for Derived Telemetry object
Browse files Browse the repository at this point in the history
- Closes #7823
- Updated Derived Telemetry glyph design.
- Set `CompsViewProvider.js` to use the correct icon.
  • Loading branch information
charlesh88 committed Sep 5, 2024
1 parent e1f50fe commit cde34e3
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/plugins/comps/CompsViewProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default class ConditionSetViewProvider {
this.openmct = openmct;
this.name = 'Comps View';
this.key = 'comps.view';
this.cssClass = 'icon-telemetry';
this.cssClass = 'icon-derived-telemetry';
this.compsManagerPool = compsManagerPool;
}

Expand Down
2 changes: 1 addition & 1 deletion src/styles/_constants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -336,4 +336,4 @@ $bg-icon-telemetry-aggregate: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns
$bg-icon-trash: url("data:image/svg+xml;charset=UTF-8,%3csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='512px' height='512px' viewBox='0 0 512 512' enable-background='new 0 0 512 512' xml:space='preserve'%3e%3cpath d='M416,64h-96.18V32c0-17.6-14.4-32-32-32h-64c-17.6,0-32,14.4-32,32v32H96c-52.8,0-96,36-96,80s0,80,0,80h32v192 c0,52.8,43.2,96,96,96h256c52.8,0,96-43.2,96-96V224h32c0,0,0-36,0-80S468.8,64,416,64z M160,416H96V224h64V416z M288,416h-64V224 h64V416z M416,416h-64V224h64V416z'/%3e%3c/svg%3e");
$bg-icon-eye-open: url("data:image/svg+xml;charset=UTF-8,%3csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 512 512' style='enable-background:new 0 0 512 512;' xml:space='preserve'%3e%3cstyle type='text/css'%3e .st0%7bfill:%2300A14B;%7d %3c/style%3e%3ctitle%3eicon-eye-open-v2%3c/title%3e%3cg%3e%3cpath class='st0' d='M256,58.2c-122.9,0-226.1,84-255.4,197.8C29.9,369.7,133.1,453.8,256,453.8s226.1-84,255.4-197.8 C482.1,142.3,378.9,58.2,256,58.2z M414.6,294.2c-11.3,17.2-25.3,32.4-41.5,45.2c-16.4,12.9-34.5,22.8-54,29.7 c-20.2,7.1-41.4,10.7-63,10.7s-42.9-3.6-63-10.7c-19.5-6.9-37.7-16.9-54-29.7c-16.2-12.8-30.2-27.9-41.5-45.2 c-7.9-12-14.4-24.8-19.3-38.2c5-13.4,11.5-26.2,19.3-38.2c11.3-17.2,25.3-32.4,41.5-45.2c16.4-12.9,34.5-22.8,54-29.7 c20.2-7.1,41.4-10.7,63-10.7s42.9,3.6,63,10.7c19.5,6.9,37.7,16.9,54,29.7c16.2,12.8,30.2,27.9,41.5,45.2 c7.9,12,14.4,24.8,19.3,38.2C429,269.4,422.5,282.2,414.6,294.2z'/%3e%3ccircle class='st0' cx='256' cy='256' r='96'/%3e%3c/g%3e%3c/svg%3e");
$bg-icon-camera: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3ctitle%3eicon-camera-v2%3c/title%3e%3cpath d='M448,128H384L320,0H192L128,128H64A64.2,64.2,0,0,0,0,192V448a64.2,64.2,0,0,0,64,64H448a64.2,64.2,0,0,0,64-64V192A64.2,64.2,0,0,0,448,128ZM256,432A128,128,0,1,1,384,304,128,128,0,0,1,256,432Z'/%3e%3c/svg%3e");
$bg-icon-derived-telemetry: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' fill='none'%3e%3cg fill='%23000' clip-path='url(%23a)'%3e%3cpath d='M54.68 261.23c2.59-5.63 5.2-11.73 7.8-18.36C83.71 188.64 120.64 123.99 176 123.99c26.2 0 50.71 14.58 72.85 43.34 18.67 24.25 32.42 54.46 40.67 75.54 19.26 49.19 39.34 70.15 46.48 72.96 7.14-2.81 27.22-23.77 46.48-72.96 11.71-29.9 28.19-62.96 49.9-86.62l-24.92-94.4C398.48 27.83 362.52 0 327.54 0H49.32C14.35 0-6.92 27.83 2.06 61.85l52.62 199.38Z'/%3e%3cpath d='M457.32 250.77a347.06 347.06 0 0 0-7.8 18.36C428.29 323.36 391.36 388.01 336 388.01c-26.2 0-50.71-14.58-72.85-43.34-18.67-24.25-32.42-54.46-40.67-75.54-19.26-49.19-39.34-70.15-46.48-72.96-7.14 2.81-27.22 23.76-46.48 72.96-11.71 29.9-28.19 62.96-49.9 86.62l24.92 94.4c8.98 34.02 44.94 61.85 79.92 61.85h278.22c34.98 0 56.25-27.83 47.27-61.85l-52.62-199.38h-.01Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='a'%3e%3cpath fill='%23fff' d='M0 0h512v512H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e");
$bg-icon-derived-telemetry: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cpath d='M66.1 166c20.2 24.3 35.1 54.6 44 75.7 10 23.6 21.7 44 33.1 57.7 11.1 13.3 18.5 16.3 20.2 16.3s9.1-3 20.2-16.3c11.4-13.7 23.1-34.2 33.1-57.7 8.9-21.1 23.8-51.4 44-75.7 23.3-28.1 48.7-42.3 75.6-42.3s52.2 14.2 75.6 42.3c20.2 24.3 35.1 54.6 44 75.7 10 23.6 21.7 44 33.1 57.7 11.1 13.3 18.5 16.3 20.2 16.3s1.6-.3 3.2-1.1v-58.9c-.2-141.3-114.9-256-256.2-256H.2v124.6c23.3 3 45.4 17 66 41.7Z'/%3e%3cpath d='M509 387.7c-26.8 0-52.2-14.2-75.6-42.3-20.2-24.3-35.1-54.6-44-75.7-10-23.6-21.7-44-33.1-57.7-11.1-13.3-18.5-16.3-20.2-16.3s-9.1 3-20.2 16.3c-11.4 13.7-23.1 34.2-33.1 57.7-8.9 21.1-23.8 51.4-44 75.7-23.3 28.1-48.7 42.3-75.6 42.3s-52.2-14.2-75.6-42.3c-20.2-24.3-35.1-54.6-44-75.7-10-23.6-21.7-44-33.1-57.7-4.1-4.9-7.6-8.4-10.6-10.8v54.5c.3 141.4 114.9 256 256.3 256h256V387.6H509Z'/%3e%3c/svg%3e");
4 changes: 2 additions & 2 deletions src/styles/fonts/Open MCT Symbols 16px.json
Original file line number Diff line number Diff line change
Expand Up @@ -4319,8 +4319,8 @@
{
"id": 187,
"paths": [
"M109.36 522.46c5.18-11.26 10.4-23.46 15.6-36.72 42.46-108.46 116.32-237.76 227.040-237.76 52.4 0 101.42 29.16 145.7 86.68 37.34 48.5 64.84 108.92 81.34 151.080 38.52 98.38 78.68 140.3 92.96 145.92 14.28-5.62 54.44-47.54 92.96-145.92 23.42-59.8 56.38-125.92 99.8-173.24l-49.84-188.8c-17.96-68.040-89.88-123.7-159.84-123.7h-556.44c-69.94 0-112.48 55.66-94.52 123.7l105.24 398.76z",
"M914.64 501.54c-5.18 11.26-10.4 23.46-15.6 36.72-42.46 108.46-116.32 237.76-227.040 237.76-52.4 0-101.42-29.16-145.7-86.68-37.34-48.5-64.84-108.92-81.34-151.080-38.52-98.38-78.68-140.3-92.96-145.92-14.28 5.62-54.44 47.52-92.96 145.92-23.42 59.8-56.38 125.92-99.8 173.24l49.84 188.8c17.96 68.040 89.88 123.7 159.84 123.7h556.44c69.96 0 112.5-55.66 94.54-123.7l-105.26-398.76z"
"M132.2 332c40.4 48.6 70.2 109.2 88 151.4 20 47.2 43.4 88 66.2 115.4 22.2 26.6 37 32.6 40.4 32.6s18.2-6 40.4-32.6c22.8-27.4 46.2-68.4 66.2-115.4 17.8-42.2 47.6-102.8 88-151.4 46.6-56.2 97.4-84.6 151.2-84.6s104.4 28.4 151.2 84.6c40.4 48.6 70.2 109.2 88 151.4 20 47.2 43.4 88 66.2 115.4 22.2 26.6 37 32.6 40.4 32.6s3.2-0.6 6.4-2.2v-117.8c-0.4-282.6-229.8-512-512.4-512h-512v249.2c46.6 6 90.8 34 132 83.4z",
"M1018 775.4c-53.6 0-104.4-28.4-151.2-84.6-40.4-48.6-70.2-109.2-88-151.4-20-47.2-43.4-88-66.2-115.4-22.2-26.6-37-32.6-40.4-32.6s-18.2 6-40.4 32.6c-22.8 27.4-46.2 68.4-66.2 115.4-17.8 42.2-47.6 102.8-88 151.4-46.6 56.2-97.4 84.6-151.2 84.6s-104.4-28.4-151.2-84.6c-40.4-48.6-70.2-109.2-88-151.4-20-47.2-43.4-88-66.2-115.4-8.2-9.8-15.2-16.8-21.2-21.6v109c0.6 282.8 229.8 512 512.6 512h512v-248.2c-2.2 0-4.2 0-6.4 0z"
],
"attrs": [
{},
Expand Down
Binary file modified src/styles/fonts/Open-MCT-Symbols-16px.ttf
Binary file not shown.
Binary file modified src/styles/fonts/Open-MCT-Symbols-16px.woff
Binary file not shown.

0 comments on commit cde34e3

Please sign in to comment.