Commit Graph

356 Commits

Author SHA1 Message Date
Klaas van Schelven
d94bfa8aa6 Log Messages: my first take
they should somehow show up in the title; in the interface it should be clear that we're
dealing with log messages (rather than exceptions)
2024-04-04 15:40:31 +02:00
Klaas van Schelven
7064287395 Details page: less harsh borders 2024-04-04 13:43:00 +02:00
Klaas van Schelven
b77f16e2db Margin fix (target: the details page) 2024-04-04 13:36:29 +02:00
Klaas van Schelven
b17cfd8c43 Anchor tags in the details page 2024-04-04 13:34:54 +02:00
Klaas van Schelven
b9e13ef52b details page: show relevant info, in a non-fugly way 2024-04-04 13:30:19 +02:00
Klaas van Schelven
5c2686a10e Event admin: search 2024-04-04 12:34:52 +02:00
Klaas van Schelven
fbd94976bd Add default ordering (-timestamp) on Events in admin 2024-04-04 12:33:34 +02:00
Klaas van Schelven
33f530c2ea Slightly more margin below vars 2024-04-04 12:31:12 +02:00
Klaas van Schelven
09a716a8d7 Stacktrace ordering: stack-of-plates as an option
implemented in-python; doing this using flex quickly became a mess
2024-04-04 10:40:32 +02:00
Klaas van Schelven
2854d6f3ee Labels for points-in-time in the stack 2024-04-04 09:26:38 +02:00
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