Commit Graph

102 Commits

Author SHA1 Message Date
Klaas van Schelven
c3f8996e6b History view: Make button stand out less 2024-04-15 19:33:08 +02:00
Klaas van Schelven
308a257d3f Implement comment-deleting 2024-04-15 16:02:03 +02:00
Klaas van Schelven
132d06bf49 Fix csrf_token (it was outside form) 2024-04-15 14:56:34 +02:00
Klaas van Schelven
c3b2fc76bc History-edit: smaller pencil icon, next to your name 2024-04-15 14:02:44 +02:00
Klaas van Schelven
17ace382dc History: anchors for comments 2024-04-15 13:53:34 +02:00
Klaas van Schelven
6b23b03a82 History: edit (and fixes) 2024-04-15 13:44:14 +02:00
Klaas van Schelven
26aac0ca2c Manual annotations: create 'm
and some non-completed code for editing
2024-04-15 12:58:50 +02:00
Klaas van Schelven
dcd154f74d History: link to triggering event when it is available 2024-04-15 10:46:23 +02:00
Klaas van Schelven
2c4e8b9f20 Regular v.s. Django Testcase: be explicit
I recently ran into a funny issue where the TestCases were influencing my
development DB's contents
2024-04-15 09:17:53 +02:00
Klaas van Schelven
d4b4e631fb Note a TODO 2024-04-15 09:14:26 +02:00
Klaas van Schelven
280bd2172b History page: 'mostly done' (a first setup) 2024-04-12 16:07:25 +02:00
Klaas van Schelven
e8032483db Turn off guess_lexer for now 2024-04-10 11:23:39 +02:00
Klaas van Schelven
e9d5913c17 Event details: IDs and timestamps 2024-04-09 09:28:23 +02:00
Klaas van Schelven
1b37298a95 ingest_order: first setup 2024-04-08 22:13:52 +02:00
Klaas van Schelven
0729523cde Guess the pygments Lexer (using the filename) 2024-04-05 09:59:11 +02:00
Klaas van Schelven
5510002a47 show text 'line' only when there is a lineno 2024-04-04 16:00:46 +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
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
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
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
477ec43487 Fix bug with pygmentize and just-newline lines 2024-04-01 22:22:12 +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
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
2de91c998c Show-raise; bigger show x buttons 2024-03-30 22:40:46 +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
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
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
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
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
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