Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -176,5 +176,7 @@ config/kong/ssl/*.pem

# Node.js
node_modules/
package-lock.json

# Git worktrees
.worktrees/

1,864 changes: 1,259 additions & 605 deletions admin/hub_module/frontend/package-lock.json

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions admin/hub_module/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,27 @@
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0"
},
"dependencies": {
"@heroicons/react": "^2.2.0",
"@penguin/react_libs": "file:../../../shared/react_libs",
"axios": "^1.7.9",
"lucide-react": "^0.468.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^7.1.1",
"reactflow": "^11.10.1",
"socket.io-client": "^4.8.1"
"@heroicons/react": "2.2.0",
"@penguintechinc/react-libs": "1.3.4",
"axios": "1.18.1",
"lucide-react": "0.468.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "7.18.2",
"reactflow": "11.10.1",
"socket.io-client": "4.8.1"
},
"devDependencies": {
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"eslint": "^8.57.1",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.16",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"vite": "^6.2.6"
"@types/react": "18.3.18",
"@types/react-dom": "18.3.5",
"@vitejs/plugin-react": "4.3.4",
"autoprefixer": "10.4.20",
"eslint": "8.57.1",
"eslint-plugin-react": "7.37.3",
"eslint-plugin-react-hooks": "5.1.0",
"eslint-plugin-react-refresh": "0.4.16",
"postcss": "8.5.25",
"tailwindcss": "3.4.17",
"vite": "6.4.3"
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**
* Announcement Modal Component
* Modal for creating/editing announcements with platform broadcast capabilities
* Migrated to use FormModalBuilder from @penguin/react_libs
* Migrated to use FormModalBuilder from @penguintechinc/react-libs
*/
import { useMemo } from 'react';
import { FormModalBuilder } from '@penguin/react_libs';
import { FormModalBuilder } from '@penguintechinc/react-libs';

// WaddleBot theme colors matching the existing UI
const waddlebotColors = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { adminApi } from '../../services/api';
import { useAuth } from '../../contexts/AuthContext';
import BotScoreBadge from '../../components/BotScoreBadge';
import { ShieldCheckIcon, ExclamationTriangleIcon, UserGroupIcon, ClockIcon } from '@heroicons/react/24/outline';
import { FormModalBuilder } from '@penguin/react_libs';
import { FormModalBuilder } from '@penguintechinc/react-libs';

// WaddleBot theme colors matching the existing UI
const waddlebotColors = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import { useState, useEffect, useMemo } from 'react';
import { useParams, useSearchParams, Link } from 'react-router-dom';
import { adminApi } from '../../services/api';
import { FormModalBuilder } from '@penguin/react_libs';
import { FormModalBuilder } from '@penguintechinc/react-libs';
import {
TicketIcon,
PlusIcon,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
XMarkIcon,
} from '@heroicons/react/24/outline';
import { adminApi } from '../../services/api';
import { FormModalBuilder } from '@penguin/react_libs';
import { FormModalBuilder } from '@penguintechinc/react-libs';

// WaddleBot theme colors matching the existing UI
const waddlebotColors = {
Expand Down
2 changes: 1 addition & 1 deletion admin/hub_module/frontend/src/pages/admin/AdminForms.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
ArrowDownTrayIcon,
} from '@heroicons/react/24/outline';
import { adminApi } from '../../services/api';
import { FormModalBuilder } from '@penguin/react_libs';
import { FormModalBuilder } from '@penguintechinc/react-libs';

// WaddleBot theme colors matching the existing UI
const waddlebotColors = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
SignalIcon,
} from '@heroicons/react/24/outline';
import { adminApi } from '../../services/api';
import { FormModalBuilder } from '@penguin/react_libs';
import { FormModalBuilder } from '@penguintechinc/react-libs';

// WaddleBot theme colors matching the existing UI
const waddlebotColors = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, useEffect, useMemo } from 'react';
import { useParams } from 'react-router-dom';
import { adminApi } from '../../services/api';
import { FormModalBuilder } from '@penguin/react_libs';
import { FormModalBuilder } from '@penguintechinc/react-libs';

// WaddleBot theme colors matching the existing UI
const waddlebotColors = {
Expand Down
2 changes: 1 addition & 1 deletion admin/hub_module/frontend/src/pages/admin/AdminPolls.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
ClockIcon,
} from '@heroicons/react/24/outline';
import { adminApi } from '../../services/api';
import { FormModalBuilder } from '@penguin/react_libs';
import { FormModalBuilder } from '@penguintechinc/react-libs';

// WaddleBot theme colors matching the existing UI
const waddlebotColors = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, useEffect, useMemo } from 'react';
import { useParams } from 'react-router-dom';
import { adminApi } from '../../services/api';
import { FormModalBuilder } from '@penguin/react_libs';
import { FormModalBuilder } from '@penguintechinc/react-libs';

// WaddleBot theme colors matching the existing UI
const waddlebotColors = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, useEffect, useMemo } from 'react';
import { useParams } from 'react-router-dom';
import api from '../../services/api';
import { FormModalBuilder } from '@penguin/react_libs';
import { FormModalBuilder } from '@penguintechinc/react-libs';

// WaddleBot theme colors matching the existing UI
const waddlebotColors = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useState, useEffect } from 'react';
import { useParams, Link, useNavigate } from 'react-router-dom';
import { publicApi, communityApi } from '../../services/api';
import { useAuth } from '../../contexts/AuthContext';
import { FormModalBuilder } from '@penguin/react_libs';
import { FormModalBuilder } from '@penguintechinc/react-libs';
import {
GlobeAltIcon,
LockClosedIcon,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, useEffect, useMemo } from 'react';
import { superAdminApi } from '../../services/api';
import { Search, Plus, Edit2, Trash2, Eye, EyeOff, Star, Download, Package } from 'lucide-react';
import { FormModalBuilder } from '@penguin/react_libs';
import { FormModalBuilder } from '@penguintechinc/react-libs';

// WaddleBot theme colors matching the existing UI
const waddlebotColors = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
ExternalLink,
Loader2,
} from 'lucide-react';
import { FormModalBuilder } from '@penguin/react_libs';
import { FormModalBuilder } from '@penguintechinc/react-libs';

// WaddleBot theme colors matching the existing UI
const waddlebotColors = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
ShoppingCartIcon,
} from '@heroicons/react/24/outline';
import { superAdminApi } from '../../services/api';
import { FormModalBuilder } from '@penguin/react_libs';
import { FormModalBuilder } from '@penguintechinc/react-libs';

function SuperAdminUsers() {
const [users, setUsers] = useState([]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
ClockIcon,
} from '@heroicons/react/24/outline';
import api from '../../services/api';
import { FormModalBuilder } from '@penguin/react_libs';
import { FormModalBuilder } from '@penguintechinc/react-libs';

// WaddleBot theme colors for FormModalBuilder
const waddlebotColors = {
Expand Down
Loading