Commit Graph

346 Commits

Author SHA1 Message Date
Klaas van Schelven
d4d0601bbe margins/padding of code/variables
designed given 4 kinds of frame: with/without both code & vars
2024-04-03 11:48:15 +02:00
Klaas van Schelven
f37d7b7c0e guard against issue-without-event-creation 2024-04-03 11:29:16 +02:00
Klaas van Schelven
9acff514ea Fix --fresh-id param on send_json command
probably never worked, the right attr is simply 'event_id'
2024-04-03 11:21:37 +02:00
Klaas van Schelven
10785c1838 When no context_line is available, don't display code sample (again, fixed) 2024-04-03 10:54:33 +02:00
Klaas van Schelven
d3afb83dec pygments css: remove stuff related to background colors
pygments can do the foreground, bu let me (tailwind) take care of the backgrounds please
2024-04-03 10:53:18 +02:00
Klaas van Schelven
90197fccc1 When no context_line is available, don't display code sample 2024-04-03 10:31:11 +02:00
Klaas van Schelven
eba7f1c628 When no line numbers are available, don't display them
(Whether this is needed in practice is unsure; I implemented this
before I noticed that in such cases frame.context_line is also
always missing in my data-set; but I havent' checked the spec and
leaving it in defensively really won't hurt)
2024-04-03 10:29:40 +02:00
Klaas van Schelven
f40ee395ee Make issues/templatetags more robust
(the need for which was exposed by the recently added tests)
2024-04-03 10:15:13 +02:00
Klaas van Schelven
17b5c0d089 Add integration test for issue-ingestion & rendering 2024-04-03 09:52:50 +02:00
Klaas van Schelven
cc9ece8960 Date-filter correction
The worst April 1st joke is an April 01st joke
2024-04-01 23:23:41 +02:00
Klaas van Schelven
cfdfa67982 Use an (already available) denormalized value 2024-04-01 23:06:34 +02:00
Klaas van Schelven
f69befd20a Harmonize displayed timestamps
I picked server-time as the thing which has the most likeliness of being correct
2024-04-01 23:00:19 +02:00
Klaas van Schelven
02a29a9029 More pieces of info for the details page 2024-04-01 22:39:03 +02:00
Klaas van Schelven
179056192d push request and log-entry handling into 'details' tab 2024-04-01 22:23:34 +02:00
Klaas van Schelven
477ec43487 Fix bug with pygmentize and just-newline lines 2024-04-01 22:22:12 +02:00
Klaas van Schelven
85b160d7f8 All issue-views need the mute_options in their context
'I see a pattern here'
2024-04-01 22:09:59 +02:00
Klaas van Schelven
03225c85e1 issue seen at in the RHS box: use real values
the fake nonsense was already confusing me
2024-04-01 22:06:34 +02:00
Klaas van Schelven
999f91dfac non-event-specific issue detail pages: show _some_ event-related stuff at the top
(before this commit, switching between the event-related and non-event-related views would show
the size of the box at the top change
2024-04-01 21:59:03 +02:00
Klaas van Schelven
192ab2d5dc Added (dumped) the user info on the details page 2024-03-31 23:35:55 +02:00
Klaas van Schelven
212baabe73 Fix on previous commit 2024-03-31 23:26:10 +02:00
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