plain.observer 0.3.4__tar.gz → 0.3.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of plain.observer might be problematic. Click here for more details.
- {plain_observer-0.3.4 → plain_observer-0.3.5}/PKG-INFO +1 -1
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/CHANGELOG.md +11 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/templates/toolbar/observer_button.html +2 -2
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/views.py +10 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/pyproject.toml +1 -1
- {plain_observer-0.3.4 → plain_observer-0.3.5}/.gitignore +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/LICENSE +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/README.md +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/README.md +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/__init__.py +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/admin.py +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/cli.py +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/config.py +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/core.py +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/default_settings.py +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/migrations/0001_initial.py +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/migrations/0002_trace_share_created_at_trace_share_id_trace_summary_and_more.py +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/migrations/__init__.py +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/models.py +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/otel.py +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/templates/observer/trace.html +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/templates/observer/trace_detail.html +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/templates/observer/trace_share.html +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/templates/observer/traces.html +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/templates/toolbar/observer.html +0 -0
- {plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/urls.py +0 -0
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# plain-observer changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.5](https://github.com/dropseed/plain/releases/plain-observer@0.3.5) (2025-07-30)
|
|
4
|
+
|
|
5
|
+
### What's changed
|
|
6
|
+
|
|
7
|
+
- Improved observer toolbar button text clarity for empty states - "Recording" now shows as "Recording (no summary)" and "Summary" shows as "No summary" ([143c2a6](https://github.com/dropseed/plain/commit/143c2a61a7))
|
|
8
|
+
- Fixed observer auto-enable functionality by adding POST handler for summary mode actions ([cc415e0](https://github.com/dropseed/plain/commit/cc415e0af7))
|
|
9
|
+
|
|
10
|
+
### Upgrade instructions
|
|
11
|
+
|
|
12
|
+
- No changes required
|
|
13
|
+
|
|
3
14
|
## [0.3.4](https://github.com/dropseed/plain/releases/plain-observer@0.3.4) (2025-07-30)
|
|
4
15
|
|
|
5
16
|
### What's changed
|
{plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/templates/toolbar/observer_button.html
RENAMED
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
{% if observer.get_current_trace_summary() %}
|
|
19
19
|
{{ observer.get_current_trace_summary() }}
|
|
20
20
|
{% elif observer.is_persisting() %}
|
|
21
|
-
Recording
|
|
21
|
+
Recording (no summary)
|
|
22
22
|
{% elif observer.is_summarizing() %}
|
|
23
|
-
|
|
23
|
+
No summary
|
|
24
24
|
{% elif observer.is_enabled() %}
|
|
25
25
|
Observing
|
|
26
26
|
{% else %}
|
|
@@ -61,6 +61,16 @@ class ObserverTracesView(AuthViewMixin, HTMXViewMixin, ListView):
|
|
|
61
61
|
response.headers["HX-Refresh"] = "true"
|
|
62
62
|
return response
|
|
63
63
|
|
|
64
|
+
def post(self):
|
|
65
|
+
"""Handle POST requests to set observer mode."""
|
|
66
|
+
action = self.request.data.get("observe_action")
|
|
67
|
+
if action == "summary":
|
|
68
|
+
observer = Observer(self.request)
|
|
69
|
+
response = Response(status_code=204)
|
|
70
|
+
observer.enable_summary_mode(response)
|
|
71
|
+
return response
|
|
72
|
+
return Response("Invalid action", status_code=400)
|
|
73
|
+
|
|
64
74
|
|
|
65
75
|
class ObserverTraceDetailView(AuthViewMixin, HTMXViewMixin, DetailView):
|
|
66
76
|
"""Detail view for a specific trace."""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/templates/observer/trace_detail.html
RENAMED
|
File without changes
|
{plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/templates/observer/trace_share.html
RENAMED
|
File without changes
|
|
File without changes
|
{plain_observer-0.3.4 → plain_observer-0.3.5}/plain/observer/templates/toolbar/observer.html
RENAMED
|
File without changes
|
|
File without changes
|