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

Length Restrictions on Input Parameters #359

Open
Aarush-Acharya opened this issue Oct 8, 2024 · 24 comments
Open

Length Restrictions on Input Parameters #359

Aarush-Acharya opened this issue Oct 8, 2024 · 24 comments
Assignees
Labels

Comments

@Aarush-Acharya
Copy link
Contributor

🚀 The feature

Add length restrictions to input parameters, the limit should be such that after exceeding the limit the UI starts to overflow/fall-apart.

Motivation, pitch

It is important to make sure we take care of every possible case as if someone wishing to break the app. All it needs is a really long Title or Description of a Room/Upcoming Room or Story/Chapter that would make the app UI overflow and break it

@M4dhav
Copy link

M4dhav commented Oct 8, 2024

Hey I would like to work on this, please elaborate

@Aarush-Acharya
Copy link
Contributor Author

Hey @M4dhav, make sure to test the UI thoroughly to identify breaking points in order to decide whats best for the project

@Aarush-Acharya
Copy link
Contributor Author

Hey I have merged a PR please pull before working further and make sure to work on the dev branch

@Aarush-Acharya
Copy link
Contributor Author

Hey new PR merged please pull before moving forward

@kanavsharma23
Copy link

Hey, i would also love to work on it

@kartik1112
Copy link

@Aarush-Acharya is it done? or i can work on this?

@M4dhav
Copy link

M4dhav commented Oct 22, 2024

@kartik1112, @kanavsharma23 I am still working on it

@vanshambansal
Copy link

hey would love to work on it

@M4dhav
Copy link

M4dhav commented Oct 25, 2024

@vanshambansal i am working on it

@Aarush-Acharya
Copy link
Contributor Author

Hey @M4dhav any updates on it ??

@M4dhav
Copy link

M4dhav commented Nov 9, 2024

Yes, I have been going through the app thoroughly and have already found and applied length restrictions to a couple of places. Some of them weren't necessary for proper display in the UI, but instead necessary for the backend as the architecture is structured to allow, for example, strings of limited length in places.

Should be done with the entire thing soon

@Aarush-Acharya
Copy link
Contributor Author

Great @M4dhav, keep it up

@M4dhav
Copy link

M4dhav commented Nov 28, 2024

@AyushJagaty I'm still working on it

@jattu8602
Copy link

hey i would love to work on it

@M4dhav
Copy link

M4dhav commented Dec 2, 2024

@jattu8602 I am working on it

@Moxie-47
Copy link

Moxie-47 commented Dec 26, 2024

Hey @M4dhav great to see that u are putting so much effort, just want to say that i've read the codebase and would like to contribute in this project in case if are not working on it.
So, are u ?

@M4dhav
Copy link

M4dhav commented Dec 27, 2024

@Moxie-47 Thank you for the appreciation. I am still working on this and since I have already put in a lot of work on this issue, I apologize that I cannot give this issue over to you.

@samar-703
Copy link

is this issue still open?

@M4dhav
Copy link

M4dhav commented Jan 30, 2025

Yes, @samar-703 , it is open and I am working on it

@EngDann
Copy link

EngDann commented Feb 1, 2025

Hello, @M4dhav and @Aarush-Acharya!

I noticed that this issue has been open for a while, and I was wondering if there's anything I can do to help. I believe that with more people collaborating, we can achieve an even better outcome.

Also, I noticed that @M4dhav is also assigned to the issue ‘System for Less Redundant Initialisation of Variables’ (#357). Is it possible to split the tasks?

I have experience with input validation in Flutter and would love to contribute. Looking forward to your response!

@M4dhav
Copy link

M4dhav commented Feb 1, 2025

@EngDann i don't think it makes sense to split this issue as Input Validation is a relatively simpler issue. Additionally I've already worked quite a bit on this issue. Thank you for your interest in contributing to Resonate. I recommend you install the app and search for additional bugs and glitches and then open PRs to fix them.

@EngDann
Copy link

EngDann commented Feb 1, 2025

@M4dhav, thanks for your response! I’ll follow your suggestion and look for other bugs and glitches to contribute.

However, I’m curious — apologies if I’m being intrusive — but if input validation is a relatively simple issue, why hasn’t it been resolved after a few months? Is there a specific reason that has hindered progress, or is there something preventing the issue from being addressed?

@M4dhav
Copy link

M4dhav commented Feb 2, 2025

@EngDann there's no specific issue hindering the progress, however despite being simple enough to fix, this particular issue requires Input Validation everywhere in the app, and additionally fixing and handling overflows caused by incorrect validation which means that one has to go through the entire app comprehensively. Additionally, I've also been busy with other stuff (I'm a college student) which has caused this to take this long, but It's nearly done. I will raise a PR soon.

@EngDann
Copy link

EngDann commented Feb 4, 2025

@M4dhav I totally understand! I'm also a student, so I know how challenging it can be to juggle multiple responsibilities. Wishing you the best of luck with the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants