Skip to content

Commit a89d792

Browse files
authored
feat(OPE-321): Finalize Agents.funUI (#18)
* feat: agents.fun UI setup (#12) * feat: initialize agentsfun-ui with React, Vite, and TypeScript configuration * feat: add navbar and other configs * chore: remove modius-ui-example application files and configurations * feat: implement agent details hook and update agent component with loading state * feat: add TODO for updating theme colors and remove console log from useAgentDetails hook * feat: add README for Agents.fun UI with project description * feat: add GitHub Actions workflow for building and releasing Agents.fun UI * feat: update Agents.fun logo in Navbar component * feat: update Navbar component to support transparent background and adjust retry logic in useAgentDetails hook * feat: UI components, Persona and X Activity (#15) * fix: update IS_MOCK_ENABLED to use process.env in useAgentDetails and vite.config * feat: refactor agent UI components and add error boundary handling * feat: enhance Persona component with description toggle and update theme configuration * feat: add loading skeleton for persona description and refactor layout * feat: improve loading state handling in Persona component * feat: add RecentXActivity component and integrate into App; refactor useAgentDetails for cleaner mock handling; enhance GlobalStyles and symbols * feat: add loading and error states to RecentXActivity component; introduce empty state handling; add new assets for error and empty states; enhance GlobalStyles with text-center class * feat: implement error handling in Persona and RecentXActivity components; add ErrorState component for consistent error display; remove unused color constants from theme * feat: refactor Persona and RecentXActivity components; add formatTimestampToMonthDay utility; remove NavBarContainer; update mock data type * feat: enhance error handling and retry logic in RecentXActivity and useAgentDetails; refactor App component structure for better readability * fix: correct tag pattern in GitHub Actions workflow and update README with mock data and release process instructions * feat: Memecoin activity (#16) * fix: update media source in RecentXActivity component and remove unused Flex wrapper * feat: add MemecoinActivity component and integrate it into the app; refactor RecentXActivity to use EmptyState component for no activity display * feat: refactor MemecoinActivity and RecentXActivity components; introduce AgentActivityOnMemecoin for better activity display; add mock data file * feat: add refetch interval to activity hooks and introduce GeneratedMedia type; create time constants for better time management * feat: replace RecentXActivity with XActivity component for improved activity display; add XActivity implementation * fix: standardize property names in mock data and types; update styles in XActivity component * refactor: rename mock data variables for consistency and clarity * feat: add URL constants for agents.fun and X post; update links in MemecoinActivity and XActivity components * feat: AI generated media section (#17) * feat: add AiGeneratedMedia component for displaying generated media * feat: integrate AiGeneratedMedia component and update mock data for media * feat: enhance agent and X activity hooks with improved loading and error handling * feat: refactor media and memecoin activity hooks for improved data fetching and error handling * feat: add video support and improve media rendering in AiGeneratedMedia and XActivity components * chore: remove mock environment variable from example configuration * feat: enhance media handling with video support and improve styling in AiGeneratedMedia and XActivity components * fix: handle empty media array in Media component and clean up Persona component * feat: refactor Description component for improved ellipsis handling and styling * fix: improve media component hover effects and rename NoActivity to NoMedia * feat: add Gitleaks configuration and workflow for secret scanning * feat: add GitHub Actions workflow for linting and testing on pull requests * feat: implement Navbar component and add tests for it; update GlobalStyles test; configure project.json for test options * feat: add .gitleaksignore file and update README with test command instructions
1 parent d4d728f commit a89d792

12 files changed

Lines changed: 604 additions & 4 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,7 @@ jobs:
3838

3939
- name: Run Nx Lint
4040
run: yarn nx run-many --target=lint --all --skip-nx-cache
41+
42+
- name: Test
43+
run: yarn nx run-many --target=test --all --skip-nx-cache
44+

.github/workflows/gitleaks.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Gitleaks
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- '**' # Run on all branches
7+
8+
jobs:
9+
scan:
10+
name: Run Gitleaks
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0 # Required to scan full git history
18+
19+
- name: Install Gitleaks
20+
run: |
21+
wget https://github.com/zricethezav/gitleaks/releases/download/v8.10.1/gitleaks_8.10.1_linux_x64.tar.gz
22+
tar -xzf gitleaks_8.10.1_linux_x64.tar.gz
23+
sudo install gitleaks /usr/local/bin/gitleaks
24+
25+
- name: Run Gitleaks scan
26+
run: |
27+
gitleaks detect --source . \
28+
--report-format=json \
29+
--report-path=leak_report.json \
30+
--verbose

0 commit comments

Comments
 (0)