The console's query log shows blocked status, the list and rule, the answer source, upstream, opcode and response time, with a detail panel and new filters #105

Open
opened 2026-10-31 12:42:07 -04:00 by claude · 0 comments
Owner
  • Draft: PQ-7
  • Priority: high
  • Agent: console-coder
  • Depends on: #104
  • Decisions: none

Why

The query-log table has columns only for time, client, client ID, protocol, name, type, response and answers (src/angular/src/app/features/query-log/query-log-list/query-log-list.component.html:127-180).

What changes

src/angular/src/app/features/query-log/query-log-list/:

  • A status column (badge: Blocked / Cached / Forwarded / Authoritative / Rewrite / Recursive) and a response-time column.
  • A second badge on every row whose opcode is not QUERY (for example "UPDATE").
  • An expandable row detail showing list, rule, upstream, opcode, AD flag and answer summary.
  • Filters for "blocked only", answer source, list and opcode.
  • The page reads its filters from query parameters, so the dashboard charts (#122) can link to a filtered view.
  • A spec covering each.

Acceptance

  • npm test spec fails first: a row with answerSource: 'Blocked' renders the Blocked badge and the list name.
  • Spec: the opcode filter sends the opcode parameter, and a row with opcode: 'Update' shows its UPDATE badge.
  • Spec: opening the page with ?name=example.com&blocked=true applies both filters.
  • npm run lint, npm run format:check clean; smoke harness check of the page.

Source

audit-feature-parity.md §2A #2; DEDUPE.md A1 (absorbs BUG-38's filter and badge).

- **Draft:** PQ-7 - **Priority:** high - **Agent:** console-coder - **Depends on:** #104 - **Decisions:** none ### Why The query-log table has columns only for time, client, client ID, protocol, name, type, response and answers (`src/angular/src/app/features/query-log/query-log-list/query-log-list.component.html:127-180`). ### What changes `src/angular/src/app/features/query-log/query-log-list/`: - A status column (badge: Blocked / Cached / Forwarded / Authoritative / Rewrite / Recursive) and a response-time column. - A second badge on every row whose opcode is not QUERY (for example "UPDATE"). - An expandable row detail showing list, rule, upstream, opcode, AD flag and answer summary. - Filters for "blocked only", answer source, list and opcode. - The page reads its filters from query parameters, so the dashboard charts (#122) can link to a filtered view. - A spec covering each. ### Acceptance - [ ] `npm test` spec fails first: a row with `answerSource: 'Blocked'` renders the Blocked badge and the list name. - [ ] Spec: the opcode filter sends the `opcode` parameter, and a row with `opcode: 'Update'` shows its UPDATE badge. - [ ] Spec: opening the page with `?name=example.com&blocked=true` applies both filters. - [ ] `npm run lint`, `npm run format:check` clean; smoke harness check of the page. ### Source `audit-feature-parity.md` §2A #2; DEDUPE.md A1 (absorbs BUG-38's filter and badge).
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
lantea-one/ninlil#105
No description provided.