Commit Graph

249 Commits

Author SHA1 Message Date
klotske 5524db5a01 Removed duplicate Box components 2023-01-07 03:50:25 +03:00
klotske d3a0bd4305 Moved SideMenu to component & refactored layout 2023-01-07 03:38:34 +03:00
Keith Stevens b36d263cad Merge pull request #457 from Klotske/add-longer-response-incentive
#435 Added longer response incentive
2023-01-07 08:34:39 +09:00
Keith Stevens e8f160c4b8 Merge pull request #447 from LAION-AI/jm/tests-for-javascript-oasst-api-client
tests + fix: #354 Add tests for OasstApiClient and fix handling of OasstError
2023-01-07 07:57:06 +09:00
klotske 3449c053f6 Removed unused imports & unused variable 2023-01-07 00:08:56 +03:00
klotske 44d05ed709 Initial implementation of progressbar tracking 2023-01-07 00:06:15 +03:00
Jack Michaud 239c10c2dc fix: export OasstError 2023-01-06 10:21:23 -05:00
Jack Michaud 6eca350826 Merge branch 'main' of github.com:LAION-AI/Open-Assistant into jm/tests-for-javascript-oasst-api-client 2023-01-06 10:17:47 -05:00
Jack Michaud a9a3fc4e4a fix: handle OasstError correctly in OasstApiClient 2023-01-06 10:15:07 -05:00
chs20 667d51df55 Fix message flagging in dark mode (#434) 2023-01-06 15:31:11 +01:00
Keith Stevens d182f6f093 Merge pull request #441 from LAION-AI/236-admin-role
Creating a role field for Users #236
2023-01-06 21:21:28 +09:00
Keith Stevens 8a5b7ed80c Merge pull request #421 from Klotske/add-oasst_api-interaction
#353 - Add OasstApiClient interaction with task
2023-01-06 20:22:56 +09:00
Keith Stevens 7e517db934 Fixing the type errors when updating the jwt and session with a role 2023-01-06 20:19:02 +09:00
Keith Stevens 498daef9d3 Creating a role field for Users and seeding it everytime a user logs in based on a shortlist 2023-01-06 20:01:02 +09:00
klotske 3c330dcd13 Added the oasstApiClient global var and init 2023-01-06 13:44:46 +03:00
Andrew Maguire 95158ff16d Merge pull request #423 from andrewm4894/submit-button-dynamic-color
make submit button blue for submit and green for next task
2023-01-05 23:21:02 +00:00
Keith Stevens ea83c830ed Merge pull request #345 from stephancill/main
Add warning when submitting unchanged ranking
2023-01-06 08:14:44 +09:00
Andrew Maguire 78c6333bcf make submit button blue for submit and green for next task 2023-01-05 22:05:24 +00:00
klotske a4e8d829b1 Implement interaction in oasst_api 2023-01-05 23:27:44 +03:00
Keith Stevens 843ea1a01a Merge pull request #403 from othrayte/web-dashboard-initial-prompt
website: Add Create Initial Prompts link to the dashboard
2023-01-05 19:32:05 +09:00
Keith Stevens 64a4c4ab6c Merge pull request #401 from jojopirker/messagesPage
spacing for message dashboard (comment in #375)
2023-01-05 19:31:35 +09:00
Keith Stevens 38fec237d0 Merge pull request #342 from jack-michaud/jm/contract-tests-for-website
refactor + test: add OasstApiClient in website with tests
2023-01-05 19:30:47 +09:00
Adrian Cowan cb8fec868c website: Add Create Initial Prompts link to the dashboard. 2023-01-05 20:51:45 +11:00
jojopirker ac8ae2652e spacing for message dashboard 2023-01-05 10:33:35 +01:00
Keith Stevens 75e6e72486 Merge pull request #326 from KarthikRaju391/discord-credentials
Use Discord Credentials when available
2023-01-05 17:25:50 +09:00
AbdBarho 165e87353c Merge pull request #375 from jojopirker/messagesPage
#307 new page to display recent messages
2023-01-05 08:12:30 +01:00
Keith Stevens 34ffeb5434 Merge pull request #393 from kostiak/fix-343
Fix for #343
2023-01-05 09:28:12 +09:00
Keith Stevens 1c3314365a Merge pull request #389 from Klotske/fix-dashboard-user-link
Fixed broken link in the dashboard
2023-01-05 09:06:31 +09:00
Keith Stevens 4f681c2f34 Merge pull request #378 from chs20/dev
Fix dark mode display for some pages
2023-01-05 09:02:24 +09:00
Klotske 8fab6cfe25 Fixed broken link in the dashboard 2023-01-05 00:50:17 +03:00
jojopirker b4034e56e2 moved isLoading 2023-01-04 20:35:20 +01:00
jojopirker 8e61cef81d added getDashboardLayout 2023-01-04 20:22:06 +01:00
Jack Michaud 695e1f3932 refactor: avoid using Response.clone() 2023-01-04 14:17:02 -05:00
jojopirker 173356929a removed content-type 2023-01-04 20:09:03 +01:00
jojopirker efdfb09695 fixed typo 2023-01-04 20:04:26 +01:00
Kostia 96be0edb1e Fix for #343 2023-01-04 18:58:54 +02:00
chs20 8f4c9637a7 Fix dark mode display for some pages 2023-01-04 16:29:01 +01:00
jojopirker 3905f75d6c moved messages page into subfolder 2023-01-04 16:01:37 +01:00
jojopirker 910c1c88ce pre-commit 2023-01-04 15:42:51 +01:00
jojopirker be22c77b07 moved components into new folder 2023-01-04 15:38:26 +01:00
jojopirker b08e1b986a split api into multiple files 2023-01-04 15:19:46 +01:00
jojopirker dba693ee85 using avatar instead of image & pre-commit 2023-01-04 15:13:08 +01:00
jojopirker b24bfd1d74 new page to display recent messages 2023-01-04 15:02:45 +01:00
Klotske 088bc181bd Add tooltip to Report button 2023-01-04 16:15:22 +03:00
Jack Michaud bdcfae54fc docs: update TODOs to include issue numbers 2023-01-04 08:04:27 -05:00
Karthik Raju c42dd97462 Merge branch 'main' into discord-credentials 2023-01-04 17:40:27 +05:30
Desmond Grealy 87a6628ee2 Fix a few more key errors 2023-01-04 03:23:38 -08:00
Desmond Grealy ab41420327 Moving the dashboard-related components out of the 'widgets' folder and into a 'dashboard' components folder. 2023-01-04 03:09:40 -08:00
Desmond Grealy 79d18f959b Fix 'two children with same key' error. Remove superflous key on link 2023-01-04 02:52:46 -08:00
Keith Stevens 733884943a Change the header logo link based on signed in status 2023-01-04 18:14:35 +09:00