fix(astrolabe): Fix NcSelect options and CSS loading
- Use :input-label prop for NcSelect field labels instead of :label (the :label prop sets the option label property key, not the visible label) - Fix CSS loading in admin.php and personal.php templates to use astrolabe-main (the bundled CSS file) - Update minimum Nextcloud version to 31 (required for Vue 3) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
c95459234b
commit
e87ae56041
+1
-1
@@ -40,7 +40,7 @@ See [documentation](https://github.com/cbcoutinho/nextcloud-mcp-server) for conf
|
|||||||
<screenshot>https://github.com/cbcoutinho/nextcloud-mcp-server/blob/master/third_party/astrolabe/screenshots/01-unified-search-astrolabe.png?raw=1</screenshot>
|
<screenshot>https://github.com/cbcoutinho/nextcloud-mcp-server/blob/master/third_party/astrolabe/screenshots/01-unified-search-astrolabe.png?raw=1</screenshot>
|
||||||
<screenshot>https://github.com/cbcoutinho/nextcloud-mcp-server/blob/master/third_party/astrolabe/screenshots/03-chunk-viewer-open.png?raw=1</screenshot>
|
<screenshot>https://github.com/cbcoutinho/nextcloud-mcp-server/blob/master/third_party/astrolabe/screenshots/03-chunk-viewer-open.png?raw=1</screenshot>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<nextcloud min-version="30" max-version="32"/>
|
<nextcloud min-version="31" max-version="32"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<settings>
|
<settings>
|
||||||
<personal>OCA\Astrolabe\Settings\Personal</personal>
|
<personal>OCA\Astrolabe\Settings\Personal</personal>
|
||||||
|
|||||||
@@ -154,7 +154,7 @@
|
|||||||
<NcSelect
|
<NcSelect
|
||||||
:model-value="selectedAlgorithmOption"
|
:model-value="selectedAlgorithmOption"
|
||||||
:options="algorithmOptions"
|
:options="algorithmOptions"
|
||||||
:label="t('astrolabe', 'Search Algorithm')"
|
:input-label="t('astrolabe', 'Search Algorithm')"
|
||||||
class="form-field"
|
class="form-field"
|
||||||
@update:model-value="settings.algorithm = $event ? $event.id : 'hybrid'" />
|
@update:model-value="settings.algorithm = $event ? $event.id : 'hybrid'" />
|
||||||
<p class="help-text">
|
<p class="help-text">
|
||||||
@@ -164,7 +164,7 @@
|
|||||||
<NcSelect
|
<NcSelect
|
||||||
:model-value="selectedFusionOption"
|
:model-value="selectedFusionOption"
|
||||||
:options="fusionOptions"
|
:options="fusionOptions"
|
||||||
:label="t('astrolabe', 'Fusion Method')"
|
:input-label="t('astrolabe', 'Fusion Method')"
|
||||||
class="form-field"
|
class="form-field"
|
||||||
@update:model-value="settings.fusion = $event ? $event.id : 'rrf'" />
|
@update:model-value="settings.fusion = $event ? $event.id : 'rrf'" />
|
||||||
<p class="help-text">
|
<p class="help-text">
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
script('astrolabe', 'astrolabe-adminSettings');
|
script('astrolabe', 'astrolabe-adminSettings');
|
||||||
style('astrolabe', 'astrolabe-adminSettings');
|
style('astrolabe', 'astrolabe-main'); // All CSS bundled into main
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div id="astrolabe-admin-settings" class="section">
|
<div id="astrolabe-admin-settings" class="section">
|
||||||
|
|||||||
+1
-1
@@ -18,7 +18,7 @@
|
|||||||
$urlGenerator = \OC::$server->getURLGenerator();
|
$urlGenerator = \OC::$server->getURLGenerator();
|
||||||
|
|
||||||
script('astrolabe', 'astrolabe-personalSettings');
|
script('astrolabe', 'astrolabe-personalSettings');
|
||||||
style('astrolabe', 'astrolabe-personalSettings');
|
style('astrolabe', 'astrolabe-main'); // All CSS bundled into main
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="section">
|
<div class="section">
|
||||||
|
|||||||
Reference in New Issue
Block a user