Klaas van Schelven
b3a86ef38b
pygmentize: deal with context_line=None
2024-03-31 23:24:36 +02:00
Klaas van Schelven
37575a7001
Breadcrumbs, at least implement _something_
2024-03-31 23:04:15 +02:00
Klaas van Schelven
602678b941
Add 'plain' view (Python-specific; only half-tested)
2024-03-30 23:10:18 +01:00
Klaas van Schelven
d411aff46f
Textual ('collapse')
2024-03-30 23:08:50 +01:00
Klaas van Schelven
2de91c998c
Show-raise; bigger show x buttons
2024-03-30 22:40:46 +01:00
Klaas van Schelven
c6ba49269e
rename issue_stacktrace.js (reflecting what it actually is)
...
which exposed a needed cleanup
2024-03-30 22:26:02 +01:00
Klaas van Schelven
d429ccfc56
Resolve/mute buttons: on their own line on small screens
2024-03-30 22:22:33 +01:00
Klaas van Schelven
9275657a54
Detail page: buttons will not be squeezed by exc_msg
...
button-containing-div will not shrink;
the texts have overflow-hidden and ellipsis
2024-03-30 22:16:19 +01:00
Klaas van Schelven
0f19fbd30c
stacktrace in-app vs non-in-app: distinguish using bold/italics rather than bg-color
2024-03-30 21:55:52 +01:00
Klaas van Schelven
09f7911da9
'key info' box: put in better placeholders than 'Lorem ipsum'
2024-03-30 21:38:34 +01:00
Klaas van Schelven
601b27b3da
Add command to store events
2024-03-30 21:15:39 +01:00
Klaas van Schelven
2966230238
Show 2 types of IDs at the top of the event-admin
2024-03-30 21:10:27 +01:00
Klaas van Schelven
fea9d5a90d
Push comments into help-text
2024-03-30 21:02:26 +01:00
Klaas van Schelven
61a422719b
send_default_pii for our own error-reporting
...
in a self-hosted environment, this is what makes sense
2024-03-30 20:56:27 +01:00
Klaas van Schelven
3aae32b54f
blank=True; as implied by the default=''
2024-03-30 20:50:02 +01:00
Klaas van Schelven
041ffd7ef7
Clobbered pdf restored
2024-03-30 11:56:29 +01:00
Klaas van Schelven
6745d0e112
Match pygments input-line-counts with output-line-counts and test that this works
2024-03-29 20:49:05 +01:00
Klaas van Schelven
aca96e7dc9
Remove workaround for pygments empty newlines; there's a real solution
2024-03-29 18:35:43 +01:00
Klaas van Schelven
475977529a
Parse pygment's result, and apply it in my own way (ol/li)
...
Why?
* it's something I had working, and I like the way it looked
* scrolling in the just-do-pygments setup is not as I want it
* even if I don't want an ol/li approach in the future, getting my hands dirty with this output is useful
2024-03-29 17:54:08 +01:00
Klaas van Schelven
12bbde947a
Use pygments, the simple way
...
as per their quickstart
2024-03-29 17:29:06 +01:00
Klaas van Schelven
b13795b59c
Correct line numbers in stacktrace
2024-03-28 23:28:56 +01:00
Klaas van Schelven
6f19528290
hide 'key info' only from lg down
2024-03-28 23:17:40 +01:00
Klaas van Schelven
d489b56645
Padding: slightly less squeeze-in of code/vars
2024-03-28 23:08:51 +01:00
Klaas van Schelven
49ddf409a6
Fix: one border too many
2024-03-28 23:04:26 +01:00
Klaas van Schelven
566a958d1b
Fix ugly cut-off on exception-raising line when another line overflows
2024-03-28 23:03:11 +01:00
Klaas van Schelven
6a402fca67
Some sharing of space between LHS/RHS;
...
and the LHS should fill a bunch of space, even if it contains very little
2024-03-28 22:56:40 +01:00
Klaas van Schelven
14860a8690
Various fine-tuning of margin & padding
2024-03-28 22:43:02 +01:00
Klaas van Schelven
688725fe63
Vars table: slight enhancements (bottom border; remove when no-vars)
2024-03-28 22:40:35 +01:00
Klaas van Schelven
ec60aafcf5
Restore border in collapsable frames; add comments for divs
2024-03-28 22:39:29 +01:00
Klaas van Schelven
98aee3d5b6
code listings and vars: distinguish visually more clearly by 'bringing them in'
...
i.e. left/right margins/padding
2024-03-28 20:36:45 +01:00
Klaas van Schelven
fd4bc3aefd
Implement horizontal scrollbar for code-listings
...
non-trivial (for me); challenges were:
1. the flex-item (much higher up in the dom tree) must have the overflow too
2. setting overflow hides line-numbers (which are list-stylings); use list-inside to bring them back in
3. setting list-inside creates an undesired line-break; make the div elem an inline elem to fix this
4. margin can be made much smaller (it was made big when the list-items weren't inside yet, and we needed space for them)
2024-03-28 20:23:47 +01:00
Klaas van Schelven
a6482f0f7f
Remove issue.js from issues/base.html
...
it's entirely specific to the stacktrace code
2024-03-28 20:14:58 +01:00
Klaas van Schelven
02f2ba2e8d
Don't stretch out the container (and border) of the LHS box when the RHS is bigger
2024-03-28 19:25:34 +01:00
Klaas van Schelven
ed6b1238af
2 boxes on the RHS; the main idea before refinements
2024-03-28 18:36:34 +01:00
Klaas van Schelven
aece9f2c4e
Issue stacktrace: Don't show variables on the RHS
...
in the end I find this harder to read. better to keep them in the same place always.
making this move prepares us for the 'key issue insights' box too, because it provides
insight in the 'amount of space used' by the main tab (for which the code lines in the
stacktrace will be the largest)
2024-03-28 17:59:52 +01:00
Klaas van Schelven
6059bea0ae
Inline _bottom_nav_bar and add some comments for containers
2024-03-28 17:53:47 +01:00
Klaas van Schelven
7551c7c01f
Refactor template structure for 'tab_content'
...
(looking ahead at adding more big divs to this page)
2024-03-28 17:49:29 +01:00
Klaas van Schelven
8e6a7ec6e4
Projects in menu: Just hide the already-selected item from the menu entirely
2024-03-28 17:19:22 +01:00
Klaas van Schelven
958b121004
Active project in menu: don't use italic, use bold and a small arrow
2024-03-28 17:18:18 +01:00
Klaas van Schelven
bb20c68459
Menu bar: orgs & projects pushed into dropdowns (rough sketch)
2024-03-28 17:14:48 +01:00
Klaas van Schelven
fe534a57b6
modules, functions are not always present (example: django template error)
2024-03-26 23:25:49 +01:00
Klaas van Schelven
a15efdc513
Fix module/function (in bold) at top of issue-detail pages
2024-03-26 23:23:08 +01:00
Klaas van Schelven
78fbc6481a
Remove 'debug view' as per comment in the view
2024-03-26 23:14:36 +01:00
Klaas van Schelven
f970c50aed
Auth checks: superuser has all rights
2024-03-26 23:14:13 +01:00
Klaas van Schelven
3bda3d25cc
project_id => project_pk, at least in urls and view signatures
...
some consistency
2024-03-26 23:13:49 +01:00
Klaas van Schelven
01ec631b82
decorators: be more explicit about your expectations
2024-03-26 23:11:32 +01:00
Klaas van Schelven
06f8fc0522
events authorization check
2024-03-26 23:08:50 +01:00
Klaas van Schelven
3ffa0f9671
issue-views: test for project membership
2024-03-25 23:38:17 +01:00
Klaas van Schelven
6100767548
Add view tests for issues
2024-03-25 23:06:41 +01:00
Klaas van Schelven
b2b7858bdf
|items() template-filter slightly less strict
...
i.e. don't crash on non-dicts
2024-03-24 22:31:20 +01:00