Skip to content

N60 - #859

Open
Chinchuluun1029 wants to merge 5 commits into
mainfrom
n60
Open

N60#859
Chinchuluun1029 wants to merge 5 commits into
mainfrom
n60

Conversation

@Chinchuluun1029

Copy link
Copy Markdown
Contributor

Summary

  • Changing the previous error messages to toast
  • Added success messages to toast also
  • Change button texts for better differentiation
  • Resets textfields and select > options after creating

P.S. Had to access the 'select' elements with refs, forgive me for I have sinned (to reset to the disabled default value)

On success:
image

On error:
image

Comment thread src/client/routes/manage/CreateSponsor.tsx
Comment thread src/client/routes/manage/CreateSponsor.tsx
@qlty-cloud-legacy

Copy link
Copy Markdown

Code Climate has analyzed commit 006862b and detected 5 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1
Duplication 4

The test coverage on the diff in this pull request is 28.9% (0% is the threshold).

This pull request will bring the total coverage in the repository to 62.0% (-0.2% change).

View more on Code Climate.

@SamLee514 SamLee514 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice work, everything works correctly. Could you just address the linting issues? Causing a build failure.

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.

2 participants