Whisper
Whisper copied to clipboard
feat: Add custom dialog
Fixes Issue
My PR closes #177
👨💻 Changes proposed(What did you do ?)
Create a new Dialog component that will be used throughout the project instead of using browser's native alert. Screenshot below show what the dialog looked like added to the logout and chat close function.
✔️ Check List (Check all the applicable boxes)
- [x] My code follows the code style of this project.
- [x] This PR does not contain plagiarized content.
- [x] The title and description of the PR is clear and explains the approach.
Note to reviewers
📷 Screenshots
Someone is attempting to deploy a commit to a Personal Account owned by @Dun-sin on Vercel.
@Dun-sin first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
whisper | ✅ Ready (Inspect) | Visit Preview | Oct 23, 2022 at 9:07AM (UTC) |
Doesn't look good on mobile
Also pls pull the latest changes to this and make sure they work properly
- edit doesn't work
- typing status is buggy
Just to be safe
Thank for the feedback, I'll check on the point that you mentioned
@Dun-sin As you mentioned
- I have fixed the dialog to be more responsive
- Refactor it to has typehint I'm not quite sure what do you mean by edit doesnt work but if you could elaborate it here, I'm happy to work on it. Sorry if I make a lot of mistake I'm new to open-source contribution, so if you could bare with me.
@Manethpak great work, but why not just use the dialog component provided by RSuite? It's mobile responsive and can be customized, plus it already being used in the app...
@mathiasayivor That was my bad, I didn't know you had a UI library installed. I read through the project's code and mostly the UI are all written by hand that's why I decided to write one as well
@mathiasayivor That was my bad, I didn't know you had a UI library installed. I read through the project's code and mostly the UI are all written by hand that's why I decided to write one as well
@Manethpak still doesn't look good on mobile
@Manethpak also can you close this PR and try to push to the test branch instead of the main, so I can see where the issues I noticed are coming from