Comments (1)
Having the languages in the form caused two problems. One was a usability challenge: finding and selecting the right language in a list of thousands is hard to do. The other was that having four separate language fields led to four copies of the HTML listing all the languages, which added up to something like a megabyte of text and was quite slow for Django to generate.
Working around the usability issue is super easy for visitors who have JavaScript turned on. There are a ton of usable jQuery plugins for enhanced select widgets and we could pick any of them that look good and drop it in without much trouble. Visitors without JavaScript fall back to their standard browser implementation of a select widget, so they can still fill out the form, it's just less convenient.
The "huge page" problem is a little harder, but solvable if we're willing to rely on JavaScript. For that we need something that does an AJAX request to ask the server to search the list of language subtags. This falls under the category of jQuery plugins for autocomplete (some of which are also in the list of enhanced select widgets above). But this doesn't work at all for people who have JavaScript disabled (using NoScript or lynx or whatever), which is a case that we should support.
If we can get a reasonable list of common languages, we could do a hybrid thing: serve the common languages in pure HTML, and use JavaScript to send AJAX queries for uncommon languages as the visitor types. That gives us small HTML and a usable if incomplete list for non-JavaScript visitors, plus full support for languages with as few as a thousand speakers worldwide for people who turn on JavaScript.
from website.
Related Issues (20)
- Django-formtools 2.4 update causes infinite recursion on initial application
- Grammatical mistake in essay question sections HOT 1
- Incorrect date on the website for Outreachy December internships HOT 5
- Contribution Template for Open Source Contributors.
- Project skill form: auto-completion enabled only for the first skill
- No continuous integration on this repository
- Unhelpful dashboard layout for returning mentors
- ``How to apply`` page missing important info HOT 1
- Outreachy Alums should not be able to see the option for applying for innitial applications. HOT 1
- lab.github.com is expired HOT 2
- Links are not working HOT 1
- gsfg
- jobs.rackspace.com Link is broken HOT 1
- Django debug on in production
- Mentor experience – wording of question about Outreachy experience HOT 1
- Intern conflict email to mentors has incorrect footer HOT 2
- CKEditor 4.22.1 insecure: Upgrade to 4.24.0-lts
- Email templates with feedback instructions and reminders don't reflect our current policies and terminology HOT 3
- Instructions on how to work with mentors should be changed or adapted in order to help projects with a higher volume of applicants
- Adding Mentor Blog Posts to Community Guide Documentation
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 website.