๐จ Palette: [UX improvement] ์ผ๊ด ์ ๋ก๋ ํผ์ ํด๋ผ์ด์ธํธ ์ธก ์ด ํ์ผ ํฌ๊ธฐ ๊ฒ์ฆ ์ถ๊ฐ#272
Conversation
|
๐ Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a ๐ emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
There was a problem hiding this comment.
Pull request overview
Note
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
ํด๋ผ์ด์ธํธ์์ ์ผ๊ด ์ ๋ก๋์ ์ด ํ์ผ ํฌ๊ธฐ(5 GiB) ์ด๊ณผ ์ฌ๋ถ๋ฅผ ์ฆ์ ๊ฒ์ฆํ๊ณ , ์ด๊ณผ ์ UI/์ ๊ทผ์ฑ ํผ๋๋ฐฑ์ ์ ๊ณตํ๋๋ก ๊ฐ์ ํ PR์ ๋๋ค.
Changes:
- ์ด ์
๋ก๋ ์ฉ๋์ด 5 GiB๋ฅผ ์ด๊ณผํ๋ฉด
setCustomValidity/aria-invalid๋ฐ ๊ฒฝ๊ณ ๋ฌธ๊ตฌ๋ก ์ฆ์ ์ฐจ๋จ - ํ ์คํธ์์ ์ ๊ฒ์ฆ/๋ฌธ๊ตฌ ๋ฐ batch preview onchange ํ ๋ฌธ์์ด์ ๊ฒ์ฆํ๋๋ก ๋ณด๊ฐ
- CHANGELOG์ UX ๊ฐ์ ํญ๋ชฉ ์ถ๊ฐ
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| tests/test_saas_web.py | ์ ํด๋ผ์ด์ธํธ ๊ฒ์ฆ ๋ฉ์์ง/์คํฌ๋ฆฝํธ ๋ณ๊ฒฝ์ ์ ๋ฌธ์์ด ๊ธฐ๋ฐ์ผ๋ก ๊ฒ์ฆ ์ถ๊ฐ |
| saas_web.py | ์ด ํ์ผ ํฌ๊ธฐ ์ด๊ณผ ์ ์ฌ์ฉ์ ํผ๋๋ฐฑ ๋ฐ ์ ๊ทผ์ฑ ์์ฑ ์ค์ ๋ก์ง ์ถ๊ฐ |
| CHANGELOG.md | ๊ธฐ๋ฅ ์ถ๊ฐ ์ฌํญ ๋ฌธ์ํ |
๐ก Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| self.assertIn("const limitText = formatBinaryBytes(MAX_UPLOAD_BYTES);", html) | ||
| self.assertIn("Total size exceeds ' + limitText + ' limit.", html) |
| if (totalSize > MAX_UPLOAD_BYTES) { | ||
| const limitText = formatBinaryBytes(MAX_UPLOAD_BYTES); | ||
| input.setCustomValidity('Total size exceeds ' + limitText + ' limit.'); | ||
| input.setAttribute('aria-invalid', 'true'); | ||
| preview.innerText = 'Selected ' + files.length + ' file(s) (' + formatBinaryBytes(totalSize) + ', exceeds ' + limitText + ' limit)'; | ||
| preview.style.color = '#dc3545'; |
| ### Added | ||
| - ๋ค์ค ํ์ผ ์ ๋ก๋ ์ ํ ์ ์ฆ๊ฐ์ ์ธ ํ์ผ ๊ฐ์ ํผ๋๋ฐฑ ๋ฐ ์ ํ ์ด๊ณผ ๊ฒฝ๊ณ ๋ฉ์์ง ์ถ๊ฐ | ||
| - ์ผ๊ด ์ ๋ก๋ ํผ์ ๋์ ๋ฐ์ดํธ ํ๋ฆฌ์ ๋ฒํผ๊ณผ ์ด ํ์ผ ํฌ๊ธฐ ๋ฏธ๋ฆฌ๋ณด๊ธฐ๋ฅผ ์ถ๊ฐํ์ฌ ์ฌ์ฉ์ฑ์ ๊ฐ์ ํ์ต๋๋ค. | ||
| * ๐จ Palette: [UX improvement] ์ผ๊ด ์ ๋ก๋ ํผ์ ์ด ํ์ผ ํฌ๊ธฐ๊ฐ 5 GiB๋ฅผ ์ด๊ณผํ๋ ๊ฒฝ์ฐ ํด๋ผ์ด์ธํธ ์ธก์์ ์ฆ์ ๊ฒ์ฆํ๋ ๊ธฐ๋ฅ์ ์ถ๊ฐํ์ต๋๋ค. |
What: ์ผ๊ด ์ ๋ก๋ ์ ์ด ํ์ผ ํฌ๊ธฐ๊ฐ 5 GiB๋ฅผ ์ด๊ณผํ๋ ๊ฒฝ์ฐ ํด๋ผ์ด์ธํธ ์ธก์์ ์ฆ์ ์ ํจ์ฑ์ ๊ฒ์ฌํ๊ณ ํผ๋๋ฐฑ์ ์ ๊ณตํ๋๋ก UI๋ฅผ ๊ฐ์ ํ์ต๋๋ค.
Why: ์ฌ์ฉ์๊ฐ ์๋ฒ์ ํฐ ํ์ผ์ ๋ชจ๋ ์ ๋ก๋ํ๊ณ ๋์์ผ ์ฉ๋ ์ด๊ณผ๋ก ๊ฑฐ๋ถ๋๋ ์ํฉ์ ๋ฐฉ์งํ๊ณ ๋น ๋ฅธ ํผ๋๋ฐฑ์ ์ฃผ๊ธฐ ์ํจ์ ๋๋ค.
Before/After: ์ ๋ก๋ ์ฉ๋ ์ ํ์ ๋ํ ์๊ฐ์ ์๋ด ์์ -> ์ด ์ฉ๋ ์ด๊ณผ ์ ๋นจ๊ฐ์ ํ ์คํธ๋ก ์ฆ๊ฐ์ ์ธ ๊ฒฝ๊ณ ํ์.
Accessibility:
setCustomValidity๋ฐaria-invalid์์ฑ์ ํ์ฉํ์ฌ ์คํฌ๋ฆฐ ๋ฆฌ๋ ์ฌ์ฉ์๋ ์๋ฌ ์ํฉ์ ๋ช ํํ ์ธ์งํ ์ ์๋๋ก ํ์์ต๋๋ค.PR created automatically by Jules for task 948089683519168692 started by @seonghobae