Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
ruby 3.4.6
nodejs 24.9.0
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ gem "azure_file_shares"
gem "bcrypt", "~> 3.1.7"
gem "bootsnap", require: false
gem "csv"
gem "herb", "~> 0.8.0"
gem "image_processing", "~> 1.14"
gem "importmap-rails"
gem "jbuilder"
Expand All @@ -21,6 +22,7 @@ gem "propshaft"
gem "puma", ">= 5.0"
gem "rack-attack"
gem "rails", "~> 8.0.4"
gem "reactionview", "~> 0.1.6"
gem "requestjs-rails"
gem "scout_apm"
gem "scout_apm_logging", "~> 2.1"
Expand Down
11 changes: 11 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,12 @@ GEM
rake (>= 13)
googleapis-common-protos-types (1.22.0)
google-protobuf (~> 4.26)
herb (0.8.0)
herb (0.8.0-aarch64-linux-gnu)
herb (0.8.0-aarch64-linux-musl)
herb (0.8.0-arm-linux-gnu)
herb (0.8.0-arm-linux-musl)
herb (0.8.0-x86_64-linux-musl)
hotwire-spark (0.1.13)
listen
rails (>= 7.0.0)
Expand Down Expand Up @@ -436,6 +442,9 @@ GEM
erb
psych (>= 4.0.0)
tsort
reactionview (0.1.6)
actionview (>= 7.0)
herb (>= 0.7.5, < 1.0.0)
regexp_parser (2.11.3)
reline (0.6.2)
io-console (~> 0.5)
Expand Down Expand Up @@ -605,6 +614,7 @@ DEPENDENCIES
dotenv-rails
factory_bot_rails
faker
herb (~> 0.8.0)
hotwire-spark
image_processing (~> 1.14)
importmap-rails
Expand All @@ -621,6 +631,7 @@ DEPENDENCIES
rack-mini-profiler
rails (~> 8.0.4)
rails-controller-testing
reactionview (~> 0.1.6)
requestjs-rails
rspec-rails
rubocop-rails-omakase
Expand Down
2 changes: 1 addition & 1 deletion app/views/import_reports/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<span class="badge bg-danger"><%= error.error_type %></span>
</td>
<td class="text-bold-500">
<div class="text-truncate"title="<%= error.file_name %>">
<div class="text-truncate" title="<%= error.file_name %>">
<%= error.file_name || "N/A" %>
</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion app/views/sessions/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="row h-100 p-4">
<div class="col-lg-5 col-12">
<div id="auth-left">
<div class="auth-logo">
<div class="auth-logo"></div>
</div>
<h1 class="auth-title">Log in</h1>
<p class="auth-subtitle mb-5">Log in with your data that you entered during registration.</p>
Expand Down
2 changes: 1 addition & 1 deletion app/views/users/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
</td>
</tr>
<% end %>
<tbody>
</tbody>
</table>
</div>
<div class="card-footer d-flex justify-content-end">
Expand Down
9 changes: 9 additions & 0 deletions config/initializers/reactionview.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# frozen_string_literal: true

ReActionView.configure do |config|
# Intercept .html.erb templates and process them with `Herb::Engine` for enhanced features
config.intercept_erb = true

# Enable debug mode in development (adds debug attributes to HTML)
config.debug_mode = Rails.env.development?
end