update the integration with actual params objects#236
Conversation
Confidence Score: 4/5The Verse of Day create flow can miss duplicate dates after the pagination change.
src/components/routes/verse-of-day/VerseOfDay.tsx and src/components/routes/verse-of-day/api/verseOfDayApi.ts Reviews (1): Last reviewed commit: "lint" | Re-trigger Greptile |
| editingItem={editingItem} | ||
| onSuccess={handleFormSuccess} | ||
| existingVerses={sortedVerses} | ||
| existingVerses={verses} |
There was a problem hiding this comment.
Duplicate Check Uses Current Page
verses now contains only the current server page and current search result, but it is passed as existingVerses for the form's duplicate-date check. When someone creates a verse from page 2 or from a filtered search, dates that already exist outside that subset are not checked, so the UI can submit a duplicate date that the old unpaginated list would have rejected.
| params: { | ||
| skip: (page - 1) * limit, | ||
| limit, | ||
| sort_order: sortOrder, |
There was a problem hiding this comment.
Sort Parameter Has No Local Contract
The new date toggle depends on the backend honoring sort_order=asc|desc, but this endpoint previously received no sort parameter and no inspected sibling API uses this name. If the endpoint expects a different field or ignores unknown params, clicking the Date header changes the icon and cache key while the rows stay in the backend default order, so users get a broken sort control.
* Series create, edit, and details (#185) * shared component * ui * tag removal * Enhance Dashboard with Series Management and UI Improvements - Updated Dashboard component to include a new tab for managing series alongside plans. - Implemented fetching and displaying series data with a new SeriesTable component. - Refactored add button to a dropdown menu for adding plans and series. - Improved test cases to reflect changes in button labels and API endpoints. - Enhanced PlanDeleteDialog to support dynamic entity labels for better reusability. * integration of plan search, UI not the finalized * initial commit * update the filter function for type safety * Add Dashboard Frontend Plan and Enhance Dashboard Component - Introduced a comprehensive plan document for the CMS dashboard, detailing goals, backend assumptions, and implementation strategies. - Refactored Dashboard component to support a unified table for plans and series, including improved filtering and sorting capabilities. - Implemented a new DashboardContentTable for rendering dashboard data with enhanced UI elements. - Updated tests to reflect changes in component structure and functionality, ensuring accurate rendering and interaction. - Added mock data handling for the unified feed to support frontend development without backend dependencies. * feat(dashboard): add dropdown to create series or plan - replace the direct Add Plan link with an Add menu for series and plan flows - restyle the trigger and use dropdown primitives for clearer navigation - apply prettier formatting and EOF fixes in related create and form UI files * refactor(create-series): stub series route and tweak dashboard sort table - replace the full CreateSeries form with a minimal placeholder until the API is ready - set dashboard sort to recent when the sort select content is clicked - stop destructuring unused isLoading in the dashboard content table * feat(create-series): implement series create and edit with CMS integration - add multi-language series editor with cover upload, plan tabs, and unsaved-change navigation blocking - add series API module for load, create, update, and full plan snapshot replace with graceful partial failure handling - rework plan search to store rich plan objects, filter by language, and improve browse and selection UX - require complete language blocks and a cover image before submit; refine zod validation for languages and image - remove duplicate series route registration and align dashboard series rows with the unified table type * feat(create-series): support plan display order and drag reorder - sort hydrated plans per language using optional display_order from the series detail payload - document that plan id array order in the replace payload represents display order for the API - add drag handles to reorder selected plans before save, disabled when only one plan is attached - remove the desktop-only vertical divider on the series details column for a cleaner split layout * refactor(create-series): unify series create and update payload with plans - send name, featured, image_key, and per-language plan ids in one POST or PUT body - drop the separate plans replace endpoint and client-side author resolution on save - build plan lists only for languages present in the series name payload - remove author profile gating from submit enabled state - show cancel on create as well as edit * style(create-series): polish series editor and plan picker layout - align page background, title divider, and language block surfaces with the design spec - show English, Tibetan, and Chinese labels on language fields and style the add-language control - resize cover upload placeholder and refine description field backgrounds - highlight active plan tabs with brand color and muted plan counts - simplify plan picker chrome and add spacing above the search field * style(create-series): simplify PlanSearchSelector layout - remove unnecessary padding from the PlanSearchSelector component * feat(dashboard): load tabs from unified CMS dashboard items API - add dashboard items client with tab, pagination, search, and filter params mapped to table rows - replace separate plan and series fetches and mock all feed with a single React Query load per view - send language and status filters to the server instead of filtering client-side - use one content table and pagination state for all, plans, and series tabs - update dashboard tests and invalidate dashboard-items after plan and series mutations * feat(dashboard): show plan count badge on series cover thumbnails - overlay a stack badge with plans_count on series rows in the content table - map plans_count from dashboard items API responses into table row data - rename modified column header to Date Modified - add dashboard test for the accessible series plans badge - fix CreatePlan cover image tests to match constraints copy key * feat(dashboard): unify plan and series row actions via DropdownButton - add entityType to DropdownButton for plan vs series API, labels, and edit links - use shared dropdown for series rows with delete and status mutations - remove placeholder onDeleteSeries handler and inline series action menu * feat(dashboard): enable series featured toggle and align table controls - route featured PATCH by row kind (plan vs series) - allow published series rows to toggle featured from the table - refresh featured star states and shared icon button styles for Featured and Actions - add test covering series featured toggle * refactor(dashboard): rely on axios interceptor for auth headers - remove per-request Authorization headers from dashboard fetch, featured toggle, and row actions - simplify featured toggle tests to match patch call signature - tighten status update error handling in DropdownButton * feat(dashboard): support series metadata API and featured updates - resolve dashboard series titles from metadata with language preference - toggle series featured via CMS PUT with featured flag instead of patch endpoint - migrate series write payloads from name map to metadata array - improve series detail mapping for metadata, image_key, and plan language fallbacks - normalize dashboard status to uppercase and link series rows to series-details - invalidate series cache after row status changes - fix Tolgee translate prop typing on dashboard table - add dashboard API tests and expand dashboard component coverage * fix(dashboard): hide cover column header and align tests - remove cover image label from dashboard table header - assert table headers only when rows are present - validate empty cover column and six column headers in tests * feat(series-details): add series details page with plan management - implement series details view with language tabs and plans table - add plan search, reorder, remove, and featured actions with CMS persistence - extend series API and dropdown for plan updates and extra menu items - extract dashboard status and language chips into shared UI helpers - wire series details route and add mapper and page tests --------- Co-authored-by: Tech-lo <taylorhent@gmail.com> * feat(task): add audio upload and management features - Introduced `uploadDayAudio` and `deleteDayAudio` functions for handling audio uploads and deletions associated with task days. - Enhanced `SubTask` interfaces to include optional timestamp fields for audio segments. - Updated `TaskForm` and `SubTaskCard` components to support audio management, including a new `DayAudioSection` for displaying and editing audio timestamps. - Implemented utility functions for formatting audio timestamps and retrieving audio duration from files. * lint * refactor(audio-trimmer): improve code readability and formatting - Enhanced code formatting in AudioTrimmer component for better readability. - Simplified conditional checks in SubTaskCard component. - Improved formatting in subtaskTimestamps validation function for clarity. * feat(task): enhance audio management and task editing capabilities - Made the task editing feature always editable by setting `isEditable` to true. - Integrated audio playback for daily tasks by adding `dayAudioUrl` to the `SubtaskCard` component. - Improved the `DayAudioSection` to manage audio uploads and deletions more effectively, including UI enhancements for better user experience. - Refactored the `DropdownButton` to streamline the dropdown menu structure. * fix(task): comment out unused status variable in PlanDetailsPage - Commented out the `status` variable assignment to improve code clarity and prevent potential confusion regarding its usage. * fix(task): improve conditional rendering in SubtaskCard and clean up DayAudioSection - Updated the conditional rendering in SubtaskCard to ensure both start and end timestamps are checked before displaying the audio player. - Removed unnecessary whitespace in DayAudioSection for cleaner code formatting. - Refactored DropdownButton to enhance readability by adjusting indentation and structure. * feat(dashboard): sync filters and pagination to URL query params - drive tab, search, language, status, page, and page size from the URL - add helpers to parse, serialize, and map dashboard URL state to API params - debounce search input before committing search to the URL - reset page when filters change and clamp page when results shrink * series inclusion (#195) * series inclusion * lint * handle series loading and error states * lint * naming * lint * updated with serach filter * feat(groups): add groups management functionality - Updated package version to 2026.05.28.1200. - Introduced new routes for managing groups, including group creation, editing, and details pages. - Enhanced the Navbar to include a link for groups management. - Modified PlanTagSearchInput to conditionally hide the label. - Replaced error handling in Tags component to utilize a centralized API error message function. * feat(task): enhance audio management with new API and UI components - Added PlanAudioDTO and PlanAudioListResponse interfaces for audio data handling. - Implemented fetchPlanAudioList function to retrieve audio files associated with plans. - Introduced attachDayAudio function to link audio files to specific days. - Updated TaskForm to include plan title in DayAudioSection. - Integrated PlanAudioSearchInput component for searching existing audio files in DayAudioSection. - Improved user instructions for audio uploads and management in the UI. * feat(task): implement bulk delete and create days functionality in task management - Added new API functions for creating multiple days and bulk deleting days. - Updated the SideBar component to support day selection mode for bulk actions. - Enhanced the DayDeleteDialog to handle bulk deletion. - Refactored usePlanMutations to integrate new API functions for creating and deleting days. - Improved user experience with feedback messages for successful and failed operations. * feat(create-plan): pre-fill series and language from series details - pass seriesId and active language tab via router state from Add New Plan link - validate location state and pre-fill create form when series is in the list - disable series and language fields and show contextual heading when locked - fall back to default create form when series id is missing or invalid - add tests for Series Details navigation, CreatePlan pre-fill, and state parser * chore(gitignore): ignore local .github directory - prevent committing local GitHub issue drafts and related files - align with existing .cursor ignore for developer-only paths * update * chore(gitignore): restore .cursor entry to .gitignore - re-add .cursor to ignore list to prevent committing local cursor files - maintain consistency with previous ignore entries for developer-specific files * feat(plan-audio): place plan filter beside audio file search - lay out plan picker and audio library search on one row in day audio UI - preserve search, infinite scroll, preview, and attach behavior - apply formatting-only updates across groups routes and day create dialog * feat(task): update PlanDetailsPage with mobile preview and integrate react-split-pane - Updated the version of the project to 2026.05.28.1200 in package.json and package-lock.json. - Added react-split-pane for a responsive layout in PlanDetailsPage, allowing for a mobile preview. - Introduced MobileView component to display the WeBuddhist Plan Viewer. - Enhanced SideBar component to accept selectedDayId for better state management. - Fixed a typo in the CSS variable for JetBrains font. * done audio * build fix * lint * fix(task): update PlanDetailsPage to manage search params and reset form on day change - Updated the project version in package-lock.json to 2025.11.05.0657. - Integrated useSearchParams for managing selected day in PlanDetailsPage. - Added functionality to reset selected task and editing task when the day changes. - Enhanced TaskForm to reset the form when the selected day changes in create mode. * refactor(test): remove outdated search params tests from PlanDetailsPage test suite - Removed tests for updating and reading search params related to day changes in PlanDetailsPage. - Cleaned up the test suite to focus on relevant functionality after recent updates to state management. * refactor(task): simplify MobileView component and remove selectedDayId prop - Refactored MobileView to eliminate the selectedDayId prop, streamlining its functionality. - Updated PlanDetailsPage to reflect the changes in MobileView by removing the selectedDayId prop. - Cleaned up the SideBar component by removing the unused selectedDayId prop for better code clarity. * feat(task): add DayAddDialog to SideBar for adding new days - Introduced DayAddDialog component in the SideBar to streamline the process of adding new days. - Removed the previous button implementation for adding a new day, enhancing the user interface and experience. * refactor(task): remove DayAddDialog from SideBar component - Eliminated the DayAddDialog import from the SideBar component to streamline the code and improve clarity. - This change follows the recent updates to the task management interface, enhancing overall user experience. * refactor(task): clean up whitespace and improve formatting in PlanDetailsPage and MobileView - Removed unnecessary whitespace in PlanDetailsPage and MobileView components for cleaner code. - Improved formatting of text in DayAddDialog for better readability. - Ensured consistent styling and structure across components. * fix(task): update ViewURL in MobileView component to use a static URL - Changed the ViewURL in MobileView from a dynamic environment variable to a static URL for the WeBuddhist Plan Viewer. - This adjustment ensures consistent access to the plan viewer across different environments. * feat(groups): use embedded series and plans in group detail response - replace series_ids and plan_ids with full series and plans on group detail DTO - render linked plans and series from API payload with metadata in details view - pre-fill association pickers from embedded data and drop extra title fetch hook - resolve avatar_url and banner_url for edit previews and member count from members * feat(groups): add invites, notifications, and role-based CMS permissions - replace token invites with UUID-based flows and invite list APIs - add notification bell and pending invitations block on groups page - gate group edit, member actions, and invite UI by OWNER/ADMIN rules - support leave group via DELETE member self-remove with redirect - centralize author info fetching in useUserInfo with shared query cache * Update src/components/routes/groups/GroupsTable.tsx Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * feat(groups): disable save buttons until section has changes - track saved baselines per association section and for avatar/banner keys - disable general and per-section save actions when values match baseline - reset form dirty state and baselines after successful saves - add helpers to compare tag/plan/series ids and social links consistently * fix(notifications): align bell with simplified notification API - drop server action payloads and executeNotificationAction helper - handle group_invite via reference_id with accept and reject invite APIs - use response total for unread badge count - show dismiss-only actions for non-invite notifications * feat(groups): add ownership transfer and block OWNER role assignment - remove OWNER from invite and role-change option helpers - add transfer-ownership API and modal on the members panel - gate transfer UI to the real OWNER member, not platform is_admin alone - refresh group data after transfer while staying on the edit page * feat(groups): improve pending invites overlay and notification dismiss UX - show pending invites in a dismissible dialog with inviter name and email - add formatGroupInviteInviter helper and optional inviter fields on invite DTO - limit invite revoke to pending non-expired rows in admin list - move notification dismiss to top-right close icon and fix tooltip after menu close * refactor(groups): remove unused close button from pending invitations block - eliminated the commented-out close button and its associated icon from the PendingGroupInvitationsBlock component - streamlined the component for better readability and maintainability * feat(api): enhance title search functionality and improve mobile view - Introduced new types for title search response and text search items in searchApi.ts. - Updated searchTitles function to validate title length before making API calls. - Refactored MobileView component to conditionally render based on plan publication status and improved iframe integration. - Enhanced SourceSelectorSheet to enforce minimum title search length and provide user feedback for insufficient input. * fix(dashboard): update Chinese language label in dashboard table UI * fix(api): update fetchTextDetails to use params object for API request - Refactored fetchTextDetails function in searchApi.ts to encapsulate query parameters within a params object for improved clarity and maintainability. * refactor(api): improve formatting and readability in searchApi.ts and related components - Enhanced the formatting of the searchTitles function in searchApi.ts for better readability. - Adjusted the Chinese language label in dashboardTableUi.tsx for consistent indentation. - Updated MobilePreviewSplitDivider.tsx to streamline button attributes. - Refactored SourceSelectorSheet.tsx to improve the clarity of the sources memoization logic. * feat(dashboard): enhance localization support for dashboard item titles - integrated Tolgee for improved language handling in dashboard components - updated displayDashboardItemTitle to accept localeLanguage for localized titles - modified mapDashboardItemToTableRow to utilize localeLanguage - added tests to verify title selection based on current UI locale - streamlined metadata title selection logic for better fallback handling * feat(rbac): add platform roles, transfers, and reviewer-safe CMS - add platform access helpers, content permissions, and dashboard row role resolution - gate auth for verify email, inactive authors, and creator group onboarding - add content transfer API with CMS payload normalization, dialog, and group UI - add admin authors page and staff navigation for platform role management - wire group-scoped plan/series routes, group content section, and transfer ownership flows - add dashboard group filter with membership vs staff-wide group lists - hide CMS actions and block plan routes for reviewers; read-only tags and group invites - relax eslint for legacy any usage and ignore generated coverage output * fix(build): resolve dashboard table and group content type errors - import DashboardTableRow from dashboardTable instead of dashboardApi - cast test translate mock to Tolgee TFnType so DashboardContentTable tests compile * refactor(dashboard): enhance group filter logic and API integration - updated dashboard group filter to utilize user info for fetching accessible groups - replaced deprecated group filter logic with a new useEffect for group ID validation - improved group label handling in the dashboard component - modified API calls to use 'for_dashboard' parameter for role-based group access - added tests to ensure correct API behavior for different user roles * fix(dashboard): resolve table covers from nested API image variants - add resolveDashboardItemImageUrl for image_url, plan_image_url, and nested image sizes - map dashboard and legacy table rows through the shared image resolver - show group avatars in the groups list via resolveGroupAvatarUrl - add tests for nested image objects and series cover mapping * chore(groups): remove unused PlatformRole import - drop unused platformAccess type import from groups API - fix lint unused-vars error in groupsApi * fix(series-details): resolve plan cover images from API image variants - map series plan rows through resolveDashboardItemImageUrl for nested image fields - extend SeriesPlanDTO with plan_image_url and image variant shapes - add test coverage for nested image.medium resolution - remove unused Button import from dashboard page * refactor(PlanDetailsPage): remove unused HiOutlineDeviceMobile import * fix(plan-search): cap results at 10 and remove infinite scroll - replace useInfiniteQuery with useQuery for single-page plan search - limit each search to 10 plans instead of paginating with load more - remove intersection observer sentinel that triggered repeated API fetches * refactor(searchApi): simplify title search logic and remove unused types - Removed the TextSearchItem and TitleSearchResponse types as they were no longer needed. - Updated the searchTitles function to directly fetch data without checking for minimum title length. - Adjusted the SourceSelectorSheet component to remove dependency on MIN_TITLE_SEARCH_LENGTH and simplified source selection logic. * feat(group): add sub-title field to group metadata and forms - Introduced a new sub-title field in GroupMetadataDTO and GroupMetadataInput interfaces. - Updated GroupFormPage to include sub-title input in the form and validation. - Enhanced GroupDetailsPage to display the sub-title if provided. - Adjusted group schema validation to require sub-title along with title and description. * refactor(api): enhance image URL resolution for series and groups - Updated `resolveSeriesImageKey` to ensure proper handling of image strings. - Refactored `resolveGroupBannerUrl` and `resolveGroupAvatarUrl` to utilize `resolveDashboardItemImageUrl` for improved URL resolution. - Simplified image URL mapping in `groupLinkedPlansToFkOptions` for better clarity and maintainability. * fix(dashboard): update language label and enhance loading state display - Changed the language label for Chinese from "中国人" to "中文" for better clarity. - Added a loading state to the DashboardContentTable to inform users when data is being fetched. * feat(series): implement series creation and partial update functionality - Added `buildSeriesCreateBody` function to construct request body for new series creation. - Updated `saveSeriesMutation` to handle series creation and partial updates based on whether the series is new or being updated. - Introduced helper functions to compare series metadata and plans for efficient updates. - Enhanced `buildSeriesUpdateBody` to support partial updates with original data comparison. * feat(series): add sub-title support in series creation and update - Introduced a new `sub_title` field in the SeriesMetadataInput and SeriesMetadataDTO types. - Updated series form handling to include `sub_title` in the languages object. - Enhanced series API functions to accommodate the new `sub_title` field in metadata parsing and comparison. - Refactored the CreateSeries component to utilize a new controller for improved state management and form handling. * fix(series): ensure sub-title field is included in series API tests - Updated series API tests to include the new `sub_title` field in various test cases. - Ensured that both creation and update scenarios reflect the addition of `sub_title` in the languages object. * api_return_image_as_full_url * md_preview_for_detail+subtask (#228) * md_preview_for_detail+subtask * fix: format code with prettier * feat(markdown-editor): set default tab to preview when disabled * feat(plan): enhance task and day management in PlanDetailsPage and SideBar - Added logic to maintain the selected day when days are removed or renumbered in PlanDetailsPage. - Implemented task selection clearing when a task no longer exists in the current plan. - Updated SideBar to ensure the expanded day reflects the current plan's available days. - Improved error handling in usePlanMutations to provide more informative error messages. * feat(audio): enhance audio generation functionality in task components - Introduced `GenerateDayAudioOptions` interface for better parameter handling in `generateDayAudio`. - Updated `generateDayAudio` function to accept options for language, type, and voice name. - Refactored audio generation logic in `DayAudioDialog`, `SubTaskCard`, and `GenerateAudioButton` components to utilize new options structure. - Integrated `TtsGenerateControls` for improved user interaction in audio generation. - Passed `planLanguage` prop to relevant components for consistent language handling. * feat(nginx): update studio configuration for improved API handling - Increased `client_max_body_size` to 50m to accommodate larger requests. - Set `proxy_read_timeout` and `proxy_send_timeout` to 300s for better handling of long-running requests. * feat(audio): add subtask audio upload and management features - Introduced `uploadSubTaskAudio` and `deleteSubTaskAudio` functions for handling audio uploads and deletions. - Enhanced `SubTaskCard` component with audio upload functionality using a dropzone interface. - Updated `TaskForm` to pass `taskId` for better audio management. - Integrated audio controls and state management for seamless user experience in subtask audio handling. * feat(subtask): add timestamp deletion functionality and enhance AudioTrimmer - Introduced `deleteSubTaskTimestamp` API function for removing timestamps associated with subtasks. - Updated `AudioTrimmer` component to support an optional `onClear` callback for clearing audio selection. - Enhanced `SubTaskCard` to integrate timestamp deletion logic, allowing users to clear timestamps directly from the UI. - Implemented mutation handling for successful and error states during timestamp deletion. * feat(subtask): enhance AudioTrimmer and timestamp handling in SubTaskCard - Updated `SubtaskTimestampSection` to conditionally render the `AudioTrimmer` based on the availability of day audio. - Added user feedback for when day audio is not available, including a clear timestamps button. - Refactored logic in `SubTaskCard` to improve clarity and maintainability regarding timestamp and audio state management. * feat(subtask): improve audio playback handling in SubtaskCard - Enhanced `SubtaskCard` to conditionally render audio controls based on the presence of `audio_url`. - Updated logic to ensure proper handling of audio playback and timeline display when audio is available or absent. - Improved user experience by providing clear audio controls for subtasks with associated audio. * notification_cms_update * test_update * feat(groups): add long description field to group metadata and forms - Introduced a new `description_long` field in the group metadata interface to allow for more detailed descriptions. - Updated `GroupFormPage` to include a form field for `description_long`, enhancing the user input options. - Modified `GroupDetailsPage` to display the long description if available, improving the information presented to users. - Adjusted the schema to validate the new long description field, ensuring proper data handling. * verse_of_day_post_cms * feat(groups): add group type selection to GroupFormPage - Introduced a new form field for selecting the group type (PAGE or COMMUNITY) in the GroupFormPage. - Updated the schema to include group_type validation. - Enhanced the create and patch group mutations to handle the new group_type field. - Added GROUP_TYPE_OPTIONS for better user guidance in the selection process. * feat(groups): implement group type filtering in Groups component - Added a new state for group type selection in the Groups component. - Updated the query to include group type as a filter when fetching groups. - Enhanced the GroupsTable to display the group type alongside other group details. - Introduced a new select component for users to filter groups by type, improving user experience and data organization. * cms_update * ui_change * date_issue_fixed * cms_update * feat(search): add segment search functionality to MarkdownLinkDialog - Introduced a new API function `searchSegments` to fetch segments based on user input. - Updated `MarkdownLinkDialog` to support segment linking, including state management for selected segments. - Enhanced the UI to display search results for segments, improving user experience when linking content. - Adjusted placeholder text and rendering logic to accommodate the new segment search feature. * field_removed * image_upload_fix * group_dropdown_update * fixed * language_support_expansion * tag_metadata * preset_text_pair_update * update * update * update * feat(subtask): enhance version preset display with visual hierarchy and connection lines * add version_button_added * add version modal spacing update * version title display * format update * add youtube videos * Update language support in series details mappers and schema to include additional language codes (HI, NE, MN). * Enhance language support across components and schemas by adding Hindi, Nepali, and Mongolian language codes. * Add functionality to clone series plans and retrieve languages with plans in series details * Implement start date handling in CreatePlan component and enhance series details with start date settings. Update tests to cover new functionality. * Refactor TTS language handling to support Gemini TTS for non-Tibetan languages. Update related components and constants to reflect changes in language checks and options. * Refactor language handling in series and dashboard components to utilize centralized language code normalization and order. This includes updates to language parsing and default language order across multiple files, enhancing consistency and maintainability. * Add functionality for uploading and deleting shareable images in plan API. Update SideBar component to include DayShareableImagesDialog for managing shareable images associated with days. * add videos to plan * update failing tests * build fix * lint fix * refactor * lint * Add GroupAccumulatorsPanel to GroupFormPage for enhanced group management * Update GroupAccumulatorDTO to rename accumulator_id to preset_accumulator_id and add member_count property. Modify GroupAccumulatorsPanel to reflect these changes in the form state and display member count. * Refactor language handling in SeriesDetailsPage and DayCreateDialog. Implement URL parameter reading for active language in SeriesDetailsPage and enhance DayCreateDialog to manage plan language selection. Update tests to verify language functionality. * Add ChinaRestrictionsPage and update routing in main.tsx. Enhance Navbar with China restrictions link and update platform access checks. Define new route in paths.ts and add to NO_GROUP_ALLOWED_PREFIXES in platformAccess.ts. * Refactor group routing in main.tsx to introduce GroupLayout and related pages. Replace GroupDetailsPage with nested routes for GroupAboutPage, GroupAboutEditPage, GroupContentPage, and GroupMembersPage. Enhance ChinaRestrictionsPage with search functionality and candidate selection for restricted items. * Refactor Groups and GroupPageShell components for improved layout and styling. Adjust padding in Groups component and enhance GroupPageShell structure for better child component handling and overflow management. * update the integration with actual params objects (#236) * update the integration with actual params objects * lint --------- Co-authored-by: Harshal Madgulkar <harshal@webuddhist.com> Co-authored-by: tenkus47 <tenkus47@gmail.com> Co-authored-by: Tenzin Kunsang <42644738+tenkus47@users.noreply.github.com> Co-authored-by: TenzDelek <tibetdelek@gmail.com> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Co-authored-by: Lungsangg <lungsang2023@gmail.com> Co-authored-by: Jajin <102473656+Lungsangg@users.noreply.github.com>
updated the integration with params as there wasnt before and fixed the pagination as previous since with zero params onject , it wasnt working correctly.