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

Dashboard #344

Draft
wants to merge 123 commits into
base: compose
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
abe443e
basic leptos website
circuitsacul Aug 3, 2023
a0a6a9c
Merge branch 'compose' into dashboard
circuitsacul Aug 3, 2023
862da00
daisyui
circuitsacul Aug 3, 2023
03d0536
delete bot1/Dockerfile
circuitsacul Aug 3, 2023
b4f34ec
Update lib.rs
circuitsacul Aug 3, 2023
73edfc6
push .vscode/settings.json
circuitsacul Aug 3, 2023
d320161
update .vscode stuff
circuitsacul Aug 3, 2023
d1da0aa
Update extensions.json
circuitsacul Aug 3, 2023
cb91905
leptosfmt
circuitsacul Aug 3, 2023
e7e67d7
add package(-lock).json to website
circuitsacul Aug 3, 2023
609d788
basic structure
circuitsacul Aug 3, 2023
20346a9
outsource route definitions
circuitsacul Aug 3, 2023
4d1ccc1
needed Outlet
circuitsacul Aug 3, 2023
5ec39a7
custom theme
circuitsacul Aug 3, 2023
fbcf5de
stuff
circuitsacul Aug 4, 2023
cf161d8
add hero to Home
circuitsacul Aug 4, 2023
c47ecd7
basic server-side get for website
circuitsacul Aug 4, 2023
81ef529
drop clone
circuitsacul Aug 4, 2023
1ece009
add serde Serialize/Deserialize to all models
circuitsacul Aug 4, 2023
3885bbc
progress
circuitsacul Aug 4, 2023
dfca1c4
better formatting
circuitsacul Aug 4, 2023
5c5fb03
Update settings.json
circuitsacul Aug 4, 2023
e825439
Update settings.json
circuitsacul Aug 4, 2023
c9a18a2
working discord oauth2
circuitsacul Aug 5, 2023
81c866e
fix cookie related things
circuitsacul Aug 6, 2023
fb607f6
stuffs
circuitsacul Aug 6, 2023
217c835
oauth2 flow improvements
circuitsacul Aug 7, 2023
5b69c82
remove unused files & imports
circuitsacul Aug 7, 2023
2cf9d4c
remove access token from jwt
circuitsacul Aug 7, 2023
7abf11e
fix flashing navbar
circuitsacul Aug 7, 2023
7fb2e37
use dashmap instead of RwLock<HashMap>
circuitsacul Aug 7, 2023
e942658
cache user & managed guilds
circuitsacul Aug 7, 2023
029642f
server list
circuitsacul Aug 7, 2023
e3df9f4
suspense skeleton for server list
circuitsacul Aug 7, 2023
6395fda
toasts for errors
circuitsacul Aug 7, 2023
67d168e
skeleton dashboard
circuitsacul Aug 7, 2023
76f5f42
random fixes
circuitsacul Aug 7, 2023
55c328c
misc styling
circuitsacul Aug 8, 2023
6522306
remove unused component
circuitsacul Aug 8, 2023
da8a586
styling improvements
circuitsacul Aug 8, 2023
e266b0a
even more styling fixes
circuitsacul Aug 8, 2023
81add3f
mobile ~~second~~ support
circuitsacul Aug 9, 2023
85506fd
leptosfmt
circuitsacul Aug 9, 2023
0b6a861
minor fixes
circuitsacul Aug 9, 2023
00fd888
cleanup css
circuitsacul Aug 9, 2023
c0bffd3
fix mobile external links
circuitsacul Aug 9, 2023
a39d942
use create_resource
circuitsacul Aug 9, 2023
2153c65
show invite popup on guilds starboard isn't in
circuitsacul Aug 9, 2023
d4706ad
backend validation for get_guild
circuitsacul Aug 9, 2023
0a93d60
Update toasted_susp.rs
circuitsacul Aug 9, 2023
5383dd4
don't read resources outside of suspense
circuitsacul Aug 10, 2023
091c33b
misc improvements
circuitsacul Aug 10, 2023
9e3c7ba
extract "can manage guild" perm to func
circuitsacul Aug 10, 2023
84d959c
use samesite: Lax
circuitsacul Aug 10, 2023
f0ee6c9
invite url, fix some things, use async lock
circuitsacul Aug 10, 2023
b44171f
improve suspenses, fmt
circuitsacul Aug 10, 2023
a041d21
progress on /starboards
circuitsacul Aug 11, 2023
024c32f
fix toast z index
circuitsacul Aug 11, 2023
ac50a61
progress
circuitsacul Aug 13, 2023
31f6cb9
Merge branch 'compose' into dashboard
circuitsacul Aug 13, 2023
7826520
add web strings to validation errors
circuitsacul Aug 14, 2023
c335a9f
progress on starboard patching
circuitsacul Aug 14, 2023
9ee44a4
organization
circuitsacul Aug 14, 2023
95b5770
misc changes
circuitsacul Aug 15, 2023
20f7ca0
more misc changes
circuitsacul Aug 15, 2023
7f80740
misc css
circuitsacul Aug 15, 2023
f131fee
functioning style & embed style editing
circuitsacul Aug 15, 2023
16ca629
wrap invite modal in a Show
circuitsacul Aug 16, 2023
882ecf4
update starboard spinner/toast/errors
circuitsacul Aug 17, 2023
d60ff58
progress:tm:
circuitsacul Aug 18, 2023
5d9e27c
use info for toasts
circuitsacul Aug 18, 2023
6902b9a
some fixes
circuitsacul Aug 18, 2023
c3773f2
back to success toast
circuitsacul Aug 18, 2023
e48dc6b
redirect from starboard/:id on 404
circuitsacul Aug 18, 2023
2fe981b
add primary-focus, update output.css
circuitsacul Aug 18, 2023
82f4e43
improved toast styling
circuitsacul Aug 19, 2023
d69d126
get rid of useless .wlock on auth context
circuitsacul Aug 19, 2023
b26919c
remove channel fetching from guild cx
circuitsacul Aug 20, 2023
457fa53
improve suspense layout of sb popup
circuitsacul Aug 20, 2023
f66f769
working channel picker
circuitsacul Aug 23, 2023
3a673f6
make channel picker more readable
circuitsacul Aug 23, 2023
94c90d8
change sizing
circuitsacul Aug 23, 2023
8fc6c8b
default categories to open
circuitsacul Aug 23, 2023
0d3d9fa
add id, add propagate prop
circuitsacul Aug 23, 2023
5cd8b51
working search
circuitsacul Aug 23, 2023
1c51aee
don't open categories by default
circuitsacul Aug 23, 2023
a72a9d4
don't clip the name prematurely
circuitsacul Aug 23, 2023
190e87b
`class="btn-disabled"` -> `button:disabled`
circuitsacul Aug 23, 2023
befcb46
multi & single channel pickers
circuitsacul Aug 25, 2023
ec47854
better channel picker structure, fix/finish starboard add
circuitsacul Aug 25, 2023
9abdcbe
fix warnings??? lol
circuitsacul Aug 25, 2023
afb16eb
working emoji picker
circuitsacul Aug 26, 2023
765bb69
unused import
circuitsacul Aug 26, 2023
0cbc8ce
Update output.css
circuitsacul Aug 28, 2023
9696e1a
don't allow categories in channel picker
circuitsacul Aug 28, 2023
c02a6a6
uppercase category names
circuitsacul Aug 28, 2023
848d225
fix unselectable item style
circuitsacul Aug 28, 2023
35ce07d
picker base doesn't need to be in folder
circuitsacul Aug 28, 2023
1a5e7ad
custom emojis
circuitsacul Aug 28, 2023
cadd0a0
fix popup styling
circuitsacul Aug 28, 2023
5cc0cc6
implement starboard delete
circuitsacul Aug 28, 2023
d13ed14
change tab style
circuitsacul Aug 28, 2023
33578d5
fix delete sb form submit
circuitsacul Aug 29, 2023
c5684a0
sidebar icons
circuitsacul Aug 29, 2023
a67dd00
use overflow-y-auto instead of -scroll
circuitsacul Sep 12, 2023
2a48908
use disabled prop instead of class
circuitsacul Sep 13, 2023
b11f738
update web str for errs
circuitsacul Sep 13, 2023
da28b8f
fix panic when errors disappear
circuitsacul Sep 13, 2023
34e45f0
some more settings
circuitsacul Sep 15, 2023
f7ed078
Merge branch 'compose' into dashboard
circuitsacul Sep 22, 2023
63f72cb
page titles
circuitsacul Sep 22, 2023
810c4a2
Update favicon.ico
circuitsacul Sep 22, 2023
243aaac
implement newerthan/olderthan
circuitsacul Sep 22, 2023
f43c546
Update navbar.rs
circuitsacul Sep 22, 2023
406f4aa
name validation
circuitsacul Sep 25, 2023
051d424
humantime formatting for relative duration
circuitsacul Sep 25, 2023
9a71ce7
fix some stuff
circuitsacul Sep 28, 2023
07d656f
some styling changes
circuitsacul Sep 28, 2023
8140a61
Merge branch 'compose' into dashboard
circuitsacul Sep 29, 2023
f9616fa
upvote/downvote emoji editing
circuitsacul Oct 4, 2023
994790b
simplify emoji component
circuitsacul Oct 4, 2023
a5aaa48
filter emojis
circuitsacul Oct 4, 2023
d6b9421
leptos 0.5
circuitsacul Oct 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
### bot config ###
##################
DISCORD_TOKEN=""
CLIENT_SECRET=
REDIRECT_URL=
BOT_ID=""
SHARDS=1
# true disables notifications
Expand Down Expand Up @@ -57,3 +59,4 @@ REQUEST_TIMEOUT="3000"
#############################
IMAGE_BOT="circuitsacul/starboard-bot:latest"
IMAGE_BACKUP="circuitsacul/starboard-backup:latest"
IMAGE_WEBSITE="circuitsacul/starboard-website:latest"
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.env
.vscode

# Generated by Cargo
# will have compiled files and executables
Expand Down
4 changes: 4 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"recommendations": ["rust-lang.rust-analyzer", "bradlc.vscode-tailwindcss"],
"unwantedRecommendations": []
}
17 changes: 17 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"tailwindCSS.includeLanguages": {
"rust": "html",
"*.rs": "html"
},
"files.associations": {
"*.rs": "rust"
},
"editor.quickSuggestions": {
"other": "on",
"comments": "on",
"strings": true
},
"css.validate": false,
"rust-analyzer.check.command": "clippy",
"rust-analyzer.showUnlinkedFileNotification": false
}
Loading