-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use fuzzy matching for timeline comparisons when there are a differin…
…g number of segments (#633) * Add fuzzy matching to segment names to align on first before falling back to segment number * Line up timelines based on segment number only if the number of segments are the same, otherwise use fuzzy-matching * Cleaned up some artifacts from before matchingSplitForTimeline was extracted. * Don't store all the segment names and segment counts on DOM elements * Escape HTML entities in the display names so as not to break the fuzzy matching JS * Handle multiple segments with the same name when using fuzzy matching. * Default to the first fuzzy-matched segment if some impossible thing happens. Solar flares and the like.
- Loading branch information
Showing
4 changed files
with
56 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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