Dandelion is a fair source project. View the code on Github · See the design guide

Commits on Mar 10, 2025
4ee860b

🐛 (models/order.rb): reduce qr_size to improve readability

2f72bde

🚚 (app.scss, app/views/_chat_card.erb): move chat related styles from app.scss to _chat_card.erb

The chat related styles were moved from app.scss to _chat_card.erb to improve component modularity and maintainability. This change encapsulates the styles within the chat card component, making it more self-contained and easier to reuse or modify in isolation.

1aa9b96

✨ (app.scss): add responsive styles for chat card
➕ (app/views/_chat_card.erb): add chat card partial
♻️ (app/views/events/_discussion.erb): refactor discussion to use chat card partial
♻️ (app/views/events/event.erb): refactor event to use chat card partial
♻️ (app/views/pmails/build.erb): refactor pmails build to use chat card partial
➕ (app/views/pmails/_files.erb): add files partial for pmails

88d25ac

💄 (app/views/pmails/build.erb): Improve chat UI on larger screens

This commit improves the chat user interface on larger screens by:

  • Removing the border from the chat card.
  • Removing the margin from the chat card.
  • Removing the padding from the chat card body.
  • Setting the z-index of the chat container to 99.
0792f9c

✨ (app/views/pmails/build.erb): Refactor pmail form and add partials for header, clicks, to_options, and exclude
✨ (app/views/pmails/_clicks.erb): Add partial for displaying pmail link clicks
✨ (app/views/pmails/_exclude.erb): Add partial for excluding people from pmail based on event, activity, or local group
✨ (app/views/pmails/_header.erb): Add partial for displaying pmail header information
✨ (app/views/pmails/_to_options.erb): Add partial for selecting pmail recipients

041eb7f

✨ (app/views/pmails/_attachments.erb): add copy URL functionality to attachments
💄 (app/views/pmails/_attachments.erb): improve attachments table style
💄 (app/views/pmails/build.erb): remove paperclip icon from files header

90e48d8

🎨 (app/views/pmails/build.erb): improve layout and UI of pmail build form

This commit improves the layout and UI of the pmail build form for better user experience. The changes include:

  • Wrapping the form content in a row to utilize Bootstrap's grid system.
  • Moving the file upload section to a separate column on the right side of the form.
  • Adding icons to the file search input and the card header for visual appeal.
  • Adding a style tag to fix the width of the file input.
  • Adding a conditional rendering for A/B test emails.
8ef5232

♻️ (models): simplify time field types for pmail models

The change simplifies the type of requested_send_at and sent_at fields from ActiveSupport::TimeWithZone to Time in Pmail, PmailTest, and PmailTestship models. This removes the ActiveSupport dependency for these fields, making the code more straightforward and easier to maintain.

034cf61

✨ (app/views/pmails/build.erb): Add ability to exclude local groups from pmails
✨ (models/local_group.rb): Add associations for excluding local groups from pmails
✨ (models/pmail.rb): Add local group exclusion to pmails

f0f59a8

🔇 (tasks.rake): remove logger.info and replace with puts for simpler logging

1cc57b9

🔇 (models/event.rb): comment out unused variable assignment

The c variable was assigned the count of recommendable accounts but was never used. This commit removes the unused variable assignment to improve code clarity and reduce potential confusion.

bd19385

🎨 (tasks.rake): fix indentation in tasks.rake file

e0640ac

🚚 (tasks.rake): move code_to_markdown task to late:other namespace
🔥 (tasks.rake): remove dump namespace

The 'dump' namespace was removed because it contained a task 'code_to_markdown' that was not actively used and was creating unnecessary clutter in the rake task list. The 'code_to_markdown' task has been moved to the 'late:other' namespace to keep it available if needed, but to signal that it is not part of the main task flow.

44f8bcd

🔇 (models/event.rb): remove progress output during recommendation

The progress output was removed because it is not needed in production and it slows down the recommendation process.

Commits on Mar 09, 2025
cc09963

🔊 (tasks.rake): replace puts with logger.info for better logging

764b739

✨ (app/helpers/helpers.rb): add event_tags_joined to search query

This commit adds the event_tags_joined field to the search query in the search_events helper method. This allows users to search for events based on their tags, improving the search functionality of the application.

49774b8

✨ (models): add event_tags_joined field to Event model

This commit introduces a new field, event_tags_joined, to the Event model. This field stores a comma-separated string of all event tag names associated with an event. The set_browsable callback is updated to set this field after an event is saved. This change allows for easier searching and filtering of events based on their tags.

866cc33

🔊 (tasks.rake): add puts statements to rake tasks to improve debugging

f7c0564

✨ (tasks.rake): move tasks to modules and call them from rake

This commit refactors the rake tasks by moving them into modules and calling them from the rake tasks. This makes the code more modular and easier to maintain.

The following tasks were moved:

  • organisations:check_squarespace_signup to CheckSquarespaceSignup.check
  • organisations:set_counts to Organisation.set_counts
  • stats:monthly_contributions to MonthlyContributionsCalculator.calculate
  • events:recommend to Event.recommend
  • late: update feedback counts to EventFeedback.update_facilitator_feedback_counts
6faf811

✨ (tasks.rake): add late:errands task to perform daily tasks This commit introduces a new rake task, late:errands, which consolidates several daily maintenance operations. This task is designed to be run late in the day to perform cleanup and data refreshing tasks.


🚚 (tasks.rake): rename and consolidate tasks for better organization This commit renames the daily:get task to late:errands and incorporates several other tasks into it. The tasks tidy_up:delete_all, organisations:create_edges, gatherings:clear_up_optionships, and stats:facilitator_feedback_counts have been removed as separate tasks and their functionality has been integrated into the new late:errands task. This change aims to improve the organization and maintainability of the rake tasks by grouping related operations into a single task.