Skip to content

✨ Add brand logo and page elements settings - #2933

Open
b-l-i-n-d wants to merge 46 commits into
devfrom
feat/logo
Open

✨ Add brand logo and page elements settings#2933
b-l-i-n-d wants to merge 46 commits into
devfrom
feat/logo

Conversation

@b-l-i-n-d

@b-l-i-n-d b-l-i-n-d commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator
  • Adds dark mode icon to icon set
  • Adds brand logo template with light/dark variant support
  • Adds brand logo upload settings field in Appearance
  • Adds page elements settings to control header/footer visibility per page
  • Replaces Spotlight Mode toggle with granular Page Elements controls
  • Removes hardcoded HTML boilerplate from templates in favor of helper functions
  • Replaces dashicons with custom SVG icons in page elements settings
  • Removes unused CSS selectors from brand logo and page elements fields
  • Renames brand logo CSS classes from BEM convention to hyphenated convention
  • Changes dashboard header/footer default visibility to off
  • Preserves existing spotlight mode behavior during migration to page elements
  • Supports resetting image_upload_list and toggle_matrix settings fields
  • Migrates the frontend course builder logo to the light brand logo setting
  • Renders quiz attempts and attempt details inside the Learning Area theme shell
  • Tracks the theme header overlay offset so quiz layout clears sticky headers
  • Bounds quiz, quiz summary, and attempt details layout to the theme shell
  • Keeps the mobile dashboard navigation inside the dashboard layout flow

Linked PR: https://github.com/themeum/tutor-pro/pull/1885

  • Centralizes site-shell data resolution in a single Template helper
  • Applies the site-shell offset controller to dashboard layouts
  • Offsets dashboard layout, header, and sidebar beneath the theme header in site shell
  • Bounds quiz summary within the dashboard site shell
  • Uses the site title as the brand logo alt text

@b-l-i-n-d
b-l-i-n-d changed the base branch from master to dev July 29, 2026 09:52
@b-l-i-n-d b-l-i-n-d changed the title ✨ Add brand logo and page elements settings 🧹 Remove unused CSS selectors from brand logo and page elements Jul 29, 2026
@b-l-i-n-d b-l-i-n-d changed the title 🧹 Remove unused CSS selectors from brand logo and page elements 🧹 Rename brand logo CSS classes and change dashboard header/footer defaults Jul 29, 2026
@b-l-i-n-d b-l-i-n-d changed the title 🧹 Rename brand logo CSS classes and change dashboard header/footer defaults ✨ Add brand logo and page elements settings Jul 29, 2026
@b-l-i-n-d b-l-i-n-d self-assigned this Jul 29, 2026
@b-l-i-n-d
b-l-i-n-d marked this pull request as ready for review July 30, 2026 05:24
@b-l-i-n-d
b-l-i-n-d requested a review from shewa12 July 30, 2026 05:24
Comment thread views/options/field-types/brand_logo.php Outdated
Comment thread views/options/field-types/page_elements.php Outdated
- Replace brand-logo specific field with reusable image_upload_list
- Update JS and SCSS selectors to the new generic classes
- Replace page_elements specific field with reusable toggle_matrix
- Update SCSS selectors to the new generic classes
@b-l-i-n-d
b-l-i-n-d requested a review from sazedul-haque August 4, 2026 05:50
@b-l-i-n-d b-l-i-n-d removed the 4.0.4 label Aug 5, 2026
@b-l-i-n-d
b-l-i-n-d marked this pull request as draft August 10, 2026 05:27
@b-l-i-n-d b-l-i-n-d added 4.0.6 Tutor v4.0.6 and removed 4.0.5 Tutor v4.0.5 labels Aug 13, 2026
@b-l-i-n-d
b-l-i-n-d marked this pull request as ready for review August 13, 2026 04:55
Comment thread assets/src/scss/frontend/dashboard/layout/_nav-mobile.scss
Comment thread assets/src/js/v3/shared/components/Logo.tsx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0.6 Tutor v4.0.6

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants