Comments (6)
Hi @pabloheika, I'm inclined to leave this as is since it's very unlikely anyone will enter such long text into the input field (and as far as I'm aware, this poses no security concern). Loading times also seem fine to me, I believe under 10s. Previous data isn't overwritten as well.
Perhaps an improvement to be made is to have a more descriptive error message, rather than impose an arbitrary limit on the text length of the input field. Let's see what others think.
As a quick benchmark, I checked this with 500,000 words for a total of 3,385,396 bytes/characters and didn't get an error. Loading times (rough estimate) were under 5s.
from teammates.
Generally speaking, we would only mark a UI issue as needing fix if it either poses a threat to system stability and/or security or inconvenience to a significant number of users.
- Threat to system stability / security: someone needs to verify the impact of this to the backend, e.g. if it causes a more-than-usual backend processing time, then it is a vector for DDoS attack and thus needing fix. A localized impact on user browser is irrelevant here.
- Inconvenience to a significant number of users: extremely unlikely. The user doing this clearly knows what s/he does.
However, we do need a hard limit on the backend. An unlimited upper bound, even without security concern, would bloat our DB storage cost (I'm not sure if there's a term for this kind of attack). The hard limit can be a sensibly large number such that anything beyond that is clearly an abuse attempt.
from teammates.
What should the word limit be for it?
from teammates.
@wkurniawan07, any suggestions? I would say not more than 500 words, though it might be worth taking a look at how many words are usually used for the instructions field
from teammates.
Hi, I would like to work on this if there is not progress yet.
from teammates.
Hi @rexong, feel free to submit a PR for this issue. As for the max number of characters/words... will leave it up to you for now, just decide on a reasonable amount (:
from teammates.
Related Issues (20)
- Caution instructors not to share the 'instructor copy' of the submission email with students HOT 2
- Some feedback sessions duplicated in student home page HOT 2
- Release V9.0.0-beta.0 HOT 2
- Per-recipient stats are calculated based on student name, not email HOT 10
- Gradle task componentTests should not stop entirely when only one task fails HOT 6
- Check if the search service is active in account request search test HOT 14
- Data Migration: Generated options for MCQ/MSQ questions are duplicated on every page load HOT 3
- Dev docs (E2E testing): Chromedriver link broken HOT 6
- Existing Test data json has to be manually migrated to SQL format HOT 2
- Account requests are no longer search indexed, when they should be HOT 1
- Release V9.0.0-beta.1 HOT 3
- Multiple Course Structures
- Translation of the README.md HOT 1
- Translation of Code of Conduct into Spanish HOT 1
- CreateAccountAction seems to have redundant code HOT 2
- Release V9.0.0-beta.2 HOT 2
- Release V9.0.0-beta.3 HOT 2
- Release V9.0.0-beta.4 HOT 2
- Add documentation for unit tests
- 'Duplicate emails' error while enrolling, although there are no students in the course HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teammates.