Compare commits
4 Commits
517aff1da3
...
9c5bec06fb
Author | SHA1 | Date | |
---|---|---|---|
|
9c5bec06fb | ||
|
211f549a50 | ||
|
566f7726de | ||
|
0719ec114d |
@ -311,6 +311,22 @@ export default {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const [newSubPost] = await models.$queryRawUnsafe(`
|
||||||
|
SELECT EXISTS(
|
||||||
|
SELECT *
|
||||||
|
FROM "SubSubscription"
|
||||||
|
JOIN "Item" ON "SubSubscription"."subName" = "Item"."subName"
|
||||||
|
${whereClause(
|
||||||
|
'"SubSubscription"."userId" = $1',
|
||||||
|
'"Item".created_at > $2',
|
||||||
|
'"Item"."parentId" IS NULL',
|
||||||
|
await filterClause(me, models),
|
||||||
|
muteClause(me))})`, me.id, lastChecked)
|
||||||
|
if (newSubPost.exists) {
|
||||||
|
foundNotes()
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
// check if they have any mentions since checkedNotesAt
|
// check if they have any mentions since checkedNotesAt
|
||||||
if (user.noteMentions) {
|
if (user.noteMentions) {
|
||||||
const [newMentions] = await models.$queryRawUnsafe(`
|
const [newMentions] = await models.$queryRawUnsafe(`
|
||||||
|
@ -98,3 +98,4 @@ Radentor,issue,,#1177,easy,,,,10k,Radentor@stacker.news,2024-05-17
|
|||||||
tsmith123,pr,#1179,#790,good-first-issue,high,,,40k,stickymarch60@walletofsatoshi.com,2024-05-17
|
tsmith123,pr,#1179,#790,good-first-issue,high,,,40k,stickymarch60@walletofsatoshi.com,2024-05-17
|
||||||
SatsAllDay,pr,#1159,#510,medium-hard,,1,,450k,weareallsatoshi@getalby.com,2024-05-22
|
SatsAllDay,pr,#1159,#510,medium-hard,,1,,450k,weareallsatoshi@getalby.com,2024-05-22
|
||||||
Darth-Coin,issue,#1159,#510,medium-hard,,1,,45k,darthcoin@stacker.news,2024-05-22
|
Darth-Coin,issue,#1159,#510,medium-hard,,1,,45k,darthcoin@stacker.news,2024-05-22
|
||||||
|
OneOneSeven117,issue,#1187,#1164,easy,,,,10k,OneOneSeven@stacker.news,2024-05-23
|
||||||
|
|
@ -213,6 +213,7 @@ a.link:visited {
|
|||||||
width: 800px;
|
width: 800px;
|
||||||
border-radius: .3rem;
|
border-radius: .3rem;
|
||||||
line-height: .8rem;
|
line-height: .8rem;
|
||||||
|
max-width: 256px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.skeleton .link::after {
|
.skeleton .link::after {
|
||||||
|
@ -66,11 +66,10 @@ function UserItemsHeader ({ type, name }) {
|
|||||||
initial={{ type, by, when, from: '', to: '' }}
|
initial={{ type, by, when, from: '', to: '' }}
|
||||||
onSubmit={select}
|
onSubmit={select}
|
||||||
>
|
>
|
||||||
<div className='text-muted fw-bold mt-0 mb-3 d-flex justify-content-start align-items-center flex-wrap'>
|
<div className='text-muted fw-bold d-flex align-items-center flex-wrap'>
|
||||||
<div className='text-muted fw-bold mt-0 mb-2 d-flex justify-content-start align-items-center'>
|
<div className='text-muted fw-bold mb-2 d-flex align-items-center'>
|
||||||
<Select
|
<Select
|
||||||
groupClassName='mb-0 me-2'
|
groupClassName='mb-0 me-2'
|
||||||
className='w-auto'
|
|
||||||
name='type'
|
name='type'
|
||||||
size='sm'
|
size='sm'
|
||||||
overrideValue={type}
|
overrideValue={type}
|
||||||
@ -80,7 +79,6 @@ function UserItemsHeader ({ type, name }) {
|
|||||||
by
|
by
|
||||||
<Select
|
<Select
|
||||||
groupClassName='mb-0 mx-2'
|
groupClassName='mb-0 mx-2'
|
||||||
className='w-auto'
|
|
||||||
name='by'
|
name='by'
|
||||||
size='sm'
|
size='sm'
|
||||||
overrideValue={by}
|
overrideValue={by}
|
||||||
@ -90,7 +88,6 @@ function UserItemsHeader ({ type, name }) {
|
|||||||
for
|
for
|
||||||
<Select
|
<Select
|
||||||
groupClassName='mb-0 mx-2'
|
groupClassName='mb-0 mx-2'
|
||||||
className='w-auto'
|
|
||||||
name='when'
|
name='when'
|
||||||
size='sm'
|
size='sm'
|
||||||
items={WHENS}
|
items={WHENS}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user