studio-engine 0.32.1 → 0.32.2
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9525633783466e9475652bb4ded7c35b05c36165cf76db8c68db9e9ee357e0cb
|
|
4
|
+
data.tar.gz: 7e2bbfa555bd538f915985213fafe2a27de2ef6bb0a2ae6b4868054a3dea127b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 33d02975ad35287da64b3a75ee297efec825d68fa5b3823e5ec834dc67eb572df96e669cff6fa94ce731293b343f2b9b9aef8a9a4ce9a6b63d4bddd79989fbda
|
|
7
|
+
data.tar.gz: 792e5a6c4159be01aba533ad28e705d09576a2a8b5ee8b9af05f0dc1200ba2baddd8dad772f1eea6dd6d0b7957705d57901d937c0cf73be21a89d726fbccbd20
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
The format is [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). This project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html) — `MAJOR.MINOR.PATCH`. Consumer Rails apps install the released RubyGems package with `gem "studio-engine", "~> 0.6"`; bumping the gem version and updating consumer lockfiles is a release.
|
|
4
4
|
|
|
5
|
+
## 0.32.2 — 2026-08-09
|
|
6
|
+
|
|
7
|
+
**Two public-page navigation fixes** (found by the industries sidebar-adoption
|
|
8
|
+
review on the app's one public page): `components/_admin_dropdown` now renders
|
|
9
|
+
only for `admin?` viewers — it used to offer `/admin/theme` and `/error_logs`
|
|
10
|
+
links to signed-out strangers wherever the navbar mounted it; and
|
|
11
|
+
`components/_link_sidebar_trigger` no longer hardcodes `inline-flex` after the
|
|
12
|
+
caller's `class_name`, which beat `hidden md:inline-flex` in the cascade and
|
|
13
|
+
rendered the desktop trigger on mobile beside the real one. Callers now own
|
|
14
|
+
the display class (bare renders default to `inline-flex`). Regression view
|
|
15
|
+
tests pin both.
|
|
16
|
+
|
|
5
17
|
## 0.32.1 — Unreleased
|
|
6
18
|
|
|
7
19
|
**Setup-guide corrections.** Docs only — no code, no behavior change.
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
<%# ADMIN chrome: renders only for admin? viewers. Signed-out and
|
|
2
|
+
non-admin visitors get nothing — this partial once leaked admin
|
|
3
|
+
links onto a public landing page. %>
|
|
4
|
+
<% if respond_to?(:admin?) && admin? %>
|
|
1
5
|
<div x-data="{ open: false }" class="relative leading-none">
|
|
2
6
|
<button @click="open = !open" class="flex text-secondary hover:text-heading transition" title="Admin">
|
|
3
7
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-4 h-4">
|
|
@@ -12,3 +16,4 @@
|
|
|
12
16
|
<a href="/error_logs" class="block px-4 py-2 text-sm text-body hover:text-heading hover:bg-surface-alt transition">Error Logs</a>
|
|
13
17
|
</div>
|
|
14
18
|
</div>
|
|
19
|
+
<% end %>
|
|
@@ -3,11 +3,14 @@
|
|
|
3
3
|
desktop icon rail and one in the mobile sub-navbar row). The click is
|
|
4
4
|
handled twice on purpose: the Alpine @click for normal operation, and the
|
|
5
5
|
document-level capture bridge in _link_sidebar for pre-Alpine clicks. %>
|
|
6
|
-
|
|
6
|
+
<%# The caller OWNS the display class: a hardcoded inline-flex here beats a
|
|
7
|
+
caller's `hidden md:inline-flex` in the cascade and un-hides the desktop
|
|
8
|
+
trigger on mobile. Bare renders default to inline-flex. %>
|
|
9
|
+
<% extra_classes = local_assigns.fetch(:class_name, "").presence || "inline-flex" %>
|
|
7
10
|
<% sidebar_admin = respond_to?(:admin?) && admin? %>
|
|
8
11
|
<button type="button"
|
|
9
12
|
@click.stop="$store.sidebars.linkTreeOpen = !$store.sidebars.linkTreeOpen"
|
|
10
|
-
class="<%=
|
|
13
|
+
class="<%= extra_classes %> h-9 w-9 items-center justify-center rounded-md text-secondary hover:text-heading hover:bg-surface-alt focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 transition"
|
|
11
14
|
title="<%= sidebar_admin ? 'Admin Menu' : 'Links' %>"
|
|
12
15
|
aria-label="<%= sidebar_admin ? 'Toggle admin menu' : 'Toggle links menu' %>"
|
|
13
16
|
aria-controls="studio-link-sidebar studio-link-sidebar-mobile"
|
data/lib/studio/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: studio-engine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.32.
|
|
4
|
+
version: 0.32.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alex McRitchie
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-08-
|
|
11
|
+
date: 2026-08-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|