feat: skeleton loading for list tables#28
Merged
Conversation
Replace the default spinner overlay on the list screens with a table-shaped skeleton (header strip + placeholder rows) on first load, so the page hints at its structure instead of flashing an empty area. Matches the Skeleton already used on the dashboard. - new reusable <TableSkeleton :columns :rows :label /> (PrimeVue Skeleton) - shown via v-if="loading && !items.length"; the real table is v-else, so background refreshes keep showing data (no skeleton flash on reload) - applied to Users, Roles, Permissions, Groups, Tenants, Policies, Audit Logs (DataTable) and Menus (TreeTable) - common.loading i18n key (en/ko) for the aria-label Verification: npm run build (vue-tsc + Vite) green.
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.
EN
Replaces the default spinner overlay on the list screens with a table-shaped skeleton (header strip + placeholder rows) on first load, so the page hints at its structure instead of flashing an empty area. Matches the
Skeletonalready used on the dashboard.<TableSkeleton :columns :rows :label />(PrimeVueSkeleton)v-if="loading && !items.length"; the real table isv-else, so background refreshes keep showing data (no skeleton flash on reload)DataTable) and Menus (TreeTable)common.loadingi18n key (en/ko) for thearia-labelVerification:
npm run build(vue-tsc type-check + Vite) — green.KO (한국어)
리스트 화면의 기본 스피너 오버레이를 첫 로드 시 테이블 모양 스켈레톤(헤더 + 플레이스홀더 행)으로 교체. 빈 영역이 번쩍이는 대신 구조를 미리 보여줍니다. 대시보드에서 이미 쓰는
Skeleton과 일관.<TableSkeleton :columns :rows :label />(PrimeVueSkeleton)v-if="loading && !items.length"로 표시, 실제 테이블은v-else— 백그라운드 새로고침은 데이터를 계속 표시DataTable)와 Menus(TreeTable)에 적용common.loadingi18n 키(한/영)검증:
npm run build(vue-tsc + Vite) — green.