Commit Graph

39 Commits

Author SHA1 Message Date
Keith Stevens 69dc6bf68d Adding a bare bones feature flag setup 2023-01-09 09:44:01 +09:00
Keith Stevens c234e8b0d0 Adding an admin page to manage a specific user's status 2023-01-08 16:15:48 +09:00
Keith Stevens aa4bb41355 Delete sharp, it's not needed and breaks docker on m1 2023-01-07 08:54:50 +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
Keith Stevens ad67f66aee Downgrading sharp to ensure it builds on mac m1 2023-01-04 18:09:39 +09:00
Jack Michaud 5ed4131720 ci: run contract tests through separate cypress command and add into CI 2023-01-03 20:51:11 -05:00
Desmond Grealy de7e8c08a2 Merge branch 'main' into dark-mode-implementation 2023-01-02 19:00:10 -08:00
Desmond Grealy 3d13c7c91c Darkmode for survey pages. Fixes for eslint. 2023-01-02 18:36:54 -08:00
Adrian Cowan 0df6d7fd31 website: more e2e tests for signin
Fixed issue where existing sign in test fails due to the existence of dev test login.

Added reusable cy.signInWithEmail() to login before testing rest of UI.
2023-01-02 21:13:10 +11:00
Adrian Cowan 64a7b9848a website: Restrict ranking items to vertical motion to avoid breaking the webpage layout.
When the items are drag-able outside the page boundary the viewport leaves the page boundary. This looks particularly unprofessionally on mobile. There is also another option to restrict to the page boundaries (restrictToWindowEdges) which might be better but it doesn't appear to work on mobile (firefox); the issue is that the items get stuck slightly off to the left edge of the viewport and can't be moved horizontally at all (even without restrictToVerticalAxis).
2023-01-01 16:40:29 +11:00
Keith Stevens 41e509405b Merge pull request #199 from croumegous/fix-lint-build
Fix linter warnings
2023-01-01 10:46:21 +09:00
croumegous 8c79cadbb1 chore: manually fix linter warning 2022-12-31 18:27:08 +01:00
croumegous a0b900559c chore: eslint plugins to sort import and remove unused import automatically 2022-12-31 18:22:06 +01:00
Dustin a40d51b06f added missing dependency for DNDKit on evaluation pages 2022-12-31 09:03:10 -08:00
AbdBarho ece0227aec Use DnDKit for ranking tasks 2022-12-31 09:19:37 +01:00
Martin H. Normark 932129906c Tidy up cypress npm scripts 2022-12-31 00:11:32 +01:00
Martin H. Normark 3ff161d22b Update baseline images for UI tests 2022-12-31 00:11:32 +01:00
Martin H. Normark 89c2be5760 Add cypress-image-diff for visual testing 2022-12-31 00:11:32 +01:00
Martin H. Normark f9bb5b2bf1 Install cypress for e2e and component tests 2022-12-31 00:11:32 +01:00
Desmond Grealy ea65654fc2 Merge branch 'main' into eslint 2022-12-29 10:32:21 -08:00
Yannic Kilcher 0acacf33fe Merge branch 'main' into add-debug-skip-password-env 2022-12-29 13:34:28 +01:00
Jac-Zac 71e260ec52 changing things as suggested 2022-12-29 12:27:18 +01:00
jojopirker cb317ebccb Initial Storybook setup (#110)
* Storybook setup

Storybook can be started using `npm run storybook`

* moved files and bugfix

Moved component files into their own directory and moved stories next to them. Fixed a bug with loading images

* prettier and bugfix

* prettier and bugfix

* Absolute Import in Header.tsx

* import fix

some imports did not work after merging

* Storybook update for chakra ui to properly work

* Prettier main.js

* comment in preview.js about hacky solution

* webpack final update and prettier update to preview

* Updated website/readme to include storybook description

* prettier...

* Delete docker-compose 2.yaml
2022-12-29 10:44:14 +01:00
Yannic Kilcher cbcbe8d708 added environment variable DEBUG_LOGIN to display debug credentials provider even in production mode 2022-12-28 17:33:33 +01:00
Keith Stevens 5e1ed2e243 Adding in aws copilot configurations to simplify full deployment on aws. Also updating dependencies to work in standalone mode 2022-12-26 13:54:58 +09:00
Yannic Kilcher 6452bb860d moved bot to discord-bot
added playbook to deploy dev machine

added playbook to deploy dev machine

added next.js font module, updated fonts, updated login page

replaced logos, changed logo on login and header

added 404 and email confirmation pages, changed discord and github buttons to show conditionally

also removed unused imports, fixed one spelling error, and minor styling changes

Quick format to the authenticated user page, updated header with user profile, styling updates

fixed html encoding

added checkout for release

re-vamped release config and ports
2022-12-25 11:35:54 +01:00
Keith Stevens c056a31d2f Ensuring the website can be built and deployed fully in docker. This includes an end to end docker-compose configuration as a simple demonstration. 2022-12-20 20:28:53 +09:00
Keith Stevens 477dd84107 Adding Chakra-ui for pre-built components we can re-use and demo-ing them in the auth signin page 2022-12-19 19:06:33 +09:00
Lennon Puldagrealy ed47bcaa7a Add Prettier. Remove unused Button component 2022-12-18 11:14:41 -08:00
Lennon Puldagrealy a296f6ea99 Grading Page WIP & Homepage 2022-12-18 10:28:43 -08:00
Yannic Kilcher 13551ae3e4 renamed to open assistant 2022-12-17 23:56:05 +01:00
Keith Stevens 2d7c7f317d Adding support for an email login method and registering new users with the labeler backend. 2022-12-15 19:25:31 +09:00
Keith Stevens 1f670cebd5 Cleaning up some not-used files and adding in the prisma database adapater 2022-12-15 15:45:00 +09:00
Keith Stevens 1f5e563b1d Adding a basic version of next-auth-js using Discord and ensuring an authenticated user can fetch prompts from the real backend using an API middlelayer 2022-12-14 11:49:42 +09:00
Keith Stevens c1f1408aac Merging with main 2022-12-13 21:16:18 +09:00
Yannic Kilcher d3d657e636 ran pre-commit and fixed issues 2022-12-13 12:38:59 +01:00
Birger Moell 296a5e29e1 Updated website adress 2022-12-13 11:23:49 +01:00
Birger Moell 082bfb815f Added homepage 2022-12-13 11:22:23 +01:00
Birger Moell 7395652257 Added website 2022-12-13 11:09:41 +01:00