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

Commits on Nov 20, 2024
4545013

🎨 Refactor event attendees display and improve UI/UX

This commit reorganizes the display of event attendees, enhancing the user interface and experience. The changes include:

  1. Moving the attendees section to the event info table
  2. Simplifying the display of public and private attendees
  3. Improving the visibility of attendance privacy controls
a7254ad

🐛 Fix iCal link generation in events view

The commit fixes an issue with the iCal link generation in the events view. It ensures that the link is correctly formed by removing any trailing slash from the request path before appending the '.ics' extension.

8c2c804

✨ Add monthly contribution projection for admin users

This commit enhances the payment progress view for admin users by:

  1. Adding a query parameter to differentiate admin views
  2. Calculating and displaying projected monthly contributions
  3. Showing the projection only for admin users

These changes provide admins with more insightful data about expected monthly contributions, helping in financial planning and forecasting.

Commits on Nov 19, 2024
d99fa24

🐛 Fix syntax error in events partial

Adds missing closing bracket to the event rejection logic, ensuring proper filtering of events based on ticket types and organization payment status.

24f460c

🚨 Filter out events with no ticket types for unpaid organizations

This commit improves the event listing by excluding events that have no ticket types and belong to organizations that haven't paid. This change ensures that only valid and paid events are displayed to users.

4db24d2

🐛 Fix conditional rendering of feedback email link in events view

This commit adjusts the logic for displaying the feedback email link in the events view. Now, the link will only appear when the event has started or finished, preventing premature display for upcoming events.

Commits on Nov 18, 2024
3669da0

✨ Add redirect_url and purchase_url to event duplication process

This commit enhances the event duplication functionality by including 'redirect_url' and 'purchase_url' in the attributes copied to the new event. These additions ensure that important URL information is preserved when duplicating events, improving consistency and user experience.

Commits on Nov 17, 2024
e56c058

✨ Improve feedback email link text based on event status

The commit updates the text of the feedback email link in the orders table to be more context-aware. Now, it displays "Send feedback email" for ongoing events and "Resend feedback email" for finished events, enhancing user understanding and interaction.

5718181

🐛 Fix feedback link visibility condition in events view

This commit addresses an issue in the events view where the feedback link was incorrectly displayed based on the event's finished state. The condition has been updated to check if the event has started instead, ensuring that feedback can be provided for ongoing events.

Additionally, a new 'started?' method has been added to the Event model to support this change and improve the overall readability of the code.

Commits on Nov 16, 2024
cbfd3a0

✨ Add 2 seconds of silence at the end of test recording

This commit enhances the video recording functionality in test configurations by adding a 2-second silent finale using the last captured image. This improvement provides a smoother ending to the test recordings, allowing viewers to better absorb the final state of the test.

e25e3d6

🎨 Refactor CSV headers in organisation_events controller

This commit simplifies the structure of CSV headers in the organisation_events controller. The changes improve code readability by consolidating multi-line array definitions into single-line expressions, making the code more concise and easier to maintain.

646b51a

♻️ Refactor CSV generation for event stats

This commit refactors the CSV generation process for event statistics to improve readability and maintainability. The changes include:

  1. Separating the 'name' header from other basic headers
  2. Modifying the row generation process to match the new header structure
  3. Improving code organization for better clarity

These changes make the code more flexible for future modifications and ensure consistency between headers and row data.

9bfb14b

🎨 Refactor event stats views for improved readability and maintainability

This commit includes several changes to improve the structure and readability of event stats-related views:

  1. Simplify HTML structure in _coordinator.erb and _facilitators.erb
  2. Remove unnecessary conditional checks in _organiser.erb
  3. Streamline table header generation in _event_stats.erb
  4. Adjust conditional rendering in _event_stats_row.erb

These changes make the code more consistent and easier to maintain, while also reducing unnecessary complexity and redundancy.

b6443f8

🎨 Refactor CSV generation for organisation events

This commit improves the structure and clarity of the CSV generation process for organisation events. The changes include:

  1. Reordering columns to group related information
  2. Adding new columns for allocated amounts to each role
  3. Separating remaining amounts for each role
  4. Adjusting the placement of the 'remaining_to_be_paid' column
  5. Updating the number of empty cells for non-completed events

These changes enhance the readability and usefulness of the generated CSV, providing a more comprehensive view of event financials and allocations.

dcf6910

🐛 Fix parsing of HTML content in CSV export

This commit addresses two issues in the CSV export functionality:

  1. Changes the header from "allocated_to_#{role}" to "remaining_to_#{role}" to better reflect the actual content of the column.

  2. Improves the parsing of HTML content in table cells:

    • Removes any script tags
    • Splits the content by newlines
    • Rejects blank lines
    • Strips whitespace from each line
    • Joins the resulting lines with commas

These changes enhance the accuracy and readability of the exported CSV data.

1c53186

✨ Add CSV export for event statistics

This commit introduces a new feature to export event statistics as a CSV file for organizations with a Stripe client ID. The changes include:

  1. Modifying the route to support both HTML and CSV formats
  2. Implementing CSV generation logic with comprehensive event data
  3. Adding a download button for CSV export in the event stats view
  4. Ensuring proper data formatting and handling of HTML content in CSV cells

These enhancements improve data accessibility and analysis capabilities for organization admins.

bcb84f9

♻️ Refactor ticket description logic in events/_orders partial

This commit improves the readability and maintainability of the ticket display logic in the events/_orders partial. The ticket description is now generated once and reused, reducing duplication and making the code more DRY.

aafa379

✨ Add membership toggle option to resourceship partials

This commit introduces a new feature that allows for more flexible control over the display of membership toggle buttons in various views. The changes include:

  1. Adding a membership_toggle parameter to resourceship partials
  2. Updating controllers to pass the new parameter
  3. Modifying view templates to include the toggle option
  4. Conditionally rendering membership visibility buttons based on the new parameter

These changes improve the user interface by providing more granular control over when and where membership visibility options are displayed.

a61bd1f

🎨 Improve structure of organisation buttons for mobile view

This commit enhances the layout and styling of organisation buttons in the mobile view. The changes include:

  1. Replace with
    for better semantic structure
  2. Add 'mb-1' class to the container for consistent spacing
  3. Remove redundant 'mb-1' class from the 'Members' area' button

These modifications improve the overall appearance and responsiveness of the organisation buttons on smaller screens.

Commits on Nov 15, 2024
6dd3b9b

🔧 Refactor time zone detection and MaxMind database handling

This commit improves the time zone detection logic and moves the MaxMind database download to the boot process. The changes aim to enhance performance and reliability by:

  1. Simplifying the time zone detection in helpers.rb
  2. Moving MaxMind database download to boot.rb for better initialization
  3. Removing redundant error handling and logging from helpers.rb

These changes should result in a more efficient and maintainable codebase.