Skip to content

Conversation

@evyncke
Copy link
Collaborator

@evyncke evyncke commented Jul 22, 2025

Address #8783

Added a new search_heading with "Outside of the WG Internet-Draft" when IESG-state != idexists

Using "outside" will make the I-Ds outside of the WG plate be listed after "Active" and "Expired" but before "RFC"

@rjsparks
Copy link
Member

We can define a sort that is not alphabetical with very little work.

I think something like "Drafts with the IESG" would be a better heading.

I don't think we currently can get into a position where we have a non-idexists iesg state for drafts in other streams, but we would have a problem with search results for individual submissions with the IESG that would today appear in related documents.

This will have enough impact that the PR should come with tests.

@codecov
Copy link

codecov bot commented Jul 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.87%. Comparing base (ea50ebc) to head (79a3a8e).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9214   +/-   ##
=======================================
  Coverage   88.86%   88.87%           
=======================================
  Files         319      319           
  Lines       41911    41917    +6     
=======================================
+ Hits        37245    37252    +7     
+ Misses       4666     4665    -1     

☔ 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.

@evyncke
Copy link
Collaborator Author

evyncke commented Jul 22, 2025

This will have enough impact that the PR should come with tests.

I will finally have to dig in this part of the code ;-)

@evyncke
Copy link
Collaborator Author

evyncke commented Jul 22, 2025

I think something like "Drafts with the IESG" would be a better heading.

Humm the plural filter won't work then :-( moreover there should then be a RFC Editor search_heading

@rjsparks
Copy link
Member

The plural decoration is really overkill for section headers like this - a section that has only one draft but with "drafts" in the section header isn't going damage the reader's comprehension.

"With the RFC Editor" seems good too, but this looks like something that needs some design and definitely some tests to make sure we're doing the right thing with drafts of all provenance.

@rjsparks rjsparks marked this pull request as draft July 23, 2025 14:03
@rjsparks
Copy link
Member

shifting to draft while aspects discussed in-person are addressed.

@evyncke evyncke marked this pull request as ready for review July 31, 2025 05:16
@evyncke
Copy link
Collaborator Author

evyncke commented Jul 31, 2025

@rjsparks when you have time, you may want to review the extended test coverage.

Copy link
Member

@jennifer-richards jennifer-richards left a comment

Choose a reason for hiding this comment

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

Sorry to poke at the plural discussion again, but I think the heading needs to be plural to match the other headings. I pointed at one spot and the test will need a tweak to match

Otherwise lgtm

docs_related.append(d)
else:
if d.type_id == "draft" and d.stream_id == 'ietf' and d.get_state_slug('draft-iesg') != 'idexists': # values can be: ad-eval idexists approved rfcqueue dead iesg-eva
d.search_heading = "Internet-Draft at the IESG"
Copy link
Member

Choose a reason for hiding this comment

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

This should be "Internet-Drafts at the IESG" to parallel the other search headings

Copy link
Member

Choose a reason for hiding this comment

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

I don't think it's quite that simple - the PR currently makes all the headings singular, but looking at the result, I agree we should move back towards being able to use the pluralizer. I'll see if I can propose a different approach.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Indeed, @rjsparks and I had a discussion in Madrid about this topic. I do not mind either way though

Copy link
Member

Choose a reason for hiding this comment

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

I pushed a fairly large change in, but it should be easy to follow: 385325a

@rjsparks rjsparks merged commit 5e1f46d into ietf-tools:main Sep 29, 2025
10 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 3, 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.

3 participants