Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* task/TUI-91 - react query login hook (#100) * install react-query * tapis-hooks useLogin hook * Error decoding in helper function * Add tapis-provider to component testing utils * eslint * Cache token in cookies * Comments * Refactor helpers and useTapisConfig * Use React.PropsWithChildren * Sidebar uses accessToken from useTapisConfig hook * Dashboard reads access token * Use query instead of explicit context as the source of truth for the access token. * CRA port with git history preserved * fix linting/tests * Rename tests folders to _tests * task/TUI-102 - react query systems (#109) * Add systems list hook * tapis-ui systems uses hook * Systems list retrieval via hook * Implement logout * Fix tests * Fix ListSection auth detection * Removed unused queryHelper props * Update comments * Fix tests * Template type check * API helper proposal (#111) * API helper proposal * login uses new helpers * remove unnecessary type definitions * Nullable jwt * Update src/tapis-ui/src/components/systems/SystemList/SystemList.tsx Co-authored-by: Jake Rosenberg <[email protected]> * Refactor useList to useSystemsList * Revert "Refactor useList to useSystemsList" This reverts commit 90308c3. Co-authored-by: Jake Rosenberg <[email protected]> * task/TUI-112 - realign directories (#113) * Refactor src directory * Refactor _tests * Fix eslint issues * Move defaultProps to inline values * Delete extra fixtures * task/TUI-104 -- apps list react query (#119) * apps list in tapis-hooks and AppsListing * Fix unit tests * Dashboard uses apps listing * Add query keys * Code quality changes * task/TUI-105 -- jobs list react query (#120) * Jobs listing hook * Dashboard uses useList tapis-hooks/jobs * Job details hooks and ui * query keys * Code quality changes * task/TUI-103 -- Files Listing hooks (#121) * Files Listing hooks * Concatenation utility * Fix unit tests * Simplified concatResults function * streamline concatResults and remove need for type coercion Co-authored-by: Jarosenb <[email protected]> * Query keys for systems * task/TUI-106 - react query jobs submission (#125) * Add useSubmit hook * JobsLauncher component uses tapis-hooks/jobs/useSubmit * Update comments * React query usemutation proposal (#127) * Propose better parameters for usemutation functions * query keys * Try to use appVersion and appId as parameters for hook * fix appId key * JobsLauncher component explicitly accepts required parameters for launch * Update src/tapis-hooks/jobs/useSubmit.ts Co-authored-by: Jake Rosenberg <[email protected]> Co-authored-by: Jake Rosenberg <[email protected]> * Simplify job param syntax Co-authored-by: Jake Rosenberg <[email protected]> * Login hook simplified * task/TUI-122 - remove tapis-redux (#130) * Login hook simplified * Remove tapis-redux * Remove redux packages * Remove redux from _common components * task/TUI-126-- react query mutations (#129) * Login hook simplified * Convert logout from route to clickable UI element * Simplify logout component * task/TUI-131 - react query refetch (#132) * Login hook simplified * Add default params to listing operations * tapis-ui components accept params for lists * Remove manual refresh capabilities * move authentication logic into a ProtectedRoute component (#133) * Implement routing within sections. (#135) * Implement routing within sections. * Remove unused methods/imports * fix tests * destructure route props and move JobLauncherWrapper into tapis-app * Task/t UI 137 react query mutation params (#138) * Login hook simplified * Consistently have useMutation hook functions use parameter lists instead of objects * Remove onsuccess and onerror callbacks * Task/TUI-140 react query getnextpageparam refactor (#141) * Login hook simplified * Refactor tapisNextPageParam utility function * indentation * Update src/tapis-hooks/utils/infiniteQuery.ts Co-authored-by: Jake Rosenberg <[email protected]> * Inline generic type for tapisNextPageParams * spacing Co-authored-by: Jake Rosenberg <[email protected]> * abstract sidebar nav into a single component (#136) * abstract sidebar nav into a single component * move navbar to tapis-ui * task/TUI-123 - wrapper components (#142) * AppsListing refactored to AppsNav, uses QueryWrapper * Remove unnecessary explicit typing * List components refactored into navs * SubmitWrapper component * QueryWrappers for job details and file listings (#144) * Abstract out a universal <Layout/> component (#145) * abstract out a universal <Layout/> component * more semantic names for section wrappers * fix border layout * fix file listing height * add prettier check to the linter (#147) * add prettier check to the linter * run prettier --fix on codebase * Update src/tapis-app/Sections/Jobs/Jobs.tsx Co-authored-by: Keith G Strmiska <[email protected]> * Update src/tapis-app/Sections/Dashboard/Dashboard.tsx Co-authored-by: Keith G Strmiska <[email protected]> * Update src/tapis-api/systems/list.ts Co-authored-by: Keith G Strmiska <[email protected]> * Update src/tapis-api/files/list.ts Co-authored-by: Keith G Strmiska <[email protected]> Co-authored-by: Jake Rosenberg <[email protected]> Co-authored-by: Keith G Strmiska <[email protected]>
- Loading branch information