The weeb for the next gen discord boat - Wamellow wamellow.com
bot discord
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: correct labels in leaderboard dashboard (#57)

authored by

Luna Seemann and committed by
GitHub
90b952eb 8bad178b

+44 -44
+44 -44
app/dashboard/[guildId]/leaderboards/page.tsx
··· 51 51 icon={<HiChartBar />} 52 52 /> 53 53 54 - <InputImageUrl 55 - label="Enabled" 56 - endpoint={url} 57 - ratio="aspect-4/1" 58 - k="banner" 59 - description="Enter a url which should be the banner of the leaderboard web page. The recommended resolution is 906x256px." 60 - defaultState={data.bannerUrl || ""} 61 - /> 54 + <InputImageUrl 55 + label="Banner" 56 + endpoint={url} 57 + ratio="aspect-4/1" 58 + k="banner" 59 + description="Enter a url which should be the banner of the leaderboard web page. The recommended resolution is 906x256px." 60 + defaultState={data.bannerUrl || ""} 61 + /> 62 62 </div> 63 63 64 64 <Permissions ··· 73 73 Select roles which should be assigned to the top members. (left to right - 1st to 3rd place) 74 74 </Section> 75 75 76 - <div className="lg:flex gap-3 mt-5"> 77 - <div className="lg:w-1/2"> 78 - <InputMultiSelect 79 - label="Top messager roles" 80 - endpoint={url} 81 - k="roles.messages" 82 - items={createSelectableItems(guild?.roles)} 83 - description="Select roles which should be assigned to the top message members." 84 - defaultState={data.roles?.messages || []} 85 - max={3} 86 - /> 87 - </div> 88 - <div className="lg:w-1/2"> 89 - <InputMultiSelect 90 - label="Blacklisted roles" 91 - endpoint={url} 92 - k="roles.voiceminutes" 93 - items={createSelectableItems(guild?.roles)} 94 - description="Select roles which should be assigned to the top voice members." 95 - defaultState={data.roles?.voiceminutes || []} 96 - max={3} 97 - /> 98 - </div> 99 - </div> 100 - 101 - <div className="lg:w-1/2"> 102 - <InputMultiSelect 103 - label="Blacklisted channels" 104 - endpoint={url} 105 - k="blacklistChannelIds" 106 - items={createSelectableItems(guild?.channels, [], [ChannelType.GuildCategory, ChannelType.GuildText, ChannelType.GuildAnnouncement, ChannelType.GuildVoice])} 107 - description="Select channels which should not be counted." 108 - defaultState={data.blacklistChannelIds || []} 109 - max={500} 110 - /> 111 - </div> 76 + <div className="lg:flex gap-3 mt-5"> 77 + <div className="lg:w-1/2"> 78 + <InputMultiSelect 79 + label="Top messager roles" 80 + endpoint={url} 81 + k="roles.messages" 82 + items={createSelectableItems(guild?.roles)} 83 + description="Select roles which should be assigned to the top message members." 84 + defaultState={data.roles?.messages || []} 85 + max={3} 86 + /> 87 + </div> 88 + <div className="lg:w-1/2"> 89 + <InputMultiSelect 90 + label="Top voice roles" 91 + endpoint={url} 92 + k="roles.voiceminutes" 93 + items={createSelectableItems(guild?.roles)} 94 + description="Select roles which should be assigned to the top voice members." 95 + defaultState={data.roles?.voiceminutes || []} 96 + max={3} 97 + /> 98 + </div> 99 + </div> 100 + 101 + <div className="lg:w-1/2"> 102 + <InputMultiSelect 103 + label="Blacklisted channels" 104 + endpoint={url} 105 + k="blacklistChannelIds" 106 + items={createSelectableItems(guild?.channels, [], [ChannelType.GuildCategory, ChannelType.GuildText, ChannelType.GuildAnnouncement, ChannelType.GuildVoice])} 107 + description="Select channels which should not be counted." 108 + defaultState={data.blacklistChannelIds || []} 109 + max={500} 110 + /> 111 + </div> 112 112 113 113 <Section 114 114 title="Updating"