Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Elm Pages 3 and update depends #412

Closed
28 of 42 tasks
katjam opened this issue Aug 12, 2024 — with Huly for GitHub · 4 comments · Fixed by #440
Closed
28 of 42 tasks

Upgrade to Elm Pages 3 and update depends #412

katjam opened this issue Aug 12, 2024 — with Huly for GitHub · 4 comments · Fixed by #440
Assignees
Labels

Comments

Copy link
Member

katjam commented Aug 12, 2024

Description

Upgrade out framework & dependencies

Acceptance Criteria

Plan first

  • Upgrade other deps
  • Upgrade to elm-pages v3
  • move source files
  • move theme and route files out to get index working in v3
  • replace Path with UrlPath
  • replace Cmd with Effect
  • amend script/src/AddRoute.elm & AddStaticRoute to use elm-css
  • Amend default mainfest in app/Api.elm ? This is new here in v3 - check where was before

Considerations

  • migrate Decoders
  • migrate DataSource
  • amend Route exports for data and ActionData

Initial port of Theme & Routes

Next

  • Clear out with elm-review
  • Review efficiency of build and data loading in context of below list
  • Update readme #444

Review issues after upgrade

Some of them might be able move to AC

@katjam
Copy link
Member Author

katjam commented Aug 13, 2024

@katjam
Copy link
Member Author

katjam commented Aug 13, 2024

removing OptimizedDecoder's and replacing with plain Decoders, and using the new BackendTask and FatalError APIs instead of DataSource

https://github.com/dillonkearns/elm-pages-v3-beta/blob/master/docs/3.0-upgrade-notes.md

@kimadactyl
Copy link
Member

ahha i didnt see this ticket! now have a really good idea what this is taking to get done, wow its a lot!

@kimadactyl kimadactyl changed the title Upgrade 3rd party Upgrade to Elm Pages 3 and update depends Aug 28, 2024
This was referenced Oct 7, 2024
@katjam
Copy link
Member Author

katjam commented Oct 28, 2024

This needs further work, but much improvement.

Further work:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants