Skip to content

Conversation

@mdennis281
Copy link
Owner

@mdennis281 mdennis281 commented Jan 6, 2026

This PR introduces responsive UI refinements to improve the application's adaptability across different screen sizes. The changes focus on making the table display more flexible, improving the header layout responsiveness, and adding dynamic text truncation for long content.

Key changes:

  • Added responsive width management for the scan form with viewport-based sizing and min/max constraints
  • Implemented dynamic text truncation with the no-wrap class and JavaScript-based width adjustment for table cells
  • Restructured the main header layout to use flex-wrap for better mobile responsiveness

Copilot AI review requested due to automatic review settings January 6, 2026 15:38
Copy link
Contributor

Copilot AI left a comment

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 introduces responsive UI refinements to improve the application's adaptability across different screen sizes. The changes focus on making the table display more flexible, improving the header layout responsiveness, and adding dynamic text truncation for long content.

Key changes:

  • Added responsive width management for the scan form with viewport-based sizing and min/max constraints
  • Implemented dynamic text truncation with the no-wrap class and JavaScript-based width adjustment for table cells
  • Restructured the main header layout to use flex-wrap for better mobile responsiveness

Reviewed changes

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

Show a summary per file
File Description
lanscape/ui/templates/scan/ip-table.html Added CSS classes to table headers for targeted styling in responsive layouts
lanscape/ui/templates/scan/ip-table-row.html Applied no-wrap class to hostname and manufacturer fields for text truncation, changed manufacturer element structure
lanscape/ui/templates/scan/config.html Added ID to label for potential JavaScript targeting
lanscape/ui/templates/main.html Restructured header layout by removing extra div wrapper and changing flex-nowrap to flex-wrap for responsive behavior
lanscape/ui/static/js/quietReload.js Added call to adjustNoWrap function after page reload to maintain text truncation
lanscape/ui/static/js/core.js Implemented adjustNoWrap function to dynamically adjust width of truncated text elements, called on page load and window resize
lanscape/ui/static/css/style.css Added responsive styling including viewport-based widths, text truncation styles, and updated button sizing with percentage-based padding
lanscape/core/net_tools.py Added direct manufacturer field assignment during metadata retrieval

@mdennis281 mdennis281 merged commit 49449a0 into main Jan 6, 2026
23 checks passed
@mdennis281 mdennis281 deleted the feature/ui-refinement branch January 6, 2026 15:53
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.

2 participants