Commit Graph
12900 Commits
Author SHA1 Message Date
Brenda Wallace 168e394150 Expands "Friends and Neighbours" to 300 items release99 2026-10-24 15:43:19 +13:00
Brenda Wallace d62125e4f5 Add world neighbours feature for job suggestions based on latitude 2026-10-24 15:29:17 +13:00
Daniel O'Connorandgoogle-labs-jules[bot] ad74235b95 Make flash messages sticky when page is scrolled (#4999)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-10-24 12:40:18 +10:30
Brenda Wallace 0d24f5c27d Drop the byebug (#5052) 2026-10-24 12:08:27 +10:30
google-labs-jules[bot]andCloCkWeRX a9849a7e50 Redirect comments actions to commentable with #comments anchor
Update CommentsController create, update, and destroy actions to redirect to
the commentable resource path with the #comments anchor tag. Also update
CommentsController spec assertions to expect the #comments anchor tag on
redirection.

Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com>
2026-10-24 11:27:58 +10:30
Daniel O'Connorandgoogle-labs-jules[bot] fbab11e189 Add full CRUD capabilities for member API token management (#5041)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-10-24 02:44:08 +10:30
Daniel O'Connorandgoogle-labs-jules[bot] 7cdfc1b1f1 Set default hyperlink on planting chip actions menu toggle (#4961)
Pass the planting view URL to ActionsMenu in PlantingChip and accept
an optional href prop in ActionsMenu so middle/ctrl clicks open the
planting view in a new tab.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-10-24 00:38:32 +10:30
dependabot[bot]andDaniel O'Connor c80225c4bc Bump rails from 8.1.3.1 to 8.1.4 (#4856)
* Bump rails from 8.1.3.1 to 8.1.4

Bumps [rails](https://github.com/rails/rails) from 8.1.3.1 to 8.1.4.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v8.1.3.1...v8.1.4)

---
updated-dependencies:
- dependency-name: rails
  dependency-version: 8.1.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Drop stale expectation

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel O'Connor <daniel.oconnor@gmail.com>
2026-10-24 00:00:34 +10:30
Daniel O'Connorandgoogle-labs-jules[bot] dc821b28ac Add missing en.layouts.menu translation keys (#5006)
Add missing translation keys under the `en.layouts.menu` namespace in
`config/locales/en.yml` for navigation links used in `app/views/layouts/_menu.haml`.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-10-23 23:42:10 +10:30
3e0ef4ff8c Use site_name in Devise signup/welcome email subjects (#553) (#5007)
- Subclass Devise::Mailer as DeviseMailer overriding subject_for to pass site_name option.
- Configure config.mailer = 'DeviseMailer' and config.mailer_sender in Devise initializer using GROWSTUFF_SITE_NAME env var.
- Update Devise locale subject strings in config/locales/devise.en.yml to use %{site_name}.
- Add spec/mailers/devise_mailer_spec.rb to verify subject interpolation.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Brenda Wallace <brenda@wallace.net.nz>
2026-10-23 23:34:53 +10:30
Daniel O'Connorandgoogle-labs-jules[bot] af40114ab8 Fix race condition in gardens_spec.rb feature tests (#5038)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-10-23 23:09:37 +10:30
Daniel O'Connorandgoogle-labs-jules[bot] dd649f428e Update @percy/cli and fast-xml-parser dependencies (#5037)
Update @percy/cli to ^1.32.12 in package.json and update yarn.lock, ensuring fast-xml-parser transitive dependency requirement (^4.4.1) from @percy/core is satisfied with the updated version.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-10-23 22:58:19 +10:30
Daniel O'Connorandgoogle-labs-jules[bot] f1da4a38eb Fix navbar drawer media query for medium screen sizes (#5005)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-10-23 22:38:48 +10:30
Daniel O'Connor 149c2171f4 Doubled key (#5036) 2026-10-23 22:31:24 +10:30
Brenda Wallace bbb8a142c7 widening the range for suggsting jobs (#5034)
* Add crop_job_step association to Job model and migration

- Introduced a has_many association in CropJobStep for jobs with dependent nullify.
- Added crop_job_step reference to Job model with optional association.
- Created migration to add crop_job_step reference to jobs table with foreign key.
- Updated schema to reflect the new association.
- Added tests for crop_job_step association in Job model.

* Add ApplyCropJobTemplate service and for_crop scope to CropJobTemplate model

* Add job idea dismissal feature and related services

- Introduced JobIdeaDismissal model to manage dismissed job ideas for members.
- Added associations and validations for job idea dismissals in the Member model.
- Created JobIdeas service to generate job ideas based on templates and last year's activities.
- Implemented JobIdeas::LastYear and JobIdeas::Templates classes to fetch relevant job ideas.
- Added migration for job_idea_dismissals table and updated schema.
- Developed tests for job idea dismissal functionality and related services.

* Add PlantedLastYear service and update JobIdeas to include it

* Add action attribute to Job model and update related files

* Refactor JobIdeas service: replace LastYear and PlantedLastYear with PastJobs and PastPlantings; update related specs

* Add community and nearby job ideas sources; implement shown and more methods in JobIdeas service

* Implement job idea dismissal duration and snooze functionality; add hidden_until attribute and related specs

* Add Harvest class to JobIdeas service for managing harvest-related job ideas; implement ideas generation and related specs

* Add JobIdeas feature: implement JobIdeasController, views, and related services for job suggestions; include functionality for adding, hiding, and snoozing job ideas

* Refactor button options in job ideas view for improved readability and maintainability

* Enhance Job Ideas feature: add styling for idea cards, implement filtering options, and update controller logic to manage skipped sources; improve localization for job idea reasons and sections

* Add job ideas count and badge display; implement helper methods and update views for better visibility of job ideas

* Enhance Job Ideas feature: add UI elements for job suggestions, implement schedule display for template jobs, and improve localization; update related specs for new functionality

* Enhance Job Ideas feature: implement overlay for job suggestions, add animations for job transitions, and improve UI components; update controller and helper methods for better handling of job ideas

* Refactor Job Ideas feature: remove badge display and related tests; update UI components for better layout and visibility of job suggestions

* Refactor Jobs view and update specs: improve layout for job groups and enhance test coverage for jobs index with ideas

* Refactor Job Ideas feature: replace dismiss! with hide! method, update job count logic, and enhance UI components for better visibility and layout

* Add job ideas feature: implement ideas banner on homepage, enhance overlay logic, and add tests for job ideas display

* widen the range for suggseting jobs

* Fix comment to accurately describe planted crops timeframe in PastPlantings class
2026-10-23 22:24:12 +10:30
Brenda Wallace ff1dd8bb05 adding coverage 2026-10-23 21:34:33 +13:00
Brenda Wallace f9d7110783 adding tests or our react components 2026-10-23 21:34:33 +13:00
Brenda Wallace b22fa68bdf Refactor Job Ideas feature: replace dismiss! with hide! method, update job count logic, and enhance UI components for better visibility and layout 2026-10-23 21:04:21 +13:00
Brenda Wallace 7a4bff150e Refactor Jobs view and update specs: improve layout for job groups and enhance test coverage for jobs index with ideas 2026-10-23 21:04:21 +13:00
Brenda Wallace 76dafadc7f Refactor Job Ideas feature: remove badge display and related tests; update UI components for better layout and visibility of job suggestions 2026-10-23 21:04:21 +13:00
Brenda Wallace c4ab1bab15 Enhance Job Ideas feature: implement overlay for job suggestions, add animations for job transitions, and improve UI components; update controller and helper methods for better handling of job ideas 2026-10-23 21:04:21 +13:00
Brenda Wallace e14b246dca Enhance Job Ideas feature: add UI elements for job suggestions, implement schedule display for template jobs, and improve localization; update related specs for new functionality 2026-10-23 21:04:21 +13:00
Brenda Wallace a235df0215 Add job ideas count and badge display; implement helper methods and update views for better visibility of job ideas 2026-10-23 21:04:21 +13:00
Brenda Wallace 3bdbd6c3a5 Enhance Job Ideas feature: add styling for idea cards, implement filtering options, and update controller logic to manage skipped sources; improve localization for job idea reasons and sections 2026-10-23 21:04:21 +13:00
Brenda Wallace 5b2d6e141c Refactor button options in job ideas view for improved readability and maintainability 2026-10-23 21:04:21 +13:00
Brenda Wallace 686b508d34 Add JobIdeas feature: implement JobIdeasController, views, and related services for job suggestions; include functionality for adding, hiding, and snoozing job ideas 2026-10-23 21:04:21 +13:00
Brenda Wallace 19e179229c Add Harvest class to JobIdeas service for managing harvest-related job ideas; implement ideas generation and related specs 2026-10-23 21:04:21 +13:00
Brenda Wallace c6bf51c542 Implement job idea dismissal duration and snooze functionality; add hidden_until attribute and related specs 2026-10-23 21:04:21 +13:00
Brenda Wallace fa1da3712b Add community and nearby job ideas sources; implement shown and more methods in JobIdeas service 2026-10-23 21:04:21 +13:00
Brenda Wallace 83504615d4 Refactor JobIdeas service: replace LastYear and PlantedLastYear with PastJobs and PastPlantings; update related specs 2026-10-23 21:04:21 +13:00
Brenda Wallace 1266c0e537 Add action attribute to Job model and update related files 2026-10-23 21:04:21 +13:00
Brenda Wallace 3109109cd7 Add PlantedLastYear service and update JobIdeas to include it 2026-10-23 21:04:21 +13:00
Brenda Wallace a3764739b3 Add job idea dismissal feature and related services
- Introduced JobIdeaDismissal model to manage dismissed job ideas for members.
- Added associations and validations for job idea dismissals in the Member model.
- Created JobIdeas service to generate job ideas based on templates and last year's activities.
- Implemented JobIdeas::LastYear and JobIdeas::Templates classes to fetch relevant job ideas.
- Added migration for job_idea_dismissals table and updated schema.
- Developed tests for job idea dismissal functionality and related services.
2026-10-23 21:04:21 +13:00
Brenda Wallace c5b04b78a3 Add ApplyCropJobTemplate service and for_crop scope to CropJobTemplate model 2026-10-23 21:04:21 +13:00
Brenda Wallace 89599a665d Add crop_job_step association to Job model and migration
- Introduced a has_many association in CropJobStep for jobs with dependent nullify.
- Added crop_job_step reference to Job model with optional association.
- Created migration to add crop_job_step reference to jobs table with foreign key.
- Updated schema to reflect the new association.
- Added tests for crop_job_step association in Job model.
2026-10-23 21:04:21 +13:00
Daniel O'Connoranddependabot[bot] f41617a79a Bump aws-sdk-s3 from 1.233.2 to 1.234.0 (#5024)
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.233.2 to 1.234.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

---
updated-dependencies:
- dependency-name: aws-sdk-s3
  dependency-version: 1.234.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-23 18:19:26 +10:30
dependabot[bot] 9bfa0788df Bump aws-sdk-s3 from 1.233.2 to 1.234.0
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.233.2 to 1.234.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

---
updated-dependencies:
- dependency-name: aws-sdk-s3
  dependency-version: 1.234.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-23 07:43:03 +00:00
Daniel O'Connoranddependabot[bot] fb022eeb81 Bump pry from 0.16.0 to 0.16.1 (#5023)
Bumps [pry](https://github.com/pry/pry) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/pry/pry/releases)
- [Changelog](https://github.com/pry/pry/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pry/pry/compare/v0.16.0...v0.16.1)

---
updated-dependencies:
- dependency-name: pry
  dependency-version: 0.16.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-23 18:10:43 +10:30
Daniel O'Connor ea9668adce Merge branch 'main' into dependabot/bundler/pry-0.16.1 2026-10-23 18:04:51 +10:30
Daniel O'Connor 544287cd42 Localize footer navigation links (#5022) 2026-10-23 18:00:19 +10:30
dependabot[bot] 4a403c8b72 Bump pry from 0.16.0 to 0.16.1
Bumps [pry](https://github.com/pry/pry) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/pry/pry/releases)
- [Changelog](https://github.com/pry/pry/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pry/pry/compare/v0.16.0...v0.16.1)

---
updated-dependencies:
- dependency-name: pry
  dependency-version: 0.16.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-23 07:03:14 +00:00
Brenda Wallace 6332f26c58 Merge pull request #4994 from Growstuff/crop-job-templates-admin
Admin for crop job templates, a tidier crop wrangling page, and crop and template seeds
2026-10-23 13:26:33 +10:30
Brenda Wallace e64e893b4f Merge pull request #5015 from Growstuff/job-photos
Photos on jobs, before and after
2026-10-23 13:20:46 +10:30
Brenda Wallace 9318ec3a7d Merge pull request #5012 from Growstuff/feat/tasks-for-garden
Feat/tasks for garden
2026-10-23 13:48:39 +13:00
Brenda Wallace 920e361bdf Merge remote-tracking branch 'origin/main' into feat/tasks-for-garden 2026-10-23 13:41:43 +13:00
Brenda Wallace d7103eb4af Merge pull request #5010 from Growstuff/feat/timeline-jobs
add finished jobs to the timeline
2026-10-23 13:41:12 +13:00
Brenda Wallace 42deef49f6 Enhance job handling in neighbours and timeline services: add support for finished jobs, update queries, and improve localization for job-related events. 2026-10-23 13:28:37 +13:00
Brenda Wallace f0065d2b20 UI niceness for jobs - #5009
UI niceness for jobs
2026-10-23 00:28:33 +00:00
Brenda Wallace 2456e30a4d Merge remote-tracking branch 'origin/main' into ui-niceness-for-jobs 2026-10-23 13:20:47 +13:00
Brenda Wallace c46df976d6 Celebrate crossing off a job with flowers, and add the snail - #4993
Celebrate crossing off a job with flowers, and add the snail
2026-10-23 10:41:06 +10:30