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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v5

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: 22
cache: 'npm'
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
uses: actions/checkout@v5

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: 22
cache: 'npm'
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,7 @@ end
group :test do
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
gem "capybara"
# Synchronize Capybara commands with application JavaScript and AJAX requests
gem "capybara-lockstep"
gem "selenium-webdriver"
end
41 changes: 24 additions & 17 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ GEM
bcrypt (3.1.20)
bcrypt_pbkdf (1.1.1)
benchmark (0.4.1)
bigdecimal (3.2.2)
bigdecimal (3.2.3)
bindex (0.8.1)
bootsnap (1.18.6)
msgpack (~> 1.2)
Expand All @@ -96,10 +96,15 @@ GEM
rack-test (>= 0.6.3)
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
capybara-lockstep (2.2.3)
activesupport (>= 4.2)
capybara (>= 3.0)
ruby2_keywords
selenium-webdriver (>= 4.0)
childprocess (5.1.0)
logger (~> 1.5)
concurrent-ruby (1.3.5)
connection_pool (2.5.3)
connection_pool (2.5.4)
crass (1.0.6)
date (3.4.1)
debug (1.11.0)
Expand All @@ -114,19 +119,19 @@ GEM
erubi (1.13.1)
et-orbi (1.3.0)
tzinfo
factory_bot (6.5.4)
factory_bot (6.5.5)
activesupport (>= 6.1.0)
factory_bot_rails (6.5.0)
factory_bot_rails (6.5.1)
factory_bot (~> 6.5)
railties (>= 6.1.0)
fugit (1.11.1)
fugit (1.11.2)
et-orbi (~> 1, >= 1.2.11)
raabro (~> 1.4)
globalid (1.2.1)
activesupport (>= 6.1)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
inertia_rails (3.10.0)
inertia_rails (3.11.0)
railties (>= 6)
io-console (0.8.1)
irb (1.15.2)
Expand Down Expand Up @@ -174,7 +179,7 @@ GEM
minitest (5.25.5)
msgpack (1.8.0)
mutex_m (0.3.0)
net-imap (0.5.9)
net-imap (0.5.10)
date
net-protocol
net-pop (0.1.2)
Expand Down Expand Up @@ -220,11 +225,11 @@ GEM
date
stringio
public_suffix (6.0.2)
puma (6.6.1)
puma (7.0.1)
nio4r (~> 2.0)
raabro (1.4.0)
racc (1.8.1)
rack (3.2.0)
rack (3.2.1)
rack-proxy (0.7.7)
rack
rack-session (2.1.1)
Expand Down Expand Up @@ -271,7 +276,7 @@ GEM
regexp_parser (2.11.2)
reline (0.6.2)
io-console (~> 0.5)
rexml (3.4.1)
rexml (3.4.3)
rspec-core (3.13.5)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.5)
Expand All @@ -288,8 +293,8 @@ GEM
rspec-expectations (~> 3.13)
rspec-mocks (~> 3.13)
rspec-support (~> 3.13)
rspec-support (3.13.4)
rubocop (1.79.2)
rspec-support (3.13.5)
rubocop (1.80.2)
json (~> 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
Expand All @@ -303,10 +308,10 @@ GEM
rubocop-ast (1.46.0)
parser (>= 3.3.7.2)
prism (~> 1.4)
rubocop-performance (1.25.0)
rubocop-performance (1.26.0)
lint_roller (~> 1.1)
rubocop (>= 1.75.0, < 2.0)
rubocop-ast (>= 1.38.0, < 2.0)
rubocop-ast (>= 1.44.0, < 2.0)
rubocop-rails (2.33.3)
activesupport (>= 4.2.0)
lint_roller (~> 1.1)
Expand All @@ -318,7 +323,8 @@ GEM
rubocop-performance (>= 1.24)
rubocop-rails (>= 2.30)
ruby-progressbar (1.13.0)
rubyzip (3.0.1)
ruby2_keywords (0.0.5)
rubyzip (3.1.0)
securerandom (0.4.1)
selenium-webdriver (4.35.0)
base64 (~> 0.2)
Expand All @@ -342,7 +348,7 @@ GEM
fugit (~> 1.11.0)
railties (>= 7.1)
thor (>= 1.3.1)
sorbet-runtime (0.5.12392)
sorbet-runtime (0.6.12495)
sqlite3 (2.7.3-aarch64-linux-gnu)
sqlite3 (2.7.3-aarch64-linux-musl)
sqlite3 (2.7.3-arm-linux-gnu)
Expand All @@ -366,7 +372,7 @@ GEM
timeout (0.4.3)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (3.1.4)
unicode-display_width (3.1.5)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
uri (1.0.3)
Expand Down Expand Up @@ -411,6 +417,7 @@ DEPENDENCIES
bootsnap
brakeman
capybara
capybara-lockstep
debug
factory_bot_rails
inertia_rails (~> 3.10)
Expand Down
2 changes: 1 addition & 1 deletion app/frontend/components/ui/dialog/dialog-content.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
{@render children?.()}
{#if showCloseButton}
<DialogPrimitive.Close
class="ring-offset-background focus:ring-ring absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"
class="ring-offset-background focus:ring-ring absolute end-4 top-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"
>
<XIcon />
<span class="sr-only">Close</span>
Expand Down
2 changes: 1 addition & 1 deletion app/frontend/routes/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @file Generated by js-routes 2.3.5. Based on Rails 8.0.2 routes of SvelteStarterKit::Application.
* @file Generated by js-routes 2.3.5. Based on Rails 8.0.2.1 routes of SvelteStarterKit::Application.
* @version 743c630cafd479b5d9ad42a7803e8be1fdeb9448419ce21d215b267e2b0ae749
* @see https://github.com/railsware/js-routes
*/
Expand Down
2 changes: 1 addition & 1 deletion app/frontend/routes/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @file Generated by js-routes 2.3.5. Based on Rails 8.0.2 routes of SvelteStarterKit::Application.
* @file Generated by js-routes 2.3.5. Based on Rails 8.0.2.1 routes of SvelteStarterKit::Application.
* @version 743c630cafd479b5d9ad42a7803e8be1fdeb9448419ce21d215b267e2b0ae749
* @see https://github.com/railsware/js-routes
*/
Expand Down
1 change: 1 addition & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<%= capybara_lockstep if defined?(Capybara::Lockstep) %>
<%= csrf_meta_tags %>
<%= csp_meta_tag %>

Expand Down
1 change: 1 addition & 0 deletions config/initializers/inertia_rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
InertiaRails.configure do |config|
config.version = ViteRuby.digest
config.encrypt_history = true
config.always_include_errors_hash = true

config.parent_controller = "::InertiaController"
end
Loading