theodinproject icon indicating copy to clipboard operation
theodinproject copied to clipboard

Feature: Add “Continue” button and badge for selected path

Open davidha99 opened this issue 10 months ago • 2 comments

Because

A user might get confused about the current behavior of the "Resume" button in All Paths (#3230, #4495).

This PR

Helps to differentiate a selected path from the rest by:

  • Adding a "Selected" badge to the currently selected path.
  • Keeping only one "Continue" button instead of "Resume" and "View" buttons to selected path.

Note: User needs to be logged in.

Before (Foundations path selected)

image

image

After (Foundations path selected)

image

image

Before (Ruby on Rails path selected)

image

After (Ruby on Rails path selected)

image

Before (Javascript path selected)

image

After (Javascript path selected)

image

Issue

Closes #4495

Pull Request Requirements

  • [x] I have thoroughly read and understand The Odin Project Contributing Guide
  • [x] The title of this PR follows the keyword: brief description of change format, using one of the following keywords:
    • Feature - adds new or amends existing user-facing behavior
    • Chore - changes that have no user-facing value, refactors, dependency bumps, etc
    • Fix - bug fixes
  • [x] The Because section summarizes the reason for this PR
  • [x] The This PR section has a bullet point list describing the changes in this PR
  • [x] I have verified all tests and linters pass after making these changes.
  • [x] If this PR addresses an open issue, it is linked in the Issue section
  • [x] If applicable, this PR includes new or updated automated tests

davidha99 avatar Apr 24 '24 07:04 davidha99

Awesome. I'll just wait for Kevin to look things over and maybe create a review deploy for us to preview things. Thank you for contributing :rocket:

JoshDevHub avatar Apr 24 '24 17:04 JoshDevHub

Thanks! Glad to help 🙌

davidha99 avatar May 01 '24 15:05 davidha99