Dandelion is a fair source project. View the code on Github

Commits on Dec 09, 2024
a16644e

✨ Add AI tagging feature for events using OpenRouter API

This commit introduces an AI-powered tagging system for events. The new feature generates tags automatically based on the event's name and description, enhancing event categorization and searchability.

b90de5c

♻️ Refactor AI-generated feedback summaries

This commit refactors the implementation of AI-generated feedback summaries for activities and accounts. It removes the Anthropic gem dependency and switches to OpenRouter for AI interactions. The changes improve code organization and add admin controls for refreshing summaries.

17281b6

✨ Add OpenRouter class for AI chat completions

This commit introduces a new OpenRouter class to interact with the OpenRouter AI service. It provides a simple interface for sending chat prompts and receiving AI-generated responses, supporting various models and providers.

Commits on Dec 07, 2024
364c34e

✨ Add Treasure Map feature to library application

This commit introduces a new Treasure Map feature to the library application:

  1. Add a new route '/treasure-map' in the library controller
  2. Create a new view 'treasure_map.erb' with an embedded Google Map
  3. Update the navigation partial to include a link to the Treasure Map

The Treasure Map provides users with an interactive map experience within the library application, enhancing user engagement and exploration.

Commits on Dec 06, 2024
fccb240

🎨 Improve structure of organisation emails and monthly donors pages

This commit enhances the user interface and improves the structure of two organisation-related pages:

  1. In the emails page, it introduces a tabbed interface to separate follower and monthly donor welcome emails, making the form more organized and easier to navigate.

  2. In the monthly donors page, it removes the 'fade' class from tab panes to ensure smoother transitions between tabs and improve user experience.

These changes aim to make the interface more intuitive and user-friendly.

Commits on Dec 04, 2024
e1ae500

🚚 Move :hidden checkbox above password field in account edit form

64e90cb

🔧 Update Stripe integration check in event stats view

This commit changes the condition for displaying the 'Discrepancy' checkbox in the event stats view. Instead of checking sync_stripe, it now checks for the presence of stripe_client_id. This modification ensures that the checkbox is shown only when the organization has a valid Stripe integration.

131e588

🔥 Remove unused 'sync_stripe' field from OrganisationFields


♻️ Refactor Stripe transfer task to use 'stripe_client_id' instead of 'sync_stripe'

7e58fa8

🚚 Rename 'facilitator' role to 'organiser' throughout the application

This commit updates the terminology used in the application, changing 'facilitator' to 'organiser'. This change affects various parts of the codebase including views, models, and concerns. The renaming improves consistency and clarity in role naming across the application.

ceae2a3

🚸 Update form field label from 'Slug' to 'URL' for better user understanding

c9c693e

🎨 Improve UI for slug input fields and URL display

This commit enhances the user interface for slug input fields and URL display across multiple files:

  1. Extend slug functionality to short URL inputs
  2. Adjust styling for short URL input fields
  3. Simplify URL display in gathering and organisation forms
  4. Update human-readable attribute names for slug fields

These changes improve consistency and user experience when working with custom URLs in the application.

5988537

🔥 Remove unused search well offset calculation in pagelets.js

This commit simplifies the code by removing the unused search well offset calculation. The change improves code clarity and performance by directly using the pagelet's offset for scrolling, eliminating unnecessary DOM traversal and conditional logic.

54269dd

🚸 Improve scrolling behavior for pagelet navigation

This commit enhances the user experience by adjusting the scrolling behavior when navigating between pagelets. The changes include:

  1. Consider the position of the search well when calculating scroll offset
  2. Add a small vertical padding to prevent content from touching the header

These improvements make the navigation smoother and more visually pleasing.

3477db0

🔥 Remove unused instance variable @gathering


♻️ Refactor seed data creation for improved clarity and consistency


🚚 Move gathering creation to the end of the seed file

1ed1feb

🔧 Update donation revenue calculation to exclude application fees

This commit modifies the donation revenue calculation to exclude application fees paid to Dandelion. This change ensures more accurate financial reporting by reflecting the net donation amount received by the organization.

a96e47d

🔥 Remove application fee filter from donation calculations

This commit removes the filter for application fees paid to Dandelion when calculating donation revenues. This change simplifies the revenue calculation process and ensures all donations are included, regardless of their fee status.

5dc2844

🐛 Fix Squarespace account creation task

This commit improves the reliability of the Squarespace account creation process by implementing the following changes:

  1. Add scrolling to ensure the form is in view before submission
  2. Implement multiple submission attempts with short delays
  3. Reduce the final wait time from 60 to 10 seconds

These changes aim to address potential issues with form visibility and submission, enhancing the robustness of the account creation task.

d855ac2

🔒️ Enhance privacy and data integrity in gatherings listing

This commit improves the privacy and data integrity of the gatherings listing by adding an additional condition to filter out gatherings without images. It also refines the spring cleaning process to focus on listed gatherings and temporarily disables the deletion operation for safety.

Commits on Dec 03, 2024
380cba4

🎨 Improve structure and styling of event display in maps

This commit enhances the presentation of events in the map view by:

  1. Adding a custom CSS class option to the event block partial
  2. Implementing specific styling for events displayed on maps
  3. Adjusting font sizes for better readability in the map context

These changes allow for more flexible and context-specific event styling, particularly improving the visual appearance of events when shown on maps.

e935875

🐛 Fix attendee count calculation in events/_attendees.erb

This commit updates the attendee counting logic to include ticket holders without accounts and improves the accuracy of the displayed attendee count.