Compare commits

...

4 Commits

Author SHA1 Message Date
keyan
9c5bec06fb fix scroll on profile pages 2024-05-23 10:23:13 -05:00
keyan
211f549a50 fix item skeleton 2024-05-23 10:07:33 -05:00
Keyan
566f7726de
Update awards.csv 2024-05-23 09:42:38 -05:00
ekzyis
0719ec114d
Fix no red square for territory posts (#1187) 2024-05-23 09:35:06 -05:00
4 changed files with 20 additions and 5 deletions

View File

@ -311,6 +311,22 @@ export default {
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
if (user.noteMentions) {
const [newMentions] = await models.$queryRawUnsafe(`

View File

@ -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
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
OneOneSeven117,issue,#1187,#1164,easy,,,,10k,OneOneSeven@stacker.news,2024-05-23

1 name type pr id issue ids difficulty priority changes requested notes amount receive method date paid
98 tsmith123 pr #1179 #790 good-first-issue high 40k stickymarch60@walletofsatoshi.com 2024-05-17
99 SatsAllDay pr #1159 #510 medium-hard 1 450k weareallsatoshi@getalby.com 2024-05-22
100 Darth-Coin issue #1159 #510 medium-hard 1 45k darthcoin@stacker.news 2024-05-22
101 OneOneSeven117 issue #1187 #1164 easy 10k OneOneSeven@stacker.news 2024-05-23

View File

@ -213,6 +213,7 @@ a.link:visited {
width: 800px;
border-radius: .3rem;
line-height: .8rem;
max-width: 256px;
}
.skeleton .link::after {

View File

@ -66,11 +66,10 @@ function UserItemsHeader ({ type, name }) {
initial={{ type, by, when, from: '', to: '' }}
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 mt-0 mb-2 d-flex justify-content-start align-items-center'>
<div className='text-muted fw-bold d-flex align-items-center flex-wrap'>
<div className='text-muted fw-bold mb-2 d-flex align-items-center'>
<Select
groupClassName='mb-0 me-2'
className='w-auto'
name='type'
size='sm'
overrideValue={type}
@ -80,7 +79,6 @@ function UserItemsHeader ({ type, name }) {
by
<Select
groupClassName='mb-0 mx-2'
className='w-auto'
name='by'
size='sm'
overrideValue={by}
@ -90,7 +88,6 @@ function UserItemsHeader ({ type, name }) {
for
<Select
groupClassName='mb-0 mx-2'
className='w-auto'
name='when'
size='sm'
items={WHENS}