Skip to content

🎨 improve AddLinkDialog and NavigationBar with enhanced interaction f…#36

Merged
DGuang21 merged 2 commits into
mainfrom
fix/addlink
Nov 28, 2025
Merged

🎨 improve AddLinkDialog and NavigationBar with enhanced interaction f…#36
DGuang21 merged 2 commits into
mainfrom
fix/addlink

Conversation

@Whyjsee

@Whyjsee Whyjsee commented Nov 28, 2025

Copy link
Copy Markdown
Contributor

…eedback and layout adjustments

Copilot AI review requested due to automatic review settings November 28, 2025 09:15
@Whyjsee

Whyjsee commented Nov 28, 2025

Copy link
Copy Markdown
Contributor Author

@copilot

Copilot AI commented Nov 28, 2025

Copy link
Copy Markdown

@Whyjsee I've opened a new pull request, #37, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the AddLinkDialog and NavigationBar components by improving interaction feedback and layout structure. The changes separate interaction sources for independent visual feedback and restructure padding to be element-specific rather than container-level.

Key Changes

  • Modified AddLinkDialog to centralize the dismiss() call within onConfirm() function
  • Refactored NavigationBar to use separate interaction sources for the tab icon and add button, enabling independent pressed state tracking
  • Restructured NavigationBar layout by moving padding from the outer Box to individual interactive elements

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
AddLinkDialog.kt Moved dismiss() call from keyboard action and button click handlers to inside onConfirm() function
InboxListScreen.kt Split single interaction source into two separate sources (tabInteractionSource and addInteractionSource), wrapped Images in Boxes with individual padding, and removed container-level padding

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread composeApp/src/commonMain/kotlin/com/slax/reader/ui/inbox/InboxListScreen.kt Outdated
DGuang21
DGuang21 previously approved these changes Nov 28, 2025
…xListScreen.kt

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@DGuang21 DGuang21 merged commit a7fd7ba into main Nov 28, 2025
6 checks passed
@DGuang21 DGuang21 deleted the fix/addlink branch November 28, 2025 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants