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: Address UX comments and improve responsiveness #3082

Merged
merged 50 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
cdae50d
add mike work
taban03 Sep 15, 2023
05175e8
Private/ms895784/feedback form (#3083)
ms895784 Sep 18, 2023
6597211
Merge branch 'v2.x.x' into reboot/mike_work
taban03 Sep 18, 2023
cd58cd5
fixes
taban03 Sep 18, 2023
1f6a46f
add back package lock
taban03 Sep 18, 2023
2d12d39
Private/ms895784/more UI fixes (#3089)
ms895784 Sep 19, 2023
4ca6de9
cleaning
taban03 Sep 19, 2023
edb888b
cleaning
taban03 Sep 19, 2023
1362743
unignore tests
taban03 Sep 19, 2023
8d94bcd
remove feedback services
taban03 Sep 19, 2023
a198460
Merge branch 'v2.x.x' into reboot/mike_work
taban03 Sep 19, 2023
818486b
hide the product title and add scss var
taban03 Sep 20, 2023
af2f496
use specific version ofr react-hook-form
taban03 Sep 20, 2023
f438b76
fix text overflowing when parameters too long and hide title info
taban03 Sep 20, 2023
a16f412
Merge branch 'v2.x.x' into reboot/mike_work
taban03 Sep 21, 2023
c5df5e6
cleaning
taban03 Sep 21, 2023
2ccbca6
add title back to zowe ui
taban03 Sep 21, 2023
c983713
address PR comments
taban03 Sep 21, 2023
1ff65f2
fix code smells
taban03 Sep 21, 2023
c943905
add test
taban03 Sep 21, 2023
3a0beea
Merge branch 'v2.x.x' into reboot/mike_work
taban03 Sep 22, 2023
a0c7be3
fix tests
taban03 Sep 22, 2023
8828b58
add back the filter functionality
taban03 Sep 22, 2023
c4b62be
increase coverage
taban03 Sep 22, 2023
e9e0163
fix bug
taban03 Sep 22, 2023
3d32d0b
refactoring
taban03 Sep 22, 2023
2c6d003
Merge branch 'v2.x.x' into reboot/mike_work
taban03 Sep 25, 2023
bf626fb
refactoring
taban03 Sep 25, 2023
1b0af59
tests
taban03 Sep 26, 2023
a75f7e5
add tests
taban03 Sep 26, 2023
f68d70f
Merge branch 'v2.x.x' into reboot/mike_work
taban03 Sep 26, 2023
64e9da4
add types for jest and enzyme, add app.jsx UT
Sep 26, 2023
f22f747
Merge branch 'reboot/mike_work' of https://github.com/zowe/api-layer …
Sep 26, 2023
e4acfd3
remove caret and console log
Sep 26, 2023
bfd668d
add tests
taban03 Sep 26, 2023
a0488f4
change test title
taban03 Sep 26, 2023
4127869
improve detailpage test
Sep 26, 2023
1f7503d
Merge branch 'reboot/mike_work' of https://github.com/zowe/api-layer …
Sep 26, 2023
a40960d
lazy initialization test
Sep 26, 2023
2f7f9f3
add tests for utilsFunction
taban03 Sep 26, 2023
5836d16
add test for app.jsx
taban03 Sep 26, 2023
4254eb2
add test for the ServiceNavigationBar.test.jsx
taban03 Sep 26, 2023
4259958
fix test title
taban03 Sep 26, 2023
e007028
add before each to set the portal flag to false
taban03 Sep 26, 2023
72803c0
add tests
taban03 Sep 26, 2023
0d470de
polish
taban03 Sep 26, 2023
b9a09ca
fix swaggerui tests
Sep 27, 2023
fd6343e
Remove suspence from feedback form
taban03 Sep 27, 2023
9d424ba
update dep
Sep 27, 2023
364ecd2
Merge branch 'reboot/mike_work' of https://github.com/zowe/api-layer …
Sep 27, 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
22 changes: 22 additions & 0 deletions api-catalog-ui/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions api-catalog-ui/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"react": "17.0.2",
"react-app-polyfill": "2.0.0",
"react-dom": "17.0.2",
"react-hook-form": "7.46.1",
"react-loadable": "5.5.0",
"react-redux": "7.2.5",
"react-router-dom": "5.3.0",
Expand Down
3 changes: 3 additions & 0 deletions api-catalog-ui/frontend/src/assets/images/ExternalLink.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions api-catalog-ui/frontend/src/assets/images/hamburger.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions api-catalog-ui/frontend/src/assets/images/square-envelope.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions api-catalog-ui/frontend/src/assets/images/xmark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added api-catalog-ui/frontend/src/assets/images/zowe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions api-catalog-ui/frontend/src/assets/scss/_components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@import "../../components/Tile/tile";
@import "../../components/Dashboard/dashboard";
@import "../../components/Search/search";
@import "../../components/Login/login";
@import "../../components/Spinner/spinner";
@import "../../components/Footer/footer";
@import "../../components/DetailPage/detailPage";
Expand Down
80 changes: 75 additions & 5 deletions api-catalog-ui/frontend/src/assets/scss/_media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,64 @@
.filtering-container {
width: 100%;
}
.mobile-view {
display: flex !important;
}
.desktop-view {
display: none !important;
}
.feedback-dialog .form textarea {
height: 150px;
}
.header {
#doc, .product-name {
margin-right: var( --spaceSmaller );
}
.product-name {
min-width: 27px;
}
.mobile-view:not(.mobile-menu-trigger-ctn) {
display: none !important;
}
}//end header

&.mobile-menu-open {
&, .App, .main-content2 {
overflow: hidden !important;
}
.main-content2, .header {
filter: blur(1px);
-webkit-filter: blur(1px);
}
&:after {
content: "";
background-color: var( --unknown10 );
width: 100%;
height: 100%;
position: absolute;
opacity: .7;
left: 0;
top: 0px;
}
.content .main .nav-bar,
.dashboard-mobile-menu {
left: 0;
}
.dashboard-mobile-menu {
.header {
filter: blur(0px);
-webkit-filter: blur(0px);

.mobile-view {
display: flex !important;
}
.right-icons a {
width: 100%;
}
}
}
}//end mobile-menu-open

.content {
.main-content {
width: calc(100vw - calc(#{var( --contentPadding )} * 2));
Expand All @@ -12,15 +70,27 @@
}
}
.main {
--sideNavWidth: var( --sideNavMobileWidth );
--sideNavRightPadding: var( --spaceSmall );

.side-bar {
display: none;
}
.nav-bar {
@include mobileNav();
}
.main-content2 {
width: calc(100% - #{var(--sideNavWidth)} - #{var(--contentLeftPadding)});
--contentLeftPadding: var( --spaceMedium );
--contentRightPadding: var( --spaceMedium );
width: 100%;
overflow: auto;

&:before {
width: 100%;
}
}
}
}
}//end main
}//end content

.api-diff-form {
flex-wrap: wrap;
Expand All @@ -35,6 +105,6 @@
margin-right: 0px;
margin-bottom: var( --spaceSmaller );
}
}
}//end api-diff-form
}//end body
}
}
11 changes: 11 additions & 0 deletions api-catalog-ui/frontend/src/assets/scss/_mixin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,15 @@
color: var( --text20Disabled );
cursor: default;
}
}

@mixin mobileNav() {
position: absolute;
top: 0;
height: 100dvh;
left: calc(calc(#{var(--sideNavWidth)} * -1) - calc(#{var(--sideNavLeftPadding)} + var(--sideNavRightPadding)));
width: var( --sideNavWidth );
z-index: 2;
background-color: var( --surface05 );
transition: left .5s ease;
}
28 changes: 27 additions & 1 deletion api-catalog-ui/frontend/src/assets/scss/_theme_default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
--controlText15Hover: #0E478B;
--controlText15Disabled: rgba(115, 127, 141, 0.95);

--formMandatoryTextColor: #FC1E00;

//input
--input00Bg: var( --surface05 );
--input00BgDisabled: rgba(56, 70, 72, 0.15);
Expand Down Expand Up @@ -124,6 +126,30 @@
--borderRadius1: 3px;
--borderRadius2: 6px;

//various
--sideNavWidth: 25%;
--contentLeftPadding: 4%;
--defaultBottomPadding: var( --spaceSmall);

--sideNavMobileWidth: 80%;

--sideNavLeftPadding: var( --spaceSmall );
--sideNavRightPadding: var( --spaceMedium );
--sideNavBottomPadding: var( --defaultBottomPadding );

--contentLeftPadding: 3%;
--contentRightPadding: var( --spaceMedium );
--contentBottomPadding: var( --defaultBottomPadding );
--contentTopPadding: var( --spaceLarge );

--headerVPadding: var( --spaceSmall );
--headerInternalHeight: 28px;
--headerHeight: calc(#{var( --headerVPadding )} + #{var( --headerInternalHeight )});

--contentHeightAdj: calc(100dvh - calc(#{var( --headerHeight )} + #{var( --contentBottomPadding )}));

--scrollPadding: var( --spaceSmaller );

--spacing1: var( --spaceSmallest );
--spacing2: var( --spaceSmall );
--spacing3: var( --spaceMedium );
}
Loading
Loading