sebastjanartic
e2ec1209fe
Improve video editing form with data type conversion and Slovenian localization
...
Update the video editing form to correctly process episode numbers and tags before submission, ensuring proper data types. Localize UI elements such as "Visibility Status" and its options to Slovenian.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1/ezyc5gl
2025-09-02 14:04:03 +00:00
sebastjanartic
ae27c6f87e
Improve content type selection and input field behavior for videos
...
Update admin page dialog to conditionally disable and style input fields (Song Title, Artist/Band, Episode Title) based on the selected content type (e.g., 'oddaja', 'music_video').
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1/EnQhtBc
2025-09-02 13:58:14 +00:00
sebastjanartic
c1289e38bf
Update video editing options and improve app stability
...
Update the `admin.tsx` file to include `episodeNumber` in the `EditVideoDialog` component and modify the genre select options. Also, remove deprecated integrations from the `.replit` file.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b8acb3b1-9903-4862-bc2d-326c35e48b18
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/b8acb3b1-9903-4862-bc2d-326c35e48b18/2cCVHe3
2025-09-02 13:52:49 +00:00
sebastjanartic
4bf0501f11
Update video editing interface to better support shows and episodes
...
Remove episode number input and adjust labels/placeholders for show titles and episode details in the video editing form. Modify submission logic to directly use form data.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/uPMtWcA
2025-09-02 13:48:30 +00:00
sebastjanartic
9b39f101c2
Increase the number of videos displayed in the admin panel
...
Update the default limit for fetching videos in the admin panel from 50 to 500, and display the total number of videos available.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/OcXjVeJ
2025-09-02 13:44:14 +00:00
sebastjanartic
a755ddb6bb
Improve layout and spacing of administrative video editing form elements
...
Adjusted padding, gap, and height for select components and labels in the admin video editing dialog for better UI presentation.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/5qUegOb
2025-09-02 13:42:29 +00:00
sebastjanartic
7fe22b5f46
Add visibility status to videos in the admin panel
...
Implement a new 'isPublic' field for videos, allowing administrators to control the visibility status (Published or Draft) of videos through the admin interface and display this status in the video management list. Updates the EditVideoDialog to include a select component for managing this status.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/VKclsor
2025-09-02 13:41:33 +00:00
sebastjanartic
d7e3dfe56f
Improve video content type and field labels for clarity
...
Update various content type labels and placeholder text within the admin interface for better user experience and clarity. This includes refining music genres and show episode descriptions, as well as updating the placeholder for original filenames.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/I3Y90ej
2025-09-02 13:39:28 +00:00
sebastjanartic
a61edee033
Add content type and genre selection to video editing for better categorization
...
Update the admin interface to include dropdowns for selecting content type and genre when editing videos, improving content organization.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/mBFpYYY
2025-09-02 13:38:02 +00:00
sebastjanartic
d45aedfc0d
Adapt video and episode editing forms to show distinct fields
...
Update the admin interface to conditionally display labels, placeholders, and input fields based on whether the content is a video or an episode, differentiating between song titles/artists and episode titles/performers.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/wfkjaU4
2025-09-02 13:36:36 +00:00
sebastjanartic
57c6462561
Ensure episode numbers are correctly formatted before updating video data
...
Fix: Correctly parse and submit episodeNumber as an integer in the updateMutation within the admin page's EditVideoDialog component to prevent potential data type mismatches.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/Zb44Vx1
2025-09-02 13:32:51 +00:00
sebastjanartic
f17747a814
Add fields for video episode details and tags for shows
...
Updates `client/src/pages/admin.tsx` to include inputs for `filename`, `episodeNumber`, `episodeTitle`, and `tags`. Modifies `server/storage.ts` to include these fields in `MemStorage` and `shared/schema.ts` to add these columns to the `videos` table in PostgreSQL.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/ik6JrhN
2025-09-02 13:31:12 +00:00
sebastjanartic
e117f3617b
Add artist/performer information to videos and admin interface
...
Update database schema and admin UI to include an 'artist' field for videos, and configure agent integrations for database access.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/QfqdFa4
2025-09-02 13:27:34 +00:00
sebastjanartic
3d303ea68a
Improve AI description generation by automatically saving the output
...
Update the admin page to automatically save the AI-generated video description and provide a confirmation toast message.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/LY6xmBI
2025-09-02 13:23:32 +00:00
sebastjanartic
1c71b0f6f4
Improve AI description generation by using existing description as instructions
...
Refactor EditVideoDialog to use the description field for custom AI generation instructions and consolidate input fields.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/LY6xmBI
2025-09-02 13:19:50 +00:00
sebastjanartic
15e57c3294
Enhance AI description generation with custom instructions for users
...
Add a custom instructions input field to the admin video edit dialog and backend to allow users to guide the AI description generation process.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/LY6xmBI
2025-09-02 13:18:56 +00:00
sebastjanartic
b8eb1642e9
Update video editing form to reflect changes automatically
...
Add a useEffect hook to the EditVideoDialog component to automatically update the form state when the `video` prop changes, and force immediate refetch of video data after successful updates.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/LY6xmBI
2025-09-02 13:12:32 +00:00
sebastjanartic
7b2008baff
Improve AI description generation for video content and fix errors
...
Update the AI description generation process to correctly handle and display AI-generated descriptions in the admin interface, including error handling and success notifications.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/LY6xmBI
2025-09-02 13:09:04 +00:00
sebastjanartic
82fd6bed09
Update admin page to refresh video data after edits
...
Refactor: Invalidate cache for '/api/admin/videos' and '/api/videos' in EditVideoDialog to refresh video data upon successful update.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/LY6xmBI
2025-09-02 13:02:47 +00:00
sebastjanartic
475534134c
Add AI-powered description generation for video content
...
Integrates OpenAI API to generate video descriptions using AI, with new API endpoints for single and bulk generation, and a UI button in the admin panel to trigger the process. Includes OpenAI dependency and a new `aiService.ts` file.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/td5Y4HG
2025-09-02 12:59:45 +00:00
sebastjanartic
a9d7322fa8
Improve admin panel by refining user role checks and API calls
...
Refactors useAuth hook with type assertion for isAdmin and isSuperAdmin properties. Updates AdminPage component to use type assertion for user's first and last names. Modifies VideoManagement component to use a more robust async query function for fetching videos, including proper JSON parsing. Updates EditVideoDialog component to use a cleaner mutation function for updating video data.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 170e18f0-0f13-4eca-8643-546bba1dd8cc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/170e18f0-0f13-4eca-8643-546bba1dd8cc/e8Bo3CR
2025-09-02 12:54:10 +00:00
sebastjanartic
c71720454f
Add admin dashboard and Replit authentication integration
...
Integrates Replit authentication using OpenID Connect, adds an admin dashboard route with video management and thumbnail upload capabilities, and updates dependencies.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 890577b1-c154-40a4-a177-a0c6d55320c3
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/890577b1-c154-40a4-a177-a0c6d55320c3/1jMBtLj
2025-09-02 12:01:00 +00:00
sebastjanartic
f8c8854ed7
Remove unused administrative and advertising features
...
Remove admin, bunny admin, and ad settings routes and components.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: d7424866-83d1-4486-a212-ac12b4c7becf
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/d7424866-83d1-4486-a212-ac12b4c7becf/xV80ifH
2025-08-28 11:51:18 +00:00
sebastjanartic
f6e7dcc114
Add an administration panel to manage videos and view platform statistics
...
Introduce an admin route and page for managing video content, including editing and deletion capabilities, and display key metrics like total videos and views.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: d7424866-83d1-4486-a212-ac12b4c7becf
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/d7424866-83d1-4486-a212-ac12b4c7becf/6qQLPaW
2025-08-07 10:21:51 +00:00