Conversation
- 도메인 타입에 InstanceInfo와 CharacterCountStatus 추가 - 플랫폼별 문자 수 계산 유틸리티 구현 (Mastodon: URL 23자 계산, Misskey: 순수 텍스트) - MastodonHttpClient와 MisskeyHttpClient에 fetchInstanceInfo 메서드 추가 - UnifiedApiClient에 인스턴스 정보 조회 기능 통합 - ComposeBox 컴포넌트에 실시간 문자 수 표시 UI 추가 - 문자 수 제한 초과 시 제출 방지 및 알림 기능 - 라이트/다크 테마별 문자 수 색상 스타일링 - 인스턴스별 동적 문자 수 제한 적용 (Mastodon: 500자, Misskey: 3000자 기본값) Fixes #94
- v2 API(/api/v2/instance) 우선 시도로 최신 정보 가져오기 - configuration.statuses.max_characters 필드 확인으로 서버별 제한 적용 - v2 API 실패 시 v1 API로 안전한 fallback 처리 - 이전 버전 마스토돈 서버와의 호환성 유지 서버별 문자 수 제한을 정확히 반영하여 사용자 경험 개선
- textarea와 이미지 첨부 영역을 compose-input-container로 통합 - flexbox 레이아웃으로 글자와 이미지 겹침 문제 해결 - textarea 테두리 제거 및 vertical 리사이징만 허용 - 모든 테마(라이트/다크 + 4가지 테마)에서 일관된 디자인 제공 - CSS 선택자 단순화로 유지보수성 향상
- 글자수 카운트를 첨부 영역 오른쪽 고정 위치로 이동 - 이미지 추가 버튼을 첨부 영역 내부로 이동하여 더 자연스러운 UX 제공 - 첨부 영역 좌우 스크롤 기능 추가 (스크롤바 숨김 처리) - 모든 테마에 맞는 외곽선 색상 적용 및 flex-shrink 방지 - 이미지가 많아져도 레이아웃이 찌그러지지 않도록 개선
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes Made
Technical Details
/api/v1/instance->max_toot_chars(기본 500자)/api/meta->maxNoteLength(기본 3000자)src/ui/styles/themes/light.css,src/ui/styles/themes/dark.css에 변수 정의로 정리Fixes #94