Skip to content

Conversation

@LSchaffner
Copy link

Introduces fuzzy-search-based variable highlighting with click-to-clipboard, multi-variable highlights on the same text position, and Markdown rendering in requirement descriptions.

LSchaffner and others added 30 commits May 21, 2025 17:24
- Highlights variables and contexts with colors and clickable copy
- Merges overlapping contexts with consistent backgrounds
- Includes CSV and JSON for testing; JSON is a prototype, may move to DB later
…ous functions moved server-side, frontend handles only necessary display logic.
# Conflicts:
#	hanfor/static/dist/commons-bundle.js
#	hanfor/static/dist/commons-bundle.js.LICENSE.txt
#	hanfor/static/dist/layout_globals-bundle.js
#	hanfor/static/dist/requirements-bundle.js
#	hanfor/static/dist/statistics-bundle.js
#	hanfor/static/js/requirements.js
- Fuzzy search for known variables in description text
- Highlights matches with click-to-copy functionality
# Conflicts:
#	hanfor/requirements/requirements.py
#	hanfor/templates/requirement-modal.html
- Added fuzzy matching for variable sub-words
- Handles camelCase, underscores, and hyphens in variable names
- Applies maximum word-gap and overlap filtering
- Generates all ascending position combinations with scoring
- Supports missing-word penalty and minimum coverage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants