Sesuaikan UI/UX di Modul Artikel#1644
Open
habibie11 wants to merge 10 commits into
Open
Conversation
Contributor
|
🔄 AI PR Review sedang antri di server...
|
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.
issue # #1628
🎯 Deskripsi
Pull request ini menangani masalah perwajahan form dan inkonsistensi struktur HTML saat admin melakukan unggahan gambar pada modul Artikel (
/informasi/artikel). Sama seperti perbaikan di modul lainnya, UI perlu dimodernisasi agar lebih tahan terhadap anomali kasus khusus (seperti nama file yang amat sangat panjang), serta untuk menerapkan komponen kustom dari sistem terkait info batas maksimal file (hint upload).Penggunaan komponen
aksi-grupsudah didukung secara default pada versi sebelumnya, namun beberapa bagian pada pratinjau gambar tetap perlu disempurnakan.🛠️ Perubahan yang Dilakukan
1. Refaktor Kotak Pratinjau Gambar (Image Preview Box)
overflow: hidden;) pada bungkus kontainer nama file di file_form.blade.php.word-break: break-all;ke tag text span nama file untuk memastikan barisan karakter panjang akan terlipat/turun ke bawah dan tak menjebol struktur flexbox.2. Pengaplikasian Komponen Terpusat
<x-upload-hint formats="JPG, JPEG, PNG" />. Perubahan ini memudahkan pemeliharaan ke depan jika sewaktu-waktu batas upload aplikasi ditingkatkan atau diubah konfigurasinya.✅ Test Cases yang Diimplementasikan
SmokeInformasiTest.php) terpantau tidak mengalami degradasi maupun malfungsi.