summaryrefslogtreecommitdiff
path: root/coverage/htmlfiles/coverage_html.js
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-221-2/+1
|
* fix: put contexts dict in <script> and reveal them using JavaScript (#1587)Oleh Krehel2023-03-221-0/+21
| | | | | | | | | | | | | | | * 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
|
* feat: more html keyboard shortcutsJ. M. F. Tsang2022-05-191-6/+35
| | | | | | | | | | | | | | | | | | | | 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: sticky HTML header only worked with branch coverageNed Batchelder2021-10-301-15/+23
|
* fix(html): ariaSort isn't supported in Firefox yetNed Batchelder2021-10-231-10/+8
| | | | The HTML report index page wasn't indicating the sort order properly
* fix(html): fix a few problems with the html reportNed Batchelder2021-10-231-13/+17
| | | | | | | | | | - 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-231-329/+264
| | | | This is squashed from pull request #1248
* refactor(html): a one-header sticky headerNed Batchelder2021-10-231-10/+6
|
* fix(html): scrolling to an anchor ensures the line is visibleNed Batchelder2021-10-201-19/+24
| | | | | | | 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.
* feat(html): sticky header on pyfileNed Batchelder2021-10-171-1/+19
|
* fix: correct slight mis-layout of the hotkey panelsNed Batchelder2021-04-131-2/+2
|
* 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 sorting order storage in JQuery unload eventSebastián Ramírez2020-12-061-1/+1
|
* 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.
* Source code without tablesNed Batchelder2019-10-131-3/+3
|
* HTML: Mark things to show instead of to hide.Ned Batchelder2019-07-061-42/+46
| | | | | | | | | | 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.
* Persist html sort order in localStorage instead of cookieFederico Bond2018-08-301-15/+6
|
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* Clean upNed Batchelder2018-05-281-1/+3
|
* Prevent expensive relayout in loop in html report jspankajp2018-05-241-3/+6
| | | | | | | | Faster html report loading in browser by avoiding unneeded expensive layouts in the loop to generate markers. --HG-- branch : pankajp/faster-html-report-ui
* Speed up HTML filteringVille Skyttä2016-07-201-11/+9
| | | | | --HG-- branch : html-filter
* Also display partial branch lines in the scrollbar markersNed Batchelder2016-02-061-1/+1
|
* Simplify and improve the accuracy of the scroll markersNed Batchelder2016-01-311-14/+18
|
* Clean up more of the scroll marker codeNed Batchelder2016-01-311-28/+24
|
* Formatting fixesNed Batchelder2016-01-311-21/+22
|
* marks near the scrollshishov2016-01-311-0/+73
|
* Add license mention to the top of all files. #313.Ned Batchelder2015-07-241-0/+3
|
* Fix some jshint warningsNed Batchelder2014-10-241-2/+3
|
* Filtering now computes coverage percentages properly.Ned Batchelder2014-10-221-4/+19
|
* Be more flexible about the number of columns to re-add during filtering.Ned Batchelder2014-10-201-20/+16
|
* Address comments from pull request 34 ↵Danny Allen2014-09-221-100/+73
| | | | | | | (https://bitbucket.org/ned/coveragepy/pull-request/34/rework-of-my-pull-request-18/diff): * Remove fixed header and header buttons in file details page. * Add dynamically summing footer values.
* * Do not try to jump to line if we can't find a matching target.Danny Allen2014-05-151-12/+14
|
* * Respond to pull request #18 commentsDanny Allen2014-05-151-15/+19
|
* Rework of my pull request #18:Danny Allen2014-05-151-0/+142
| | | | | | | | * Implement "go to next" buttons in pyfile UI * Improve filter on main UI to persist over page reloads * Hide totals table footer if hiding any rows, as values will be inaccurate * Implement live filtering of index table rows * Upgrade to jQuery 1.11.1
* One more way to be picky: no final blank lines.Ned Batchelder2012-10-301-1/+0
|
* Keep all the Javascript in the .js files.Ned Batchelder2012-04-281-0/+5
|
* cleanerNed Batchelder2011-06-261-1/+1
|
* HTML report hotkeys work differently if the current chunk is off-screen. A ↵Ned Batchelder2011-06-261-10/+116
| | | | chunk on-screen will be selected next.
* Scroll-to-top needs the Chrome fix also.Ned Batchelder2011-06-231-1/+1
|
* Some jslint cleanupsNed Batchelder2011-06-231-5/+4
|
* Chrome fixes: transparent colors are not 'transparent', and scrolling html ↵Ned Batchelder2011-06-231-4/+10
| | | | doesn't work, but scrolling body does.
* Add a keyboard help panel to the index page.Ned Batchelder2011-06-051-0/+1
|
* Keyboard-shorcut help is now available on the file page of the HTML report.Ned Batchelder2011-04-201-0/+20
|
* StyleNed Batchelder2011-04-171-3/+3
|
* StyleNed Batchelder2011-04-171-19/+19
|