Comments (5)
I'm all for contributions :)
from opensource-website.
Are you OK with using jQuery plugins? E.g. http://imakewebthings.com/jquery-waypoints/
from opensource-website.
Yep, it's under the MIT license so we're OK with it:
https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
from opensource-website.
If we decide to do this, how would we handle sorting? As of right now, I believe it sorts all the repos before showing them. If we pull data based on scroll, would we want it to resort them everytime?
from opensource-website.
@augbog @caniszczyk @jeroenooms Hey guys! I know this thread has been open for a really long time but i've recently started to explore github and try to contribute. Hence, i came upon this Repo and would like to help in this issue. Are you guys still interested in this?
About the issue, dont flame because im really a newbie :P
But i went through the code and previous comments in this thread and i think we have two solutions -
- Store the repo object and append next 30 or something repo data on detecting page end -> Though this method does implement the UI aspect of loading info after reaching the end of the page, it defeats the purpose of avoiding rate limiting because as mentioned earlier for orgs with a huge amount of data, the user might not even go through all of it therefore, we have some wasted API calls.
- Initiate api call to append next 30 or something repo data on detecting page end
-> This method implements the UI Element and helps optimisation of api calls but in the process we end up trading our hotness sorting functionality for this implementation. But we do have every 30 (or whatever threshold we set) repos sorted according to our hotness functionality.
A small deviation to this method can be to add every iterations' data to the repo list, sort the list again and then clear the "#repo" div and append the whole list into it again. Though this maintains the hotness sort and limits Api calls along with the UI functionality, it has a big flaw, of the user to miss out on some newly added repos if they attain positions for which user has to scroll up.
Please let me know what you think about this.
I'd like to submit a pull-request once we reach a conclusion.
from opensource-website.
Related Issues (20)
- [UI Bug]: home page is not fully responsive HOT 1
- favicon on analytics.twitter.com is still the old bird instead of X HOT 3
- Typo on the French UI HOT 3
- Bookmark folders
- onMobile: notification's 'replying to' is not wrapped
- There is a bug on Twitter Circle where tweets longer than 140 characters are being publicly posted.
- X is urging users to follow the non-existent account @twittersupport at https://help.twitter.com/en. And pending message requests can't be dismissed. HOT 1
- The main website `https://twitter.com/tjcchen?failedScript=vendor` is down, please help to take a look?
- Search/filter my liked/bookmarked tweets
- Can't fully view the list of followed accounts HOT 1
- Tweets by accounts from lists set to "Don't show these posts in Home" are still showing up in home
- Broken "Pronouns" setting not removed in the X Android App (Leftover from the pre-X era)
- Add Search bar and Collections type of bookmarks in the Bookmark Section HOT 3
- BUG Ui Broke when attempting to comment by mentioning someone. HOT 1
- BUG: Misleading Tweet Links Redirect to Scam Contents HOT 1
- Ghost BUG: Messages search for elonmusk only shows parody account HOT 1
- @TwitterOSS account don't exist. HOT 3
- View My Video History
- Why you are not using <textarea> in the write tweet box HOT 1
- Tittle
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 opensource-website.