Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | perf: make the context shortcodes even shorter | Ned Batchelder | 2023-04-01 | 1 | -17/+17 |
| | | | | On the coverage.py metacov, this makes the HTML 5% smaller. | ||||
* | style: use double-quotes in JavaScript | Ned Batchelder | 2023-04-01 | 1 | -10/+10 |
| | |||||
* | style: clean up #1587 | Ned Batchelder | 2023-03-22 | 4 | -12/+3 |
| | |||||
* | fix: put contexts dict in <script> and reveal them using JavaScript (#1587) | Oleh Krehel | 2023-03-22 | 4 | -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 Legendre | 2022-08-06 | 1 | -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) | LordBaryhobal | 2022-08-06 | 1 | -1/+1 |
| | |||||
* | style(html): clean up the html tags and styles | Ned Batchelder | 2022-05-20 | 4 | -57/+60 |
| | |||||
* | feat: also include the version and timestamp at the top of the index page: #1354 | Ned Batchelder | 2022-05-20 | 1 | -0/+5 |
| | |||||
* | feat(html): version and timestamp at the top of report files. | Ned Batchelder | 2022-05-20 | 3 | -20/+33 |
| | | | | This is a re-implementation of pull #1354. | ||||
* | feat: more html keyboard shortcuts | J. M. F. Tsang | 2022-05-19 | 3 | -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 branches | Ned Batchelder | 2021-10-30 | 1 | -1/+4 |
| | |||||
* | fix: sticky HTML header only worked with branch coverage | Ned Batchelder | 2021-10-30 | 1 | -15/+23 |
| | |||||
* | fix(html): ariaSort isn't supported in Firefox yet | Ned Batchelder | 2021-10-23 | 3 | -14/+14 |
| | | | | The HTML report index page wasn't indicating the sort order properly | ||||
* | fix(html): fix a few problems with the html report | Ned Batchelder | 2021-10-23 | 4 | -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 now | Septatrix | 2021-10-23 | 10 | -611/+394 |
| | | | | This is squashed from pull request #1248 | ||||
* | refactor(html): a one-header sticky header | Ned Batchelder | 2021-10-23 | 4 | -90/+80 |
| | |||||
* | fix(html): scrolling to an anchor ensures the line is visible | Ned Batchelder | 2021-10-20 | 3 | -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 colors | Ned Batchelder | 2021-10-17 | 2 | -14/+13 |
| | | | | | | | | - make the yellow border more visible - make the context-blue less vibrant - all colors are lower-case | ||||
* | feat(html): sticky header on pyfile | Ned Batchelder | 2021-10-17 | 4 | -13/+85 |
| | |||||
* | refactor(html): use header/main/footer html5 elements | Ned Batchelder | 2021-10-17 | 4 | -29/+29 |
| | |||||
* | build: jQuery 3.6.0 | Ned Batchelder | 2021-10-16 | 1 | -4/+2 |
| | |||||
* | feat: mention skipped file counts in the HTML report. #1163 | Ned Batchelder | 2021-08-06 | 1 | -0/+7 |
| | |||||
* | style: fix typos discovered by codespell (#1197) | Christian Clauss | 2021-08-01 | 1 | -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 panels | Ned Batchelder | 2021-04-13 | 5 | -12/+12 |
| | |||||
* | fix: restore html report selection highlighting | Ned Batchelder | 2021-04-11 | 1 | -7/+2 |
| | |||||
* | fix: HTML line visibility is saved in local storage #1123 | Ned Batchelder | 2021-02-27 | 1 | -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 #1124 | Ned Batchelder | 2021-02-27 | 2 | -8/+8 |
| | | | | Fixes: #1124 | ||||
* | 🐛 Fix sorting order storage in JQuery unload event | Sebastián Ramírez | 2020-12-06 | 1 | -1/+1 |
| | |||||
* | A favicon for the HTML report | Ned Batchelder | 2020-12-05 | 3 | -0/+2 |
| | |||||
* | Fix dark mode for context listing. #1009 | Ned Batchelder | 2020-07-09 | 2 | -9/+24 |
| | |||||
* | Back to monospaced for the index page | Ned Batchelder | 2020-07-05 | 2 | -2/+2 |
| | |||||
* | Switch to python-based sass compiler | Ned Batchelder | 2020-07-05 | 1 | -1/+111 |
| | |||||
* | More HTML tweaks | Ned Batchelder | 2020-06-29 | 2 | -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 report | Ned Batchelder | 2020-06-28 | 2 | -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/darkmode | Ned Batchelder | 2020-06-28 | 3 | -131/+407 |
|\ | | | | | Add dark mode, and other design changes for the HTML report. | ||||
| * | Fix tests | Vince Salvino | 2020-06-24 | 1 | -1/+1 |
| | | |||||
| * | Add dark mode to HTML output; improve accessibility | Vince Salvino | 2020-02-11 | 3 | -131/+407 |
| | | |||||
* | | htmlfiles: Handle localStorage not accessible | AbdealiJK | 2020-02-29 | 1 | -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 hyphens | Ned Batchelder | 2019-11-11 | 1 | -26/+26 |
| | |||||
* | More polish on the expandable contexts | Ned Batchelder | 2019-10-17 | 2 | -7/+12 |
| | |||||
* | Annotations should appear when hovering the text line, but not other parts ↵ | Ned Batchelder | 2019-10-16 | 2 | -13/+20 |
| | | | | of #source.p | ||||
* | Only the active context labels should have color | Ned Batchelder | 2019-10-15 | 2 | -5/+5 |
| | |||||
* | make css | Ned Batchelder | 2019-10-14 | 1 | -18/+16 |
| | |||||
* | Annotations and context labels have to co-exist | Ned Batchelder | 2019-10-14 | 2 | -79/+70 |
| | |||||
* | make css | Ned Batchelder | 2019-10-13 | 1 | -43/+44 |
| | |||||
* | Better presentation of contexts. #855 | Ned Batchelder | 2019-10-13 | 2 | -35/+77 |
| | |||||
* | Source code without tables | Ned Batchelder | 2019-10-13 | 3 | -142/+154 |
| | |||||
* | HTML: Mark things to show instead of to hide. | Ned Batchelder | 2019-07-06 | 3 | -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 data | Ned Batchelder | 2019-06-19 | 1 | -4/+4 |
| | |||||
* | Use an object instead of a dict for the report data | Ned Batchelder | 2019-06-17 | 1 | -2/+2 |
| |