Skip to content

Conversation

siversm
Copy link
Member

@siversm siversm commented Oct 6, 2026

Closes #26

Description

Now each Mockmon is clickable and displays a Stats page from the Mock Data

@pederoha Please go through, i tried making it applicable for future backend connection.

App.tsx added a button, made a state for selectedPokemon
App.tsx added a display of stats when mockmon is selected
Index.css added styling for the button

Some choises made:

  • Kept Mockmons and stats in App.tsx due to the backend implementation is around the corner so didn't bother putting it in its own file.
  • Did not style the stats-page or add anything special to keep it simple and intuitive to understand what's been done.
  • Kept the "button"/selecting the pokemon invisible when hovering over the Pokemon - more because i think it's looks better.

Sivert Smedsrud added 3 commits October 3, 2026 08:51
Users are now able to search mockmons and with whitespaces or upper and lowercase
Authored: Siversm"
Now People can tap the pokemon and see non-styled details about the Mockmon.
Authored: Siversm
"
Now the button has styling to fit the theme.
Authored: Siversm
"
@siversm siversm added the enhancement New feature or request label Oct 6, 2026
@siversm siversm requested a review from a team as a code owner October 6, 2026 09:45
Copy link
Member

@pederoha pederoha left a comment

Choose a reason for hiding this comment

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

Nice display of information!

@pederoha pederoha merged commit d5bd65e into dev Oct 12, 2026
Sign in to join this conversation on GitHub.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants