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

Removing AFE submit page from the flow #56552

Merged
merged 1 commit into from
Feb 14, 2024
Merged

Conversation

hannahbergam
Copy link
Contributor

@hannahbergam hannahbergam commented Feb 13, 2024

The existing submit page is largely empty, and just hosts the processing for submit after a user is directed to sign in or sign up, completes that action, and the afe submission begins. The page is a landing zone for a user whose info is still being submitted. If the request is successful, the user is redirected to /success.

Now, that work happens on the /afe page itself instead of its own /submit page.

See existing flow in figma here: https://www.figma.com/file/qEFj4WmsjOC5okiMMxLJXq/AFE-Updates-(Dec-2023)?type=design&node-id=1538-384&mode=design&t=W2aVyQ1n5pbKfOve-0

Screenshot 2024-02-13 at 1 03 01 PM

-> The request processes instead in place on the afe page:
Screenshot 2024-02-13 at 1 16 53 PM

Links

Testing story

Deployment strategy

Follow-up work

Privacy

Security

Caching

PR Checklist:

  • Tests provide adequate coverage
  • Privacy and Security impacts have been assessed
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@hannahbergam hannahbergam requested a review from a team February 13, 2024 21:18
Copy link
Contributor

@kelbyhawn kelbyhawn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Is the change that shows the "Please wait…" state on the /afe page in a different PR?

@@ -5,7 +5,7 @@ import {Button} from 'react-bootstrap'; // eslint-disable-line no-restricted-imp
import {studio, pegasus} from '@cdo/apps/lib/util/urlHelpers';
import color from '@cdo/apps/util/color';

const RETURN_TO = `user_return_to=${pegasus('/afe/submit')}`;
const RETURN_TO = `user_return_to=${pegasus('/afe')}`;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kelbyhawn it actually just works from changing the link here!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Magic! ✨

@hannahbergam hannahbergam merged commit 31ca885 into staging Feb 14, 2024
2 checks passed
@hannahbergam hannahbergam deleted the hbergam/afe-submit-remove branch February 14, 2024 06:41
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.

None yet

3 participants