Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version Update from v0.6.0 to v0.7.0 (#353)
* testing the styling of pagination per their documentation * margin for PREV and NEXT pagination buttons * styling PREV and NEXT differently than rest * Adding chevron icons to prev and next buttons * deleting yellow option for messages pagination * Removed unused state.file from statusReducer, initial state for reducer, and action type for CLEAR_FILE; Included optional prop for file in FormSection; Included file for StatusNotification in place of state.file; Updated lines for UploadDocumentModal; Updated relevant typedefs * Grouping all MUI imports together * Issue 220 sort client list (#275) * sort function in client list table * takes away unused variable * copy and sort userList copy * delete console log * run prettier check * sort by family name and case fix * fix unexpected console statement * changed compare to arrow function * formatting chage * unit test added * format changes * testing template for russell * wrapped component with providers attempt * fix eslint errors * prettier run fix attempt * clean up test * sort clients test added * formatted client list table test * sort clients test redo * prettier format fix error --------- Co-authored-by: Andy Williams <[email protected]> Co-authored-by: Tim Standen <[email protected]> * updated instructions for creating a branch and minor formatting changes * further formatting to branching instructions * updated terminal instructions for cloning and creating a branch * added link to figma board in resources.md * updated figma board to view only link * updated instructions for CLI checking out branch * Created new route to ClientsProfile; Created ClientsProfile page; Updated fetchProfileInfo to accept other webIds; Modified Link to Pod Profile in Clients to go to new ClientsProfile page; Updated handleSelectClient to fetch client profile data * Create new ClientProfileInfo component for ClientsProfile page * Increased size of profile image for client profile * Navbar Messages route tab -> icon button * Modified Profile page to incorporate parts of Documents page; Updated ProfileImageField component and form element styling; Minor change to DocumentTable margin * Created new UserDocumentListContext exclusively for user documents in profile page; Created new prop for user='personal' to indicate user documents context for UploadDocumentModal, DocumentTable, and DocumentTableRow components * Combining ClientsProfile with Profile page from PR #322; Created new prop for user in Profile page to differentiate between user and client profiles as done in PR #322; Removing unused ClientsProfile * removing second dropdown menu in navbar for tabs/routes (no longer necessary with less routes) * fix for navbar width * Updated typedefs for relevant components; Included user prop to distinguish between set and request permissions for Documents and document files between Client and User Profiles; Placed dummy functions for request permissions forms in client profile page; Removed Documents page and route; Modified WebID columns in ClientListTable to Client Profile * Updating unit test for ClientListTable to call the correct item * Utilized user to set value and placeholder for set permission forms depending on condition * Fix to display Tabs on mobile too * adding same spacing for all icons * Show verify file toggle only for clients profile page * Made client/user distinction more clear by changing DocumentListContext to ClientDocumentListContext; Updated relevant files dependent on DocumentListContext to ClientDocumentListContext; Updated the context provider for DocumentListContext to ClientDocumentListContext * Removing comment for webId column in ClientListTableRow * Fix client refresh and url redirection (#281) * update routing to remove hash parameter and improve speed of refresh * Fix client refresh and url redirection (#281) * update routing to remove hash parameter and improve speed of refresh * Replaced removed solid-ui-react library with new custom hook for useSession * Replacing static link /clients/profile to /clients/:id * Fixed getPodUrl to use ENV; Included empty string for username as part of initial selectedUserContext to handle MUI error; Passing selectedUser directly to set permission forms as props * Refactored Profile page to have UserProfile and ClientProfile components and render based on user; Incorporated ClientProfileInfo into ClientProfile * Moved JSDoc typedefs from components to typedefs.js; Included JSDoc for UserProfile * Removed unit tests for functions that utilizes username, will be phased out soon when replaced with podUrl * Moved additional typedefs to typedefs.js; Replaced SelectedUserContext with router state to pass data to generate profile information; Reverted back to using DocumentListContext; Included function to clear selectedUser context when entering user profile; Revert back to use DocumentListContext; Included loading animation for loading profile; Included additional animation for LoadingAnimation component * Setting restore path for profile pages * Placed temporary solution for clearing documentList after other user revoke permissions; Include username in initial state for SelectedUserContext * Moved setTimeout for clearInputFields for set permission forms; Removed TODO in Line 84-85 from Profile.jsx * fix Navbar width issues on mobile * Removed SelectedUserContext and relevant provider; Updated DocumentListContext to take in client as a state to use for loading documents; Included revokeObjectUrl function as a clean-up function to the file Blob * Changed typedef for clientProfileProps to profileComponentProps; Combined ClientProfile with UserProfile into component called ProfileComponent; Included clientProfile as prop for ProfileComponent; Allow LoadingAnimation to take in children components for animation; Removed unused labelId for ClientListTable and ClientListTableRow; Switched link to profile to Client column in ClientList and removed Client Profile column * Updating unit test for ClientListTable * Dropping Go back button for client profile * Updating long paths with Vite aliases * Removing unused props and typedefs * Created routine to clear Blob from browser memory after usage * Replaced user with client object for rendering condition for set permission forms; Updated typedefs for set permission form components * Removing unused props for DocumentTable and UploadDocumentModal * Included finally block to run setTimeout for clearInputFields for permission forms * Removed unused props from uploadDocumentModalProps typedefs * Optimized parts of ProfileComponent * Simplified ternaries in fetchProfileInfo * Organizing states in Profile page * Corrected new typedefs in typedefs.js * Add Heroku Config (#326) * updated route pathing * Revert changes for handleShowDocumentLocal and moving changes to separate PR * Minor change to ClientListTable margins * Refactoring NavBar into 3 separate components * Fixing bug where Notifications Menu did not show when clicking Notifications in mobile menu * setting up skeletons of tests for navbars * removing unused imports * removing unused imports * adding function to mock proper window size for mobile/desktop tests * clearing unused functions and imports * creating a user logged in/out session context to push to tests * fixing value keys on SessionContextProvider * destructuring in navbar children components * fix up some tests for Scott * Adjusted styling for three columns for ClientList * Adjusted styling for 3 column in ClientList * Removing extra React fragment from ProfileComponent * Moving /clients/:webId routes to /profile/:webId with base route as route to user profile * Adjusted fetchProfileInfo function to just take in as webId and updated relevant lines using fetchProfileInfo * Updated JSDoc for clientProfile * Updated ProfileComponent to allow for potential null in ProfileInputField inputValue; Included unit tests for components in /src/components/Profile; Included devDependency for @testing-library/jest-dom/extend-expect to help with component unit tests * Removed condition for permission forms for request permissions; Restrict permission forms to user profile page with client object * resolving errors in tests * prettier formatting * Combined first and second unit test for ProfileComponent * Updated unit test for ProfileComponent * Removing unused typedefs * Removing unused typedefs * Refactored ProfileEditButtonGroup out of ProfileComponent * clean up some warnings in tests (#328) * Included fixes for unit tests * Fixed issue with localStorage.setItem for oidcIssuer in OidcLoginComponent; Revert temporarily fix to getPodUrl to use localStorage.getItem * Fixed unit test; Moved localStorage.setItem for oidcIssuer outside loginHandler * Moving localStorage.setItem inside onClick and onKeyUp for Login Button; Updated button type to button instead of submit * Revert changes to session-core.test.js to original version * Updated InactivityMessage.jsx * Post update clean up with lint and prettier; Removed unused contexts; Cleaned up routes * Fixed localStorage.setItem to trigger upon login by moving function outside logoutHandler * Revert fix to separate PR * Merge branch '251-update-the-inactivity-message-and-add-force-logout-on-inactivity-1' of https://github.com/codeforpdx/PASS into 251-update-the-inactivity-message-and-add-force-logout-on-inactivity-1 * Updated InactivityMessage.jsx * Fixed feature: LoginHanlder working with enter key * Updated InactivityMessage.jsx with useSession, and created logout timer. * linted * ran prettier * Update pod server script (#344) * add easier pod startup script * fix link structure * Removed onClose from modal * clear localStorage on logout * prettier * Logout clears localStorage * Updating package.json from v0.6.0 to v0.7.0 * fixed url template * removed template * cleaner format for github issue templates * create PR template * Cleaning up Development for merge to Master * changed renderWebId function * Revert "Fixed template in AddClientModal" * Updated fix for OidcLoginComponent * Updated renderWebId function --------- Co-authored-by: veganedge <[email protected]> Co-authored-by: Scott Brown <[email protected]> Co-authored-by: Russell Fraze <[email protected]> Co-authored-by: Andy Williams <[email protected]> Co-authored-by: Tim Standen <[email protected]> Co-authored-by: Jared Krajewski <[email protected]> Co-authored-by: Tim Standen <[email protected]> Co-authored-by: brancwill <[email protected]> Co-authored-by: Radhey Chitroda <[email protected]>
- Loading branch information