Commit Graph
100 Commits
Author SHA1 Message Date
Ardeman 2f8b5dbe0f feat: add error handling to Await component in carousel and category sections 2025-03-20 16:01:13 +08:00
Ardeman 09f8669553 feat: update TNewsResponse type to TNewsResponseData for improved data structure 2025-03-20 12:40:20 +08:00
Ardeman 731b36ef70 feat: replace jose with @edgefirst-dev/jwt for token decoding in cookie generation 2025-03-20 12:36:28 +08:00
Ardeman 305c2cf140 feat: integrate getClientIPAddress utility for improved IP address retrieval 2025-03-20 12:31:51 +08:00
Ardeman 6edca07fa6 feat: enhance news fetching with pagination and active status filters 2025-03-20 12:10:38 +08:00
Ardeman d65aed6828 feat: add userAgent and ipAddress to HttpServer for enhanced request tracking 2025-03-20 11:49:36 +08:00
Ardeman ab3f748195 feat: implement Suspense and Await for improved data loading in carousel components 2025-03-20 11:43:15 +08:00
Ardeman 3847fd1896 refactor: remove unused HydrateFallback component to streamline code 2025-03-19 18:53:44 +08:00
Ardeman 2dc84c582d refactor: simplify loader implementation by removing clientLoader and streamlining data fetching 2025-03-19 18:53:30 +08:00
Ardeman b8378d37ad fix: update loading icon color for better visibility 2025-03-19 18:48:08 +08:00
Ardeman bb3e1bb139 Merge commit '9c9d127dfb1a8e3633f803f527c27bbfc6346b4d'
* commit '9c9d127dfb1a8e3633f803f527c27bbfc6346b4d':
  feat: add delete functionality for news articles with confirmation dialog
2025-03-19 18:21:19 +08:00
Ardeman 66de3dcf04 feat: enhance loading and error boundary components with improved styling and messaging 2025-03-19 18:18:00 +08:00
Ardeman deeefda8bc refactor: update loading and error boundary components to use Card for consistency 2025-03-19 18:00:29 +08:00
Ardeman abf7e829ba feat: enhance loading state with spinner and card component in HydrateFallback 2025-03-19 17:53:27 +08:00
Ardeman ba4e380023 feat: implement clientLoader for news data fetching and update serverLoader structure 2025-03-19 17:46:26 +08:00
Ardeman 4ca2d8cf84 fix: correct spelling of 'Rquest Topic' to 'Request Topic' in footer menu 2025-03-19 17:21:17 +08:00
Ardeman 1585830184 refactor: update ad table column title from 'Diklik' to 'Jumlah Klik' for clarity 2025-03-18 17:26:38 +08:00
Ardeman 22918b8bdb refactor: add 'clicked' field to ad response schema and update dashboard display 2025-03-18 17:11:30 +08:00
Ardeman d32eb2e7ed feat: implement logging for ad interactions with new API and update banner component 2025-03-18 16:42:18 +08:00
Ardeman 87616ef6bd refactor: add created_at field to user response schema and update dashboard display 2025-03-18 13:08:45 +08:00
Ardeman 0f332fde79 refactor: simplify layout in CarouselSection for improved readability 2025-03-17 19:21:34 +08:00
Ardeman c633397d7b refactor: update user table headers and data fields for clarity 2025-03-15 22:30:09 +08:00
Ardeman 680a0a88a2 refactor: remove unused icon components and update dashboard data to use new icons 2025-03-15 22:25:06 +08:00
Ardeman d91dffb013 style: update button text size and font weight in navbar for consistency 2025-03-15 19:47:13 +08:00
Ardeman 00bb1a46dc refactor: remove counter property from CardReport and dashboard data for simplification 2025-03-15 19:45:14 +08:00
Ardeman fe38a63f1c refactor: remove unused category column from users dashboard and streamline staff data fetching 2025-03-15 19:43:21 +08:00
Ardeman 978d74d226 feat: add profile update functionality with form validation and API integration 2025-03-15 19:23:16 +08:00
Ardeman d767055bdb fix: streamline error handling in dialogs by removing unnecessary return statements 2025-03-15 17:33:21 +08:00
Ardeman 7b840ce5cd fix: update effect dependencies to use fetcher.data for improved error handling in dialogs 2025-03-15 17:27:49 +08:00
Ardeman e7ef7177ca feat: replace error state handling with toast in login, register, and subscribe dialogs 2025-03-15 17:25:08 +08:00
Ardeman 4c3a143338 fix: correct subscription plan access check in login dialog 2025-03-15 17:03:06 +08:00
Ardeman cc5331284b feat: enhance news detail page with subscription prompt and content restriction for basic users 2025-03-15 16:58:02 +08:00
Ardeman c7195b7428 feat: refactor user authentication and subscription dialogs for improved structure and consistency 2025-03-15 15:24:01 +08:00
Ardeman 6d99a37f20 feat: improve error handling and success messages in various forms and dialogs 2025-03-15 09:16:57 +08:00
Ardeman 405e57b92d feat: update icon size classes for consistency across components 2025-03-15 08:58:34 +08:00
Ardeman 84d10ac983 feat: remove ChevronIcon in navbar; add icon prop to Button component 2025-03-14 23:57:09 +08:00
Ardeman 19a5e6ab88 feat: update heroicons to version 24 and refactor button variants for consistency 2025-03-14 23:50:27 +08:00
Ardeman d538c56d26 feat: improve page title handling by limiting path segments for meta title lookup 2025-03-14 17:48:09 +08:00
Ardeman deb2004039 feat: update editor menubar icons and add clear format functionality 2025-03-14 17:43:54 +08:00
Ardeman 5c20cc48ab feat: add PlusIcon to category creation button and set readOnly for specific fields in form 2025-03-14 13:28:15 +08:00
Ardeman bfa46cdca4 feat: refactor date handling in ads and news creation/update 2025-03-14 13:08:48 +08:00
Ardeman fc23f45854 feat: filter news data to only include items with a live_at date in the past 2025-03-14 12:57:59 +08:00
Ardeman 29baa39a94 fix: update start_date and end_date fields to be non-nullable and filter ads based on date range 2025-03-14 12:54:15 +08:00
Ardeman f04ad1a8f8 feat: add start_date and end_date fields to advertisements with transformation and display in forms 2025-03-14 12:47:43 +08:00
Ardeman 273add293e feat: add nullable start_date and end_date fields to adResponseSchema 2025-03-14 12:08:47 +08:00
Ardeman 798896e4ee refactor: update DialogDelete component to use selectedId and close callback 2025-03-13 09:36:40 +08:00
Ardeman b00adf89ec feat: implement unified delete dialog component and update related pages 2025-03-13 09:26:33 +08:00
Ardeman 2c703de8e5 feat: implement delete tag functionality with confirmation dialog 2025-03-13 09:05:29 +08:00
Ardeman eadfccfc0e refactor: update author type to TAuthorResponse in news author component 2025-03-13 07:29:40 +08:00
Ardeman d77ea01c59 refactor: update button styles and improve delete dialog properties in dashboard pages 2025-03-13 07:29:03 +08:00
Ardeman 6878da0db2 refactor: transform payload status to number in subscribe plan requests and update type definitions 2025-03-13 07:01:53 +08:00
Ardeman f40f2dadde refactor: rename subscription references to subscribe plan and update related imports 2025-03-13 06:13:43 +08:00
Ardeman cd76ded632 fix: update import path for SubscribePlanPage to correct module location 2025-03-13 05:59:00 +08:00
Ardeman 0f64b4600b fix: correct import paths for subscribe plan modules and update data table schema 2025-03-13 05:57:37 +08:00
Ardeman 0680fb4dc8 feat: add bar, donut, and pie charts to dashboard for enhanced data visualization 2025-03-13 05:45:03 +08:00
Ardeman 474c6dc750 style: update component styling for improved layout and consistency 2025-03-13 05:36:51 +08:00
Ardeman 86ee6abef7 style: update header title to uppercase for improved readability 2025-03-12 21:45:45 +08:00
Ardeman 86e87998bd refactor: update header title styling for improved visibility 2025-03-12 21:44:32 +08:00
Ardeman d63884dde1 feat: add toast notifications for delete actions and update button titles in advertisements page 2025-03-12 21:38:44 +08:00
Ardeman 850f42e99d feat: add delete confirmation dialog for advertisements 2025-03-12 21:30:30 +08:00
Ardeman df3b14a212 fix: prevent closing dialog when fetcher is in progress 2025-03-12 21:22:31 +08:00
Ardeman 7ab83a4f66 feat: implement toast notifications for delete actions in dashboard pages 2025-03-12 21:19:41 +08:00
Ardeman 36b22d3f4a refactor: replace anchor tags with Link components for navigation in TagsPage 2025-03-12 20:50:47 +08:00
Ardeman 338f4a72c4 refactor: replace anchor tags with Link components for navigation in dashboard pages 2025-03-12 20:50:39 +08:00
Ardeman ac5c095ecc refactor: simplify parameter destructuring in loader functions across routes 2025-03-12 20:48:43 +08:00
Ardeman 1ce5a2130b refactor: standardize access token variable naming across routes 2025-03-12 20:46:54 +08:00
Ardeman f423f3e1c0 feat: integrate toast notifications for success and error handling 2025-03-12 20:24:54 +08:00
Ardeman c0318fac4c feat: update success and error handling in form pages with toast notifications 2025-03-12 20:20:30 +08:00
Ardeman 0545190497 feat: remove unused FlashMessage component and banner data 2025-03-12 19:27:04 +08:00
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
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
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
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