From a8316dc07a07aa42fa6c8cfe7565b46e82bd8a47 Mon Sep 17 00:00:00 2001 From: Snehasish Date: Tue, 17 Dec 2024 13:17:50 +0530 Subject: [PATCH 1/3] fix:draft report zero state improvements --- .../my-view-report/my-view-report.page.html | 26 ++++++++++------- .../my-view-report/my-view-report.page.scss | 27 ++++++++++++++++++ src/assets/images/zero-states/invoice.png | Bin 0 -> 18350 bytes 3 files changed, 43 insertions(+), 10 deletions(-) create mode 100644 src/assets/images/zero-states/invoice.png diff --git a/src/app/fyle/my-view-report/my-view-report.page.html b/src/app/fyle/my-view-report/my-view-report.page.html index 9345133e70..bd3aacb342 100644 --- a/src/app/fyle/my-view-report/my-view-report.page.html +++ b/src/app/fyle/my-view-report/my-view-report.page.html @@ -170,21 +170,27 @@
- No expense in this report -
Looks like this report is empty.
+
+ No expense in this report +
+
Looks like you’ve got
+
0 expense right now
+
+
diff --git a/src/app/fyle/my-view-report/my-view-report.page.scss b/src/app/fyle/my-view-report/my-view-report.page.scss index 8969457693..dc011b8f85 100644 --- a/src/app/fyle/my-view-report/my-view-report.page.scss +++ b/src/app/fyle/my-view-report/my-view-report.page.scss @@ -56,6 +56,19 @@ } } + &--footer-conatiner { + display: flex; + justify-content: space-between; + padding: 16px; + gap: 8px; + position: fixed; + bottom: 0; + width: 100%; + background-color: $pure-white; + box-shadow: 0 -2px 12px $pink-shadow; + z-index: 999; + } + &--card-body { font-size: 16px; color: $gray-3; @@ -350,6 +363,20 @@ font-weight: 500; } + &--zero-state-semibold-header { + font-size: 14px; + display: block; + color: $blue-black; + line-height: 1.5; + font-weight: 400; + } + + &--zero-state-image-container { + height: 150px; + width: 150px; + overflow: hidden; + } + &--history-container { background: $pure-white; border-radius: 16px; diff --git a/src/assets/images/zero-states/invoice.png b/src/assets/images/zero-states/invoice.png new file mode 100644 index 0000000000000000000000000000000000000000..24fc61ae5478279ffc1a30adcf4fdc92a365da98 GIT binary patch literal 18350 zcmX_IV{|1=w2dZqCbluLZQL8%lVoDswr$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P2@A3G0Vc26YrS-WAo7s~m7o`itr9{BxXu|CoavC(B%nLeg=i6oJ*g2Mk=UYr zN$Os^Gv<`*n=Y+;S>h#rtCJnCr`p|yWEy; z3$fYqqOTb^IUd6BJ#7A)c90VPi$Fx z)Myv5xB#C{hsZM6mm~ZqolsU$W?WErKJxbpgP zd?2haSQ6sL|4Dm zEC|$wz}VPvH8wV)jvhUxPCmKz|7MaJK9_;i`f6)gJnlZ>4vI&6>ePzk&KSz^zB*MX z)d&KCB0$GOOUqO>V@7+;r(4?B1n*&on9edi^XnPoZ?WrfWVvy#0MG>2t0qHrOQSBwo z6uVE(2?Bl*pyWm8011l(mOVCJ(I#A@XEgYqDeCFt+MiLa)b1B2zxjhl%x?=U&7UPd z2HNJwv9Uvj1a%x64IubP9Gj(&+H zok%h!xvv>Q;x!Xw%YBpIY_p_g#ZQT$99(o|E&Gw=WX01+@&gE?ZzsspUAh^*E^4eh1ci4g=G7S(G*d&6j>5L+0iN|~Mz zFls8KxJ4qxd4jBLCK4J#IMyUJgrjWd^DYXpGh} z6+$a~9ztw|n8=w35pblqE;K<@)e6r+2(2_gLTsh6kt-1+U>pwk0aKFejJP>*seZsA zv~{9#mVP8cY^AZ0D=|VqBstX!hrlKV*Mitm=jHVKDhjdrMNINXjsP4D9b5z&P6vjM zB-!!67_=wx*(lPPzt>KP%^zNpJBA1#e1vLhCnT9}d^$k{nHVBOhRi)eW?msH z%qPTFh>4uB905ag=myDd5w|h!QXksZ12W!G9P-ibm3~lM7L?%QAL_$bHY$1RuMcRV^2@gcm0fNc! Date: Thu, 19 Dec 2024 16:29:24 +0530 Subject: [PATCH 2/3] fixing unit test error --- src/app/fyle/my-view-report/my-view-report.page.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/fyle/my-view-report/my-view-report.page.spec.ts b/src/app/fyle/my-view-report/my-view-report.page.spec.ts index add7003fe6..007cd8b846 100644 --- a/src/app/fyle/my-view-report/my-view-report.page.spec.ts +++ b/src/app/fyle/my-view-report/my-view-report.page.spec.ts @@ -930,7 +930,9 @@ describe('MyViewReportPage', () => { component.report$ = of(cloneDeep({ ...platformReportData, state: 'DRAFT' })); fixture.detectChanges(); - const addExpenseButton = getElementBySelector(fixture, '.view-reports--add-more-container') as HTMLElement; + const addExpenseButton = fixture.debugElement.nativeElement.querySelector( + '.view-reports--footer-conatiner .btn-outline-secondary' + ) as HTMLElement; click(addExpenseButton); expect(router.navigate).toHaveBeenCalledOnceWith([ From a5f53d07f5b309b4b98cc745abd4301a4f263226 Mon Sep 17 00:00:00 2001 From: Snehasish Date: Thu, 19 Dec 2024 16:57:44 +0530 Subject: [PATCH 3/3] fixing unit test --- src/app/fyle/my-view-report/my-view-report.page.html | 3 ++- src/app/fyle/my-view-report/my-view-report.page.scss | 2 +- src/app/fyle/my-view-report/my-view-report.page.spec.ts | 4 +--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/app/fyle/my-view-report/my-view-report.page.html b/src/app/fyle/my-view-report/my-view-report.page.html index bd3aacb342..29a13b3051 100644 --- a/src/app/fyle/my-view-report/my-view-report.page.html +++ b/src/app/fyle/my-view-report/my-view-report.page.html @@ -176,7 +176,7 @@
Looks like you’ve got
0 expense right now
-