Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
6d3d2c3
Add checklist and checklist item management features
rsmithlal Aug 31, 2025
00cdbff
Implement checklist item reordering with Turbo Streams and add associ…
rsmithlal Aug 31, 2025
27c4d13
feat: Implement person-specific checklist item completion functionality
rsmithlal Sep 1, 2025
0d1cf6e
feat: Enhance checklist item update with flash messaging and localiza…
rsmithlal Sep 1, 2025
fd60df5
feat: Add flash messaging support for checklist item updates in JSON …
rsmithlal Sep 1, 2025
ea14239
Rubocop Fixes
rsmithlal Sep 1, 2025
81e28eb
feat: Add localized messages for checklist item updates in English, S…
rsmithlal Sep 1, 2025
af17d34
feat: Implement nested checklist item functionality with parent-child…
rsmithlal Sep 2, 2025
feea9dc
feat: Implement nesting support for checklist items with depth valida…
rsmithlal Sep 2, 2025
6581d28
feat: Add checklist item option title helper and corresponding tests …
rsmithlal Sep 2, 2025
03672b0
feat: Add styles for checklist items, improve nesting visuals, and up…
rsmithlal Sep 2, 2025
2adf261
feat: Enhance checklist item functionality with nesting support, drag…
rsmithlal Sep 2, 2025
1632f7c
feat: Enhance checklist item styles and privacy badge functionality w…
rsmithlal Sep 2, 2025
ac5af15
feat: Improve checklist item form with enhanced labels, hints, and ac…
rsmithlal Sep 2, 2025
643d61b
feat: Enhance checklist item localization with additional hints and l…
rsmithlal Sep 2, 2025
29ea72a
Potential fix for code scanning alert no. 64: CSRF protection weakene…
rsmithlal Sep 2, 2025
efb7fab
chore: Upgrade Rails version to 7.2 across the project
rsmithlal Sep 2, 2025
45dbba3
chore: Update Rails version to 7.2.2.2 in Gemfile, Gemfile.lock, and …
rsmithlal Sep 2, 2025
cc7ebbf
Merge branch 'feature/checklists' of github.com:better-together-solut…
rsmithlal Sep 2, 2025
3847caa
Rubocop fixes
rsmithlal Sep 2, 2025
9a2e147
feat: Enhance form validation and positioning logic for checklist ite…
rsmithlal Sep 2, 2025
c4d399c
Merge branch 'feature/checklists' of github.com:better-together-solut…
rsmithlal Sep 2, 2025
0977a48
Rubocop fixes
rsmithlal Sep 2, 2025
9cc5272
feat: Refactor checklist item rendering and caching; improve helper m…
rsmithlal Sep 2, 2025
d86c50c
fix: Update progress calculation to count all person checklist items;…
rsmithlal Sep 2, 2025
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
17 changes: 7 additions & 10 deletions .github/workflows/rubyonrails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,8 @@ jobs:
matrix:
include:
- ruby: '3.4.4'
rails: '7.1.5.2'
rails: '7.2.2.2'
allowed_failure: false # ✅ required
- ruby: '3.4.4'
rails: '7.2.2.1'
allowed_failure: false # ⚠️ allowed to fail
- ruby: '3.4.4'
rails: '8.0.2'
allowed_failure: true # ⚠️ allowed to fail
Expand Down Expand Up @@ -52,18 +49,18 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}

# Run the automatic bundle-install only on 7.1.
# Run the automatic bundle-install only on 7.2.
# For 7.2 / 8.0 it just sets up Ruby *and* restores a cache layer
# that we’ll reuse in the later manual install.
bundler-cache: ${{ matrix.rails == '7.1.5.2' }}
bundler-cache: ${{ matrix.rails == '7.2.2.2' }}

# One cache bucket per Rails version so they don’t clobber each other.
cache-version: rails-${{ matrix.rails }}

# Updating Rails can legitimately blow up on the experimental tracks,
# so we allow that *step* to error out without failing the job.
- name: Update Rails & install gems
if: matrix.rails != '7.1.5.2'
if: matrix.rails != '7.2.2.2'
id: update
run: |
# turn off deployment mode
Expand All @@ -75,21 +72,21 @@ jobs:
continue-on-error: ${{ matrix.allowed_failure }}

- name: Prepare DB schema
if: (matrix.rails == '7.1.5.2') || steps.update.outcome == 'success'
if: (matrix.rails == '7.2.2.2') || steps.update.outcome == 'success'
run: |
rm -f spec/dummy/tmp/pids/server.pid
bundle exec rake -f spec/dummy/Rakefile db:schema:load
continue-on-error: ${{ matrix.allowed_failure }}

- name: Wait for Elasticsearch
if: (matrix.rails == '7.1.5.2') || steps.update.outcome == 'success'
if: (matrix.rails == '7.2.2.2') || steps.update.outcome == 'success'
run: |
echo "Waiting for Elasticsearch to be healthy..."
curl -s "http://localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" || (echo "Elasticsearch not healthy" && exit 1)


- name: Run RSpec
if: (matrix.rails == '7.1.5.2') || steps.update.outcome == 'success'
if: (matrix.rails == '7.2.2.2') || steps.update.outcome == 'success'
env:
RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Instructions for GitHub Copilot and other automated contributors working in this

## Project
- Ruby: 3.4.4 (installed via rbenv in setup)
- Rails: 7.1
- Rails: 7.2
- Node: 20
- DB: PostgreSQL + PostGIS
- Search: Elasticsearch 7.17.23
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ gem 'pundit-resources', '~> 1.1.4', github: 'better-together-org/pundit-resource

# Core Rails gem
gem 'rack-protection'
gem 'rails', ENV.fetch('RAILS_VERSION', '7.1.5.2')
gem 'rails', ENV.fetch('RAILS_VERSION', '7.2.2.2')

# Redis for ActionCable and background jobs
gem 'redis', '~> 5.4'
Expand Down
150 changes: 72 additions & 78 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ PATH
rack-attack
rack-cors (>= 1.1.1, < 3.1.0)
rack-mini-profiler
rails (>= 7.1, < 8.1)
rails (>= 7.2, < 8.1)
reform-rails (>= 0.2, < 0.4)
rswag (>= 2.3.1, < 2.17.0)
ruby-openai
Expand All @@ -68,51 +68,46 @@ PATH
GEM
remote: https://rubygems.org/
specs:
actioncable (7.1.5.2)
actionpack (= 7.1.5.2)
activesupport (= 7.1.5.2)
actioncable (7.2.2.2)
actionpack (= 7.2.2.2)
activesupport (= 7.2.2.2)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
zeitwerk (~> 2.6)
actionmailbox (7.1.5.2)
actionpack (= 7.1.5.2)
activejob (= 7.1.5.2)
activerecord (= 7.1.5.2)
activestorage (= 7.1.5.2)
activesupport (= 7.1.5.2)
mail (>= 2.7.1)
net-imap
net-pop
net-smtp
actionmailer (7.1.5.2)
actionpack (= 7.1.5.2)
actionview (= 7.1.5.2)
activejob (= 7.1.5.2)
activesupport (= 7.1.5.2)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
actionmailbox (7.2.2.2)
actionpack (= 7.2.2.2)
activejob (= 7.2.2.2)
activerecord (= 7.2.2.2)
activestorage (= 7.2.2.2)
activesupport (= 7.2.2.2)
mail (>= 2.8.0)
actionmailer (7.2.2.2)
actionpack (= 7.2.2.2)
actionview (= 7.2.2.2)
activejob (= 7.2.2.2)
activesupport (= 7.2.2.2)
mail (>= 2.8.0)
rails-dom-testing (~> 2.2)
actionpack (7.1.5.2)
actionview (= 7.1.5.2)
activesupport (= 7.1.5.2)
actionpack (7.2.2.2)
actionview (= 7.2.2.2)
activesupport (= 7.2.2.2)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4)
rack (>= 2.2.4, < 3.2)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
actiontext (7.1.5.2)
actionpack (= 7.1.5.2)
activerecord (= 7.1.5.2)
activestorage (= 7.1.5.2)
activesupport (= 7.1.5.2)
useragent (~> 0.16)
actiontext (7.2.2.2)
actionpack (= 7.2.2.2)
activerecord (= 7.2.2.2)
activestorage (= 7.2.2.2)
activesupport (= 7.2.2.2)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.1.5.2)
activesupport (= 7.1.5.2)
actionview (7.2.2.2)
activesupport (= 7.2.2.2)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
Expand All @@ -125,39 +120,38 @@ GEM
activestorage (>= 6.1.4)
activesupport (>= 6.1.4)
marcel (>= 1.0.3)
activejob (7.1.5.2)
activesupport (= 7.1.5.2)
activejob (7.2.2.2)
activesupport (= 7.2.2.2)
globalid (>= 0.3.6)
activemodel (7.1.5.2)
activesupport (= 7.1.5.2)
activerecord (7.1.5.2)
activemodel (= 7.1.5.2)
activesupport (= 7.1.5.2)
activemodel (7.2.2.2)
activesupport (= 7.2.2.2)
activerecord (7.2.2.2)
activemodel (= 7.2.2.2)
activesupport (= 7.2.2.2)
timeout (>= 0.4.0)
activerecord-import (2.2.0)
activerecord (>= 4.2)
activerecord-postgis-adapter (9.0.2)
activerecord (~> 7.1.0)
rgeo-activerecord (~> 7.0.0)
activestorage (7.1.5.2)
actionpack (= 7.1.5.2)
activejob (= 7.1.5.2)
activerecord (= 7.1.5.2)
activesupport (= 7.1.5.2)
activerecord-postgis-adapter (10.0.1)
activerecord (~> 7.2.0)
rgeo-activerecord (~> 8.0.0)
activestorage (7.2.2.2)
actionpack (= 7.2.2.2)
activejob (= 7.2.2.2)
activerecord (= 7.2.2.2)
activesupport (= 7.2.2.2)
marcel (~> 1.0)
activesupport (7.1.5.2)
activesupport (7.2.2.2)
base64
benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
mutex_m
securerandom (>= 0.3)
tzinfo (~> 2.0)
tzinfo (~> 2.0, >= 2.0.5)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
asset_sync (2.19.2)
Expand Down Expand Up @@ -229,7 +223,7 @@ GEM
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
concurrent-ruby (1.3.5)
connection_pool (2.5.3)
connection_pool (2.5.4)
coveralls_reborn (0.29.0)
simplecov (~> 0.22.0)
term-ansicolor (~> 1.7)
Expand Down Expand Up @@ -469,10 +463,9 @@ GEM
msgpack (1.8.0)
multi_json (1.17.0)
multipart-post (2.4.1)
mutex_m (0.3.0)
net-http (0.6.0)
uri
net-imap (0.5.9)
net-imap (0.5.10)
date
net-protocol
net-pop (0.1.2)
Expand Down Expand Up @@ -529,7 +522,7 @@ GEM
pundit (2.5.0)
activesupport (>= 3.0.0)
racc (1.8.1)
rack (3.2.0)
rack (3.1.16)
rack-attack (6.7.0)
rack (>= 1.0, < 4)
rack-cors (3.0.0)
Expand All @@ -548,20 +541,20 @@ GEM
rack (>= 1.3)
rackup (2.2.1)
rack (>= 3)
rails (7.1.5.2)
actioncable (= 7.1.5.2)
actionmailbox (= 7.1.5.2)
actionmailer (= 7.1.5.2)
actionpack (= 7.1.5.2)
actiontext (= 7.1.5.2)
actionview (= 7.1.5.2)
activejob (= 7.1.5.2)
activemodel (= 7.1.5.2)
activerecord (= 7.1.5.2)
activestorage (= 7.1.5.2)
activesupport (= 7.1.5.2)
rails (7.2.2.2)
actioncable (= 7.2.2.2)
actionmailbox (= 7.2.2.2)
actionmailer (= 7.2.2.2)
actionpack (= 7.2.2.2)
actiontext (= 7.2.2.2)
actionview (= 7.2.2.2)
activejob (= 7.2.2.2)
activemodel (= 7.2.2.2)
activerecord (= 7.2.2.2)
activestorage (= 7.2.2.2)
activesupport (= 7.2.2.2)
bundler (>= 1.15.0)
railties (= 7.1.5.2)
railties (= 7.2.2.2)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
actionview (>= 5.0.1.rc1)
Expand All @@ -576,10 +569,10 @@ GEM
rails-i18n (7.0.10)
i18n (>= 0.7, < 2)
railties (>= 6.0.0, < 8)
railties (7.1.5.2)
actionpack (= 7.1.5.2)
activesupport (= 7.1.5.2)
irb
railties (7.2.2.2)
actionpack (= 7.2.2.2)
activesupport (= 7.2.2.2)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2)
thor (~> 1.0, >= 1.2.2)
Expand Down Expand Up @@ -622,9 +615,9 @@ GEM
railties (>= 5.2)
rexml (3.4.1)
rgeo (3.0.1)
rgeo-activerecord (7.0.1)
activerecord (>= 5.0)
rgeo (>= 1.0.0)
rgeo-activerecord (8.0.0)
activerecord (>= 7.0)
rgeo (>= 3.0)
rouge (4.2.0)
rspec (3.13.1)
rspec-core (~> 3.13.0)
Expand Down Expand Up @@ -791,6 +784,7 @@ GEM
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
uri (1.0.3)
useragent (0.16.11)
virtus (2.0.0)
axiom-types (~> 0.1)
coercible (~> 1.0)
Expand Down Expand Up @@ -851,7 +845,7 @@ DEPENDENCIES
pundit-resources (~> 1.1.4)!
rack-mini-profiler
rack-protection
rails (= 7.1.5.2)
rails (= 7.2.2.2)
rails-controller-testing
rb-readline
rbtrace
Expand Down
Loading
Loading