mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-30 00:41:12 +00:00
Tweak cursor again
This commit is contained in:
parent
11790b186c
commit
8038db26c6
@ -1,6 +1,7 @@
|
|||||||
Bugs
|
Bugs
|
||||||
|
|
||||||
- [ ] Copy toast not showing
|
- [ ] Support bech32 keys
|
||||||
|
- [ ] Loading icon not showing at bottom
|
||||||
- [ ] uniq and sortBy are sprinkled all over the place, figure out a better solution
|
- [ ] uniq and sortBy are sprinkled all over the place, figure out a better solution
|
||||||
- [ ] With link/image previews, remove the url from the note body if it's on a separate last line
|
- [ ] With link/image previews, remove the url from the note body if it's on a separate last line
|
||||||
- [ ] Search page is slow and likes don't show up. Probably move this server-side
|
- [ ] Search page is slow and likes don't show up. Probably move this server-side
|
||||||
|
@ -360,7 +360,7 @@ export const createScroller = (
|
|||||||
|
|
||||||
// Wait a moment before proceeding to the next chunk for the caller
|
// Wait a moment before proceeding to the next chunk for the caller
|
||||||
// to load results into the dom
|
// to load results into the dom
|
||||||
await sleep(1000)
|
await sleep(500)
|
||||||
}
|
}
|
||||||
|
|
||||||
active = false
|
active = false
|
||||||
|
@ -120,7 +120,7 @@ export const channels = {
|
|||||||
export class Cursor {
|
export class Cursor {
|
||||||
constructor(filter, delta) {
|
constructor(filter, delta) {
|
||||||
this.filter = ensurePlural(filter)
|
this.filter = ensurePlural(filter)
|
||||||
this.delta = delta || timedelta(5, 'minutes')
|
this.delta = delta || timedelta(15, 'minutes')
|
||||||
this.since = now() - this.delta
|
this.since = now() - this.delta
|
||||||
this.until = now()
|
this.until = now()
|
||||||
this.sub = null
|
this.sub = null
|
||||||
|
Loading…
Reference in New Issue
Block a user