forked from yencarnacion/html4tree
-
Notifications
You must be signed in to change notification settings - Fork 0
π¨ Palette: μκ°μ μ¨κΉ ν μ€νΈ(.visually-hidden) hover λ°μ€ μ κ±° #784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
seonghobae
wants to merge
8
commits into
master
Choose a base branch
from
palette/explicit-hover-class-12426807267833464099
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+9
β5
Draft
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
00f8583
π¨ Palette: μκ°μ μ¨κΉ ν
μ€νΈ(.visually-hidden) hover λ°μ€ μ κ±°
seonghobae 5238153
π¨ Palette: μκ°μ μ¨κΉ ν
μ€νΈ(.visually-hidden) hover λ°μ€ μ κ±°
seonghobae 7997341
π¨ Palette: μκ°μ μ¨κΉ ν
μ€νΈ(.visually-hidden) hover λ°μ€ μ κ±°
seonghobae 27cc649
π¨ Palette: μκ°μ μ¨κΉ ν
μ€νΈ(.visually-hidden) hover λ°μ€ μ κ±°
seonghobae 34225e1
π¨ Palette: μκ°μ μ¨κΉ ν
μ€νΈ(.visually-hidden) hover λ°μ€ μ κ±°
seonghobae 2b906e6
π¨ Palette: μκ°μ μ¨κΉ ν
μ€νΈ(.visually-hidden) hover λ°μ€ μ κ±°
seonghobae 9b5186b
π¨ Palette: μκ°μ μ¨κΉ ν
μ€νΈ(.visually-hidden) hover λ°μ€ μ κ±°
seonghobae b7a8e34
π¨ Palette: μκ°μ μ¨κΉ ν
μ€νΈ(.visually-hidden) hover λ°μ€ μ κ±°
seonghobae File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π Maintainability & Code Quality | π‘ Minor | β‘ Quick win
π Supported by static analysis
π Script executed:
Repository: ContextualWisdomLab/html4tree
Length of output: 4553
π Script executed:
Repository: ContextualWisdomLab/html4tree
Length of output: 26971
π€ get_repo_knowledge executed:
get_repo_knowledge ContextualWisdomLab/html4tree /tmp/coderabbit-repo-knowledge/contextualwisdomlab-html4tree-b5639ba3/conventionsLength of output: 3701
νμΌΒ·λλ ν 리 νμ
.entry-nameλ§ν¬μ μ μ§μ κ²μ¬νμΈμ.νλ‘μ νΈ κ·μΉμ μ Kotlin λμμ λν ν μ€νΈ 컀λ²λ¦¬μ§λ₯Ό μꡬν©λλ€. νμ¬ ν μ€νΈλ νμΌλͺ Β·λλ ν 리λͺ μ κ²μ¬νμ§λ§ νμΌΒ·λλ ν 리 νμ
.entry-nameλ§ν¬μ μ κ²μ¬νμ§ μμ΅λλ€. λ°λΌμmain.ktμ ν΄λΉ ν΄λμ€κ° μμ λμ΄λ ν μ€νΈκ° ν΅κ³Όν μ μμ΅λλ€.νμΌκ³Ό λλ ν 리λ₯Ό λͺ¨λ fixtureμ ν¬ν¨νκ³ , λ νμ λ§ν¬μ μ μ§μ κ²μ¬νμΈμ.
π Suggested fix
val firstFile = File(temporaryDirectory, "alpha.txt").apply { writeText("alpha") } val middleFile = File(temporaryDirectory, "middle.txt").apply { writeText("middle") } val lastFile = File(temporaryDirectory, "zulu.txt").apply { writeText("zulu") } + val directory = File(temporaryDirectory, "docs").apply { mkdir() } process_dir( temporaryDirectory, setOf("index.html"), - arrayOf(lastFile, firstFile, middleFile) + arrayOf(lastFile, firstFile, middleFile, directory) ) val generatedHtml = generatedHtml() + assertTrue(generatedHtml.contains("""<span class="entry-name">alpha.txt</span>""")) + assertTrue(generatedHtml.contains("""<span class="entry-name">docs</span>""")) val parentIndex = generatedHtml.indexOf("<span class=\"entry-name\" aria-hidden=\"true\">..</span>")π€ Prompt for AI Agents