Repository navigation
Strip the part from a competition's combined title - #759
Merged
Merged
Conversation
A competition screened over several sittings is billed one part at a
time ("Short Film Competition Part 1 + Q&A"). Once its parts normalise
together, the combined listing took the shortest member's title, naming
one sitting while holding them all. Drop the part and what follows it;
each sitting keeps its own title on its showing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EpPrDgQSG76KvZVBzf3x88
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
stripSerialBlockSuffixnow drops a part number from a competition's title, along with anything after it. For example:Turn Up Film Festival - Short Film Competition Part 1 + Q&A→Turn Up Film Festival - Short Film CompetitionWhy
Some competitions are listed one part at a time. Once the parts normalise to the same title, combine groups them into one listing. That listing takes its name from the shortest title in the group, so it names a single part while holding every part's showings. Each part's full title stays on its own showing, so the performance cards still say which part has the Q&A.
Scope
Part Nor a Roman numeral, written asPart 1,- Part 2,(Part 3)or: Part IV. The rule is keyed on "Competition" because a competition never has a part in its own name.Dune: Part Two + Q&A(Part 1), as in KaamelottTesting
common/tests/strip-serial-block-suffix.test.js.jest scripts/combine common/testspasses: 41 suites, 26,749 tests.🤖 Generated with Claude Code
https://claude.ai/code/session_01EpPrDgQSG76KvZVBzf3x88
Generated by Claude Code