Commit Graph

164 Commits

Author SHA1 Message Date
Jake Fulmine
3e6cb3bd2c fix(dashboard): count filtered amount of items in list instead of all 2022-08-29 18:44:27 +02:00
Jake Fulmine
45bbc26ff3 feat(dashboard): add system pronouns + editing (I forgot to) 2022-08-22 13:56:06 +02:00
Jake Fulmine
34926660c8 fix(dashboard): fix editing visibility privacy not changing header 2022-08-22 13:49:42 +02:00
Jake Fulmine
877b2cdf21 feat(dashboard): make banners in cards clickable 2022-08-22 12:49:36 +02:00
Jake Fulmine
15782d930b fix(dashboard): get rid of some prop errors 2022-08-22 12:43:25 +02:00
Jake Fulmine
0227efbbca feat(dashboard): show item count on dash lists 2022-08-22 12:43:04 +02:00
Jake Fulmine
e60eeba6ed feat(dashboard): change cardsheader to display name when sorting/searching by it 2022-08-22 12:28:01 +02:00
Jake Fulmine
a52c4833e6 fix(dashboard): forgot to add some lines back in oops 2022-08-22 12:15:56 +02:00
Jake Fulmine
e2b958c305 fix(dashboard): editing and backing out should not update the card 2022-08-22 12:13:52 +02:00
Jake Fulmine
68d15b98f7 feat(dashboard): rewrite system privacy and add pronouns 2022-08-22 10:19:39 +02:00
Jake Fulmine
267e85b891 feat(dashboard): trim all user-submitted strings 2022-08-22 10:01:07 +02:00
pulchra mentis
adaddb579e
Implement media resizing using Discord media cache (#470)
* Implement media resizing using Discord media cache
Improve performance by offloading image scaling to Discord
Only apply the resizing to images stored in the Discord CDN
Set the format of the resized images to WebP for improved performance

* Implemented suggestion for improved regex
2022-08-17 21:50:36 +02:00
Jake Fulmine
7aa4d49a97 fix(dashboard): swap svelte-autosize for svelte-textarea-autoresize 2022-08-17 21:40:10 +02:00
spiral
5a6bf84af6
feat(dashboard): add polyfill for String.prototype.replaceAll 2022-07-14 19:46:50 +02:00
spiral
d17cb80db4
refactor(dashboard): use bootstrap tooltip on shard status page 2022-07-14 19:40:12 +02:00
Jake/Rads
371d677af1 Merge branch 'main' of https://github.com/PluralKit/PluralKit 2022-07-07 19:53:27 +02:00
Jake/Rads
d7aeb70918 feat(dashboard): more list sorting options 2022-07-07 19:53:24 +02:00
spiral
303ef71805
refactor: move dockerfiles to package folders 2022-07-05 15:37:15 -04:00
Jake/Rads
94809fcf19 fix(dasbhoard): don't stretch icons in headers 2022-06-30 16:30:11 +02:00
Jake/Rads
032c601ec3 fix(dashboard): fix deleting items not updating list 2022-06-30 16:24:41 +02:00
Jake/Rads
1bdee69c9b fix(dashboard): include members array on creation 2022-06-30 16:24:20 +02:00
Jake/Rads
ed526eddb1 fix(dashboard): show group colors again 2022-06-28 09:12:07 +02:00
Jake/Rads
5df818e367 feat(dashboard): copy short link from pages 2022-06-28 08:04:19 +02:00
Jake/Rads
380b01c364 fix(dashboard): fix page links from dashboard 2022-06-28 07:51:13 +02:00
Jake/Rads
e33ca27dd5 fix(dashboard): show card colors again! 2022-06-27 21:00:04 +02:00
Jake/Rads
1b941cdf3b fix(dashboard): fix arrow key navigation (again) 2022-06-27 20:32:03 +02:00
Jake/Rads
061c94dab4 fix(dashboard): properly determine page links 2022-06-27 20:31:33 +02:00
Jake/Rads
b99af6a52e fix(dashboard): typo in option 2022-06-27 20:12:58 +02:00
Jake/Rads
98f7a39185 fix(dashboard): fix public profile page links 2022-06-27 17:00:48 +02:00
Jake/Rads
e868b2c5d3 fix(dashboard): card navigation randomly breaking
because svelte randomly sets bind:this in an array to null for an entire page, for reasons I do not know, im just doing it directly with ids
2022-06-27 16:53:52 +02:00
Jake/Rads
239043bc61 fix(dashboard): pass correct list to child 2022-06-27 15:00:41 +02:00
Jake/Rads
3740b294d6 fix(dashboard): put a missing border back 2022-06-27 14:45:59 +02:00
Jake/Rads
7ee5bba14c fix(dashboard): dont use same indexes per page
changing the accordion to individual collapses meant we could implement keyboard navigation between the cards

however, I only handled card collapsing state per-page, which caused an issue where opening one card on one page would open the card with the same index on every page

this fixes that by indexing the cards based on its position in the whole list rather than per-page
2022-06-27 14:45:04 +02:00
Jake/Rads
ce431364a0 fix(dashboard): reuse list component in randomizer 2022-06-27 13:09:13 +02:00
Jake/Rads
64ad9374af fix(dashboard): make default avatars tabindexable for consistency 2022-06-27 13:08:43 +02:00
Jake/Rads
42064c66b0 feat(dashboard): add copy link button 2022-06-27 13:08:19 +02:00
Jake/Rads
6468068ca4 feat(dashboard): reuse list component more thoroughly 2022-06-27 12:08:07 +02:00
Jake/Rads
b70f8d27e7 feat(dashboard): keyboard navigation between list items 2022-06-27 12:08:07 +02:00
Jake/Rads
42fb75c3a4 fix(dashboard): default to name on "search by" field 2022-06-27 00:31:06 +02:00
Jake/Rads
dac9281887 fix(dashboard): assign list keys based on index and id
which means: no more moving avatars whenever you re-sort the list 🎉
2022-06-27 00:30:46 +02:00
Jake/Rads
9ab6a5ba2e feat(dashboard): randomize member and group lists 2022-06-27 00:28:40 +02:00
Jake/Rads
0c3eeae420 fix(dashboard): actually delete members from list 2022-06-25 22:31:53 +02:00
Jake/Rads
a0d0bc2903 fix(dashboard): fix duplication after member creation
aka: what in the actual world was i doing here
2022-06-25 22:31:23 +02:00
Jake/Rads
191136cd94 feat(dashboard): tweak status page styling 2022-06-24 20:47:00 +02:00
Jake/Rads
43b6792e30 fix(dashboard): fix undefined name after creation 2022-06-24 08:11:10 +02:00
Jake/Rads
f84f7eacdd fix(dashboard): fix crash when searching after member creation 2022-06-24 08:10:11 +02:00
Jake/Rads
30f3dcf031 feat(dashboard): reset new member/group input after submit 2022-06-24 08:00:35 +02:00
Jake/Rads
f14fee9ae1 fix(dashboard): revert to page 1 when searching list 2022-06-24 07:59:51 +02:00
Jake/Rads
24a0e54f2c fix(dashboard): remove unused binding 2022-06-24 07:58:36 +02:00
Jake/Rads
901603bb68 feat(dashboard): dont show create new member if the list is loading 2022-06-24 07:58:21 +02:00
Jake/Rads
eb1d7fea9f fix(dashboard): fix header not showing up on full pages 2022-06-24 07:57:28 +02:00
Jake/Rads
3c4de5996c fix(dashboard): fix crash when changing pages with an open card 2022-06-24 07:56:16 +02:00
Jake/Rads
b4b7525fc0 feat(dashboard): dont exit editing after submit just like in other cards 2022-06-23 23:51:38 +02:00
Jake/Rads
5985bb4f8a fix(dashboard): change tab query on tab change 2022-06-23 23:45:23 +02:00
Jake/Rads
dd7a6f0be0 feat(dashboard): move profile out of its lonely folder
I'll probably organize the folders better in general later
2022-06-23 23:08:50 +02:00
Jake/Rads
150331a3e4 fix(dashboard): dont break list when changing item visibility 2022-06-23 23:03:05 +02:00
Jake/Rads
c3f92cec93 fix(dashboard): do not open/close card when opening icon 2022-06-23 23:02:03 +02:00
Jake/Rads
dd60f646b0 feat(dashboard): dont close out of editor after submitting 2022-06-23 22:41:38 +02:00
Jake/Rads
13eaad59db fix(dashboard): svelecte doesn't accept aria-label :( 2022-06-23 22:41:01 +02:00
Jake/Rads
ae631815c3 refactor(dashboard): refactor privacy components 2022-06-23 22:40:06 +02:00
Jake/Rads
f70996e5a6 feat(dashboard): remove unused event directives 2022-06-23 22:39:17 +02:00
Jake/Rads
a84192f8f7 fix(dashboard): fix cards not updating after editing 2022-06-23 22:31:50 +02:00
Jake/Rads
990c2d9f4c fix(dashboard): focus on add proxy button in modal 2022-06-23 22:27:47 +02:00
Jake/Rads
9efa8d4289 feat(dashboard): consistent loading spinners 2022-06-23 22:25:49 +02:00
Jake/Rads
2e69de1b1b refactor(dashboard): refactor list components 2022-06-23 22:24:29 +02:00
spiral
6c4bd2cc26
fix(dashboard): show error message returned by api in discord login page 2022-06-21 22:23:25 -04:00
pulchra mentis
33b77470ee
feat(dashboard): timestamp parsing (#461) 2022-06-17 23:05:19 -04:00
spiral
ba9c074dc2
feat(dashboard): somewhat better styling of shard status page 2022-06-15 00:08:47 -04:00
Jake/Rads
1a0a9e4ef3 fix(dashboard): correct birthday validation on member creation 2022-06-07 19:05:40 +02:00
Jake/Rads
937867b047 fix(dashboard): properly parse birthdates 2022-06-06 09:38:43 +02:00
spiral
1b2dcdb26d
fix(dashboard): escape HTML in opengraph embeds 2022-06-05 14:29:44 -04:00
spiral
989a8b4453
chore(dashboard): run 'go mod tidy' 2022-06-05 13:52:05 -04:00
Draconizations
c8e8655b4f fix(dashboard): don't overwrite current privacy settings 2022-06-05 19:38:07 +02:00
spiral
0046ca6859
feat(dashboard): add git commit hash to Sentry release 2022-06-05 13:07:56 -04:00
spiral
a18fd9bd0d
chore: update github repo URL 2022-06-05 12:57:10 -04:00
spiral
0e1b5c5e02
feat(dashboard): add default opengraph embed tags 2022-06-05 11:33:09 -04:00
Draconizations
2e7f5c20aa feat(dashboard): code block syntax highlighting 2022-06-03 18:09:11 +02:00
Draconizations
770b01504a tweak(dashboard): remove unnecessary node_modules from import paths 2022-06-03 18:08:49 +02:00
Draconizations
6435fa3714 feat(dashboard): move generic.scss to themes file 2022-06-03 18:06:54 +02:00
Draconizations
9a9f60e3c3 feat(dashboard): better pre styling 2022-06-03 17:34:50 +02:00
Draconizations
2819c97552 feat(dashboard): move dark overrides to own file 2022-06-03 17:34:33 +02:00
Draconizations
c049dafe5d fix(dashboard): make code text in darkmode visible 2022-06-03 17:33:39 +02:00
Draconizations
8688cdb289 feat(dashboard): rename theming scss files 2022-06-03 14:33:47 +02:00
Draconizations
d685f6228e feat(dashboard): change primary color to pluralkit orange 2022-06-03 14:24:54 +02:00
spiral
15d48db6f3
feat(dashboard): add opengraph/oembed, Docker build 2022-06-03 01:01:54 -04:00
spiral
f731f0d453
fix(dashboard): only clear token from localStorage on 401 error 2022-06-02 23:12:38 -04:00
spiral
66883cef51
feat(dashboard): add status page link to header 2022-06-02 23:09:48 -04:00
Draconizations
62ac655922 feat(dashboard): go to home when loading dash page while not logged in 2022-05-30 13:02:04 +02:00
Draconizations
c9a02f2ab6 feat(dashboard): change title when home is loaded 2022-05-30 13:01:27 +02:00
Draconizations
0d774a7c9e fix(dashboard): fix crash when opening dash while not logged in 2022-05-30 13:00:57 +02:00
Draconizations
0a048cdc32 feat(dashboard): focus on member/group banner modal 2022-05-30 12:13:49 +02:00
Draconizations
08ead3d549 feat(dashboard): make list filter modes keyboard accessible 2022-05-30 10:48:51 +02:00
Draconizations
a2d500e536 Merge branch 'feat/dashboard' into feat/dashboard-accessibility 2022-05-30 10:05:30 +02:00
Draconizations
4a03418461 tweak(dashboard): include item name in avatar alt text 2022-05-30 10:02:52 +02:00
Draconizations
5d8f42b537 feat(dashboard): autofocus on expanded avatar image 2022-05-30 10:02:12 +02:00
Draconizations
8113c83828 featI(dashboard): dynamic titles on member/group pages 2022-05-30 10:01:36 +02:00
rladenson
60adb37781 fix(dashboard): let settings page load even when no settings stored 2022-05-28 15:15:23 -06:00
Draconizations
50732ba010 feat(dashboard): more screenreader friendlyness 2022-05-20 13:49:58 +02:00
Draconizations
9744a3deb6 feat(dashboard): more screenreader friendlyness 2022-05-20 13:39:30 +02:00
Draconizations
abd5a85ba1 feat(dashboard): focus on modal when open 2022-05-20 13:22:20 +02:00