Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: beautiful new dataset viewer, updates to document viewer, etc #935

Merged
merged 80 commits into from
Apr 3, 2023
Merged
Show file tree
Hide file tree
Changes from 75 commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
7866025
test
jamiewaese-uncharted Mar 14, 2023
bbabdf2
homepage tweaks
jamiewaese-uncharted Mar 14, 2023
d7ca00e
Merge branch 'main' into jamie/home-page-tweaks
jamiewaese-uncharted Mar 14, 2023
8978943
Update Home.vue
jamiewaese-uncharted Mar 14, 2023
adf61bf
more home page tweaks
jamiewaese-uncharted Mar 14, 2023
8543af2
add a dot pattern to background of no-projects panel
jamiewaese-uncharted Mar 14, 2023
c5f3aec
update chips in tabs
jamiewaese-uncharted Mar 14, 2023
84a93ab
made tab font sizes smaller
jamiewaese-uncharted Mar 14, 2023
c85485e
tweaks to Search By Example button
jamiewaese-uncharted Mar 14, 2023
f2fcf72
stopped clear button from moving on hover
jamiewaese-uncharted Mar 14, 2023
80b8dad
adjust position of search by example popup
jamiewaese-uncharted Mar 15, 2023
cfb200d
formatting for the search by example popup
jamiewaese-uncharted Mar 15, 2023
66be76b
lightening some of the borders
jamiewaese-uncharted Mar 15, 2023
65d7b16
Made Terarium logo a bit smaller
jamiewaese-uncharted Mar 16, 2023
3feb3c6
adjusted font size, weight and color of suggested terms chips
jamiewaese-uncharted Mar 16, 2023
6976a10
prettier facet panel more&less buttons
jamiewaese-uncharted Mar 16, 2023
78f6c18
style tweaks for Search by Example
jamiewaese-uncharted Mar 16, 2023
83fc7a9
improved navigation UX when you click on the Terarium logo
jamiewaese-uncharted Mar 16, 2023
ea9a285
adjusted font size and padding of navigation menu submenu headers
jamiewaese-uncharted Mar 16, 2023
2f70645
reduced margins on asset cards
jamiewaese-uncharted Mar 16, 2023
bdafe68
asset preview style tweaks
jamiewaese-uncharted Mar 16, 2023
e2529ae
Decreased font size of search results count
jamiewaese-uncharted Mar 16, 2023
7ffe956
updates for the Search By Example popup
jamiewaese-uncharted Mar 17, 2023
8fb5037
tweaking the Add to cart and Remove from cart buttons
jamiewaese-uncharted Mar 17, 2023
9706ee3
added image to empty cart
jamiewaese-uncharted Mar 17, 2023
f6b2051
adjusted paddings
jamiewaese-uncharted Mar 17, 2023
d2e8917
made overflow menu border round
jamiewaese-uncharted Mar 17, 2023
7c70f62
added border on filter chip
jamiewaese-uncharted Mar 17, 2023
2daaf8f
misc tweaks
jamiewaese-uncharted Mar 18, 2023
4bae5fc
Merge branch 'main' into jamie/explorer-tweaks
jamiewaese-uncharted Mar 18, 2023
87c945d
removed icon from toast and adjusted paddings
jamiewaese-uncharted Mar 18, 2023
7378a20
Merge branch 'main' into jamie/explorer-tweaks
jamiewaese-uncharted Mar 18, 2023
1bb2c66
addressed Yohann's notes
jamiewaese-uncharted Mar 22, 2023
eceb93f
stuff
jamiewaese-uncharted Mar 22, 2023
90e30c9
Merge branch 'main' into jamie/explorer-tweaks
jamiewaese-uncharted Mar 22, 2023
033bc68
Merge branch 'main' into jamie/explorer-tweaks
YohannParis Mar 23, 2023
bea9602
Merge branch 'main' into jamie/explorer-tweaks
jamiewaese-uncharted Mar 23, 2023
9cb7b8e
Update DataExplorer.vue
jamiewaese-uncharted Mar 24, 2023
4b89ac6
navbar stuff
jamiewaese-uncharted Mar 24, 2023
2e3e7e6
Create terarium-wordmark.svg
jamiewaese-uncharted Mar 24, 2023
658a050
Update Navbar.vue
YohannParis Mar 24, 2023
fac1c7d
Update Navbar.vue
YohannParis Mar 24, 2023
f1570ff
Update Navbar.vue
YohannParis Mar 24, 2023
656f4c1
Merge branch 'main' into jamie/explorer-tweaks
jamiewaese-uncharted Mar 24, 2023
f844dd1
Merge branch 'jamie/explorer-tweaks' of https://github.com/DARPA-ASKE…
jamiewaese-uncharted Mar 24, 2023
4149d15
Merge branch 'main' into jamie/explorer-tweaks
jamiewaese-uncharted Mar 24, 2023
248d308
navigation style tweaks
jamiewaese-uncharted Mar 24, 2023
ed7e657
Merge branch 'main' into jamie/explorer-tweaks
jamiewaese-uncharted Mar 28, 2023
ea1ac75
small tweaks to search by example and asset styling
jamiewaese-uncharted Mar 28, 2023
f20b90c
beautification
jamiewaese-uncharted Mar 28, 2023
9e995cc
Merge branch 'main' into jamie/explorer-tweaks
jamiewaese-uncharted Mar 28, 2023
e5199c0
stye tweaks to home page and document view
jamiewaese-uncharted Mar 29, 2023
3dc534b
Merge branch 'main' into jamie/explorer-tweaks
jamiewaese-uncharted Mar 29, 2023
61f5b67
model page udates
jamiewaese-uncharted Mar 29, 2023
d4d0fcc
document viewer updates
jamiewaese-uncharted Mar 29, 2023
3bc8680
beautiful new dataset page
jamiewaese-uncharted Mar 30, 2023
5be7305
Merge branch 'main' into jamie/explorer-tweaks
jamiewaese-uncharted Mar 30, 2023
56519bc
Merge branch 'main' into jamie/explorer-tweaks
YohannParis Mar 30, 2023
9aac4f1
dataset viewer updates
jamiewaese-uncharted Mar 30, 2023
6015c6f
Merge branch 'jamie/explorer-tweaks' of https://github.com/DARPA-ASKE…
jamiewaese-uncharted Mar 30, 2023
2f70df0
dataset view updates
jamiewaese-uncharted Mar 30, 2023
35dd5d8
Merge branch 'main' into jamie/explorer-tweaks
jamiewaese-uncharted Mar 30, 2023
cf4917d
model page design tweaks
jamiewaese-uncharted Mar 30, 2023
a364858
model page and petrinet diagram beautification
jamiewaese-uncharted Mar 30, 2023
76d83e5
Merge branch 'main' into jamie/explorer-tweaks
jamiewaese-uncharted Mar 31, 2023
1880bae
fix typo, address linter
mwdchang Mar 31, 2023
7dc5f60
addressing notes
jamiewaese-uncharted Mar 31, 2023
573cea6
Merge branch 'jamie/explorer-tweaks' of https://github.com/DARPA-ASKE…
jamiewaese-uncharted Mar 31, 2023
e7563c7
Merge branch 'main' into jamie/explorer-tweaks
jamiewaese-uncharted Mar 31, 2023
ad466ac
fixing typos
jamiewaese-uncharted Mar 31, 2023
58aa97f
handle size constants
mwdchang Mar 31, 2023
590c9af
Update _variables.scss
jamiewaese-uncharted Mar 31, 2023
a94750d
Merge branch 'jamie/explorer-tweaks' of https://github.com/DARPA-ASKE…
jamiewaese-uncharted Mar 31, 2023
7edd88a
Code editor toolbar style updates
jamiewaese-uncharted Mar 31, 2023
96d582d
Update code-editor.vue
jamiewaese-uncharted Mar 31, 2023
c559eea
Merge branch 'main' into jamie/explorer-tweaks
jamiewaese-uncharted Mar 31, 2023
cb95d05
pretty pretty oh so pretty
jamiewaese-uncharted Mar 31, 2023
51d1bd9
use semantic html
echl Mar 31, 2023
b502951
Update code-editor.vue
YohannParis Mar 31, 2023
532d61a
Merge remote-tracking branch 'origin/main' into jamie/explorer-tweaks
mwdchang Apr 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/client/graph-scaffolder/src/core/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ export abstract class Renderer<V, E> extends EventEmitter {
this.options = options;

if (this.options.el) {
this.initalize(this.options.el);
this.initialize(this.options.el);
} else {
throw new Error('options must provide an element for graph rendering');
}
}

initalize(element: HTMLDivElement): void {
initialize(element: HTMLDivElement): void {
this.chartSize.width = element.clientWidth;
this.chartSize.height = element.clientHeight;
this.svgEl = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
Expand Down
40 changes: 26 additions & 14 deletions packages/client/hmi-client/src/assets/css/theme/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ $paginatorElementMargin: .143rem !default;
$paginatorElementPadding: 0 !default;

//table
$tableHeaderBorder: 1px solid #e4e4e4 !default;
$tableHeaderBorder: 1px solid var(--surface-border-light) !default;
$tableHeaderBorderWidth: 0 0 1px 0 !default;
$tableHeaderBg: #ffffff !default;
$tableHeaderTextColor: $textColor !default;
Expand All @@ -494,13 +494,13 @@ $tableHeaderPadding: 1rem 1rem !default;

$tableHeaderCellPadding: 1rem 1rem !default;
$tableHeaderCellBg: #ffffff !default;
$tableHeaderCellTextColor: var(--text-color-subdued) !default;
$tableHeaderCellTextColor: var(--text-color-primary) !default;
$tableHeaderCellFontWeight: 500 !default;
$tableHeaderCellBorder: 1px solid #e4e4e4 !default;
$tableHeaderCellBorder: 1px solid var(--surface-border-light) !default;
$tableHeaderCellBorderWidth: 0 0 1px 0 !default;
$tableHeaderCellHoverBg: rgba(0, 0, 0, .04) !default;
$tableHeaderCellTextHoverColor: $textColor !default;
$tableHeaderCellIconColor: $textSecondaryColor !default;
$tableHeaderCellIconColor: var(--text-color-subdued) !default;
$tableHeaderCellIconHoverColor: $textSecondaryColor !default;
$tableHeaderCellHighlightBg: #ffffff !default;
$tableHeaderCellHighlightTextColor: $textColor !default;
Expand All @@ -513,19 +513,19 @@ $tableBodyRowTextColor: $textColor !default;
$tableBodyRowEvenBg: rgba(0, 0, 0, .02) !default;
$tableBodyRowHoverBg: rgba(0, 0, 0, .04) !default;
$tableBodyRowTextHoverColor: $textColor !default;
$tableBodyCellBorder: 1px solid #e4e4e4 !default;
$tableBodyCellBorder: 1px solid var(--surface-border-light) !default;
$tableBodyCellBorderWidth: 0 0 1px 0 !default;
$tableBodyCellPadding: 1rem 1rem !default;

$tableFooterCellPadding: 1rem 1rem !default;
$tableFooterCellBg: #ffffff !default;
$tableFooterCellTextColor: $textColor !default;
$tableFooterCellFontWeight: 500 !default;
$tableFooterCellBorder: 1px solid #e4e4e4 !default;
$tableFooterCellBorder: 1px solid var(--surface-border-light) !default;
$tableFooterCellBorderWidth: 0 0 1px 0 !default;
$tableResizerHelperBg: $primaryColor !default;

$tableFooterBorder: 1px solid #e4e4e4 !default;
$tableFooterBorder: 1px solid var(--surface-border-light) !default;
$tableFooterBorderWidth: 0 0 1px 0 !default;
$tableFooterBg: #ffffff !default;
$tableFooterTextColor: $textColor !default;
Expand Down Expand Up @@ -807,8 +807,8 @@ $skeletonBg: rgba(0, 0, 0, .08) !default;
$skeletonAnimationBg: rgba(255, 255, 255, 0.4) !default;

//splitter
$splitterGutterBg: rgba(0, 0, 0, .04) !default;
$splitterGutterHandleBg: rgba(0, 0, 0, .12) !default;
$splitterGutterBg: var(--surface-border-light) !default;
$splitterGutterHandleBg: var(--surface-border-light) !default;

//speeddial
$speedDialButtonWidth: 4rem !default;
Expand All @@ -834,10 +834,10 @@ $dockPadding: .5rem .5rem !default;
$dockBorderRadius: .5rem !default;

//image
$imageMaskBg: rgba(0, 0, 0, 0.9) !default;
$imageMaskBg: rgba(0, 0, 0, 0.75) !default;
$imagePreviewToolbarPadding: 1rem !default;
$imagePreviewIndicatorColor: #f8f9fa !default;
$imagePreviewIndicatorBg: rgba(0, 0, 0, 0.5) !default;
$imagePreviewIndicatorColor: var(--text-color) !default;
$imagePreviewIndicatorBg: #1b807332 !default;
$imagePreviewActionIconBg: transparent !default;
$imagePreviewActionIconColor: #f8f9fa !default;
$imagePreviewActionIconHoverBg: rgba(255, 255, 255, 0.1) !default;
Expand All @@ -847,11 +847,18 @@ $imagePreviewActionIconHeight: 3rem !default;
$imagePreviewActionIconFontSize: 1.5rem !default;
$imagePreviewActionIconBorderRadius: 50% !default;

//petrinet
$petri-nodeBorder: var(--gray-800);
$petri-nodeFill: var(--surface);
$petri-lineColor: var(--gray-700);
$petri-inputBox: var(--gray-100);


:root {
--border-radius: #{$borderRadius};
--border-radius-big: #{$bigBorderRadius};
--border-radius-bigger: #{$biggerBorderRadius};
--chevron-hover: #eeeeeeAA;
--chevron-hover: #1b807332;
--content-padding: #{$panelContentPadding};
--focus-ring: #{$focusShadow};
--font-body-large: #{$fontBodyLarge};
Expand Down Expand Up @@ -904,7 +911,7 @@ $imagePreviewActionIconBorderRadius: 50% !default;
--surface-f: #ffffff;
--surface-overlay: #ffffff;
--surface-ground: var(--gray-100);
--surface-highlight: #E3EFE4;
--surface-highlight: #EBF4F3;
--surface-hover: var(--gray-100);
--surface-secondary: #F9FAFB;
--surface-section: #ffffff;
Expand All @@ -914,5 +921,10 @@ $imagePreviewActionIconBorderRadius: 50% !default;
--text-color-secondary: #{$textSecondaryColor};
--text-color-subdued: rgb(102, 112, 133);
--text-color-light: rgb(152, 154, 160);
--constrain-width: 55rem;
color-scheme: light;
--petri-nodeBorder: #{$petri-nodeBorder};
--petri-nodeFill: var(--surface);
--petri-lineColor: #{$petri-lineColor};
--petri-inputBox: #{$petri-inputBox};
}
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
border: $tableBodyCellBorder;
border-width: $tableBodyCellBorderWidth;
padding: $tableBodyCellPadding;
vertical-align: top;

.p-row-toggler,
.p-row-editor-init,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
font-size: $accordionHeaderFontSize;
border-radius: $borderRadius;
transition: $listItemTransition;
align-items: baseline;

.p-accordion-toggle-icon {
margin-right: $inlineSpacing;
Expand Down Expand Up @@ -76,7 +77,7 @@
border-bottom-left-radius: $borderRadius;

}

.p-accordion-tab {
margin-bottom: $accordionSpacing;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@
.p-splitter-gutter {
transition: $actionIconTransition;
background: $splitterGutterBg;
width:6px;

.p-splitter-gutter-handle {
background: $splitterGutterHandleBg;
background: transparent;
}
}

.p-splitter-gutter-resizing {
background: $splitterGutterHandleBg;
}

.p-splitter-gutter:hover {
background-color: var(--primary-color-light);
}
}
Loading