Skip to content

Commit

Permalink
19333 - UX tweaks (#2714)
Browse files Browse the repository at this point in the history
* 19333 - UX tweaks

* test fix
  • Loading branch information
ochiu authored Feb 8, 2024
1 parent 75c2eb0 commit f327dfa
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions auth-web/package-lock.json

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

2 changes: 1 addition & 1 deletion auth-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auth-web",
"version": "2.4.65",
"version": "2.4.66",
"appName": "Auth Web",
"sbcName": "SBC Common Components",
"private": true,
Expand Down
1 change: 1 addition & 0 deletions auth-web/src/components/pay/eft/ShortNameAccountLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export default defineComponent({
.card-title {
background-color: $app-lt-blue;
justify-content: left;
height: 75px;
}
</style>
13 changes: 6 additions & 7 deletions auth-web/src/components/pay/eft/ShortNameTransactions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
mdi-format-list-bulleted
</v-icon>
{{ paymentsReceived }}
<span class="font-weight-regular">
({{ state.totalResults }})
</span>
</h2>
</template>
<template #header-filter-slot />
Expand Down Expand Up @@ -88,7 +91,7 @@ export default defineComponent({
})
const paymentsReceived = computed<string>(() => {
return `Payments Received from ${props.shortNameDetails.shortName} (${state.totalResults})`
return `Payments Received from ${props.shortNameDetails.shortName}`
})
watch(() => props.shortNameDetails, () => {
Expand Down Expand Up @@ -145,11 +148,6 @@ export default defineComponent({
@import '@/assets/scss/theme.scss';
@import '@/assets/scss/ShortnameTables.scss';
.card-title {
background-color: $app-lt-blue;
justify-content: left;
}
::v-deep{
#table-title-cell {
background-color: $app-lt-blue;
Expand All @@ -160,7 +158,8 @@ export default defineComponent({
}
.base-table__header__title {
padding-bottom: 16px
padding-bottom: 16px;
top: 75px !important; // prevent fixed header sliding when there is a title
}
}
Expand Down
2 changes: 1 addition & 1 deletion auth-web/src/views/pay/eft/ShortNameDetailsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>

<ShortNameTransactions
class="mb-4"
class="mb-12"
:shortNameDetails="state.shortNameDetails"
/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ describe('ShortNameTransactions.vue', () => {
await wrapper.setProps({ shortNameDetails: { id: 1, shortName: 'SHORTNAME' } })
await wrapper.vm.$nextTick()

expect(wrapper.find('#table-title-cell').text()).toContain('Payments Received from SHORTNAME (5)')
expect(wrapper.find('#table-title-cell').text()).toContain('Payments Received from SHORTNAME (5)')

// verify table
expect(wrapper.findComponent(BaseVDataTable).exists()).toBe(true)
Expand Down

0 comments on commit f327dfa

Please sign in to comment.