Skip to content

feat: highlight unexpected state in AD dashboard#8738

Merged
rjsparks merged 3 commits into
ietf-tools:mainfrom
rudimatz:feat/highlight-unexpected-wg-state
Mar 27, 2025
Merged

feat: highlight unexpected state in AD dashboard#8738
rjsparks merged 3 commits into
ietf-tools:mainfrom
rudimatz:feat/highlight-unexpected-wg-state

Conversation

@rudimatz

@rudimatz rudimatz commented Mar 26, 2025

Copy link
Copy Markdown
Contributor

Fixes #8550

@codecov

codecov Bot commented Mar 26, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.81%. Comparing base (70bf2ae) to head (21c7e8b).
Report is 52 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8738      +/-   ##
==========================================
- Coverage   88.88%   88.81%   -0.07%     
==========================================
  Files         312      314       +2     
  Lines       40891    41252     +361     
==========================================
+ Hits        36345    36637     +292     
- Misses       4546     4615      +69     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rjsparks rjsparks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good - a couple of minor changes suggested

Comment thread ietf/doc/templatetags/ietf_filters.py Outdated
Comment on lines +493 to +495
return not (
(draft_iesg_state and draft_iesg_state.slug == "idexists")
or (draft_stream_state and draft_stream_state.slug == "sub-pub")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is still a bit of a logic puzzle for future readers. I suggest this as a clearer way to state it:

    return draft_iesg_state.slug != "idexists" and draft_stream_state is not None and draft_stream_state.slug != "sub-pub"

+/- black formatting

ConflictReviewFactory,
BofreqFactory,
StatementFactory,
DocumentFactory,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should use WgDraftFactory rather than the bare DocumentFactory - it doesn't make sense to test this against non-ietf-stream documents.

@rjsparks
rjsparks merged commit 752bc21 into ietf-tools:main Mar 27, 2025
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Highlight unexpected WG state for documents in Publication Requested

2 participants