Skip to content

[OGUI-1203] More sophisticated multiline selection - #3584

Draft
isaachilly wants to merge 12 commits into
devfrom
feature/ILG/OGUI-1203/Multiline-selection
Draft

[OGUI-1203] More sophisticated multiline selection#3584
isaachilly wants to merge 12 commits into
devfrom
feature/ILG/OGUI-1203/Multiline-selection

Conversation

@isaachilly

Copy link
Copy Markdown
Collaborator

I have JIRA issue created

  • branch and/or PR name(s) includes JIRA ID
  • issue has "Fix version" assigned
  • issue "Status" is set to "In review"
  • PR labels are selected
  • FLP integration tests were ran successful

@isaachilly isaachilly self-assigned this Aug 20, 2026
@isaachilly isaachilly changed the title Feature/ilg/og UI 1203/multiline selection [OGUI-1203] More sophisticated multiline selection Aug 20, 2026
@isaachilly
isaachilly changed the base branch from dev to bug/ILG/OGUI-1903/Copy-select-has-new-lines-issue August 20, 2026 19:24
@isaachilly
isaachilly force-pushed the feature/ILG/OGUI-1203/Multiline-selection branch from 124b305 to 501f9a8 Compare August 20, 2026 19:25
@isaachilly
isaachilly force-pushed the feature/ILG/OGUI-1203/Multiline-selection branch from 501f9a8 to 2568fad Compare August 21, 2026 09:28
@isaachilly
isaachilly force-pushed the feature/ILG/OGUI-1203/Multiline-selection branch from c182509 to 97fc2cb Compare August 21, 2026 15:10
Base automatically changed from bug/ILG/OGUI-1903/Copy-select-has-new-lines-issue to dev August 24, 2026 15:37
Introduce a dedicated `LogSelection` model to manage log selection due to the added complexity.

* `Log.item` is now derived from selection focus
* Selection is preserved or shifted correctly when logs are trimmed in live mode
* Table rendering now passes real list indexes for viewport rows.
* Ctrl/Cmd+C now copies all selected log rows instead of only the current row.
Adjust the mocha tests to reset `window.model.log.item` directly due to new setter.
Make text selection in cells transparent to avoid unsightly appearance.
Allow users to extend log selection using Shift+Up/Down arrow keys.
Add selection-copy coverage: reset table/selection state, simulate drag selection across virtualised rows, and assert clipboard CSV output for all selected rows.
@isaachilly
isaachilly force-pushed the feature/ILG/OGUI-1203/Multiline-selection branch from cbc53bd to 04b6b6d Compare August 24, 2026 15:37
Update keyboard selection behaviour so Shift+Up/Down extends from the current log index instead of requiring drag state.

`extendTo` now works for active selections (not just dragging), so the user can drag and then decide to use the keys.

Most importantly, disable auto-scroll when beginning a direct row selection to avoid unintended scrolling.
Wrap `extendTo` in an `onMouseMove` handler that checks `e.buttons === 1` and `isDragging` so selection only extends during actual mouse drags originating inside the table and not during keyboard interactions.
Adds a new test case verifying that keyboard-based selection works and is not overridden by subsequent mouse hover events.
Comment thread InfoLogger/test/public/query-mode-mocha.js Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants