Add missing pages to profile page access and home page options
Profile creation was missing Listening Stats, Playlist Explorer, and Issues from the page access checkboxes. Home page dropdown was missing Stats, Playlist Explorer, and Help & Docs. Both admin and self-edit pageLabels dicts updated to match.
This commit is contained in:
parent
a3ab5adcba
commit
faba4d5847
2 changed files with 10 additions and 2 deletions
|
|
@ -94,7 +94,10 @@
|
|||
<option value="artists">Artists</option>
|
||||
<option value="automations">Automations</option>
|
||||
<option value="library">Library</option>
|
||||
<option value="stats">Listening Stats</option>
|
||||
<option value="playlist-explorer">Playlist Explorer</option>
|
||||
<option value="import">Import</option>
|
||||
<option value="help">Help & Docs</option>
|
||||
</select>
|
||||
<label class="profile-settings-label">Page Access</label>
|
||||
<div id="new-profile-allowed-pages" class="profile-page-checkboxes">
|
||||
|
|
@ -105,8 +108,11 @@
|
|||
<label><input type="checkbox" value="artists" checked> Artists</label>
|
||||
<label><input type="checkbox" value="automations" checked> Automations</label>
|
||||
<label><input type="checkbox" value="library" checked> Library</label>
|
||||
<label><input type="checkbox" value="stats" checked> Listening Stats</label>
|
||||
<label><input type="checkbox" value="playlist-explorer" checked> Playlist Explorer</label>
|
||||
<label><input type="checkbox" value="import" checked> Import</label>
|
||||
<label><input type="checkbox" value="help" checked disabled> Help & Docs</label>
|
||||
<label><input type="checkbox" value="issues" checked disabled> Issues</label>
|
||||
</div>
|
||||
<label class="profile-checkbox-label">
|
||||
<input type="checkbox" id="new-profile-can-download" checked> Can download music
|
||||
|
|
|
|||
|
|
@ -2318,7 +2318,8 @@ function showProfileEditForm(profileId, currentName, currentColor, currentAvatar
|
|||
const editColors = ['#6366f1','#ec4899','#10b981','#f59e0b','#3b82f6','#ef4444','#8b5cf6','#14b8a6'];
|
||||
const pageLabels = {
|
||||
dashboard: 'Dashboard', sync: 'Sync', downloads: 'Search', discover: 'Discover',
|
||||
artists: 'Artists', automations: 'Automations', library: 'Library', import: 'Import'
|
||||
artists: 'Artists', automations: 'Automations', library: 'Library', stats: 'Listening Stats',
|
||||
'playlist-explorer': 'Playlist Explorer', import: 'Import', help: 'Help & Docs'
|
||||
};
|
||||
|
||||
const form = document.createElement('div');
|
||||
|
|
@ -2503,7 +2504,8 @@ function showSelfEditForm() {
|
|||
|
||||
const pageLabels = {
|
||||
dashboard: 'Dashboard', sync: 'Sync', downloads: 'Search', discover: 'Discover',
|
||||
artists: 'Artists', automations: 'Automations', library: 'Library', import: 'Import'
|
||||
artists: 'Artists', automations: 'Automations', library: 'Library', stats: 'Listening Stats',
|
||||
'playlist-explorer': 'Playlist Explorer', import: 'Import', help: 'Help & Docs'
|
||||
};
|
||||
|
||||
const form = document.createElement('div');
|
||||
|
|
|
|||
Loading…
Reference in a new issue