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

Towards remix/rr7/web standards ✅ #3355

Merged
merged 231 commits into from
Jan 23, 2025
Merged

Towards remix/rr7/web standards ✅ #3355

merged 231 commits into from
Jan 23, 2025

Conversation

ap-justin
Copy link
Collaborator

@ap-justin ap-justin commented Oct 10, 2024

Explanation of the solution

  • - conform to loader/action apis
  • - convert build from rsbuild to vite

Instructions on making this work

  • run yarn or yarn install to install npm dependencies
  • run yarn run test --watchAll to verify all tests still pass
  • (optional) run yarn run build to verify the build passes
  • run yarn start to start the webapp

UI changes for review

When major UI changes are introduced with a PR, please include links to URLS to compare or screenshots demonstrating the difference and notify on design changes

@ap-justin ap-justin changed the title use search params as state Migrate to server apis Oct 11, 2024
@ap-justin ap-justin changed the title Migrate to server apis Towards web standards 🎖️ Oct 15, 2024
@vercel vercel bot temporarily deployed to Preview – angelprotocol-web-app January 22, 2025 16:06 Inactive
@vercel vercel bot temporarily deployed to Preview – angelprotocol-web-app January 22, 2025 16:19 Inactive
@vercel vercel bot temporarily deployed to Preview – angelprotocol-web-app January 22, 2025 16:23 Inactive
@vercel vercel bot temporarily deployed to Preview – angelprotocol-web-app January 23, 2025 01:27 Inactive
@vercel vercel bot temporarily deployed to Preview – angelprotocol-web-app January 23, 2025 02:18 Inactive
@vercel vercel bot temporarily deployed to Preview – angelprotocol-web-app January 23, 2025 09:40 Inactive
@vercel vercel bot temporarily deployed to Preview – angelprotocol-web-app January 23, 2025 10:15 Inactive
@ap-justin ap-justin changed the base branch from master to v2.5 January 23, 2025 10:44
@ap-justin ap-justin marked this pull request as ready for review January 23, 2025 10:44
@ap-justin ap-justin merged commit 07b4df4 into v2.5 Jan 23, 2025
2 checks passed
@ap-justin ap-justin deleted the reg-state branch January 23, 2025 10:45
ap-justin added a commit that referenced this pull request Jan 26, 2025
* Towards remix/rr7/web standards ✅ (#3355)

* cognito class

* oauth code flow

* oauth in loader

* remove aws-amplify

* revert stringify

* temp:storage

* convert to query state

* remove log

* convert loc state to state param

* use state helper

* state to params

* marketplace native

* remove header links hook

* preserve scroll filter

* different root headers

* remove unused

* remove unused

* revert Img

* remove unused

* remove unused

* from values

* pagination

* profile loading

* handle oauth redirect

* move to auth

* persist auth

* custom attribute in signup + loader redirect

* signin redirect in loader

* remove unused

* bookmarks and endows

* user user in reg

* overwrite _s

* welcome

* cache get user endows

* home endows loader

* admin use load auth

* endow profile loader

* use fetcher instead of exposing page param

* dashboard loader

* dashboard loader not deferred

* settings loader

* charity donations loader

* temp disable App.test

* remove extra admin layout nesting

* user loader and layout

* widget configurer

* donate widget fix

* seo is not needed in dashboards

* update tests

* single endow query

* banking applications

* endow banking

* determine when to use nextPage

* remove search from url

* limit root loader reloading

* revalidate logout action

* admin mebmers query

* cache bookmarks

* programs and media

* home search fetcher

* bookmark btn query

* move logout to root loader

* fix ts error

* applications query

* applications query

* applications filter use params

* remove unused

* query by ein

* reg query and actions

* sign error with fetcher

* prompt routes

* remove review endpoint

* bookmark actions

* settings update action

* edit endowment

* dashboard loaders and actions

* user donations

* program create delete

* remove unused

* programs loader and actions

* no need to use ref

* milestone: conform

* temp:prompt container

* format icons

* fix type error

* signin to action

* switch to valibot

* toValibot

* fixes

* signup fetcher

* add grid containers

* signup to actions

* remove unused

* wise out of rtk

* new banking to action

* remove unused

* user payout method actions

* banking applications pagination

* remove unused

* bank application to loader

* banking application update

* update react routerdom

* action fixes

* bank applications to actions

* type fixes

* org card to use loader data

* remove unused logs

* endow balance to loader

* new reg as action

* payout method param fix

* remove client side caching

* remove unused

* add form uses action

* add form

* change toast position

* use ky

* remove rtk api

* remove hubspot api

* wp posts to loader

* wordpress loaders

* env fallbakc

* featured media loader

* media actions

* edit and new action

* reload on error

* all videos new

* simpplify props and route

* media loaders and actions

* milestones loader an action

* user endows used in settings

* user endows alert action

* update endow alert to action

* user profile loaders and action

* cognito update user

* remvoe user service

* request receipt route & action

* misisng style

* paypal mutaitons

* paypal pending state

* remove fiat currencies rtk

* crypto intent to swr

* revalidate if stale false

* stripe intent + immutable swr

* use fetch instead

* to swr

* intent resumer fetch

* disable timeout

* chariot to swr

* stripe payment status

* remoev unused

* crypto to swr/fetch

* remove unused

* user ver

* redux free

* to vite

* tailwind setup

* move favicon

* react router v7

* remove auth redirector

* to route module

* based on content-type

* dashboard submit route modules

* user dashboard route modules

* blog route modules

* legal route modules

* informational routes module

* profile route module

* redirect instead of throw

* banking application route module

* banking applications route handler

* application route module

* applications route module

* signin route module

* signup route modules

* reset password route module

* widget route module

* donate route

* admin layout route module

* charity route modules

* fix lint

* members route module

* banking route module

* banking route module

* admin dashboard route module

* media route module

* donate widget route module

* root layout

* remove use-rendered hook

* use action data

* reset password to conform + valibot

* revert remove signup component

* test fixes

* fix

* remove modal context

* remove preprender

* fix stripe test

* fix prompt x handle

* fix type errors

* funds and fund

* admin funds list

* user funds

* donate to fund route module

* create-fund

* fix opt out

* edit fund

* fix ts errors

* tyepd

* update program selector

* donate page data

* Remix (#3511)

* remix setup and rename imports

* working root + signin loaders

* sessio nkv

* unset session data

* add remix-toast

* logout action

* laira loader + tailwind fix

* fix animated svg error

* fix hydration mismatch

* nonprofit info

* marketplace route

* remove in app routes

* profile route

* remove amplify.yml

* remove migrated route

* log upstash env

* charset and viewport meta

* remove log

* seo ehlper

* fix profile hydration error

* marquee lcient only

* remove rich text client only

* use react-layer wrapper

* donor info page

* remove uri comp

* wp-plugin route

* about page

* done blog routes

* quill helpers client

* delete unused

* fix marketplace render loop

* update imports

* remove migrated

* done reset password form

* donate route + imports update

* donate page route

* fix warnings

* fix tests

* remove unused

* donate thanks route

* remove stripe payment status

* simplify donate thanks

* form builder

* user dashboard edit profile

* settings page

* remove migrated

* user dashboard donations + kyc form routes

* user funds route

* fix test

* legal routes

* banking applications route

* remove migrated

* admin dashboard

* edit allocation

* move fund route

* done dashboard route

* redirect route

* members route

* settings route

* edit profile route

* donations

* programs route

* program editor route

* file dropzone fix esm

* remove migrated

* form builder route

* media route

* banking route

* admin funds route

* applications ruote

* applications route

* done signup

* widget route

* done donate widget route

* funds route

* fund route

* edit fund

* rich text fix

* funds routes

* registration welcome

* save reg in cookei

* resume route

* signup page

* registration steps 1 & 2

* fsa path

* done banking and docs

* index redirect

* fix validation not working

* dashboard and success

* fix plain text ssr

* fix invalid nesting

* success tate

* remove route barrels

* remove unused

* remove unused

* rich text styles

* fix test

* use exact

* use exact

* add seo tags

* fix lint error

* remove quill from base

* home carousels to embla

* migrate from swiper to embla

* remove cropper styles root

* improve richtext ssr

* render text instead of delta

* remove unused

* root meta

* remove unused deps

* meta tag update

* resize social icons

* remove wallet images

* resize images

* remove unusd

* self host fonts

* opt for bundled cookie consent

* remove unused

* blog card lazy loaded

* loading lazy

* correct font cc

* placeholder alt

* resized images remove duplicate

* hide internal scripts

* to webp

* to webp

* towebp

* to webp

* to webp

* Fix heading order on Home page (#3526)

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/AngelProtocolFinance/angelprotocol-web-app?shareId=XXXX-XXXX-XXXX-XXXX).

* revert to v20

* test bypass

* correct env

* resize core

* resize image

* lazy load guidestart

* remove h6 footer

* guide star link description

* blog card accessibility link

* add label

* image alts home

* remove h6

* use sr only

* robots and sitempa

* resize hero marketplace

* remove action if the smae path

* correct origin

* refactor bookmarks btn

* use values instead

* return null instead of undefined

* disabled navigation

* nav status

* banking applications loading

* Applications link loading

* blog loading

* home loader

* temp client loadre

* simplify auth redirects

* npos direct

* fix pagination error marketplace

* recipient details should not be disabled when validating

* update link disabled when loading

* revert commented out

* headers export + shorten max-age

* use headers instead

* fix home header

* doante page logos

* admin dashboard action style

* cached dashboard and donations

* post cache

* try edge posts

* search dropdown loading style

* use form instead of fetcher

* my donations page link

* auth pages uses rmx form

* banking applications link

* donations client cach3

* meta exports protect from udnefined dat

* move to components

* root error boundary

* registration steps error boundary

* error boundaries

* remove markers

* common cache file

* fix ssr error client libs

* home cache

* external scripts

* remove runtime edge

* serve cookie in edge

* revert edge runtime

* banking cache

* localstorage as cache adapter

* dashboard cache

* edit profile cache

* funds direct

* rmx form hooks

* media cache

* update get endow funds

* funds

* members cache

* program editor cache

* programs cache

* settings cache

* admin caching

* user dashboard caching

* typed

* 404

* application cache

* revert use cache

* dont mix meta and loader in single module

* use server env

* remove helpers/logger server

* resolve errors

* rename

* rename env

* brands flex

* npo direct

* remove reference

* reg cookie path

* reg cookie fixes

* convert to direct npo

* throw proper error format

* continue from last completed step

* remove unused

* use-root-data

* bookmarks direct + renames

* fund dirct

* Reg state (#3537)

* cognito class

* oauth code flow

* oauth in loader

* remove aws-amplify

* revert stringify

* temp:storage

* convert to query state

* remove log

* convert loc state to state param

* use state helper

* state to params

* marketplace native

* remove header links hook

* preserve scroll filter

* different root headers

* remove unused

* remove unused

* revert Img

* remove unused

* remove unused

* from values

* pagination

* profile loading

* handle oauth redirect

* move to auth

* persist auth

* custom attribute in signup + loader redirect

* signin redirect in loader

* remove unused

* bookmarks and endows

* user user in reg

* overwrite _s

* welcome

* cache get user endows

* home endows loader

* admin use load auth

* endow profile loader

* use fetcher instead of exposing page param

* dashboard loader

* dashboard loader not deferred

* settings loader

* charity donations loader

* temp disable App.test

* remove extra admin layout nesting

* user loader and layout

* widget configurer

* donate widget fix

* seo is not needed in dashboards

* update tests

* single endow query

* banking applications

* endow banking

* determine when to use nextPage

* remove search from url

* limit root loader reloading

* revalidate logout action

* admin mebmers query

* cache bookmarks

* programs and media

* home search fetcher

* bookmark btn query

* move logout to root loader

* fix ts error

* applications query

* applications query

* applications filter use params

* remove unused

* query by ein

* reg query and actions

* sign error with fetcher

* prompt routes

* remove review endpoint

* bookmark actions

* settings update action

* edit endowment

* dashboard loaders and actions

* user donations

* program create delete

* remove unused

* programs loader and actions

* no need to use ref

* milestone: conform

* temp:prompt container

* format icons

* fix type error

* signin to action

* switch to valibot

* toValibot

* fixes

* signup fetcher

* add grid containers

* signup to actions

* remove unused

* wise out of rtk

* new banking to action

* remove unused

* user payout method actions

* banking applications pagination

* remove unused

* bank application to loader

* banking application update

* update react routerdom

* action fixes

* bank applications to actions

* type fixes

* org card to use loader data

* remove unused logs

* endow balance to loader

* new reg as action

* payout method param fix

* remove client side caching

* remove unused

* add form uses action

* add form

* change toast position

* use ky

* remove rtk api

* remove hubspot api

* wp posts to loader

* wordpress loaders

* env fallbakc

* featured media loader

* media actions

* edit and new action

* reload on error

* all videos new

* simpplify props and route

* media loaders and actions

* milestones loader an action

* user endows used in settings

* user endows alert action

* update endow alert to action

* user profile loaders and action

* cognito update user

* remvoe user service

* request receipt route & action

* misisng style

* paypal mutaitons

* paypal pending state

* remove fiat currencies rtk

* crypto intent to swr

* revalidate if stale false

* stripe intent + immutable swr

* use fetch instead

* to swr

* intent resumer fetch

* disable timeout

* chariot to swr

* stripe payment status

* remoev unused

* crypto to swr/fetch

* remove unused

* user ver

* redux free

* to vite

* tailwind setup

* move favicon

* react router v7

* remove auth redirector

* to route module

* based on content-type

* dashboard submit route modules

* user dashboard route modules

* blog route modules

* legal route modules

* informational routes module

* profile route module

* redirect instead of throw

* banking application route module

* banking applications route handler

* application route module

* applications route module

* signin route module

* signup route modules

* reset password route module

* widget route module

* donate route

* admin layout route module

* charity route modules

* fix lint

* members route module

* banking route module

* banking route module

* admin dashboard route module

* media route module

* donate widget route module

* root layout

* remove use-rendered hook

* use action data

* reset password to conform + valibot

* revert remove signup component

* test fixes

* fix

* remove modal context

* remove preprender

* fix stripe test

* fix prompt x handle

* fix type errors

* funds and fund

* admin funds list

* user funds

* donate to fund route module

* create-fund

* fix opt out

* edit fund

* fix ts errors

* tyepd

* update program selector

* donate page data

* Remix (#3511)

* remix setup and rename imports

* working root + signin loaders

* sessio nkv

* unset session data

* add remix-toast

* logout action

* laira loader + tailwind fix

* fix animated svg error

* fix hydration mismatch

* nonprofit info

* marketplace route

* remove in app routes

* profile route

* remove amplify.yml

* remove migrated route

* log upstash env

* charset and viewport meta

* remove log

* seo ehlper

* fix profile hydration error

* marquee lcient only

* remove rich text client only

* use react-layer wrapper

* donor info page

* remove uri comp

* wp-plugin route

* about page

* done blog routes

* quill helpers client

* delete unused

* fix marketplace render loop

* update imports

* remove migrated

* done reset password form

* donate route + imports update

* donate page route

* fix warnings

* fix tests

* remove unused

* donate thanks route

* remove stripe payment status

* simplify donate thanks

* form builder

* user dashboard edit profile

* settings page

* remove migrated

* user dashboard donations + kyc form routes

* user funds route

* fix test

* legal routes

* banking applications route

* remove migrated

* admin dashboard

* edit allocation

* move fund route

* done dashboard route

* redirect route

* members route

* settings route

* edit profile route

* donations

* programs route

* program editor route

* file dropzone fix esm

* remove migrated

* form builder route

* media route

* banking route

* admin funds route

* applications ruote

* applications route

* done signup

* widget route

* done donate widget route

* funds route

* fund route

* edit fund

* rich text fix

* funds routes

* registration welcome

* save reg in cookei

* resume route

* signup page

* registration steps 1 & 2

* fsa path

* done banking and docs

* index redirect

* fix validation not working

* dashboard and success

* fix plain text ssr

* fix invalid nesting

* success tate

* remove route barrels

* remove unused

* remove unused

* rich text styles

* fix test

* use exact

* use exact

* add seo tags

* fix lint error

* remove quill from base

* home carousels to embla

* migrate from swiper to embla

* remove cropper styles root

* improve richtext ssr

* render text instead of delta

* remove unused

* root meta

* remove unused deps

* meta tag update

* resize social icons

* remove wallet images

* resize images

* remove unusd

* self host fonts

* opt for bundled cookie consent

* remove unused

* blog card lazy loaded

* loading lazy

* correct font cc

* placeholder alt

* resized images remove duplicate

* hide internal scripts

* to webp

* to webp

* towebp

* to webp

* to webp

* Fix heading order on Home page (#3526)

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/AngelProtocolFinance/angelprotocol-web-app?shareId=XXXX-XXXX-XXXX-XXXX).

* revert to v20

* test bypass

* correct env

* resize core

* resize image

* lazy load guidestart

* remove h6 footer

* guide star link description

* blog card accessibility link

* add label

* image alts home

* remove h6

* use sr only

* robots and sitempa

* resize hero marketplace

* remove action if the smae path

* correct origin

* refactor bookmarks btn

* use values instead

* return null instead of undefined

* disabled navigation

* nav status

* banking applications loading

* Applications link loading

* blog loading

* home loader

* temp client loadre

* simplify auth redirects

* npos direct

* fix pagination error marketplace

* recipient details should not be disabled when validating

* update link disabled when loading

* revert commented out

* headers export + shorten max-age

* use headers instead

* fix home header

* doante page logos

* admin dashboard action style

* cached dashboard and donations

* post cache

* try edge posts

* search dropdown loading style

* use form instead of fetcher

* my donations page link

* auth pages uses rmx form

* banking applications link

* donations client cach3

* meta exports protect from udnefined dat

* move to components

* root error boundary

* registration steps error boundary

* error boundaries

* remove markers

* common cache file

* fix ssr error client libs

* home cache

* external scripts

* remove runtime edge

* serve cookie in edge

* revert edge runtime

* banking cache

* localstorage as cache adapter

* dashboard cache

* edit profile cache

* funds direct

* rmx form hooks

* media cache

* update get endow funds

* funds

* members cache

* program editor cache

* programs cache

* settings cache

* admin caching

* user dashboard caching

* typed

* 404

* application cache

* revert use cache

* dont mix meta and loader in single module

* use server env

* remove helpers/logger server

* resolve errors

* rename

* rename env

* brands flex

* npo direct

* remove reference

* reg cookie path

* reg cookie fixes

* convert to direct npo

* throw proper error format

* continue from last completed step

* remove unused

* use-root-data

* bookmarks direct + renames

* fund dirct

* claimed first

* user logo pending

* file upload vercel

* revert +1

* centered

* center dropzone text

* applications direct

* fix type

* default status

* values base on search

* page1 effect

* improvements

* marketplace page1 effect

* cookie consent via clalback

* use designation

* temp fix

* remove react helmet

* endow balance fallback

* lowercase user npos

* banner for seo

* fix broken link about us

* retunr resopnse

* revert cache

* fix file upload

* changes to robots.txt

* use root donation

* donate page marketplace client cache

* funds and fund client cache

* tailwind v4

* style fix

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

Successfully merging this pull request may close these issues.

1 participant