업로드 제한 설정 위치 정리
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
* @property {boolean} editing - 편집 모드 여부
|
||||
* @property {boolean} saving - 저장 중 여부
|
||||
* @property {boolean} hasChanges - 변경 여부
|
||||
* @property {Array<{ value: number, label: string }>} uploadFileCountOptions - 업로드 파일 수 선택지
|
||||
* @property {Array<{ value: number, label: string }>} uploadTotalSizeOptions - 업로드 전체 용량 선택지
|
||||
*/
|
||||
defineProps({
|
||||
form: {
|
||||
@@ -24,14 +22,6 @@ defineProps({
|
||||
hasChanges: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
uploadFileCountOptions: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
},
|
||||
uploadTotalSizeOptions: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
}
|
||||
})
|
||||
|
||||
@@ -107,36 +97,6 @@ defineEmits(['begin', 'cancel', 'save'])
|
||||
{{ form.description?.trim() ? form.description : '—' }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="admin-settings-screen__field grid gap-3 border-t border-[#eceff2] pt-5">
|
||||
<div>
|
||||
<span class="font-bold text-[#15171a]">업로드 제한</span>
|
||||
<p class="mt-1 text-xs leading-relaxed text-[#657080]">
|
||||
파일 추가나 글쓰기 미디어 업로드에서 한 번에 처리할 수 있는 최대치를 선택합니다.
|
||||
</p>
|
||||
</div>
|
||||
<div class="grid gap-3 sm:grid-cols-2">
|
||||
<div class="grid gap-1.5">
|
||||
<span class="text-xs font-semibold text-[#657080]">파일 수</span>
|
||||
<AdminSelectInput
|
||||
v-model="form.uploadMaxFileCount"
|
||||
:options="uploadFileCountOptions"
|
||||
label="업로드 파일 수"
|
||||
select-class="admin-settings-screen__select h-10 rounded-md border-[#dce0e5] text-[#15171a] focus:ring-1 focus:ring-[#15171a]"
|
||||
width-class="w-full"
|
||||
/>
|
||||
</div>
|
||||
<div class="grid gap-1.5">
|
||||
<span class="text-xs font-semibold text-[#657080]">전체 용량</span>
|
||||
<AdminSelectInput
|
||||
v-model="form.uploadMaxTotalSize"
|
||||
:options="uploadTotalSizeOptions"
|
||||
label="업로드 전체 용량"
|
||||
select-class="admin-settings-screen__select h-10 rounded-md border-[#dce0e5] text-[#15171a] focus:ring-1 focus:ring-[#15171a]"
|
||||
width-class="w-full"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-else class="admin-title-description-settings-card__edit admin-settings-screen__card-body grid gap-5">
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
- 거대 컴포넌트 책임 분리 진행.
|
||||
- `components/admin/AdminMarkdownEditor.vue`: 미디어 모달, 슬래시 명령, 히스토리·선택 복원, 라이브/소스 전환 로직을 단계적으로 composable 또는 하위 컴포넌트로 분리.
|
||||
- `pages/admin/settings/index.vue`: 정규화가 필요한 설정 섹션(SNS·POST 설정·브랜드·어나운스 바·스팸 필터)의 편집 상태·스냅샷·저장 요청 로직을 composable 단위로 추가 분리.
|
||||
- `pages/admin/settings/index.vue`: 업로드 제한 셀렉트가 블로그 제목·설명 읽기 카드 안에 있으나 저장 필드는 POST 설정에 묶여 있어, 별도 업로드 제한 카드 또는 POST 설정 편집 영역으로 위치와 저장 흐름을 정리.
|
||||
- `components/content/ContentMarkdownRenderer.vue`: 파싱·블록 렌더링·라이브 편집 중개·라이트박스·광고 삽입 책임을 분리.
|
||||
- `components/admin/AdminPostForm.vue`: 태그 입력, 대표 이미지 선택, 발행/초안 저장 상태, 우측 설정 패널 책임을 분리.
|
||||
- `pages/admin/media/index.vue`: 미디어 목록, 폴더 트리, 상세 모달, 재생성 액션을 작은 단위로 분리.
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# 업데이트 이력
|
||||
|
||||
## v1.11.34
|
||||
|
||||
- 관리자 설정의 블로그 제목·설명 카드에서 POST 설정에 속한 업로드 제한 입력을 제거.
|
||||
- 업로드 제한 표시·편집 위치를 POST 설정 카드로 단일화.
|
||||
- 설정 화면에서 블로그 제목·설명 카드로 전달하던 업로드 제한 선택지 props를 제거.
|
||||
|
||||
## v1.11.33
|
||||
|
||||
- 관리자 설정 내비게이션 검색·필터·스크롤 스파이 상태를 `useAdminSettingsNavigation` composable로 분리.
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "sori.studio",
|
||||
"version": "1.11.33",
|
||||
"version": "1.11.34",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "sori.studio",
|
||||
"version": "1.11.33",
|
||||
"version": "1.11.34",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@nuxtjs/tailwindcss": "^6.14.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sori.studio",
|
||||
"version": "1.11.33",
|
||||
"version": "1.11.34",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"imports": {
|
||||
|
||||
@@ -1882,8 +1882,6 @@ onBeforeUnmount(() => {
|
||||
:editing="editTitleDesc"
|
||||
:saving="savingTitleDesc"
|
||||
:has-changes="hasTitleDescChanges"
|
||||
:upload-file-count-options="uploadFileCountSelectOptions"
|
||||
:upload-total-size-options="uploadTotalSizeSelectOptions"
|
||||
@begin="beginEditTitleDesc"
|
||||
@cancel="cancelEditTitleDesc"
|
||||
@save="saveTitleDescSection"
|
||||
|
||||
Reference in New Issue
Block a user