Commit Graph

176 Commits

Author SHA1 Message Date
Klaas van Schelven
91b99af08d project-alert edits: fix misalignments (by asking ChatGPT) 2025-07-28 22:18:02 +02:00
Klaas van Schelven
cdca0a054e Whitespace/flake8 2025-07-28 22:14:05 +02:00
Klaas van Schelven
ceca12940b Breadcrumb timestamps: display harmonized w/ rest of application
in the correct timezone, with smaller milis

According to the spec, this should work because:

> The timestamp of the breadcrumb. Recommended. A timestamp representing when
> the breadcrumb occurred. The format is either a string as defined in [RFC
> 3339](https://tools.ietf.org/html/rfc3339) or a numeric (integer or float)
> value representing the number of seconds that have elapsed since the [Unix
> epoch](https://en.wikipedia.org/wiki/Unix_time). Breadcrumbs are most useful
> when they include a timestamp, as it creates a timeline leading up to an
> event.
2025-07-28 10:24:48 +02:00
Klaas van Schelven
45ad2aceec Dark mode: use monokai style from pygments
Fix #152
2025-07-17 09:45:22 +02:00
Klaas van Schelven
89accddc2f Fix wasted space at certain width in stacktrace UI
* The "collapse" etc. buttons get shown below the search box and < << >> > from
  a certain width downwards.

* similar stacking for the date/type/value and the buttons at an even smaller width.

See #120
2025-07-15 09:41:35 +02:00
Klaas van Schelven
9a6d453443 Fix 2 bare_base/barest_base mistakes re dark mode
* in 1abc30a760 the hardcoding of ="dark" (during development)
  was accidentally checked in; it never should have been.

* in e14b3eaaa6 I mixed up the bare*base templates. It's actually
  bare_base.html that's for 404/500 etc; barest_base is more bare
  visually (it's the box-based layout for login etc), but it doesn't
  need to be so careful not to use variables.

See #40
2025-07-08 17:04:38 +02:00
Klaas van Schelven
4e83a42f39 Dark mode: 'yellow' bar less ugly
my chatbot tells me it felt ugly because

>  bg-yellow-900 [..] is a very saturated, reddish mustard — almost
>  brown-orange. That’s why it feels so jarring in dark mode: it's too warm,
>  too saturated, and clashes with a cool-dark UI. [..] Try bg-amber-800
>  instead. Tailwind's amber palette is warmer and more muted than yellow,
>  designed to fit better in dark UIs.

No idea if the reasoning is sound, but it "looks good" so I'm pushing ahead.
2025-07-07 16:41:07 +02:00
Klaas van Schelven
182866f19a Dark theme: little triangles in history-view fixed
Fix #40
2025-07-07 12:23:04 +02:00
Klaas van Schelven
1abc30a760 Dark mode: faucet visible in logo
not my best work ever, but at least a visible faucet this way...
2025-07-07 12:09:21 +02:00
Klaas van Schelven
e14b3eaaa6 barest_base: don't assume user is set.
its purpose is to "not break" for e.g. 404/500, so I want as little logic in
there as possible.
2025-07-07 11:36:36 +02:00
Fabien LEFEBVRE (d1ceward)
9cec248ad8 Add dark theme 2025-06-16 15:37:37 +02:00
Klaas van Schelven
8ad9fe33ca Too many quotes in local-vars display
Fix #119
2025-06-11 16:57:43 +02:00
Animesh Agrawal
febcabc9f3 feat: add delete functionality for users
Implement delete functionality with confirmation modals for users. Ensure
proper authorization checks are in place before deletion. Add corresponding
JavaScript files to handle modal interactions and form submissions.

Based on #84

Signed-off-by: Animesh Agrawal <animesh@flick2know.com>
2025-05-29 17:14:54 +02:00
Klaas van Schelven
6b4fac0f86 Show _all_ Request Headers in CSRF_DEBUG view
the less relevant ones grayed out

This may help in debugging #100
2025-05-12 10:31:12 +02:00
Klaas van Schelven
5895253803 Count view: async slow counts
when you count, it's usually because there are many, so this
extra complication is probaly going to be required
2025-04-17 22:03:23 +02:00
Klaas van Schelven
f56e3c647a Auth Tokens: a UI 2025-04-14 10:35:37 +02:00
Klaas van Schelven
524f5ea45e Issue Tag display: for low event-counts, show more tags
and for high event-counts, display a warning about what is hidden
2025-03-31 09:56:31 +02:00
Klaas van Schelven
20a54381dc Refactor: move tags/search stuff to its own module 2025-03-06 09:26:35 +01:00
Klaas van Schelven
37fcc348c3 Preserve query when navigating from issues to events
and vice versa
2025-03-05 16:53:18 +01:00
Klaas van Schelven
4cde74d7cb Event search: first version 2025-03-04 13:51:56 +01:00
Klaas van Schelven
5930740e0b Tags: as a separate tab 2025-03-03 12:56:20 +01:00
Klaas van Schelven
348c2dc80f tox.ini rule, as per comment
the associated code got removed before checkin, but I still like to ignore this
rule in the future
2025-02-26 16:34:47 +01:00
Klaas van Schelven
2cb87f8334 Issues list pagination 2025-02-18 09:47:30 +01:00
Klaas van Schelven
a5bc27032a Visualize trimmed data ('x items trimmed')
Fix #18

Similar to [the request for the same feature in Sentry](https://github.com/getsentry/sentry/issues/68426)

SDK-side complaints:

* https://github.com/getsentry/sentry-python/issues/377
* https://github.com/getsentry/sentry-python/issues/805
* https://github.com/getsentry/sentry-python/issues/1041
* https://github.com/getsentry/sentry-python/issues/1105
* https://github.com/getsentry/sentry-python/issues/2121
* https://github.com/getsentry/sentry-python/issues/2682
* https://github.com/getsentry/sentry-python/issues/3209
* https://github.com/getsentry/sentry-python/issues/3634
* https://github.com/getsentry/sentry-python/issues/3740
2024-12-18 17:05:26 +01:00
Klaas van Schelven
5810c1c580 choose_lexer_for_pattern: choose DjangoLexer explicitly when platform is Python
Other than fixing syntax higlighting for my favorite language, this has
the advantage of actually being a _deterministic_ solution (the previous
solution would do first-match) which makes the extra complexity worth-while.
2024-12-16 21:32:21 +01:00
Klaas van Schelven
b961e6a943 Attempt at better guess_lexer_for_filename
the idea: guess on filename first, and on code second.
prompted by: getting a Django Template Parser to work.

however, this won't fly, because lexer.analyse_text is basically useless
(the parts that are implemented __at all__ are often based on some initial
bytes in the file, which is useless in our context of code snippets)
2024-12-16 13:26:44 +01:00
Klaas van Schelven
76bb6ace2b Typo in comment 2024-12-16 13:23:31 +01:00
Klaas van Schelven
2f62c02c92 Deal with nones-in-arrays in pre/post-context
Fix #15
2024-12-09 09:56:30 +01:00
Klaas van Schelven
28314a2683 Language icons: add to SDK page 2024-12-03 09:14:29 +01:00
Klaas van Schelven
3f432727d9 Warn about lack of EMAIL_BACKEND in the interface 2024-11-29 15:59:14 +01:00
Klaas van Schelven
944f9d9a84 Add title tags to (parent elements of) svg icons 2024-11-29 08:25:11 +01:00
Klaas van Schelven
bbd444dca1 SDK: platform-specific notes for PHP, JS 2024-11-20 12:09:45 +01:00
Klaas van Schelven
71d6e89c93 Show warning message when there are many/stale snappea tasks
As discussed in #11, there are scenarios (e.g. misconfiguration) where snappea
does not pick up the tasks. Events not showing up in Bugsink, w/o further
indication why that may be, leaves people confused. Better to warn explicitly
in that case.
2024-11-15 14:51:41 +01:00
Klaas van Schelven
47bf207db5 Nudge non-paying users to paid (yellow banner, site-title) 2024-11-11 14:05:02 +01:00
Klaas van Schelven
b94c9f2a27 Stacktrace var widths: better for small screens 2024-10-21 15:00:39 +02:00
Klaas van Schelven
1741c0a510 'Issue Key Info'; show on xl, not lg
prompted by the LHS going awry, esp. the part where the 'Show all' etc buttons
git commit -m "'Issue Key Info'; show on xl, not lg. (while recording a video
at 1080px width)
2024-10-21 14:58:07 +02:00
Klaas van Schelven
21b6ab2f48 Upgrade tailwind deps
As outlined in
https://github.com/timonweb/django-tailwind/issues/209
2024-10-09 08:53:05 +02:00
Klaas van Schelven
8c09c68ecd Users: some interface to edit/view them 2024-10-02 15:41:42 +02:00
Klaas van Schelven
6f0493f685 Resolved issues: italic & checkbox
in the lists; this is easier to read than a strikethrough.
I experimented with text-decoration-style and text-decoration-style but that
didn't make it better.
Our big brother doesn't bother to reveal the resolvedness of issues in lists
_at all_, btw. Surprising!
2024-09-27 12:16:25 +02:00
Klaas van Schelven
f450bf6c29 Add 'alt' to img 2024-09-26 15:25:18 +02:00
Klaas van Schelven
f90ce561a1 pygmentize: deal with None as a value for pre_context/post_context
according to spec, this is possible (though I did not yet observe it in the data).
the need for this was exposed when introducing fastjsonschema, which (by default)
fills in all keys with their default values (None for pre_context/post_context)
2024-09-19 13:44:36 +02:00
Klaas van Schelven
18427bb47f Fix 'pygmentize' tests for recent platform-addition 2024-09-17 23:08:55 +02:00
Klaas van Schelven
890b627553 Use 'platform' as a guessing fallback when filename fails 2024-09-17 21:23:27 +02:00
Klaas van Schelven
fd278a8a34 filename-guessing: implement (in an efficient manner)
also deals with the case of not being able to find a good matcher (i.e result is None)
2024-09-17 13:04:00 +02:00
Klaas van Schelven
3d66a60b41 Hide away links to admin interface 2024-09-13 09:12:28 +02:00
Klaas van Schelven
e340fab784 SVG dropdown icons: properly grey-out when disabled
this went wrong in 0df5f891c4, when we turned these into SVGs
2024-09-12 13:34:56 +02:00
Klaas van Schelven
7b5aaca3ac Preferences form 2024-09-12 12:41:40 +02:00
Klaas van Schelven
129a8db421 Fix various flake8 errors 2024-08-21 09:31:05 +02:00
Klaas van Schelven
6560767764 Tailwind: Explicitly point to python file containing class 2024-08-19 22:12:20 +02:00
Klaas van Schelven
63cfbb2acd Hide version info in the HTML source
so that we at least can quickly inspect it
2024-07-18 14:59:01 +02:00