summaryrefslogtreecommitdiff
path: root/coverage/htmlfiles
Commit message (Collapse)AuthorAgeFilesLines
* perf: make the context shortcodes even shorterNed Batchelder2023-04-011-17/+17
| | | | On the coverage.py metacov, this makes the HTML 5% smaller.
* style: use double-quotes in JavaScriptNed Batchelder2023-04-011-10/+10
|
* style: clean up #1587Ned Batchelder2023-03-224-12/+3
|
* fix: put contexts dict in <script> and reveal them using JavaScript (#1587)Oleh Krehel2023-03-224-5/+32
| | | | | | | | | | | | | | | * Put contexts dict in <script> and reveal them using JavaScript Fixes #1584 * Address review comments * coverage/htmlfiles/style.css: Align the contexts to the right * coverage/htmlfiles/style.scss: Match style.css * coverage/html.py: Fix linting and mypy errors * two_tests_py.html: make update-gold
* fix(html): trigger filter on page load (#1413)Marc Legendre2022-08-061-1/+1
| | | | | | | | | In the HTML report, if the "filter" input contains a value when the page loads, it is ignored. This happens even though an event is actually created on start-up to trigger the refresh. I believe this is a regression introduced in 9a1954a224c7c0f578513d8f4ca5f821fcf2cf5a, when the observed events changed from "keyup change" to "input".
* fixed "mNan" id in scroll markers (#1414)LordBaryhobal2022-08-061-1/+1
|
* style(html): clean up the html tags and stylesNed Batchelder2022-05-204-57/+60
|
* feat: also include the version and timestamp at the top of the index page: #1354Ned Batchelder2022-05-201-0/+5
|
* feat(html): version and timestamp at the top of report files.Ned Batchelder2022-05-203-20/+33
| | | | This is a re-implementation of pull #1354.
* feat: more html keyboard shortcutsJ. M. F. Tsang2022-05-193-7/+73
| | | | | | | | | | | | | | | | | | | | On each page the shortcuts '[' and ']' will take you to the previous and next files respectively. On the index page they take you to the final and first files respectively. Pressing 'u' while on a file will now take you back to index.html, like on Gerrit. '?' opens and closes the help panel. Test cases: $ pytest --cov-report html --cov=. tests.py in a directory with just tests.py, then with one, two or three .py files. Tested on Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:99.0) Gecko/20100101 Firefox/99.0
* fix: don't mention the p shortcut if not doing branchesNed Batchelder2021-10-301-1/+4
|
* fix: sticky HTML header only worked with branch coverageNed Batchelder2021-10-301-15/+23
|
* fix(html): ariaSort isn't supported in Firefox yetNed Batchelder2021-10-233-14/+14
| | | | The HTML report index page wasn't indicating the sort order properly
* fix(html): fix a few problems with the html reportNed Batchelder2021-10-234-28/+32
| | | | | | | | | | - highlights weren't showing - anchored lines were not visible - some j/k motions were broken - clicking the big buttons at the top didn't work
* refactor(html): remove all uses of jQuery, only vanilla JS nowSeptatrix2021-10-2310-611/+394
| | | | This is squashed from pull request #1248
* refactor(html): a one-header sticky headerNed Batchelder2021-10-234-90/+80
|
* fix(html): scrolling to an anchor ensures the line is visibleNed Batchelder2021-10-203-24/+34
| | | | | | | The sticky header was hiding the line scrolled to the top of the window. Along the way, also changed to use classes on <body> to control the sticky header, and moved the header code into a function.
* fix(html): adjust some colorsNed Batchelder2021-10-172-14/+13
| | | | | | | | - make the yellow border more visible - make the context-blue less vibrant - all colors are lower-case
* feat(html): sticky header on pyfileNed Batchelder2021-10-174-13/+85
|
* refactor(html): use header/main/footer html5 elementsNed Batchelder2021-10-174-29/+29
|
* build: jQuery 3.6.0Ned Batchelder2021-10-161-4/+2
|
* feat: mention skipped file counts in the HTML report. #1163Ned Batchelder2021-08-061-0/+7
|
* style: fix typos discovered by codespell (#1197)Christian Clauss2021-08-011-1/+1
| | | | | | | | | | | python3 -m pip install codespell codespell --ignore-words-list="ba,cant,datas,hart,linke,ned,nin,overthere,upto" --skip="*.js" * Fix typos discovered by codespell * datas * intgers ==> integers
* fix: correct slight mis-layout of the hotkey panelsNed Batchelder2021-04-135-12/+12
|
* fix: restore html report selection highlightingNed Batchelder2021-04-111-7/+2
|
* fix: HTML line visibility is saved in local storage #1123Ned Batchelder2021-02-271-8/+35
| | | | | | | Seems like we could unify the two different uses of localStorage, but that's for another time. Fixes: #1123
* fix: HTML report makes room for 4-digit line numbers #1124Ned Batchelder2021-02-272-8/+8
| | | | Fixes: #1124
* 🐛 Fix sorting order storage in JQuery unload eventSebastián Ramírez2020-12-061-1/+1
|
* A favicon for the HTML reportNed Batchelder2020-12-053-0/+2
|
* Fix dark mode for context listing. #1009Ned Batchelder2020-07-092-9/+24
|
* Back to monospaced for the index pageNed Batchelder2020-07-052-2/+2
|
* Switch to python-based sass compilerNed Batchelder2020-07-051-1/+111
|
* More HTML tweaksNed Batchelder2020-06-292-12/+8
| | | | | | | | - Let the left and right cells have padding so the hover bar looks good. - Adjust the table left margin so the contents still line up with the header. - Fix the up/down arrows to be correct for the sorting order they indicate.
* A few further style tweaks to the HTML reportNed Batchelder2020-06-282-134/+27
| | | | | | - File names are not monospaced - Button styling make on/off a little more pronounced - Fix the alignment of the header on the index page
* Merge pull request #931 from vsalvino/darkmodeNed Batchelder2020-06-283-131/+407
|\ | | | | Add dark mode, and other design changes for the HTML report.
| * Fix testsVince Salvino2020-06-241-1/+1
| |
| * Add dark mode to HTML output; improve accessibilityVince Salvino2020-02-113-131/+407
| |
* | htmlfiles: Handle localStorage not accessibleAbdealiJK2020-02-291-2/+7
|/ | | | | | | | | In some cases, if based on the browser's settings - localStorage is not accessible, fallback and don't save the sort-columns into localStorage. While the UX is a little inconvenient, at least the page doesn't break - sorting on columns is still possible, but not retained between pages.
* Templite {% joined %} is more convenient than trailing hyphensNed Batchelder2019-11-111-26/+26
|
* More polish on the expandable contextsNed Batchelder2019-10-172-7/+12
|
* Annotations should appear when hovering the text line, but not other parts ↵Ned Batchelder2019-10-162-13/+20
| | | | of #source.p
* Only the active context labels should have colorNed Batchelder2019-10-152-5/+5
|
* make cssNed Batchelder2019-10-141-18/+16
|
* Annotations and context labels have to co-existNed Batchelder2019-10-142-79/+70
|
* make cssNed Batchelder2019-10-131-43/+44
|
* Better presentation of contexts. #855Ned Batchelder2019-10-132-35/+77
|
* Source code without tablesNed Batchelder2019-10-133-142/+154
|
* HTML: Mark things to show instead of to hide.Ned Batchelder2019-07-063-261/+250
| | | | | | | | | | Also made some other changes along the way: * Scroll bar markers change as the selected categories change. * We don't use css class 'stm' for anything, get rid of it. * Better sass use all around.
* Split HtmlReporter to get at dataNed Batchelder2019-06-191-4/+4
|
* Use an object instead of a dict for the report dataNed Batchelder2019-06-171-2/+2
|