project-lux / lux-frontend

Web front end of LUX
Apache License 2.0
4 stars 0 forks source link

Migrate from create-react-app to a different library #412

Open kamerynB opened 1 month ago

kamerynB commented 1 month ago

Problem Description: Creat-react-app is deprecated and we should not be using it going forward.

Expected Behavior/Solution: Migration from create-react-app to Vite should take place.

Requirements:

For forming:

For development:

Needed for promotion: If an item on the list is not needed, it should be crossed off but not removed.

UAT/LUX Examples: N/A

Dependencies/Blocks: N/A

Related Github Issues:

Related links:

Wireframe/Mockup: N/A

kamerynB commented 1 month ago

Notes on Vite:

Notes on Next.js:

Notes on Remix:

roamye commented 2 weeks ago

From yesterday's dev meeting

@kamerynB - since there is no uat, will LUX be expected to work as normal?

kamerynB commented 1 week ago

Update 11/14: The test suite still has failing tests which are most likely due to mocking issues. The project was deployed to DEV with the Vite configuration.

roamye commented 1 week ago

Certain links in DEV no longer show an error 404 message for pages, for example: https://lux-front-dev.collections.yale.edu/view/results/people?q=%7B%22AND%22%3A%5B%7B%22name%22%3A%22Andy+warhol%22%7D%2C%7B%22recordType%22%3A%22person%22%7D%5D%7D returns as a completely blank screen.

Note this happens for instances when you open a link in a new tab. (simple search, tabs, hal links, etc) Steps to recreate the blank screen:
Step 1: Go to simple search and do a search for andy warhol Step 2: Ctrl + select the link of reichstag object record. (for macs it would be CMD + select the link) Blank screen will appear instead of the record.

When you select it within the same page it loads correctly.

roamye commented 1 week ago

From discussion with @kamerynB - this will be moved to the next milestone 12/02