Skip to content

Commit 997ebbd

Browse files
caswelltomclaude
andcommitted
Rebrand admin UI for upstream usability + bump version
Removes "SOLA:" prefix from all 11 admin page display names so other institutions can use the plugin without Saylor-specific branding in the Moodle admin tree. The top level category is now titled "AI Course Assistant" (from get_string pluginname) instead of "SOLA (AI Course Assistant)". Stable section identifiers are unchanged, so all URLs, bookmarks, and the self-updater keep working. The widget header and other student facing branding still respect the short_name admin setting, which defaults to "SOLA" for Saylor. version.php: bump version to 2026041104, hold release at '3.4.5' so this ships as part of the v3.4.5 public release alongside the i18n fix and the sectionerror fix. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2720159 commit 997ebbd

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
1212
SOLA (Saylor Online Learning Assistant) is a Moodle local plugin that provides an AI-powered learning coach embedded in course pages. Students interact via a floating chat widget.
1313

1414
- **Plugin component:** `local_ai_course_assistant`
15-
- **Current version:** `2026041103`, release `3.4.6`
15+
- **Current version:** `2026041104`, release `3.4.5`
1616
- **Source folder:** `~/Library/CloudStorage/Dropbox/!Saylor/aicoursetutor/ai_course_assistant/`
1717
- **Zip for upload:** `~/Library/CloudStorage/Dropbox/!Saylor/aicoursetutor/ai_course_assistant.zip`
1818
- **GitHub:** `https://github.com/saylordotorg/moodle-local_ai_course_assistant` (public)

settings.php

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,16 @@
4242
. '<strong>' . $shortname . '</strong>&nbsp;v' . $release . '&nbsp;<span style="color:#868e96;">(' . $versionnum . ')</span>'
4343
. '</div>';
4444

45-
// ── Create the SOLA admin category ──────────────────────────────────────
46-
// All SOLA admin settings pages and admin tools live under this category,
47-
// reachable at: Site admin > Plugins > Local plugins > SOLA
45+
// ── Create the plugin admin category ────────────────────────────────────
46+
// All settings pages and admin tools live under this category,
47+
// reachable at: Site admin > Plugins > Local plugins > AI Course Assistant
4848
$ADMIN->add('localplugins', new admin_category(
4949
'local_ai_course_assistant',
50-
$shortname . ' (' . get_string('pluginname', 'local_ai_course_assistant') . ')'
50+
get_string('pluginname', 'local_ai_course_assistant')
5151
));
5252

5353
// ── Page 1: General ─────────────────────────────────────────────────────
54-
$settings = new admin_settingpage('local_ai_course_assistant_general', 'SOLA: General');
54+
$settings = new admin_settingpage('local_ai_course_assistant_general', 'General');
5555

5656
$settings->add(new admin_setting_description(
5757
'local_ai_course_assistant/version_banner',
@@ -77,7 +77,7 @@
7777
$ADMIN->add('local_ai_course_assistant', $settings);
7878

7979
// ── Page 2: AI Provider & Models ────────────────────────────────────────
80-
$settings = new admin_settingpage('local_ai_course_assistant_ai', 'SOLA: AI Provider & Models');
80+
$settings = new admin_settingpage('local_ai_course_assistant_ai', 'AI Provider & Models');
8181

8282
$settings->add(new admin_setting_heading(
8383
'local_ai_course_assistant/provider_heading',
@@ -184,7 +184,7 @@
184184
$ADMIN->add('local_ai_course_assistant', $settings);
185185

186186
// ── Page 3: Content & RAG ───────────────────────────────────────────────
187-
$settings = new admin_settingpage('local_ai_course_assistant_content', 'SOLA: Content & RAG');
187+
$settings = new admin_settingpage('local_ai_course_assistant_content', 'Content & RAG');
188188

189189
$settings->add(new admin_setting_heading(
190190
'local_ai_course_assistant/rag_heading',
@@ -294,7 +294,7 @@
294294
$ADMIN->add('local_ai_course_assistant', $settings);
295295

296296
// ── Page 4: Safety & Moderation ─────────────────────────────────────────
297-
$settings = new admin_settingpage('local_ai_course_assistant_safety', 'SOLA: Safety & Moderation');
297+
$settings = new admin_settingpage('local_ai_course_assistant_safety', 'Safety & Moderation');
298298

299299
$settings->add(new admin_setting_heading(
300300
'local_ai_course_assistant/quiz_hide_heading',
@@ -402,7 +402,7 @@
402402
$ADMIN->add('local_ai_course_assistant', $settings);
403403

404404
// ── Page 5: Engagement ──────────────────────────────────────────────────
405-
$settings = new admin_settingpage('local_ai_course_assistant_engagement', 'SOLA: Engagement');
405+
$settings = new admin_settingpage('local_ai_course_assistant_engagement', 'Engagement');
406406

407407
// Study plans and reminders.
408408
$settings->add(new admin_setting_heading(
@@ -608,7 +608,7 @@
608608
$ADMIN->add('local_ai_course_assistant', $settings);
609609

610610
// ── Page 6: Branding & UI ───────────────────────────────────────────────
611-
$settings = new admin_settingpage('local_ai_course_assistant_branding', 'SOLA: Branding & UI');
611+
$settings = new admin_settingpage('local_ai_course_assistant_branding', 'Branding & UI');
612612

613613
$settings->add(new admin_setting_heading(
614614
'local_ai_course_assistant/branding_heading',
@@ -717,7 +717,7 @@
717717
$ADMIN->add('local_ai_course_assistant', $settings);
718718

719719
// ── Page 7: Integrations & Delivery ─────────────────────────────────────
720-
$settings = new admin_settingpage('local_ai_course_assistant_integrations', 'SOLA: Integrations & Delivery');
720+
$settings = new admin_settingpage('local_ai_course_assistant_integrations', 'Integrations & Delivery');
721721

722722
// FAQ & Zendesk.
723723
$settings->add(new admin_setting_heading(
@@ -832,21 +832,21 @@
832832

833833
$ADMIN->add('local_ai_course_assistant', new admin_externalpage(
834834
'local_ai_course_assistant_survey',
835-
'SOLA: Survey Editor',
835+
'Survey Editor',
836836
new moodle_url('/local/ai_course_assistant/survey_admin.php'),
837837
'moodle/site:config'
838838
));
839839

840840
$ADMIN->add('local_ai_course_assistant', new admin_externalpage(
841841
'local_ai_course_assistant_usertesting',
842-
'SOLA: Usability Testing Editor',
842+
'Usability Testing Editor',
843843
new moodle_url('/local/ai_course_assistant/usertesting_admin.php'),
844844
'moodle/site:config'
845845
));
846846

847847
$ADMIN->add('local_ai_course_assistant', new admin_externalpage(
848848
'local_ai_course_assistant_rubric',
849-
'SOLA: Rubric Editor',
849+
'Rubric Editor',
850850
new moodle_url('/local/ai_course_assistant/rubric_admin.php'),
851851
'moodle/site:config'
852852
));
@@ -879,7 +879,7 @@
879879
if (file_exists(__DIR__ . '/whatsapp_test.php')) {
880880
$ADMIN->add('local_ai_course_assistant', new admin_externalpage(
881881
'local_ai_course_assistant_whatsapptest',
882-
'SOLA: WhatsApp Integration Test',
882+
'WhatsApp Integration Test',
883883
new moodle_url('/local/ai_course_assistant/whatsapp_test.php'),
884884
'moodle/site:config',
885885
true

version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
defined('MOODLE_INTERNAL') || die();
2626

2727
$plugin->component = 'local_ai_course_assistant';
28-
$plugin->version = 2026041103;
28+
$plugin->version = 2026041104;
2929
$plugin->requires = 2024100700; // Moodle 4.5+.
3030
$plugin->maturity = MATURITY_STABLE;
31-
$plugin->release = '3.4.6';
31+
$plugin->release = '3.4.5';

0 commit comments

Comments
 (0)