You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sandrahoang686
changed the title
[Refactor] Connect E&A flow with Data Layer Selection in NextJs Instance
[Refactor] Connect E&A flow with Data Layer Selection in NextJs Instance and state persists
Oct 29, 2024
**Related Ticket:** #1220
### Description of Changes
This PR is WIP, opening in case it helps anybody. (That says, please
don't spend time reviewing the changes in this PR yet, but it will be
really helpful if you can validate that this branch can run with Next
instance with stability.)
### Notes & Questions About Changes
I've noticed E&A still doesn't run with stability in Next instance. I
traced down all the possible errors that I can spot. That includes
#### Fixed in this PR
- export useAtom hook for timelinedataset (to remove the possibility of
more than one jotai instances)
- LinkProperties problem
- MapboxDraw not added to the map yet when its method is called
- Date value that gets fed to atom is not valid - this was because our
polyfill for Array.last was not getting exported
#### Not fixed in this PR yet
- TimelineDatasetAtom still depends on veda faux module datasets
I put temporary work-arounds for unsolved problems to validate that
those are the errors that can interrupt Next instance.
### Validate & Test
Please test this branch with `test-branch` Next branch :
https://github.com/developmentseed/next-veda-ui/tree/test-branch - It
will still lack of some functionalities, but hopefully the e&a page
doesn't return abrupt errors anymore.
There are a few bugs/improvements that we still need to tackle to make exportable E&A page work.
The identified items so far are:
The text was updated successfully, but these errors were encountered: