@qnote/q-ai-note 1.0.7 → 1.0.8

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.
package/dist/web/app.js CHANGED
@@ -182,8 +182,6 @@ function applyReadonlyMode() {
182
182
  if (systemSettingsNav instanceof HTMLElement) {
183
183
  systemSettingsNav.classList.toggle('hidden', !state.canAccessSystemSettings);
184
184
  }
185
- setHiddenById('page-settings', !state.pageAccess.settings);
186
- setHiddenById('page-system-settings', !state.canAccessSystemSettings);
187
185
  setHiddenById('add-sandbox-btn', state.readonly || !state.fullAccess);
188
186
  setHiddenById('add-item-btn', state.readonly || !state.currentSandboxWritable);
189
187
  setHiddenById('toggle-node-entity-form-btn', state.readonly || !state.currentSandboxWritable);
@@ -2227,7 +2225,8 @@ function showPage(pageId) {
2227
2225
  }
2228
2226
 
2229
2227
  document.querySelectorAll('.nav-list a').forEach(a => a.classList.remove('active'));
2230
- const nav = document.querySelector(`[data-nav="${pageId}"]`);
2228
+ const navPageId = pageId === 'sandbox-detail' ? 'sandboxes' : pageId;
2229
+ const nav = document.querySelector(`[data-nav="${navPageId}"]`);
2231
2230
  if (nav) nav.classList.add('active');
2232
2231
  }
2233
2232
 
@@ -134,6 +134,11 @@ body {
134
134
  animation: fadeIn 0.2s ease;
135
135
  }
136
136
 
137
+ #page-sandbox-detail {
138
+ max-width: none;
139
+ margin: 0;
140
+ }
141
+
137
142
  .page.hidden {
138
143
  display: none;
139
144
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qnote/q-ai-note",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "type": "module",
5
5
  "description": "AI-assisted personal work sandbox and diary system",
6
6
  "main": "dist/server/index.js",