An advanced markdown engine
Find a file
tegwick 0cedcaf5c8 fix: resolve accept and cancel button functionality in floating editor
Fixed critical issue where Accept and Cancel buttons in the floating editor
were not properly clearing the currentFloatingMenu reference after hiding.

PROBLEM IDENTIFIED:
- Accept/Cancel buttons called floatingMenu.hide() but left stale reference
- DOMRenderer.currentFloatingMenu remained pointing to hidden menu object
- This caused incorrect state tracking and prevented proper menu lifecycle

SOLUTION IMPLEMENTED:
- Added this.currentFloatingMenu = null after floatingMenu.hide() calls
- Applied fix to both text editor and image editor accept/cancel buttons
- Ensures clean menu state management and proper reference cleanup

TESTING:
- Added comprehensive test for Accept button functionality
- Added comprehensive test for Cancel button functionality
- Both tests verify menu is properly hidden and references cleared
- All 12 integration tests now pass with button functionality validated

This fix ensures users can properly save or discard changes when editing
sections, restoring the expected click-to-edit workflow behavior.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 20:24:54 +01:00
.claude feat: add Claude Code agent configuration and registration tools 2025-10-27 20:11:33 +01:00
.github/workflows feat: Implement comprehensive Testing Architecture Enhancement 2025-09-26 22:36:35 +02:00
.issues feat: Integrate Requirements Engineering Agent and fix Issue #59 test failures 2025-10-02 00:45:06 +02:00
.venv_old chore: Keep old venv from ubuntu 18.04 for now just in case. 2025-09-23 01:16:12 +02:00
agents feat: implement todofile system and retire NEXT.md 2025-10-25 02:48:45 +02:00
application feat: Implement domain logic separation with clean architecture 2025-09-26 22:15:45 +02:00
assets feat: complete Issue #146 final integration testing 2025-10-15 00:19:52 +02:00
capabilities feat: update kaizen-agentic submodule reference 2025-10-25 02:51:51 +02:00
cli refactor: remove obsolete issue management system in favor of issue-facade 2025-10-24 21:25:04 +02:00
config feat: Implement unified configuration management system 2025-09-26 17:45:56 +02:00
cost_notes feat: complete core asset management system with database integration 2025-10-14 23:42:42 +02:00
docs feat: implement todofile system and retire NEXT.md 2025-10-25 02:48:45 +02:00
domain fix: Eliminate all 111 test warnings by fixing root causes 2025-09-27 20:14:22 +02:00
examples feat: implement comprehensive asset shipping for md-render command 2025-10-29 23:12:44 +01:00
gitea feat: Consolidate Gitea API access through unified integration layer 2025-09-28 23:44:51 +02:00
guides chore: history cleanup 2025-10-03 03:39:43 +02:00
history feat: organize and archive legacy files to history directory 2025-10-25 02:55:23 +02:00
infrastructure refactor: remove obsolete issue management system in favor of issue-facade 2025-10-24 21:25:04 +02:00
markitect fix: resolve accept and cancel button functionality in floating editor 2025-11-03 20:24:54 +01:00
node_modules chore: update project state and prepare for image support development 2025-10-26 08:06:22 +01:00
reports feat: complete Issue #146 - Asset Management Implementation Milestone 2025-10-14 18:29:37 +02:00
services refactor: remove obsolete issue management system in favor of issue-facade 2025-10-24 21:25:04 +02:00
src chore: update project state and prepare for image support development 2025-10-26 08:06:22 +01:00
test_document_extracted feat: complete Issue #151 - Phase 4: Integration and Documentation 2025-10-14 11:11:51 +02:00
testdata chore: history cleanup 2025-10-03 03:39:43 +02:00
tests feat: implement comprehensive asset shipping for md-render command 2025-10-29 23:12:44 +01:00
todo chore: some cleanup and houskeeping 2025-10-06 22:51:38 +02:00
tools feat: add Claude Code agent configuration and registration tools 2025-10-27 20:11:33 +01:00
wiki@8818df03d3 chore: commit examples and some cleanup 2025-10-08 10:14:51 +02:00
.clinerules feat: implement markitect installer with version/release commands (issue #80) 2025-10-03 05:47:02 +02:00
.gitignore fix: move test artifacts to tmp directory and update gitignore 2025-10-19 21:39:40 +02:00
.gitmodules feat: add kaizen-agentic as submodule capability 2025-10-25 02:26:16 +02:00
aliases.sh feat: implement plugin-based architecture with md- command prefixes - Issue #44 2025-10-06 16:46:26 +02:00
asset_registry.json chore: update asset registry from recent operations 2025-10-20 07:23:40 +02:00
CHANGELOG.md release: bump version to 0.6.0 with clean editor architecture 2025-10-28 03:51:41 +01:00
demo_clean_editor.html chore: update project state and prepare for image support development 2025-10-26 08:06:22 +01:00
install feat: comprehensive asset management system and testing improvements 2025-10-12 19:57:31 +02:00
install.py feat: implement markitect installer with version/release commands (issue #80) 2025-10-03 05:47:02 +02:00
install.sh feat: implement markitect installer with version/release commands (issue #80) 2025-10-03 05:47:02 +02:00
LOST_FUNCTIONALITY_ANALYSIS.md feat: implement comprehensive JavaScript functionality recovery using TDD 2025-11-02 10:01:11 +01:00
Makefile feat: reorganize Makefile installation targets for better UX 2025-10-25 20:28:29 +02:00
package-lock.json chore: update project state and prepare for image support development 2025-10-26 08:06:22 +01:00
package.json chore: update project state and prepare for image support development 2025-10-26 08:06:22 +01:00
pyproject.toml release: bump version to 0.6.0 with clean editor architecture 2025-10-28 03:51:41 +01:00
pytest-timeout.ini feat: Implement test timeout infrastructure and fix failing tests 2025-10-01 18:07:05 +02:00
pytest.ini fix: eliminate all test suite warnings - Issue #129 2025-10-06 02:11:28 +02:00
release.py feat: implement comprehensive release process and automation (issue #81) 2025-10-03 06:07:10 +02:00
test_comprehensive_section_styling.js fix: resolve critical JavaScript errors preventing content rendering 2025-11-02 16:28:20 +01:00
test_content_rendering_validation.js fix: resolve critical JavaScript errors preventing content rendering 2025-11-02 16:28:20 +01:00
test_dom_integration.html chore: update project state and prepare for image support development 2025-10-26 08:06:22 +01:00
TEST_ENVIRONMENT.md feat: implement comprehensive JavaScript functionality recovery using TDD 2025-11-02 10:01:11 +01:00
test_filename_generation.js feat: implement comprehensive JavaScript functionality recovery using TDD 2025-11-02 10:01:11 +01:00
test_floating_status_removed.js remove: eliminate floating status panel above editor menu 2025-11-02 21:19:16 +01:00
test_get_all_sections.js feat: implement comprehensive JavaScript functionality recovery using TDD 2025-11-02 10:01:11 +01:00
test_image_functionality_fix.js fix: resolve reset all function and image changing functionality issues 2025-11-02 16:36:17 +01:00
test_image_section_buttons.js fix: resolve accept, reset, and cancel buttons in image section editing 2025-11-02 16:43:41 +01:00
test_image_ui_closure.js fix: ensure accept, cancel, and reset buttons properly close image editing UI 2025-11-02 16:49:58 +01:00
test_improved_image_workflow.js feat: implement advanced image editing with drop zone and staging workflow 2025-11-02 16:57:30 +01:00
test_keyboard_shortcuts.js feat: implement comprehensive JavaScript functionality recovery using TDD 2025-11-02 10:01:11 +01:00
test_message_system.js feat: implement comprehensive JavaScript functionality recovery using TDD 2025-11-02 10:01:11 +01:00
test_reset_to_original.js fix: reset button now resets to original content like reset all function 2025-11-02 17:07:42 +01:00
test_runner.js feat: implement comprehensive JavaScript functionality recovery using TDD 2025-11-02 10:01:11 +01:00
test_section_splitting.js feat: implement comprehensive JavaScript functionality recovery using TDD 2025-11-02 10:01:11 +01:00
test_state_management.js feat: implement comprehensive JavaScript functionality recovery using TDD 2025-11-02 10:01:11 +01:00
test_status_tracking.js feat: implement comprehensive JavaScript functionality recovery using TDD 2025-11-02 10:01:11 +01:00
TODO.md feat: complete JavaScript architecture refactoring with TDD methodology 2025-11-03 20:15:26 +01:00
UserInterfaceFramework.md feat: implement insert mode with heading protection and fix content display bugs 2025-10-28 23:55:21 +01:00

MarkiTect Documentation

Welcome to the MarkiTect documentation. This directory contains comprehensive documentation for developers, users, and contributors.

Documentation Structure

📐 Architecture Documentation (architecture/)

Deep technical documentation about system design, performance, and implementation details.

  • Caching System - Why and how MarkiTect's AST caching delivers 60-85% performance improvements
  • Coming soon: Database Schema, CLI Architecture, Plugin System

👥 User Guides (user-guides/)

End-user documentation for working with MarkiTect CLI and features.

  • Coming soon: Getting Started, Command Reference, Best Practices

🔧 Development Documentation (development/)

Documentation for contributors and developers extending MarkiTect.

  • Coming soon: Contributing Guide, Testing Strategy, Release Process

For Users

For Developers

Project Management

Key Concepts

Core Architecture Principles

  1. Parse Once, Use Many Times - AST caching for 60-85% performance improvement
  2. Convention Over Configuration - Sensible defaults with minimal setup
  3. Schema-Driven Processing - Structured markdown with validation
  4. Relational Metadata - Database-powered document relationships

Performance Philosophy

MarkiTect treats markdown documents as structured, queryable data rather than plain text. This approach enables:

  • Lightning-fast document processing through intelligent caching
  • Complex querying and relationship management
  • Schema validation and consistency enforcement
  • Scalable performance that grows with your content

Contributing to Documentation

Documentation follows the same quality standards as code:

  1. Clear Structure - Logical organization and navigation
  2. Practical Examples - Real-world usage patterns
  3. Performance Context - Why architectural decisions matter
  4. User-Focused - Written for the intended audience

Documentation Standards

  • Use clear, concise language
  • Include practical examples
  • Explain the "why" behind design decisions
  • Keep technical accuracy as the highest priority
  • Update docs when changing functionality

This documentation is maintained alongside the codebase. For the most current information, always refer to the latest version in the repository.