Skip to content

Add responsive design breakpoints and mobile optimizations to WordPress theme - #297

Merged
makr-code merged 4 commits into
developfrom
copilot/improve-responsive-design
Jan 8, 2026
Merged

makr-code merged 4 commits into
developfrom
copilot/improve-responsive-design

Conversation

Copilot AI commented Jan 8, 2026 •

Copy link
Copy Markdown
Contributor

The WordPress Themis theme lacked proper responsive behavior for mobile and tablet devices, causing layout and usability issues on smaller screens.

Changes

Responsive Breakpoints

Added 7 breakpoints covering 320px to 1920px+:

  • 320px-375px: Extra small mobile (adjusted font size to 13-14px, reduced padding)
  • 375px-480px: Standard mobile (collapsible navigation, 44x44px touch targets)
  • 480px-768px: Large mobile (optimized spacing)
  • 768px-1024px: Tablet portrait (mobile menu toggle, single column layout)
  • 769px-1024px: Tablet landscape (2-column sidebar grid)
  • 1025px-1280px: Large tablet (280px sidebar)
  • Landscape orientation: Special handling for mobile landscape

Mobile Navigation

  • Collapsible hamburger menu with smooth transitions
  • Dropdown menus converted to static expansion on mobile
  • Maximum viewport height with scroll for long menus
  • Hidden hamburger menu item on mobile (consolidated with main toggle)

Typography & Touch Targets

  • Responsive font scaling: 16px desktop → 15px tablet → 14px mobile → 13px small mobile
  • All interactive elements meet WCAG 2.1 AA (min 44x44px)
  • Prevented iOS text inflation with explicit 16px inputs (avoids zoom on focus)

Layout Optimizations

  • Single column content on mobile/tablet
  • Sidebar converts to 2-column grid on tablets, stacks on mobile
  • Entry padding reduced progressively: 2rem → 1.75rem → 1.25rem → 1rem
  • Footer widgets stack on mobile

Performance

  • Tap highlight limited to interactive elements only (not universal selector)
  • Hardware-accelerated scrolling (-webkit-overflow-scrolling: touch)
  • Table scrolling via parent container (maintains table semantics)

Screenshots

Desktop (1280px)
Desktop

Tablet Landscape (1024px)
Tablet Landscape

Tablet Portrait (768px)
Tablet

Mobile (375px) & Menu Expanded
Mobile
Mobile Menu

Small Mobile (320px)
Small Mobile

Files Changed

  • wordpress-theme/themisdb/style.css (+730 lines)
Original prompt

Das WordPress Themis theme pass sich anderen device (smartphone, tablet) nicht gut an. Wir müssen das verbessern


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@makr-code

Copy link
Copy Markdown
Owner

@copilot improve responsive design

Copilot AI changed the title [WIP] Fix responsive design issues in Themis theme Add responsive design breakpoints and mobile optimizations to WordPress theme Jan 8, 2026
Copilot AI requested a review from makr-code January 8, 2026 19:37

Copilot AI commented Jan 8, 2026

Copy link
Copy Markdown
Contributor Author

@copilot improve responsive design

Could you please provide more specific details about what aspect of the responsive design needs improvement? For example:

  • Is there a specific device size or breakpoint that's not working well?
  • Are there particular UI elements that need adjustment?
  • Is there a layout issue on certain screens?
  • Should I adjust font sizes, spacing, or touch targets further?

The current implementation includes 7 breakpoints from 320px to 1920px+ with optimized layouts, typography, and touch targets. Any specific feedback will help me make targeted improvements.

@makr-code
makr-code marked this pull request as ready for review January 8, 2026 19:42
@makr-code
makr-code merged commit b5b30c1 into develop Jan 8, 2026
@makr-code makr-code added this to the v1.0.2 milestone Mar 11, 2026
Copilot AI added a commit that referenced this pull request May 19, 2026
…back MODIFY, HTTP/2 RAII, Voice JWT auth

Stub #302 (CRITICAL): VoiceApiHandler now accepts optional AuthMiddleware;
validateBearerToken() delegates to auth_->authorize(token,"voice:access").
Stub #280 (HIGH): RopeApiHandler::requireAccess() enforces scope-based RBAC
via AuthMiddleware::extractBearerToken + auth_->authorize, HTTP 403 on deny.
Stub #297 (MEDIUM): applyPluginValidation() signature changed to non-const ref;
MODIFY case applies modified_comment/modified_metadata before persisting.
Stub #298 (MEDIUM): Http2Session ResponseBuffer promoted to named struct in header;
response_buffers_ map with shared_ptr replaces all raw new/delete calls.
Security Hardening Epic marked COMPLETE in src/ROADMAP.md.
Tests: test_stub_remediation_297_298_280_302.cpp + CMakeLists entry.

Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/9caa5bd2-9ad9-4aa7-b5e2-2aefedef1209

Co-authored-by: makr-code <[email protected]>
Copilot AI added a commit that referenced this pull request May 20, 2026
…302, #308-311 (10 stubs)

- #290: DistributedTrainer::AllReduceCpuFn injection API; allreduce_cpu() delegates to injected fn, falls back to local-scale for world_size=1
- #291: AdaptiveShardRouter::NlpContextFn injection API; prepareQueryContext() delegates to NLP provider, falls back to keyword patterns
- #296: FeedbackStore::SpamKeywordsProviderFn (static setSpamKeywordsProvider); getSpamKeywords() uses provider when set
- #297: FeedbackStore::applyPluginValidation() (non-const FeedbackEntry&); MODIFY path applies modified_comment/modified_metadata
- #298: Http2Session RAII ResponseBuffer via shared_ptr + response_buffers_ map; no more raw new/delete; sendResponse+sendServerPush+onStreamCloseCallback updated
- #302: VoiceApiHandler::TokenValidatorFn (static setTokenValidatorFn); validateBearerToken() delegates to injected JWT validator
- #308: VoiceAssistant::deleteSession() hard-delete (throws out_of_range if not found); handleDeleteSession() returns HTTP 404 on not-found
- #309: GPUMemoryManager::NvmlTemperatureFn (static setNvmlTemperatureFn); CUDA updateGPUHealth() queries injected fn
- #310: AutoRebalancer::signOperation() all UNSIGNED fallbacks replaced with std::runtime_error (fail-closed)
- #311: PaxosStatePersistence::persistAccept() ConsensusLogEntry populated with index/term/data JSON

Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/138b1d85-2afa-4f88-ba0a-761fe11a5fbd

Co-authored-by: makr-code <[email protected]>
Copilot AI added a commit that referenced this pull request May 20, 2026
- Add RerouteSerializeFn tests (stub #252)
- AstVisitorFn bridge: TensorAwareQueryOptimizer (stub #275)
- ExactSimilarityFn bridge: TensorFingerprintGraph (stub #276)
- [[deprecated]] attribute: ggmlCorePtrs (stub #277)
- RpcPhase2Fn bridge: DistributedTransactionManager (stub #279)
- AuthorizeFn bridge: RopeApiHandler RBAC (stub #280)
- HttpPostFn bridge: AIPluginGenerator (stub #282)
- HTToTTFn bridge: HTTrain (stub #286)
- ModelPathProviderFn bridge: LoRATrainingService (stub #289)
- AllReduceCpuFn bridge: DistributedTrainer (stub #290)
- NlpContextFn bridge: AdaptiveShardRouter (stub #291)
- StringArrayFn bridge: PropertyGraphManager (stub #292)
- SchemaInspectorFn/SchemaValidatorFn: ImportApiHandler (stub #294)
- Lz4CompressFn/Lz4DecompressFn: SecureTransportClient (stub #295)
- SpamKeywordsProviderFn: FeedbackStore (stub #296)
- MODIFY path fix: FeedbackStore validateWithPlugin (stub #297)
- shared_ptr ResponseBuffer RAII: Http2Session (stub #298)
- ModelPathProviderFn: ThemisHelpLoRA Config (stub #299)
- IngestExternalFileFn: BackupManager (stub #300)
- StatsQueryFn: RopeApiHandler (stub #307)
- Update STUB_INVENTORY.md: 272->292 resolved, 44->24 active

Co-authored-by: Copilot <[email protected]>

Co-authored-by: makr-code <[email protected]>
Copilot AI added a commit that referenced this pull request Jun 30, 2026
Add test coverage for two critical stubs:

Stub #297: Feedback Plugin MODIFY Action (src/llm/feedback_store.cpp)
- Verify FeedbackValidationResult::MODIFY applies comment modifications
- Verify metadata modifications are applied
- Verify both modifications applied correctly
- Verify modifications persisted in storage
- Verify partial modifications (comment only or metadata only)
- Verify modified feedback counted in statistics

Stub #309: GPU Temperature Telemetry (src/llm/gpu_memory_manager.cpp)
- Verify temperature stored in GPUHealth structure
- Verify temperature tracking across multiple queries
- Verify high temperature affects health status
- Verify normal temperature range handling
- Verify exception handling in temperature provider
- Verify multi-GPU temperature tracking
- Verify temperature in GPU stats
- Verify provider fallback hierarchy (static -> instance -> computed)
- Verify NVML function precedence
- Verify temperature monitoring timestamps
- Verify fallback when temperature unavailable
- Verify all GPUs receive telemetry
- Verify temperature used in health calculation

Tests use mock providers for deterministic behavior and no GPU hardware requirement.

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants