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

Feature/base pathways application layout #35

Merged
merged 30 commits into from
Apr 16, 2024

Conversation

jaredsbt
Copy link
Contributor

@jaredsbt jaredsbt commented Apr 1, 2024

Tracking Info

Resolves #21

Changes

  • New BaseLayout component, arrows navigate through timeline
  • Paths 1 2 3 4 map to their specific description and title
  • Padding in PathwayTimeline increased from 2 to 3

Testing

  • Figma comparison
  • ApplyPage as index element for easy view
  • Passed in different numbers for Path to display their unique descriptions

Confirmation of Change

Path 2 Path 3 Path1

Path4

@jaredsbt jaredsbt requested a review from Miyuki-L as a code owner April 1, 2024 04:17
@jaredsbt jaredsbt linked an issue Apr 1, 2024 that may be closed by this pull request
@Miyuki-L Miyuki-L requested review from hpai1 and leo3friedman April 2, 2024 22:53
Copy link
Member

@Miyuki-L Miyuki-L left a comment

Choose a reason for hiding this comment

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

Great work. Great idea on the way you implemented the description for each pathway.

frontend/src/App.tsx Outdated Show resolved Hide resolved
frontend/src/components/PathAppLayout.module.css Outdated Show resolved Hide resolved
frontend/src/components/PathAppLayout.module.css Outdated Show resolved Hide resolved
frontend/src/components/PathAppLayout.tsx Outdated Show resolved Hide resolved
frontend/src/components/PathAppLayout.tsx Outdated Show resolved Hide resolved
frontend/src/components/PathAppLayout.tsx Outdated Show resolved Hide resolved
frontend/src/components/PathAppLayout.tsx Outdated Show resolved Hide resolved
frontend/src/pages/ApplyPage.tsx Outdated Show resolved Hide resolved
frontend/stylesheets/Page.module.css Outdated Show resolved Hide resolved

const next = () => {
if (pageNum < 5) {
setPageNum((newPageNum) => (newPageNum + 1) as 0 | 1 | 2 | 3 | 4 | 5);
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't matter much but do we need the 0 here?


const back = () => {
if (pageNum > 0) {
setPageNum((newPageNum) => (newPageNum - 1) as 0 | 1 | 2 | 3 | 4 | 5);
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar to my above comment, do we need the 5 here?

@Miyuki-L Miyuki-L merged commit 407a18b into main Apr 16, 2024
2 checks passed
@Miyuki-L Miyuki-L deleted the feature/base-pathways-application-layout branch April 16, 2024 03:28
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.

Base Pathways Application Layout
4 participants