Skip to content

Conversation

zcesur
Copy link
Member

@zcesur zcesur commented Mar 2, 2025

No description provided.

@zcesur zcesur force-pushed the feat/exclusive-bounties branch from 05e2371 to 327705b Compare March 31, 2025 13:14
zcesur added 10 commits March 31, 2025 17:32
- Introduced a new `ExclusiveBountyForm` for sharing bounties with specific users.
- Implemented changeset validation for the exclusive bounty form.
- Updated `BountyLive` to handle exclusive sharing events and manage the corresponding modal.
- Enhanced the UI to include a drawer for exclusive sharing with GitHub handle and deadline inputs.
- Added a new private function `assign_exclusives` to manage users with exclusive access to bounties.
- Updated the bounty sharing logic to include the assignment of exclusives after sharing.
- Enhanced the UI to display the names of users with exclusive access, replacing previous shared user displays.
- Refactored the drawer title from "Share Exclusive" to "Share" for clarity.
- Removed the previous `assign_exclusives` function and reintroduced it later in the file for better organization.
- Added a new section in the UI for sharing bounties on social media platforms including Twitter, Reddit, LinkedIn, and Hacker News.
- Implemented a new `social_share_button` component to handle the sharing functionality and user interactions.
- Updated the layout to improve the visibility and accessibility of sharing options.
- Replaced the previous owner display with a chat header and a dynamic list of exclusive users.
- Improved the layout for better alignment and spacing in the chat section.
- Removed the unused `bounty_frequency` function as part of the cleanup.
- Adjusted padding in the scroll area for better spacing.
- Simplified the structure of the bounty display by consolidating elements.
- Enhanced button styling and layout for social share functionality.
- Updated the social share button to use a more consistent design.
- Enhanced the layout of the exclusives section, adding expiration date visibility and reorganizing user display.
- Updated the social sharing section for better alignment and added a title for clarity.
- Improved button styling and layout for a more cohesive user experience.
@zcesur zcesur force-pushed the feat/exclusive-bounties branch from 859a382 to 83f9332 Compare March 31, 2025 19:02
zcesur added 14 commits March 31, 2025 22:20
- Removed the repository name display from the bounty section for a cleaner layout.
- Maintained focus on key information such as ticket number and bounty amount.
- Increased avatar size and adjusted layout for better visual appeal.
- Updated link and metadata text sizes for improved readability and emphasis on key information.
- Introduced `ensure_user_by_provider_id` function to fetch or create a user based on GitHub provider ID.
- Updated `BountyLive` to utilize the new function for user management during bounty sharing, enhancing user experience and data handling.
- Adjusted icon sizes for better visual consistency across buttons.
- Increased padding in the social sharing section for improved spacing.
- Added a new card header for the description section to enhance content organization.
- Introduced a new `deadline` field in the Bounty schema to track expiration dates.
- Added a validation function to ensure deadlines are set in the future.
- Updated changesets in BountyLive to handle the new deadline field and its validation.
- Created a migration to add the deadline column to the bounties table.
- Introduced a new `MessageCreated` struct to encapsulate message and participant data for broadcasting.
- Refactored the `broadcast` function to utilize the new struct for improved clarity.
- Added `ensure_participant` and `insert_message` private functions to streamline message handling.
- Implemented `get_or_create_bounty_thread` to manage thread creation for bounties.
- Updated `BountyLive` to integrate chat features, including message and participant management.
- Added `bounty_id` field to the `Thread` schema and created a migration for the database update.
- Added an alias for the Admin module to streamline user management.
- Enhanced the layout of the main display area, adjusting padding and height for better usability.
- Updated the avatar fallback to show initials instead of the first character of the provider login.
- Refactored the exclusives assignment logic to utilize the Admin token for user retrieval, improving security and consistency.
- Updated avatar fallback to display initials using the `Util.initials` function for better user identification.
- Modified participant display logic to show a maximum of three avatars, with a count of additional participants if applicable.
- Improved avatar styling with additional ring effects for visual distinction.
- Introduced a new `avatar_group` function in the Avatar module to display multiple user avatars in a grouped format.
- Updated BountyLive to utilize the `avatar_group` component, improving the visual representation of participants in chat.
- Enhanced the logic to limit the number of displayed avatars and show a count of additional participants if applicable.
- Increased the default limit of displayed avatars in the `avatar_group` component from 3 to 4.
- Improved avatar styling by adding a ring effect for better visual distinction.
- Updated usage in `BountyLive` to reflect the new default limit and styling adjustments.
- Added a recipient field to the bounty payment structure to specify the recipient's GitHub handle.
- Updated the RewardBountyForm to include the new github_handle field and adjusted validation requirements.
- Refactored the assign_line_items function to incorporate recipient information and calculate final amounts accordingly.
- Improved the user interface by replacing the dropdown for recipient selection with an input field for GitHub handle.
- Streamlined the payment process by integrating recipient assignment into the event handling logic.
- Changed the type of the amount field from :decimal to Algora.Types.USD for better currency handling.
- Replaced the validation for amount to use a custom validation function for positive money values.
- Simplified the reward bounty structure by directly using the amount without conversion.
- Adjusted the calculation of final amounts to work with the new Money type, ensuring accurate financial computations.
- Changed the assignment of the show_reward_modal from true to false to adjust the modal display logic.
- Refactored the class attribute of the check icon for improved styling consistency.
zcesur added 12 commits April 1, 2025 13:53
- Introduced a new route for repository-specific live sessions in the router.
- Added a RepoNav component for improved navigation within repository contexts.
- Enhanced BountyLive to support dynamic loading of bounties based on repository owner and name.
- Updated ticket reference handling to streamline data assignment in BountyLive.
- Refactored the mount function in BountyLive to incorporate repository parameters for better context management.
…uction

- Added a max_age configuration for AlgoraWeb.OGImageController in both dev.exs and prod.exs.
- Updated the OGImageController to retrieve max_age from the configuration instead of using a hardcoded value.
- Updated the mount function to retrieve and preload bounty data more efficiently.
- Simplified ticket reference assignment to improve clarity and maintainability.
- Adjusted render logic to correctly display ticket information from the bounty structure.
- Updated the layout classes for responsive design, enhancing the user interface on different screen sizes.
- Adjusted avatar sizes and text styles for better visual consistency.
- Modified grid structure to optimize space utilization and improve overall presentation.
- Enhanced avatar styling for improved visual consistency.
- Adjusted layout classes for better spacing and alignment.
- Updated image container to maintain aspect ratio and improve responsiveness.
- Refined text elements for better readability and truncation handling.
- Updated link elements to include rel="noopener" for improved security.
- Adjusted classes for better visual consistency and hover effects.
- Ensured ticket information is wrapped in a link for better user interaction.
@zcesur zcesur changed the title feat: add page to invite exclusives to bounty and reward one-time/recurring bounties feat: bounty page Apr 1, 2025
@zcesur zcesur merged commit 8f0ceba into main Apr 1, 2025
1 check passed
@zcesur zcesur deleted the feat/exclusive-bounties branch April 1, 2025 11:45
zcesur added a commit that referenced this pull request Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant