Skip to content

Suggestion for an alternative implementation for Pull Request #439#461

Draft
Dr-Eckig wants to merge 15 commits intoeclipse-opendut:developmentfrom
Dr-Eckig:development
Draft

Suggestion for an alternative implementation for Pull Request #439#461
Dr-Eckig wants to merge 15 commits intoeclipse-opendut:developmentfrom
Dr-Eckig:development

Conversation

@Dr-Eckig
Copy link
Contributor

@Dr-Eckig Dr-Eckig commented Feb 3, 2026

Changes

  • Implemented alternative implementation for clickable table-rows with the ability to still select text
  • This alternative implementation is only located in the Test overview, so its possible to compare both implementations (the initial implementation is located in Cluster and Peer overviews)
  • Added new dependency: web-sys = { version = "0.3.85", features = ["Selection"] }

Improvement

  • Similar functionality, but without calculating cursor positions → Increases code readability
  • Maybe Improvement, maybe not: when selecting text, you can click somewhere on the same row to remove the selection without directly navigating to the test → The only difference in functionality

Goal

  1. Decide what implementation is better
  2. Create a reusable component for these overview tables

@Dr-Eckig Dr-Eckig requested a review from mbfm February 3, 2026 18:20
@Dr-Eckig Dr-Eckig force-pushed the development branch 2 times, most recently from 8b90b87 to 1f77257 Compare February 4, 2026 14:52
…tables (like `PeersOverview`, `ClustersOverview`, `SourcesOverview`, `TestsOverview`).
…ing text in the `TestsOverview` by using an event listener, because the previous solution was not compatible with all browsers.
…hen selecting text (`block_row_click`) from `Row` to `TestsOverview`.
…overview tables (e. g. `PeersOverview`, `ClustersOverview`, ...) by an additional component for rows, called `OverviewTableRow` for easier usage.
…s to the `app.rs` and provided a `context` to get its value.
…ow` for easier usage of the component `OverviewTableRow` and to reduce code duplication.
…h represents a column in a row for better usage and readability of the `OverviewTable`s.
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.

1 participant

Comments