Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Human APP frontend fixes after UI review (humanprotocol#2292)
* feat(app/worker-profile/my-jobs): integrate my jobs table with api * feat(app/worker-profile/jobs): separate common logic to hooks * feat(app/worker-profile/jobs): fix naming * feat(app/worker-profile/my-jobs): fix according to review * save * feat(app/worker/profile): add synaps KYC verification * feat(app/worker/profile): remove empty file * feat(app/worker/profile): remove unused hook * feat(app/worker/profile/jobs): refactor according to review * feat(app/operator): prepare operator layout * feat(app/operator): add preapare siganture for web3 auth * feat(app/operator/profile): update signup flow * fix(app/use-connected-wallet-hook): add initial state handling * fix(app/worker-profile): fix actions buttons states * feat(app/operator/profile): add disable button * fix(app/protected-layouts): prevent multi logging * feat(app/operator): disable operator * feat(app/operator/profile): separate auth providers * feat(app/operator/profile): fix logout button * fix(app): add layout fixes * feat(app): prepare demo * feat(app): fix table buttons * feat(app/worker/jobs): add oracles table * fix(app/auth): use one browser auth provider * fix(app/worker/jobs): add oracles table * feat(app/worker/jobs-discovery-page: add jobs discovery page * reafactor(app/browser-auth-provider): remove useless methods * refactor(app/auth): refactor auth provider * fix(app/worker/profile): refactor according to review * HAF-93: Hide cancel button * HAF-92: Change add stake form submit text * HAF-89: Style fixes on Setup operator mobile page * HAF-87: Add arrow back to reset page * HAF-88: Hide cancel button on password changed page * HAF-85: Change text weight on reset password page * HAF-83: Change worker sign up link styles * HAF-81: Verify email page styles * HAF-80: Sign up worker styles * HAF-79: Sign Up choose accout type styles * HAF-77: Reset password page styles * HAF-75: Reset password styles update * HAF-74: Sign up form errors * HAF-73: Sign in validation messages * remove unused react imports * HAF-66: Add captcha to sign worker sign up * feat(app/operator/signin): add operator singin * fix(worker/profile/reset-password): fix link to profile * feat(app/operator/signin): handle logged operator * feat(app/worker/signin): add hcaptacha * feat(app/operator/signin): add error handler * Haf 59 wfb add successful kyc info on chain (#115) * feat(app/worker/profile): add register-address service * feat(app/user/worker): add KYC info on chain * feat(app/user/worker): handle rpc errors during KYC registration * feat(app/user/worker): add kyc on chain * feat(app/user/worker): fix according to review * feat(app): add wallet connect custom modal * feat(app/worker/profile/hcaptcha-labeling): add labeling page * feat(app/worker/profile): add text field for connected wallet address * feat(app/worker/profile/my-jobs): add icons to my-jobs table headers * feat(app/multi-select): fix and apply new mulit select * feat(app/worker/send-email-verification): fix copy and remove resend button * feat(app/worker/reset-password): add hcaptcha and resend button * fix(app/layout): fix layout * feat(app/worker/email-verification): add verification mutation state * fix(app/worker/email-verification): add resend email error handling * fix(app/worker/profile/jobs): add missing filters and icons * refactor(app/worker/profile/jobs-discovery/table): move react query to parent component * refactor(app/worker/jobs): improve table headers * refactor(app/profile/worker/tabel): fix naming * refactor(app/profile/worker/tabel): remove reduntant headers * feat(app/worker/hcaptcha-labeling): update hcaptcha labeling * feat(app/worker/hcaptcha): add servces * feat(app/worker/hcaptcha): add props * feat(app/worker): update services * fix(app): layout * feat(app): add json rpc error * feat(app/worker/auth): add updating JWT payload * feat(app/worker/auth): update signout * fix(app/worker): fix register address * fix(app/layout): add layout fixes * fix(app/worker/stats): fix user stats details * feat(app/worker/labeling): fix stats, labaling page reload and hard reload after signin * fix(app/worker/labeling): fix copy * refactor(app/worker/labeling): fix axxroding to review * add demo fixes * add demo fixes * fix(app): demo updates * fix(app/worker/profile): fix profile layout * refactor(app/woreker/profile/labling): refactor according to review * fix(app): fixes after demo * refactor(app): refactor according to review * fix(app/worker/profile/jobs): fix drawer * 4th milestone features (#79) * Milestone 4 - draft: TODO * User stats endpoint, test and possible rework of response mapping * Add unit tests * Add proxy endpoints for: - user/register-address - auth/signin/web3 * Adds test coverage, minor fixes * Adds additional proxies for 4 milestone * Reworks reputation oracle gateway test suite, adds necessary mappings * adds missing await * Review fixes * Adds /user/register-address handling * Changes endpoint name * Adds import fixes * Adds controller and module to the main app module * Updates README.md (#125) * Updates README.md: Adds Caching section, Changes in signature type * README.md updates * README.md updates * fix(app/user/worker): remove chain id validation (#114) * fix(app/user/worker): remove chain id validation * Test fix and JWT User data align * Updates README.md: Adds Caching section, Changes in signature type * Removes commented code * Changes after hcaptcha api check * Adds interceptor for axios requests * Fix/signature (#126) * Updates README.md (#125) * Updates README.md: Adds Caching section, Changes in signature type * README.md updates * README.md updates * fix(app/worker): add signature field to req body * update(app): revert readme * fix(app/register-address): fix test --------- Co-authored-by: macnablocky <[email protected]> Co-authored-by: Kacper Koza <[email protected]> * Fixes undefined in POST data, fixes unit tests * Adds Resign job feature, small changes in the gateway config (#134) * Fixes * Fixes in dependencies --------- Co-authored-by: Kacper Koza <[email protected]> Co-authored-by: maciej.nabialek <[email protected]> Co-authored-by: macnablocky <[email protected]> * Fixes restore password * Fixes restore password part 2. * review fixes --------- Co-authored-by: KacperKoza343 <[email protected]> Co-authored-by: Kacper Koza <[email protected]> Co-authored-by: Bartosz Solka <[email protected]> * fixes after merge * feat(app/worker/jobs): add tasks rejecting * feat(app/worker/jobs): add infinite scroll on mobile * fix(app/worker/jobs): fix jobs resigning (#138) Co-authored-by: = <[email protected]> * feat(app/worker/jobs): connect drawer with api * feat(app/worker/jobs): add sorting by escrow address * refactor(app/worker/jobs): fix props naming * Add TokenRefresh feature in reputation oracle integration (#141) * Update endpoint paths in `reputation-oracle.gateway.spec.ts`. * Add TokenRefresh feature in reputation oracle integration * fix(app): build * fix(app/auth): fix refresh token flow (#143) * fix(app/worker/jobs/filters): update table filters * fix(app): layout fixes * Update mapping conventions for pagination and sorting (#144) * update(app/operator/set-up): update setup flow * fix(app/nav-bar): show navbar buttons only on main page * fix(app/nav-bar): add envs links * feat(app): add refreshing token after requests * update(app/worker/sign-up): update signup flow * fix(app): fix error page and evm address displaying * fix(app/operator/sign-up): add skip button for existing keys * feat(app): add chat icon * feat(app): fix chat icons styles * refactor(app/worker/jobs): refactor filters * refactor(app/operator/set-up): refactor according to review * refactor(app/operator/set-up): refactor according to review * fix(app/operator/set-up): fix keys forms * fix(app/worker/jobs): oracles table fix * fix(app/operator/set-up): update inputs order * Fixes after client review (#150) * Fixes after client review * Fixes after client review * Fixes after client review * Fixes failing test * small fix in displaying axios interceptor logs * Adds filtering to oracle discovery (#154) * Adds filtering to oracle discovery * Adds and passes tests for controller, adds mapper * Adds and passes tests for service * Rework of oracle-discovery.service.ts in alignment with code review remark * update server * update yarn.lock * Modifies filtering in oracle discovery to be case insensitive (but will return original data) (#159) * fix(app/auth): fix getting refersh token * feat(app/operator/set-up): add url field * feat(app/operator/profile): add fetching stats on profile (#162) * fix(app/worker/profile): refetch KVStore data after setting address (#163) * fix(app): fix chat icon position (#164) * fix(app/woreker/jobs): fix jobs tables * Fixes in validators, fixes in parsing Oracle Discovery DTO * Revert "Fixes in validators, fixes in parsing Oracle Discovery DTO" This reverts commit 68953ae. * Validator fixes (#166) * Fixes in validators, fixes in parsing Oracle Discovery DTO * Removes TransformToArray from decorator list, * Rollbacks yarn lock in dashboard admin * Changes to improve swagger readablity * refactor(app/woreker/jobs): refactor according to review * fix(app/worker/jobs): type pagination arguments * Adds optional validator to jobsDiscoveryParamsDto.sort_field (#168) * Adds optional validator to jobsDiscoveryParamsDto.sort_field * Adds optional validator to jobsDiscoveryParamsDto.job_type * feat(app/worker/jobs): fix oracles dto and jobs pagination (#169) * feat(app/worker/jobs): fix oracles dto and jobs pagination * fix(app/worker/jobs): fix oracles dto * docs(app): update readme and .env.example (#170) * Add lock * Human app maintanance (#178) * HAM-2 * HAM-6 * HAM-3 * HAM-3 part 2 * HAM-9 * HAM-1 * HAM-5 * HAM-1 rework * Fix to HAM-9 * Fix to HAM-6 * HAM-16/30/31/32 (#181) * HAM-16/30/31/32 * Fixes in resing job (#187) * fix(app/worker/jobs): fix resign job dto * Fixes ut --------- Co-authored-by: KacperKoza343 <[email protected]> * Changes assignment id back from number to string (#190) * Changes assignment id back from number to string (#188) * Changes assignment id back from number to string * Update job-assignment.model.ts * Ham 8 backend implementation (#192) * feat(app/worker/password): add hcaptcha field * Fixes endpoint model for forgot password, adds h-captcha token to email verification resend endpoint model * Adds proper handling of ttl and changes address to wallet_address in JWT token decoding * Adds proper handling of ttl and changes address to wallet_address in JWT token decoding * small fix * small fix * Adds cache reset on demand --------- Co-authored-by: KacperKoza343 <[email protected]> * updates default allowed headers (#199) * Feature/human app frontend 2nd milestone (#200) * Add lock * feat(app/worker): add missing hcaptcha * fix(app/hcaptcha): refresh form captcha after FetchError * feat(app): add missing captcha * feat(app): add error to captcha * feat(app): add gracefull error handling (#172) * fix(app/worker/profile): fix KYC start process * feat(app/worker/profile): fix mobile jobs tables * fix(app): fix copy (#176) * fix(app/worker/profile): disable job discovery when did not register address (#175) * fix(app/wallet-connect): improve networks narrowing * fix(app/operator/set-up/stake): redirect after successfull stake * fix(app/operator/set-up/stake): remove useless changes * feat(app/auth): logout user when tokens expire * fix(app/worker/jobs): extend job routing * feat(app/operator/set-up): ommit approve if not nesseccary while staking * feat(app/auth): allow user to switch account on homepage * fix(app/auth/jwt-expiration): fix naming * fix(app/worker/profile): remove callbacks from KYC mutation hook * feat(app/worker/email-verification): redirect unverified user to veri… (#189) * feat(app/worker/email-verification): redirect unverified user to verify page * feat(app/worker/email-verification): logout on cancel button * fix(app/auth): update jwt payload (#194) * feat(app/worker/email-verification): prevent unathenticated user from resend email verification (#195) * Ham 20 register address and add kyc on chain should be two different steps (#191) * feat(app/worker/register-address): separate address registering from KVStore setup * feat(app/worker/profile): change adding value to KVStore * feat(app/worker/profile): update KYC on chain feature * feat(app/worker/profile): update profile actions * feat(app/worker/profile): handle new KYC responses (#196) * feat(app/worker/profile): remove oracle address * fix(app/worker/jobs): change assigment_id type (#193) * Ham 44 missing oracle address in my jobs table (#197) * fix(app/worker/jobs): fix my jobs fetching * fix(app/worker/jobs/resign-job): fix resign jobs dto * feat(app/layout): close drawer on link click (#198) * fix(app): add fixes after review * revert yarn.lock --------- Co-authored-by: MicDebBlocky <[email protected]> * revert unwanted changes * fix(app/worker/profile): fix response validation and enable labeling notification (#201) * Ham 49 after password reset user should be logged out (#202) * fix(app/worker/profile): fix response validation and enable labeling notification * fix(app/worker/profile/reset-password): logout user after password reset * Ham 50 log out user when enters signup page (#204) * fix(app/worker/signout): logout user when visiting sign up page * fix(app/auth-pages): logout users * Ham 52 fix help button in worker profile (#205) * fix(app/worker/signout): logout user when visiting sign up page * fix(app/auth-pages): logout users * fix(app/profiles): update help buttons in drawers * Fix/help url (#206) * fix(app/worker/signout): logout user when visiting sign up page * fix(app/auth-pages): logout users * fix(app/profiles): update help buttons in drawers * fix(app/profiles): help url redirect * fix(app/worker/password): fix cancel button (#207) * feat(app/operator/profile): update UI according to operator (#208) * feat(app/operator/profile): update UI according to operator * fix(app/operator/profile): update JWT data after deactivation * feat(app/networks): add deafult mainnet and testnet networks (#209) * feat(app): fixes after review (#210) * feat(app): fixes after review * fix(app): styles * Fixes after merge * Removed indentation in test_transaction_utils --------- Co-authored-by: MicDebBlocky <[email protected]> Co-authored-by: KacperKoza343 <[email protected]> Co-authored-by: portuu3 <[email protected]> Co-authored-by: Mateusz Marcinkowski <[email protected]> Co-authored-by: KacperKoza343 <[email protected]> Co-authored-by: macnablocky <[email protected]> Co-authored-by: Kacper Koza <[email protected]> Co-authored-by: maciej.nabialek <[email protected]> Co-authored-by: Michał Walczak <[email protected]>
- Loading branch information