Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Gleb Tv
0a12969370 refactor: Remove jQuery dependency and consolidate JavaScript assets
- Rename vendor JS file to activeadmin/quill_editor.js to avoid conflicts
- Update import alias to use 'activeadmin/quill_editor' for consistency
- Remove jQuery-dependent legacy file (quill_editor_input.js)
- Simplify engine asset configuration - only one JS file now
- Update documentation with correct paths and import names
- All functionality preserved with vanilla JavaScript

BREAKING CHANGE: Drops support for jQuery-based initialization.
Applications using the legacy jQuery initialization will need to
update to the new module-based approach.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 14:42:54 +03:00
Gleb Tv
10ea2928a4 docs: Add complete esbuild.config.js with critical alias configuration
- Include the full esbuild.config.js from dummy app
- Emphasize the critical 'alias' configuration for resolving gem's JS
- Show how to get gem path dynamically using 'bundle show'
- Add proper error handling and watch mode setup

The alias configuration is CRITICAL for properly importing the gem's
JavaScript file from vendor/assets/javascripts/

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 14:21:06 +03:00
Gleb Tv
22e8fb58da rm unneded doc file 2025-09-24 14:13:42 +03:00
Gleb Tv
e5035f96b5 docs: Clarify JS import usage and add complete example files
- Explicitly warn users NOT to copy the gem's JavaScript file
- Clarify that activeadmin_quill_editor.js should be imported from the gem
- Add complete working examples from dummy app:
  - Full app/javascript/active_admin.js with proper imports
  - Complete tailwind.config.js with all safelist classes
  - lib/tasks/active_admin.rake for Tailwind builds
- Remove incorrect symlink from dummy app

This prevents users from mistakenly copying the gem's JS file into their
app instead of properly importing it from vendor/assets/javascripts/

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 14:12:51 +03:00
Gleb Tv
c26aef65ab refactor: Modernize CI with Appraisal gem and consolidate workflows
- Add Appraisal gem for managing multiple test gemfiles
- Create test matrix for Rails 6.1-8.0 and ActiveAdmin 2.9-4.x
- Consolidate multiple workflow files into single ci.yml
- Use matrix strategy to test across Ruby 3.0-3.3
- Remove deprecated individual workflow files
- Add gemfiles/ to gitignore as they're generated
- Improve backward compatibility support
2025-09-24 12:58:47 +03:00
Gleb Tv
7f3d842e3a feat: Add ActiveAdmin 4 and Propshaft support
- Switch to ActiveAdmin 4 beta with Tailwind CSS
- Replace Sprockets with Propshaft for Rails 8
- Migrate from jQuery to vanilla JavaScript
- Implement proper module initialization without setTimeout hacks
- Add esbuild for JavaScript bundling with clean import aliases
- Configure Tailwind CSS build process with ActiveAdmin plugin
- Update engine configuration for both Propshaft and Sprockets
- Add comprehensive documentation for AA4 gem updates
- Maintain backward compatibility with legacy AA versions

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 12:58:00 +03:00