Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Weekly Twitter Thread Generation (#19) + feat: enhance contributor profiles with GitHub links and interactive elements (#16) #21

Merged
merged 7 commits into from
Jan 10, 2025

Conversation

xR0am
Copy link
Contributor

@xR0am xR0am commented Jan 7, 2025

Add Weekly Thread Generation Feature

Changes

  • Added thread generation functionality to summarize.py
  • Modified weekly GitHub Action workflow to include thread generation
  • Added thread history management and backup

Example Output

Here's a sample thread generated by the system:

1/ ai16z Eliza: This week saw major progress with 180 PRs merged and 76 new issues addressed. Here's the breakdown of key developments...

2/ 50% of merged PRs were related to performance improvements, resulting in a 25% reduction in overall processing time.

3/ The Eliza team successfully integrated the Dexscreener plugin into the codebase, with a focus on agent, characters, and packages code areas. This addition is expected to enhance user experience by 30%.

4/ A total of 120 PRs were addressed in the bug area, resolving issues such as better-sqlite3 errors and pnpm compatibility problems.

5/ The Eliza team made significant progress in improving the Supabase schema.sql file, with a focus on ensuring seamless integration with the packages code area. This update is expected to enhance data management by 20%.

6/ A new feature was added to the project's packages, allowing for the creation of custom Twitter API search plugins. This addition is expected to increase user engagement by 40%.

7/ The Eliza team successfully refactored imports in the .github and packages code areas, resulting in a 15% reduction in overall import complexity.

8/ A Hungarian README was added to the project, providing users with essential information about the application's functionality and usage. This update is expected to enhance user experience by 25%.

9/ The Eliza team addressed an issue related to character card profiles being cached into the database indefinitely, resolving this problem in a single PR.

10/ Looking ahead, our priorities for the next week include integrating the Opacity adapter, addressing issues with better-sqlite3, and improving performance metrics. We will also be focusing on user experience enhancements and bug fixes.

Testing

  1. Generate a thread locally:
# Generate thread from weekly data
bash scripts/generate_history_summaries.sh

# Check output in data/weekly/thread_[DATE].txt
  1. Verify workflow integration:
# Run weekly process manually
python3 scripts/merge_contributors.py --days 7 --dir data/daily/history -o data/weekly/scored.json
python3 scripts/summarize.py summary data/weekly/scored.json data/weekly/contributors.json --model ollama
bash scripts/generate_history_summaries.sh

Closes #19

@xR0am
Copy link
Contributor Author

xR0am commented Jan 7, 2025

Enhanced Contributor Profiles with GitHub Links

Changes Made

  • Added direct links to GitHub profiles through avatar and username
  • Made each activity entry (commits, PRs, issues) clickable to view details on GitHub
  • Added GitHub icon that appears on hover for better visual feedback
  • Implemented smooth hover transitions for interactive elements
  • Enhanced dark mode support across all components
  • Added "View on GitHub" text for better user guidance

Implementation Details

  • Added GithubIcon component for consistent GitHub branding
  • Enhanced ActivitySection component with proper link handling
  • Updated StatCard component to be clickable and link to relevant GitHub tabs
  • Improved hover states with Tailwind transitions
  • Added proper target="_blank" and rel="noopener noreferrer" for external links

Visual Changes

  • Avatar now has a blue ring on hover
  • Username becomes blue on hover
  • GitHub icon appears next to clickable elements on hover
  • Activity items have enhanced hover states
  • Better visual hierarchy in dark mode

Testing

Please test:

  • All links open correct GitHub pages
  • Dark mode appearance
  • Hover states and transitions
  • Mobile responsiveness

Fixes #16

@xR0am xR0am changed the title feat: Add Weekly Twitter Thread Generation (#19) feat: Add Weekly Twitter Thread Generation (#19) + feat: enhance contributor profiles with GitHub links and interactive elements (#16) Jan 7, 2025
@madjin madjin merged commit 37309c7 into elizaOS:main Jan 10, 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.

Feat: Weekly progress reports
2 participants