Repository navigation
Fix graph navigation validation, update hamburger menu, and restructure header layout - #298
Merged
Merged
Conversation
- Add missing isValidWordPressData function to validate WordPress graph data - Change hamburger icon from burger emoji 🍔 to three-line symbol ☰ - Properly validate nodes and links arrays before processing - Ensure each node has required properties (id, label, type) Co-authored-by: makr-code <[email protected]>
- Check for undefined and null explicitly instead of truthy values - Ensure label is a string type, not just truthy - Handle cases where node ID might be 0 or empty string Co-authored-by: makr-code <[email protected]>
- Use != null to check for both undefined and null more concisely - Improves code readability while maintaining same functionality Co-authored-by: makr-code <[email protected]>
Copilot
AI
changed the title
[WIP] Fix graph navigation loading issues in Themis theme
Fix missing validation function and hamburger icon in WordPress theme
Jan 8, 2026
Owner
|
@copilot Das hamburger menu optional machen und ausblenden. Das Hauptmenue rechtsbündig anzeigen. Das graphmenubutton ganz links anzeigen |
- Remove hamburger menu from header.php (hidden/optional) - Set hamburger menu CSS to display: none - Right-align main navigation with flex-end and margin-left: auto - Move graph navigation button from right to left (top: 20px, left: 20px) - Insert graph button at beginning of header-inner instead of after branding Co-authored-by: makr-code <[email protected]>
Contributor
Author
Erledigt in Commit 42396ed: ✅ Hamburger-Menü ausgeblendet (display: none, optional) Das Hamburger-Menü wurde aus header.php entfernt und im CSS versteckt. Das Hauptmenü ist jetzt rechtsbündig ausgerichtet, und der Graph-Navigations-Button erscheint ganz links oben. |
Copilot
AI
changed the title
Fix missing validation function and hamburger icon in WordPress theme
Fix graph navigation validation, update hamburger menu, and restructure header layout
Jan 8, 2026
makr-code
marked this pull request as ready for review
January 8, 2026 21:05
This was referenced May 18, 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]>
This was referenced May 19, 2026
Copilot AI
added a commit
that referenced
this pull request
May 20, 2026
#297/#298/#301/#302/#303) Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/360c1856-0695-4524-b3de-7ca9c8938a73 Co-authored-by: makr-code <[email protected]>
7 tasks done
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]>
5 tasks done
makr-code
added a commit
that referenced
this pull request
May 21, 2026
#297/#298/#301/#302/#303) Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/360c1856-0695-4524-b3de-7ca9c8938a73 Co-authored-by: makr-code <[email protected]>
31 of 46 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The WordPress Themis theme had a
ReferenceErrorpreventing graph navigation from loading due to an undefined validation function, and the hamburger menu was displaying a burger emoji instead of the standard three-line icon. Additionally, the header layout has been restructured based on feedback.Changes
Graph Navigation
isValidWordPressData()function ingraph-navigation.jsto validate WordPress graph data structure before processingnodesandlinksarrays with proper type checking!= nullfor ID validation to handle0and other falsy values correctlyHamburger Menu
header.phpfrom🍔to☰(U+2630)display: nonein CSS (now optional)Header Layout Restructuring
justify-content: flex-endandmargin-left: autoleft: 20pxinstead ofright: 20px)These layout changes improve the visual hierarchy and user experience by placing the graph navigation prominently on the left while keeping the main menu accessible on the right.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.