Skip to content

Lad opslog generic#357

Merged
OSPFNeighbour merged 1 commit intomaster-devfrom
lad-opslog-generic
Mar 25, 2026
Merged

Lad opslog generic#357
OSPFNeighbour merged 1 commit intomaster-devfrom
lad-opslog-generic

Conversation

@OSPFNeighbour
Copy link
Collaborator

This pull request introduces two main improvements: a new alert for teams with multiple active taskings in certain statuses, and significant enhancements to the spotlight search functionality, including improved token-based highlighting and safer, more accurate search result rendering.

New alert rule for teams with multiple active taskings:

  • Adds a warning alert that identifies teams with more than one tasking in 'Enroute', 'Offsite', or 'Onsite' status, including a summary and quick navigation to the relevant team. [1] [2]

Spotlight search improvements:

  • Implements word-boundary and numeric-aware matching for search tokens, ensuring more accurate and relevant search results.
  • Adds HTML escaping and highlights matched tokens in search results by wrapping them in <strong> tags, improving result readability and preventing HTML injection. [1] [2]
  • Refactors the result decoration logic to consistently apply highlighting using a new _decorateResults helper, and updates all search result generation code paths to use this helper. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23]
  • Improves keyboard navigation in the search by making scrolling optional and only triggered when needed. [1] [2]

Add quick-entry handlers and UI/VM enhancements for Ops and Radio logs. main.js: introduce openBlankOpsLogModal and openBlankRadioOpsLogModal to open a prefilled/blank modal, focus the text input and install hotkeys for radio logs. OpsLogModalVM: keep parentVM reference, add job/team autocomplete inputs and suggestion pickers, extend reset/init logic, add openForRadioLog (auto-selects Radio contact tag) and submitting state, and prefill job fields when opening. RadioLogModalVM: add submitting observable and toggle it during submit. tasking.html: add toolbar buttons for Ops/Radio logs, add job/team input UI and dropdowns inside the Ops Log modal, and make submit buttons show a disabled state and spinner while submitting. These changes improve quick log creation, radio-specific defaults, and overall UX/feedback.
@OSPFNeighbour OSPFNeighbour changed the base branch from master to master-dev March 25, 2026 02:04
@OSPFNeighbour OSPFNeighbour merged commit d1916c6 into master-dev Mar 25, 2026
1 check passed
@OSPFNeighbour OSPFNeighbour deleted the lad-opslog-generic branch March 25, 2026 02:05
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