Skip to content

Commit d94c4ec

Browse files
authored
fix: fix sentry integration and some slight errors (#6651)
1 parent 0bedd90 commit d94c4ec

File tree

16 files changed

+203
-159
lines changed

16 files changed

+203
-159
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"socialiteproviders/linkedin": "^4.2",
3939
"socialiteproviders/microsoft-azure": "^5.1",
4040
"socialiteproviders/twitter": "^4.1",
41-
"tightenco/ziggy": "1.5.2",
41+
"tightenco/ziggy": "1.6.0",
4242
"uploadcare/uploadcare-php": "^3.2"
4343
},
4444
"require-dev": {

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
},
1313
"devDependencies": {
1414
"@inertiajs/vue3": "^1.0.7",
15-
"@popperjs/core": "^2.11.7",
15+
"@popperjs/core": "^2.11.8",
1616
"@sentry/tracing": "^7.11.1",
17-
"@sentry/vue": "^7.11.1",
17+
"@sentry/vue": "^7.54.0",
1818
"@tailwindcss/forms": "^0.5.2",
1919
"@tailwindcss/typography": "^0.5.7",
2020
"@vitejs/plugin-basic-ssl": "^1.0.1",
@@ -23,29 +23,29 @@
2323
"autoprefixer": "^10.4.14",
2424
"axios": "^1.4.0",
2525
"charts.css": "^0.9.0",
26-
"eslint": "^8.40.0",
26+
"eslint": "^8.42.0",
2727
"eslint-config-prettier": "^8.8.0",
28-
"eslint-plugin-vue": "^9.11.1",
28+
"eslint-plugin-vue": "^9.14.1",
2929
"husky": "^8.0.3",
30-
"laravel-vite-plugin": "^0.7.4",
31-
"laravel-vue-i18n": "^2.4.3",
30+
"laravel-vite-plugin": "^0.7.8",
31+
"laravel-vue-i18n": "^2.5.1",
3232
"lint-staged": "^13.2.2",
3333
"lodash": "^4.17.21",
3434
"mitt": "^3.0.0",
35-
"postcss": "^8.4.23",
35+
"postcss": "^8.4.24",
3636
"postcss-import": "^15.1.0",
3737
"prettier": "^2.8.8",
38-
"prettier-plugin-tailwindcss": "^0.2.8",
39-
"sass": "^1.62.1",
38+
"prettier-plugin-tailwindcss": "^0.3.0",
39+
"sass": "^1.63.3",
4040
"tailwindcss": "^3.3.2",
4141
"tiny-emitter": "^2.1.0",
4242
"uploadcare-vue": "^1.0.0",
43-
"v-calendar": "^3.0.3",
44-
"vite": "^4.3.5",
43+
"v-calendar": "next",
44+
"vite": "^4.3.9",
4545
"vue": "^3.3.4",
4646
"vue-clipboard3": "^2.0.0",
4747
"vuedraggable-es": "^4.1.1",
48-
"ziggy-js": "1.5.2"
48+
"ziggy-js": "1.6.0"
4949
},
5050
"lint-staged": {
5151
"*.js|resources/**/*.{vue,js}": [

resources/js/Pages/Vault/Contact/Index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@ const update = () => {
8080
<div class="flex items-center">
8181
<dropdown
8282
v-model="form.sort_order"
83-
:data="props.data.contact_sort_orders"
83+
:data="data.contact_sort_orders"
8484
:required="false"
8585
:dropdown-class="'block w-full me-2'"
8686
@change="update()" />
8787

8888
<pretty-link
8989
v-if="layoutData.vault.permission.at_least_editor"
90-
:href="props.data.url.contact.create"
90+
:href="data.url.contact.create"
9191
:text="$t('Add a contact')"
9292
class="ms-3"
9393
:icon="'plus'" />

resources/js/Pages/Vault/Group/Edit.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const update = () => {
117117
<div class="border-b border-gray-200 p-5 dark:border-gray-700">
118118
<dropdown
119119
v-model="form.group_type_id"
120-
:data="props.data.group_types"
120+
:data="data.group_types"
121121
:required="true"
122122
:placeholder="$t('Choose a value')"
123123
:dropdown-class="'block w-full'"
@@ -126,7 +126,7 @@ const update = () => {
126126

127127
<!-- actions -->
128128
<div class="flex justify-between p-5">
129-
<pretty-link :href="props.data.url.back" :text="$t('Cancel')" :class="'me-3'" />
129+
<pretty-link :href="data.url.back" :text="$t('Cancel')" :class="'me-3'" />
130130
<pretty-button :text="$t('Save')" :state="loadingState" :icon="'check'" :class="'save'" />
131131
</div>
132132
</form>

resources/js/Pages/Vault/Group/Show.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const destroy = () => {
118118
<div class="flex items-center">
119119
<ul class="list">
120120
<li class="me-4 inline">
121-
<Link :href="props.data.url.edit" class="text-blue-500 hover:underline">{{ $t('Edit') }}</Link>
121+
<Link :href="data.url.edit" class="text-blue-500 hover:underline">{{ $t('Edit') }}</Link>
122122
</li>
123123
<li class="inline" @click="deletingGroup = true">
124124
<span class="inline cursor-pointer text-red-500 hover:text-red-900">{{ $t('Delete') }}</span>

resources/js/Shared/Modules/Addresses.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,7 @@ const destroy = () => {
183183
class="mb-6 rounded-lg border border-gray-200 bg-gray-50 dark:border-gray-700 dark:bg-gray-900"
184184
@submit.prevent="submit()">
185185
<!-- radio button: choose existing or create new address -->
186-
<div
187-
v-if="props.data.addresses_in_vault.length > 0"
188-
class="mb-2 border-b border-gray-200 p-5 dark:border-gray-700">
186+
<div v-if="data.addresses_in_vault.length > 0" class="mb-2 border-b border-gray-200 p-5 dark:border-gray-700">
189187
<div class="mb-2 flex items-center">
190188
<input
191189
id="chooseExisting"

resources/js/Shared/Modules/CreateLifeEvent.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ const store = () => {
258258
<div v-if="!editDate" class="flex items-center justify-between">
259259
<div>
260260
<span class="text-sm">{{ $t('Date of the event:') }}</span>
261-
{{ props.lifeEvent ? props.lifeEvent.happened_at : props.data.current_date_human_format }}
261+
{{ lifeEvent ? lifeEvent.happened_at : data.current_date_human_format }}
262262
</div>
263263

264264
<p @click="editDate = true" class="cursor-pointer text-sm text-blue-500 hover:underline">
@@ -292,9 +292,9 @@ const store = () => {
292292

293293
<!-- current contact -->
294294
<div class="mb-4 flex items-center">
295-
<avatar :data="props.data.contact.avatar" :class="'me-2 h-5 w-5'" />
295+
<avatar :data="data.contact.avatar" :class="'me-2 h-5 w-5'" />
296296

297-
<span>{{ props.data.contact.name }}</span>
297+
<span>{{ data.contact.name }}</span>
298298
</div>
299299

300300
<!-- all other participants -->

resources/js/Shared/Modules/FeedItems/Note.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,28 @@ defineProps({
1515
v-if="!contactViewMode"
1616
class="flex items-center border-b border-gray-300 px-3 py-2 text-sm dark:border-gray-700">
1717
<Avatar
18-
:data="props.data.contact.avatar"
18+
:data="data.contact.avatar"
1919
:class="'relative me-2 h-5 w-5 rounded-full border border-gray-200 dark:border-gray-800'" />
2020

2121
<div class="flex flex-col">
22-
<Link :href="props.data.contact.url" class="text-gray-800 hover:underline dark:text-gray-200">{{
23-
props.data.contact.name
22+
<Link :href="data.contact.url" class="text-gray-800 hover:underline dark:text-gray-200">{{
23+
data.contact.name
2424
}}</Link>
2525
</div>
2626
</div>
2727

2828
<div class="px-3 pb-2 pt-2">
2929
<!-- the note still exists in the system -->
30-
<div v-if="props.data.note.object">
31-
<div v-if="props.data.note.object.title" class="mb-2 block">{{ props.data.note.object.title }}</div>
32-
<div>{{ props.data.note.object.body }}</div>
30+
<div v-if="data.note.object">
31+
<div v-if="data.note.object.title" class="mb-2 block">{{ data.note.object.title }}</div>
32+
<div>{{ data.note.object.body }}</div>
3333
</div>
3434

3535
<!-- the note was deleted -->
3636
<span
3737
v-else
3838
class="mb-2 me-2 inline-block rounded bg-neutral-200 px-2 py-1 text-xs font-semibold text-neutral-800 last:me-0">
39-
<span>{{ props.data.note.description }}</span>
39+
<span>{{ data.note.description }}</span>
4040
</span>
4141
</div>
4242
</div>

resources/js/Shared/Modules/Goals.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export default {
215215
axios
216216
.post(this.data.url.store, this.form)
217217
.then((response) => {
218-
this.flash($t('The goal has been created'), 'success');
218+
this.flash(this.$t('The goal has been created'), 'success');
219219
this.localGoals.unshift(response.data.data);
220220
this.createGoalModalShown = false;
221221
})
@@ -230,7 +230,7 @@ export default {
230230
axios
231231
.put(goal.url.streak_update, this.form)
232232
.then((response) => {
233-
this.flash($t('The goal has been edited'), 'success');
233+
this.flash(this.$t('The goal has been edited'), 'success');
234234
this.localGoals[this.localGoals.findIndex((x) => x.id === goal.id)] = response.data.data;
235235
this.editedGoalId = 0;
236236
})

0 commit comments

Comments
 (0)