@gitlab/ui 85.3.1 → 85.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [85.4.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v85.3.1...v85.4.0) (2024-06-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **DuoChat:** update user feedback response ([5c51a3f](https://gitlab.com/gitlab-org/gitlab-ui/commit/5c51a3f8c8c2d04aef7507c3032c3992681a4682))
|
|
7
|
+
|
|
1
8
|
## [85.3.1](https://gitlab.com/gitlab-org/gitlab-ui/compare/v85.3.0...v85.3.1) (2024-06-26)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import GlAlert from '../../../base/alert/alert';
|
|
1
2
|
import GlButton from '../../../base/button/button';
|
|
2
3
|
import FeedbackModal from './user_feedback_modal';
|
|
3
4
|
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
@@ -9,6 +10,7 @@ const i18n = {
|
|
|
9
10
|
var script = {
|
|
10
11
|
name: 'GlDuoUserFeedback',
|
|
11
12
|
components: {
|
|
13
|
+
GlAlert,
|
|
12
14
|
GlButton,
|
|
13
15
|
FeedbackModal
|
|
14
16
|
},
|
|
@@ -60,7 +62,7 @@ var script = {
|
|
|
60
62
|
const __vue_script__ = script;
|
|
61
63
|
|
|
62
64
|
/* template */
|
|
63
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-pt-4"},[_c('div',[(!_vm.feedbackReceived)?_c('gl-button',{attrs:{"variant":"link","target":"_blank","href":_vm.feedbackLinkUrl,"button-text-classes":"gl-white-space-normal! gl-text-left"},on:{"click":function($event){_vm.shouldRenderModal && _vm.$refs.feedbackModal.show();}}},[_vm._v(_vm._s(_vm.feedbackLinkText))]):_c('
|
|
65
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-pt-4 gl-w-full"},[_c('div',[(!_vm.feedbackReceived)?_c('gl-button',{attrs:{"variant":"link","target":"_blank","href":_vm.feedbackLinkUrl,"button-text-classes":"gl-white-space-normal! gl-text-left"},on:{"click":function($event){_vm.shouldRenderModal && _vm.$refs.feedbackModal.show();}}},[_vm._v(_vm._s(_vm.feedbackLinkText))]):_c('gl-alert',{attrs:{"variant":"success","dismissible":false}},[_vm._v("\n "+_vm._s(_vm.$options.i18n.FEEDBACK_THANKS)+"\n ")])],1),_vm._v(" "),(_vm.shouldRenderModal)?_c('feedback-modal',{ref:"feedbackModal",on:{"feedback-submitted":_vm.notify},scopedSlots:_vm._u([{key:"feedback-extra-fields",fn:function(){return [_vm._t("feedback-extra-fields")]},proxy:true}],null,true)}):_vm._e()],1)};
|
|
64
66
|
var __vue_staticRenderFns__ = [];
|
|
65
67
|
|
|
66
68
|
/* style */
|
package/package.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
+
import GlAlert from '../../../base/alert/alert.vue';
|
|
2
3
|
import GlButton from '../../../base/button/button.vue';
|
|
3
4
|
import FeedbackModal from './user_feedback_modal.vue';
|
|
4
5
|
|
|
@@ -10,6 +11,7 @@ export const i18n = {
|
|
|
10
11
|
export default {
|
|
11
12
|
name: 'GlDuoUserFeedback',
|
|
12
13
|
components: {
|
|
14
|
+
GlAlert,
|
|
13
15
|
GlButton,
|
|
14
16
|
FeedbackModal,
|
|
15
17
|
},
|
|
@@ -59,7 +61,7 @@ export default {
|
|
|
59
61
|
</script>
|
|
60
62
|
|
|
61
63
|
<template>
|
|
62
|
-
<div class="gl-pt-4">
|
|
64
|
+
<div class="gl-pt-4 gl-w-full">
|
|
63
65
|
<div>
|
|
64
66
|
<gl-button
|
|
65
67
|
v-if="!feedbackReceived"
|
|
@@ -70,9 +72,9 @@ export default {
|
|
|
70
72
|
@click="shouldRenderModal && $refs.feedbackModal.show()"
|
|
71
73
|
>{{ feedbackLinkText }}</gl-button
|
|
72
74
|
>
|
|
73
|
-
<
|
|
75
|
+
<gl-alert v-else variant="success" :dismissible="false">
|
|
74
76
|
{{ $options.i18n.FEEDBACK_THANKS }}
|
|
75
|
-
</
|
|
77
|
+
</gl-alert>
|
|
76
78
|
</div>
|
|
77
79
|
<feedback-modal v-if="shouldRenderModal" ref="feedbackModal" @feedback-submitted="notify">
|
|
78
80
|
<template #feedback-extra-fields>
|