36ceae80fe5103fe2b3558e3251c0055a89d3e5b
- Create PostFiles top-level component managing file display state - Add FileCarousel component for thumbnail navigation - Add DisplayedFile component for content rendering - Add FileDetails component for metadata display - Update props_for_post_files helper to generate HTML content server-side - Replace HTML/JS carousel with prerendered React components - Maintain single file layout compatibility - Add proper TypeScript interfaces and error handling - Register components in application and server bundles Components now handle: - Multiple file carousel display above content - File content switching via React state - Server-side rendered HTML injection - File details metadata display - Responsive thumbnail grid with selection states
Redux Scraper
A Ruby on Rails application for scraping and managing various content sources.
Setup
This application is configured for optimal development and testing performance:
Performance Optimizations
- Bootsnap: Accelerates gem loading and caching for faster boot times
- Spring: Preloads the Rails application for faster command execution
Rails Boot Performance
- Development boot time: ~270ms (87% faster than without optimization)
- Test environment startup: ~211ms (29% faster than without optimization)
To use Spring-optimized commands:
# Use bin/ executables for Spring acceleration
bin/rails console
bin/rails runner "puts 'Hello'"
bin/rspec spec/
README
This README would normally document whatever steps are necessary to get the application up and running.
Things you may want to cover:
- Ruby version
- 3.2.6
- System dependencies
- node 18.x
-
Configuration
-
Database creation
-
Database initialization
-
How to run the test suite
-
Services (job queues, cache servers, search engines, etc.)
-
Deployment instructions
- Build docker image with
docker build . -t redux-scraper-app
- ...
Description
Languages
Ruby
80%
HTML
10.8%
TypeScript
7.8%
JavaScript
0.7%
Shell
0.2%
Other
0.4%