Skip to content
Open
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
2 changes: 2 additions & 0 deletions frontend/src/components/activity/ScheduleEntry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ Displays a single scheduleEntry
:disabled="layoutMode"
dense
autofocus
maxlength="32"
:auto-save="false"
@finished="editActivityTitle = false"
/>
Expand Down Expand Up @@ -257,6 +258,7 @@ Displays a single scheduleEntry
path="location"
:disabled="layoutMode || !isContributor"
dense
maxlength="64"
/>
</v-col>
<v-col class="col col-sm-4 col-12">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
autofocus
:auto-save="false"
path="instanceName"
maxlength="32"
@finished="editInstanceName = false"
/>
</api-form>
Expand Down Expand Up @@ -146,16 +147,16 @@
}

:deep(.v-toolbar__content:not(:hover) button.visible-on-hover:not(:focus)),
.v-card:not(:hover):deep(button.tooltip-activator) {

Check warning on line 150 in frontend/src/components/activity/content/layout/ContentNodeCard.vue

View workflow job for this annotation

GitHub Actions / Lint: Frontend (ESLint)

The selector `.v-card:not(:hover)` is unused
opacity: 0;
}
:deep(.v-toolbar__content button.visible-on-hover),
.v-card:hover:deep(button.tooltip-activator) {

Check warning on line 154 in frontend/src/components/activity/content/layout/ContentNodeCard.vue

View workflow job for this annotation

GitHub Actions / Lint: Frontend (ESLint)

The selector `.v-card:hover` is unused
opacity: 1;
transition: opacity 0.2s linear;
}

::v-deep {

Check warning on line 159 in frontend/src/components/activity/content/layout/ContentNodeCard.vue

View workflow job for this annotation

GitHub Actions / Lint: Frontend (ESLint)

Need to pass argument to the `::v-deep` pseudo-element
.e-form-container,
.v-input,
.v-input__control {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
vee-rules="required"
class="flex-grow-1"
autofocus
maxlength="32"
@focus="autoselectTitle ? $event.target.select() : null"
/>
<slot name="textFieldTitleAppend" />
Expand Down Expand Up @@ -36,7 +37,12 @@
</template>
</e-select>

<e-text-field v-if="!hideLocation" v-model="localActivity.location" path="location" />
<e-text-field
v-if="!hideLocation"
v-model="localActivity.location"
path="location"
maxlength="64"
/>

<FormScheduleEntryList
v-if="activity.scheduleEntries"
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/components/campAdmin/CampAddress.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ Displays address and allows to edit
<v-skeleton-loader v-if="camp._meta.loading" type="article" />
<div v-else class="mt-3">
<api-form :entity="camp" name="camp">
<api-text-field path="addressName" :disabled="disabled" />
<api-text-field path="addressName" :disabled="disabled" maxlength="128" />

<api-text-field path="addressStreet" :disabled="disabled" />
<api-text-field path="addressStreet" :disabled="disabled" maxlength="128" />

<v-row class="mt-3">
<v-col cols="12" md="4" class="pt-0">
<api-text-field path="addressZipcode" :disabled="disabled" />
<api-text-field path="addressZipcode" :disabled="disabled" maxlength="128" />
</v-col>
<v-col cols="12" md="8" class="pt-0 pl-md-0">
<api-text-field path="addressCity" :disabled="disabled" />
<api-text-field path="addressCity" :disabled="disabled" maxlength="128" />
</v-col>
</v-row>
</api-form>
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/components/campAdmin/CampSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Displays details on a single camp and allows to edit them.
vee-rules="required|max:32"
:disabled="disabled"
data-testid="title"
maxlength="32"
/>

<api-text-field
Expand All @@ -23,9 +24,10 @@ Displays details on a single camp and allows to edit them.
:disabled="disabled"
persistent-placeholder
vee-rules="max:16"
maxlength="16"
/>

<api-text-field path="motto" :disabled="disabled" />
<api-text-field path="motto" :disabled="disabled" maxlength="128" />
</api-form>
</div>
</content-group>
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/campAdmin/CreateCampPeriods.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
:my="false"
input-class="mb-2 pt-0"
required
maxlength="32"
/>
</v-col>
</v-row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
path="title"
autofocus
vee-rules="required"
maxlength="32"
/>
</e-form>
</template>
Expand Down
8 changes: 7 additions & 1 deletion frontend/src/components/campAdmin/DialogCategoryForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@
path="short"
vee-rules="required"
class="flex-grow-1"
maxlength="16"
/>
<slot name="textFieldTitleAppend" />
</div>

<e-text-field v-model="localCategory.name" path="name" vee-rules="required" />
<e-text-field
v-model="localCategory.name"
path="name"
vee-rules="required"
maxlength="32"
/>

<e-color-picker v-model="localCategory.color" path="color" vee-rules="required" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
path="name"
autofocus
vee-rules="required"
maxlength="32"
/>
</e-form>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
path="description"
autofocus
vee-rules="required"
maxlength="32"
/>
</e-form>
</dialog-form>
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/campAdmin/DialogPeriodForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
v-model="localPeriod.description"
path="description"
vee-rules="required"
maxlength="32"
/>

<e-date-picker
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/components/campCreate/CampCreateStep1.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
vee-rules="required|max:32"
data-testid="create-camp-title-input"
required
maxlength="32"
/>
<e-text-field
v-model="localCamp.organizer"
Expand All @@ -21,6 +22,7 @@
v-model="localCamp.motto"
path="motto"
data-testid="create-camp-motto"
maxlength="128"
/>
<CreateCampPeriods
:add-period="addPeriod"
Expand Down
14 changes: 12 additions & 2 deletions frontend/src/components/category/CategoryProperties.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
<template>
<api-form :entity="category" name="category">
<api-text-field path="short" :disabled="disabled" vee-rules="required" />
<api-text-field
path="short"
:disabled="disabled"
vee-rules="required"
maxlength="16"
/>

<api-text-field path="name" :disabled="disabled" vee-rules="required" />
<api-text-field
path="name"
:disabled="disabled"
vee-rules="required"
maxlength="32"
/>

<api-color-picker path="color" :disabled="disabled" vee-rules="required" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
path="inviteEmail"
vee-rules="required|email"
class="mb-2"
maxlength="128"
/>

<CollaboratorForm :collaboration="entityData" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
v-model="localMaterialItem.article"
path="article"
vee-rules="required"
maxlength="64"
maxlength="32"
/>
<e-select
v-model="localMaterialItem.materialList"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/material/MaterialCreateItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
dense
vee-rules="required"
path="article"
maxlength="64"
maxlength="32"
/>
</td>
<td class="pt-1" :colspan="columns - 4">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/material/MaterialTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
dense
:uri="item.uri"
path="article"
maxlength="64"
maxlength="32"
/>
<span v-if="item.readonly">{{ item.article }}</span>
</template>
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/views/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
</template>
</e-text-field>

<api-text-field path="firstname" @finished="reloadUser()" />
<api-text-field path="firstname" maxlength="64" @finished="reloadUser()" />

<api-text-field path="surname" @finished="reloadUser()" />
<api-text-field path="surname" maxlength="64" @finished="reloadUser()" />

<api-text-field path="nickname" @finished="reloadUser()" />
<api-text-field path="nickname" maxlength="32" @finished="reloadUser()" />

<api-text-field
path="abbreviation"
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/views/auth/Register.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
dense
type="text"
autocomplete="given-name"
maxlength="64"
/>

<e-text-field
Expand All @@ -22,6 +23,7 @@
dense
type="text"
autocomplete="family-name"
maxlength="64"
/>

<e-text-field
Expand All @@ -31,6 +33,7 @@
dense
type="text"
autocomplete="nickname"
maxlength="32"
/>

<e-text-field
Expand Down
Loading