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

21813 Added Continuation Authorization Review page, route, etc #2894

Merged
merged 1 commit into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
176 changes: 158 additions & 18 deletions auth-web/package-lock.json

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

5 changes: 4 additions & 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.6.40",
"version": "2.6.41",
"appName": "Auth Web",
"sbcName": "SBC Common Components",
"private": true,
Expand All @@ -20,6 +20,7 @@
"@bcrs-shared-components/corp-type-module": "1.0.16",
"@bcrs-shared-components/enums": "1.1.10",
"@bcrs-shared-components/interfaces": "1.1.13",
"@bcrs-shared-components/jurisdiction": "1.1.4",
"@mdi/font": "^4.5.95",
"@sentry/vue": "^7.49.0",
"@vue/compiler-dom": "^3.2.45",
Expand All @@ -29,6 +30,7 @@
"http-status-codes": "^2.1.4",
"js-base64": "^3.7.5",
"keycloak-js": "^9.0.3",
"lodash.isdate": "^4.0.1",
"mime-types": "^2.1.27",
"moment": "^2.29.4",
"pinia": "^2.1.6",
Expand All @@ -55,6 +57,7 @@
"@intlify/vue-i18n-loader": "^1.1.0",
"@pinia/testing": "^0.1.3",
"@types/lodash": "^4.14.202",
"@types/lodash.isdate": "^4.0.9",
"@types/mime-types": "^2.1.0",
"@types/sanitize-html": "^2.11.0",
"@types/vuelidate": "^0.7.13",
Expand Down
1 change: 1 addition & 0 deletions auth-web/src/assets/scss/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ $TextColorGray: #00000099;
$px-12: 0.75rem;
$px-13: 0.8125rem;
$px-14: 0.8750rem;
$px-15: 0.9375rem;
$px-16: 1.0000rem;
$px-17: 1.0625rem;
$px-18: 1.1250rem;
Expand Down
43 changes: 43 additions & 0 deletions auth-web/src/components/auth/common/CardHeader.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<template>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've already added this component with unit tests and everything a while back with unit tests and everything:
https://github.com/bcgov/sbc-auth/blob/main/auth-web/src/components/CardHeader.vue

Keep in mind that my version has extra functionalities/props like a badge.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Dunno how I didn't see it.

I'll update this in the follow-on next ticket (bcgov/entity#21815).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem! Also, I changed the version here to use composition API to stay consistent in AUTH WEB as per a conversation I had with Travis.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup.
I believe we're going to have a chat on Monday about moving some stuff out of Auth Web and into a new UI project. That new UI will probably be Nuxt. When we port code over, it can be converted to Composition API.

<header class="v-card-header">
<v-icon
v-if="icon"
color="bcgovblue2"
>
{{ icon }}
</v-icon>
<label
v-if="label"
class="v-card-label"
:class="{ 'pl-2': !!icon }"
>
{{ label }}
</label>
</header>
</template>

<script lang="ts">
import { Component, Prop, Vue } from 'vue-property-decorator'

@Component({})
export default class CardHeader extends Vue {
@Prop({ default: null }) readonly icon!: string
@Prop({ default: null }) readonly label!: string
}
</script>

<style lang="scss" scoped>
@import '@/assets/styles/theme.scss';

.v-card-header {
display: flex;
background-color: $BCgovBlue5O;
padding: 1.25rem;
border-radius: 4px 4px 0px 0px !important;

.v-card-label {
font-weight: bold;
color: $gray9;
}
}
</style>
Loading
Loading