Releases: mentorpal/mentor-admin
4.2.0-alpha.7 My Mentor Card Polish
- Minor UI changes for My Mentor Page.
my mentor recommendation-button polish
Recommendation button polish (#73) * restored progress bar for recording session * progress marks are now blocks * visual changes for recommendation subcomponent * added licences * "uncategorized" questions now [subject] questions Co-authored-by: Jim Alvarez <[email protected]>
4.2.0-alpha.5: 4.2.x - Recommend follow up question UI (#65)
* dropdown should now expand when adding a question * rec review page contains mentor card placeholder * my mentor card uses half the space in review page * list created, currently only works under cypress tests * follow up questions are uploaded to categories and are recordable via next button * recording header change, no mentor card on review page, mentor specific questions * final touches: classifier endpoint, record page state management update, bug fixes * update data format * pass cookies to classifier * test fix * requested changes * requested changes * requested changes * classifier request change, use-with-data promise void * graphql post update Co-authored-by: Jim Alvarez <[email protected]>
follow up questions implemented
4.2.0-alpha.4 graphql post update
follow up questions implemented
4.2.0-alpha.3 classifier request change, use-with-data promise void
Security Update: Store Tokens in Cookie
When you do log in, send 2 tokens (Access token, Refresh token) in response to the client. The access token will have less expiry time and Refresh will have a long expiry time. The client (Front end) will store the refresh token in his local storage and access token in cookies.
The client will use an access token for calling APIs. But when it expires, pick the refresh token from local storage and call auth server API to get the new token. Your auth server will have an API exposed which will accept refresh token and checks for its validity and return a new access token. Once the refresh token is expired, the user will be logged out.
My Mentor Page includes Recommended Action Button
*Recommended Action Button guides user to improve their mentor with the following suggestions:
-Adding a thumbnail
-Recording an Idle Video
-Finishing incomplete Categories
-Adding a new Subject.
ui updates to My Mentor
Added fetchThumbnail query, updates thumbnail on upload (#53) * new layout for mentor info card * format and tests * removed import error * circular progress, shows thumbnail or placeholder * prompts upload on image hover (non-functional) * new layout draft * ui changes * test for upload * fixed test * setup for mentor.thumbnailSrc + tests * thumbnailsrc > thumbnail, uploadthumbnail function * mock test for displaying changed image * renamed component * renamed test and removed post request * removed upload tooltip, moved upload button * fixed missing mentor id * fetchThumbnail query, updates thumbnail on upload * removes non-null assertion * Thumbnail size fixed but layout responsive * ran format * added hook to manage thumbnail state * fixes flakey tests (#62) * updates cypress to 7.6 from 7.1 * updates deps * removes only Co-authored-by: Jim Alvarez <[email protected]> Co-authored-by: larry kirschner <[email protected]>
my mentor page - new layout + mentor thumbnail management
updated mentor type, uploadThumbnail function, UI changes
tmp disable cypress for demo build
4.1.0-alpha.17 tmp disable cypress tests