Commit d8fcb93
authored
feat: add main pages (#9)
* feat: add data table component and integrate with apps route
* feat: add SearcherBar component and integrate it into apps and index routes
* refactor: remove unused Link import from columns.tsx
* feat: implement PaginatedNavigation component in AppsTable for pagination support
* refactor: enhance pagination logic in PaginatedNavigation component for improved readability and functionality
* refactor: adjust pagination logic in generatePaginationItems for improved visibility and functionality
* fix: border transition looking bad
* refactor: update useAppsData to accept currentPage for dynamic data fetching
* fix: add placeholderData to useQuery for improved data handling
* refactor: wrap app name in a div and fixe is width
* fix: update TABLE_LENGTH to 16 for correct configuration
* refactor: remove AppsTable component and integrate its functionality directly into AppsRoute with refetch indicator
* feat: add Deals route with data fetching and pagination functionality
* fix: rename taskQuery to tasksQuery for consistency in data fetching
* refactor: reorganize imports and simplify conditional rendering in DealsRoute
* feat: implement Tasks route with data fetching, pagination, and task table columns
* refactor: replace inline type definitions with GraphQL query types for Apps and Deals
* fix: display workerpool description directly in the table instead of using CopyButton
* feat: add Workerpools route with data fetching, pagination, and table columns
* fix: wrap CopyButton in a div to set a fixed width for app name display
* fix: improve description display in workerpools table with consistent styling
* fix: replace CopyButton with conditional rendering for dataset name display
* feat: add Datasets route with data fetching, pagination, and table columns
* fix: update PaginationEllipsis styling for better responsiveness
* fix: update query state variables to indicate refetch and loading
* fix: update loading indicator logic to show during loading or refetching
* fix: adjust SearcherBar styling for improved layout and responsiveness
* fix: refactor SearcherBar layout for improved structure and styling
* fix: adjust SearcherBar padding for improved layout consistency
* fix: simplify Button component structure in SearcherBar for cleaner code
* fix: update PaginationPrevious and PaginationNext to use screen reader only text for accessibility
* fix: refactor SearcherBar to improve button visibility and input class handling based on connection status
* fix: update placeholder text in SearcherBar for clarity
* feat: rename folder
* feat: rename folder AppsTable/ to appTable/
* fix: remove unnecessary 'use client' directive from multiple components
* feat: enhance DataTable component with tableLength and isLoading props for improved data handling
* feat: move routes for apps, datasets, deals, tasks, and workerpools
* fix: update destination paths for apps, datasets, deals, tasks, and workerpools routes
* feat: implement DataTable component and update routes to use it
* feat: replace useNavigate with Link in DataTable for improved navigation
* feat: refactor preview tables to use DataTable component for improved rendering and data handling
* fix: prevent default button behavior in CopyButton component
* feat: rename WorkerpoolsPreviewTable component and update import path
* fix: update import path for WorkerpoolsPreviewTable component
* feat: add routes for datasets, deals, tasks, and workerpools with data handling and pagination
* refactor: remove unused AppsTable component and related code
* feat: add NextApps, NextDatasets, NextDeals, NextTasks, and NextWorkerpools to assure next page in pagination
* fix: update import path for WorkerpoolsPreviewTable component
* chore: update @radix-ui/react-slot version to 1.2.2 in package.json and package-lock.json
* feat: update pagination logic in multiple routes to adjust current page and total pages
* feat: better error and loading handling logic in preview tables for apps, datasets, deals, tasks, and workerpools
* feat: enhance error handling in apps, datasets, deals, tasks, and workerpools routes with alerts
* fix: correct typo in query property of fetch request in execute function
* feat: improve error handling in apps, datasets, deals, tasks, and workerpools routes with hasPastError flag1 parent 53ed54e commit d8fcb93
File tree
37 files changed
+1837
-572
lines changed- src
- components
- ui
- graphql
- modules
- apps
- appsTable
- datasets
- datasetsTable
- deals
- dealsTable
- tasks
- tasksTable
- workerpools
- workerpoolsTable
- routes
37 files changed
+1837
-572
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
0 commit comments