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

Customizable follow.limit #189

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

NAR8789
Copy link

@NAR8789 NAR8789 commented Oct 15, 2020

Closes #188: Customizable follow.limit. Allows customization of how many entries to show for a given follow, so I can e.g. show more entries for hackernews, because that thing is a firehose.

  • Kind of quirky/amusing if set to 1 or 0.
  • My attempt at min validation doesn't currently work.
  • Aside from that, seems to be working if I load it as an unpacked extension in chrome. Feedback welcome on whether I'm missing any important conventions?

What's the best way to test this thoroughly? My own use of Fraidycat so far is only as a browser extension, but I know it's available in a variety of forms.

Note: I'm the same person as @xiao-maven, requester of #188. I forgot to switch out of my work account earlier.

custom value
feed list

@NAR8789 NAR8789 force-pushed the feature/customizable-follow-limit branch from f612814 to e089f1f Compare October 15, 2020 17:27
Copy link
Author

@NAR8789 NAR8789 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 questions / todo:

  • magic number 10 is kind of littered around inside view.js. Would it make sense to import that value from storage.js, or would importing from storage.js be smelly?
  • might be nice to just show expanded list for follows with only one entry (get rid of the toggle arrow, and show the full top post title, using the same amount of space)
  • Looks like I'm pulling a string out of that number input. Should probably clean this up. (though, funnily, currenty does the right things--works as intended in the happy case, discards empty input (defaults to 10), keeps 0 (doesn't default to 10))
  • seems not to be able to show more than 20 entries at the moment. some other limit I haven't found yet here...

@NAR8789 NAR8789 force-pushed the feature/customizable-follow-limit branch from b0ea069 to bbba47c Compare October 15, 2020 18:38
@paveloom
Copy link

paveloom commented Feb 9, 2021

@xiao-maven, @kickscondor, what's the current status of this feature?

Would love to see this implemented, as many of my feeds update more than 10 times within a half of a day.

@kickscondor
Copy link
Owner

I'm very sorry - I've been consumed with another project that is eating up all of my time through March.

I was previously working on #30 - which adds pagination - a much better option than these limits - which requires no configuration. Once I'm able to get back to releasing that version, I'm hoping everyone interested in this pull request will be satisfied. If not, we can revisit this pull request at that time.

Wish I had a better answer! I will get back to this!

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

Successfully merging this pull request may close these issues.

Customizable follow.limit
3 participants