* Add Procfile.dev and update bin/dev for dev asset watchers
- Create Procfile.dev to run web server and asset compilation watchers
for JS (`yarn build:watch`) and CSS (`yarn build:css:watch`).
- Add `foreman` gem to `:development` group in Gemfile.
- Update `bin/dev` to run Procfile.dev using available process manager
(overmind, hivemind, or foreman).
- Fix `build:css:watch` script in package.json to pass `--watch` to Sass.
- Update README.md to instruct running `bin/dev` in development.
Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com>
* Add Procfile.dev and update bin/dev for dev asset watchers
- Create Procfile.dev to run web server and asset compilation watchers
for JS (`yarn build:watch`) and CSS (`yarn build:css:watch`).
- Add `foreman` gem to `:development` group in Gemfile and Gemfile.lock.
- Update `bin/dev` to run Procfile.dev using available process manager
(overmind, hivemind, or foreman).
- Fix `build:css:watch` script in package.json to pass `--watch` to Sass.
- Update README.md to instruct running `bin/dev` in development.
Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com>
* Apply suggestion from @CloCkWeRX
* Apply suggestion from @CloCkWeRX
* Add Procfile.dev and update bin/dev for dev asset watchers
- Create Procfile.dev to run web server and asset compilation watchers
for JS (`yarn build:watch`) and CSS (`yarn build:css:watch`).
- Add `foreman` gem to `:development` group in Gemfile and Gemfile.lock.
- Update `bin/dev` to run Procfile.dev using available process manager
(overmind, hivemind, or foreman).
- Fix `build:css:watch` script in package.json to pass `--watch` to Sass.
- Update README.md to instruct running `bin/dev` in development.
- Keep .ruby-version unchanged.
Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com>
* Apply suggestion from @CloCkWeRX
---------
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>
- Update styles for notepad title and job suggestions.
- Modify job suggestions controller to filter by garden plantings.
- Implement interactive suggestions in job notepad for crop linking.
- Add link to view all jobs in the garden's notepad.
- Extend tests for job suggestions in garden context.
Add `Garden#has_layout?` method to detect whether a garden has an
existing layout. On `gardens#show`, if a garden has a layout, display
an SVG preview of the layout (placed plants and features) inside the
teaser bed frame, remove the "New" badge, update the title to
"Garden layout", and offer "Edit layout →" or "View layout →" controls.
If no layout exists, preserve the original "Map out this bed" teaser
and "New" badge.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
* Add comment support for plantings
- Add polymorphic comments association, subject, and author methods to Planting.
- Add comments_count column migration for Planting counter cache.
- Update CommentsController and comments view templates to support Planting.
- Render comments list and form on Planting show view.
- Add specs for Planting comments in models, controllers, and requests.
Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com>
* put 4.0.7 back
* Opt comments on posts into record-page styling temporarily
* Drop hr
* Flatten comments
* Update schema
---------
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>
- Renamed all instances of 'Activity' to 'Job' in views, controllers, and models.
- Updated routes to reflect the change from activities to jobs.
- Modified database schema to rename the activities table to jobs and adjusted related columns.
- Updated locale files to change activity-related translations to jobs.
- Adjusted tests to ensure they reference jobs instead of activities.
- Removed the category field from jobs as they are now a plain list.
- Updated seed data and sample data generation to create jobs instead of activities.