436 Commits

Author SHA1 Message Date
Ardeman
634073342b feat: improve error handling 2025-03-12 19:25:36 +08:00
Ardeman
eb7cc04256 feat: enhance error handling in content forms with state management and toast notifications 2025-03-12 19:23:46 +08:00
Ardeman
f026277a88 feat: add react-hot-toast in admin and news layouts, and update ads form handling 2025-03-12 19:20:59 +08:00
Ardeman
4a21b7d331 feat: integrate ads data into news banner and update loader to fetch ads 2025-03-12 11:03:53 +08:00
Ardeman
930d4b8459 feat: update API endpoint for ad creation and enhance InputFile component with category prop 2025-03-12 10:57:48 +08:00
Ardeman
56c31d7a20 refactor: update route type imports for admin actions and remove unused types 2025-03-12 10:41:21 +08:00
Ardeman
70cbb134d8 feat: restructure ads mgmt by creating a new layout for ads creation and updating related schemas 2025-03-12 09:47:21 +08:00
Ardeman
90e2042a91 refactor: remove unused icon components and update menu to use new icons 2025-03-12 08:52:23 +08:00
Ardeman
c5b611a300 feat: update AdvertisementsPage to use new icon and localized title, remove unused banner upload 2025-03-12 08:48:03 +08:00
fredy.siswanto
b9fb1112ae feat: add NewsPaymentPage component and error boundary for payment route 2025-03-12 00:06:43 +07:00
fredy.siswanto
56d9081b4f fix: change user status type from string to number and update badge rendering logic 2025-03-11 23:36:19 +07:00
fredy.siswanto
2c90d32a10 feat: add TColorBadge type and getStatusBadge function for status color management 2025-03-11 23:21:02 +07:00
fredy.siswanto
8a19529230 feat: add FlashMessage component for displaying temporary messages 2025-03-11 22:22:45 +07:00
Ardeman
d1b828bba1 feat: implement error boundaries for improved error handling across routes 2025-03-11 23:04:29 +08:00
Ardeman
2b253633a5 feat: add error boundary to handle route errors with detailed messages 2025-03-11 22:56:30 +08:00
fredy.siswanto
ea6462f3ea Merge remote-tracking branch 'origin/master' into feature/slicing 2025-03-11 17:10:33 +07:00
Ardeman
6f0a21dde6 refactor: replace FormUpload with DialogUpload component for file uploads 2025-03-11 10:42:33 +08:00
Ardeman
07cced218e fix: update icon sizes in text editor menu bar for consistency 2025-03-11 10:28:48 +08:00
Ardeman
9a2d64eee4 fix: update ID display to show author's ID instead of content ID 2025-03-11 10:15:56 +08:00
Ardeman
dfd1a46694 fix: update sidebar button styles for improved active state indication 2025-03-11 06:30:47 +08:00
Ardeman
4a188afc8f fix: replace standard button with Headless UI Button component in text editor 2025-03-11 06:27:35 +08:00
Ardeman
6ec8e5f2a2 fix: replace disabled state with loading state for buttons in upload and category forms 2025-03-11 06:13:03 +08:00
Ardeman
66bc731b07 fix: update button components to include loading state and improve styling in navbar and login page 2025-03-11 06:08:20 +08:00
Ardeman
dbeec8acf3 Merge commit 'd3f0dac69f14c56ddc705844e3712819f096c70d' 2025-03-11 06:01:52 +08:00
Ardeman
8cddc82031 fix: add loading state to buttons in forms and update button styles 2025-03-11 06:00:49 +08:00
Ardeman
a45a6fb87e fix: update button styles and variants for consistency across forms 2025-03-11 05:51:16 +08:00
fredy.siswanto
438d1d40db Merge remote-tracking branch 'origin/master' into feature/slicing 2025-03-11 00:22:40 +07:00
fredy.siswanto
9a5bddef6a feat: add delete subscription plan and delete tags APIs with response validation 2025-03-11 00:21:09 +07:00
fredy.siswanto
f97c79aaa9 feat: add length, price, and status fields to subscription plan schema and forms 2025-03-10 23:00:32 +07:00
fredy.siswanto
d3f0dac69f feat: add create and update subscription plan APIs and corresponding forms 2025-03-10 19:34:51 +07:00
Ardeman
7f7526783f fix: update dependency in EditorMenuBar to include imageUrl in useEffect 2025-03-10 17:28:46 +08:00
Ardeman
0f5b26c2b8 fix: remove max-height restriction from TextEditor component styling 2025-03-10 17:14:27 +08:00
Ardeman
60d11fbfa2 fix: replace standard input with Headless UI Input component in FormUpload 2025-03-10 16:51:59 +08:00
Ardeman
54a8a97c09 fix: encode URI components in API calls and links to ensure proper formatting 2025-03-10 14:49:09 +08:00
Ardeman
169f0166b8 fix: update upload handling to conditionally reset upload state based on category 2025-03-10 14:32:32 +08:00
Ardeman
e93c0a8464 fix: increase maximum file size limit from 1MB to 10MB in FormUpload component 2025-03-10 13:39:03 +08:00
Ardeman
ba83a6a025 fix: update InputFile component to conditionally reset uploaded file state based on upload status 2025-03-10 13:37:50 +08:00
Ardeman
c70aa86be6 fix: update admin menu to replace icon for Subscribe Plan with DocumentCurrencyDollarIcon 2025-03-10 12:34:43 +08:00
Ardeman
2e13e11673 fix: add setUploadedFile to InputFile component for resetting uploaded file state 2025-03-10 12:31:29 +08:00
Ardeman
aae10cf3bc fix: update InputFile component to use dynamic field name for setting uploaded file 2025-03-10 12:26:56 +08:00
Ardeman
9a0c6c1f0b feat: implement file upload functionality and enhance admin dashboard layout 2025-03-10 12:21:08 +08:00
fredy.siswanto
8c2298ff61 Merge remote-tracking branch 'origin/master' into feature/slicing 2025-03-09 23:25:01 +07:00
fredy.siswanto
061f95d4e5 refactor: enhance UiTable styling and add header alignment for improved readability 2025-03-09 23:22:38 +07:00
fredy.siswanto
de92703fbe refactor: implement user management API and update dashboard users page with new data table 2025-03-09 23:06:07 +07:00
fredy.siswanto
a9a350fdb2 refactor: update subscription data loading and clean up unused imports in dashboard components 2025-03-09 20:23:26 +07:00
Ardeman
4bc185434b fix: adjust padding in InputFile and Input components for better layout 2025-03-09 21:20:29 +08:00
Ardeman
4bb7a23795 feat: implement upload dialog in admin dashboard with context management 2025-03-09 20:52:50 +08:00
Ardeman
f291290f55 refactor: handle 401 errors in staff and user data loading with logout headers 2025-03-09 20:46:10 +08:00
Ardeman
e84c05d0a0 Merge commit '5b83c3f8dd8139c24ae4b6c288ab80ac08b43063' 2025-03-09 20:23:04 +08:00
Ardeman
c7583413bb feat: add AdminContext for managing upload state in admin dashboard 2025-03-09 20:22:48 +08:00