Commit Graph

128 Commits

Author SHA1 Message Date
James Morris
c1cb977980 Form tweaks 2022-07-07 16:05:28 +02:00
Simon Backx
2eabb69be3 Readded deleted comments
no issue

- Hiding deleted comments caused pagination issues.
- Updated text for logged in admins to differentiate between hidden and deleted comments
2022-07-07 15:42:45 +02:00
James Morris
838fe784f1 Little tweaks for better add and reply forms 2022-07-07 15:25:38 +02:00
Simon Backx
d0633fb70e Added logic to hide deleted comments without replies 2022-07-07 15:09:31 +02:00
James Morris
9e9cd270b9 New tweaks to the bottom text box 2022-07-07 14:49:10 +02:00
Kevin Ansfield
9735665ca1 Fixed like/unlike on replies 2022-07-07 14:47:10 +02:00
Peter Zimon
857dbbc315 Moved reply box above replies 2022-07-07 14:36:19 +02:00
Kevin Ansfield
b9740dbe1e Fixed hide comment on replies 2022-07-07 14:33:37 +02:00
Kevin Ansfield
165e84d8e0 Fixed delete/show on replies 2022-07-07 14:29:32 +02:00
Peter Zimon
09e2efe8fd Updated comment list layouts 2022-07-07 14:28:13 +02:00
Peter Zimon
c542918dae Avatar color refinements 2022-07-07 13:00:07 +02:00
James Morris
a142a86b5d Remove reply on a deleted comment 2022-07-07 12:59:50 +02:00
James Morris
c0cf87583f Little tweaks to replies and comments and a refactor 2022-07-07 12:58:07 +02:00
Peter Zimon
ff362cabbf Colorized avatars 2022-07-07 12:42:02 +02:00
James Morris
6948b1222b Quick visual fixes for replies 2022-07-07 12:34:09 +02:00
James Morris
e582f8723a Tweaked the link for sign in 2022-07-07 12:03:46 +02:00
James Morris
88d2fc4bd2 Some basic styling for the sign in box 2022-07-07 12:02:58 +02:00
Simon Backx
68012c9264 Implemented editing replies 2022-07-07 11:39:12 +02:00
Simon Backx
25c86689f8 Fixed adding a reply to a new comment 2022-07-07 11:24:39 +02:00
Simon Backx
5d5e63ba92 Swapped reply form order and removed form after submitting 2022-07-07 11:22:23 +02:00
Simon Backx
6a179b06c4 Wired up adding replies 2022-07-07 11:12:44 +02:00
Peter Zimon
2e58f65b24 Added color scheme parameter 2022-07-07 11:10:31 +02:00
James Morris
f7528a032c Removed the total comments component as it's unneeded 2022-07-07 11:06:59 +02:00
James Morris
32010e5a6d Tiny quick tweak to reply, needs more though 2022-07-07 11:05:41 +02:00
James Morris
70e435ccb3 Added in basic reply toggle with form ready for logic 2022-07-07 10:56:45 +02:00
Simon Backx
8a67716b17 Moved to modern React syntax for the Comment component 2022-07-07 10:42:03 +02:00
Simon Backx
17ae8d6985 Fixed missing <button> type attribute 2022-07-07 10:30:48 +02:00
Simon Backx
0f6e4a86d0 Wired up editing comments 2022-07-07 10:29:29 +02:00
Simon Backx
125afc5e23 Moved to modern React syntax for More component 2022-07-07 10:17:55 +02:00
Simon Backx
405c981131 Moved to modern React syntax for EditForm 2022-07-07 09:41:59 +02:00
Simon Backx
319a477aaf Moved to modern React syntax for AddForm 2022-07-07 09:33:05 +02:00
James Morris
e762853ac6 Bit more radical style changes for comment layout 2022-07-06 20:10:31 +02:00
James Morris
02d81a36f1 Made unblur work on the text box when adding 2022-07-06 19:41:36 +02:00
James Morris
9ad8a0afcc Lots of little fixes and tweaks to styles 2022-07-06 19:22:52 +02:00
James Morris
ef4cbdde1d Fix height 2022-07-06 18:01:27 +02:00
James Morris
bb4957ba75 Indented replies 2022-07-06 17:55:09 +02:00
James Morris
84972865f9 Updated to fix some dark mode things 2022-07-06 17:47:32 +02:00
Simon Backx
8e0efd8bfa Removed console log 2022-07-06 17:36:37 +02:00
Simon Backx
dc196ddeb1 Fixed adding comments missing some properties 2022-07-06 17:30:50 +02:00
Hannah Wolfe
3ce42c05f6 Added basic replies 2022-07-06 17:26:50 +02:00
Simon Backx
f498811321 Added like/dislike comments 2022-07-06 17:20:19 +02:00
James Morris
c394037cab Added basic toggle state to like component 2022-07-06 17:02:18 +02:00
James Morris
ddd72eba98 Little tweaks 2022-07-06 16:55:14 +02:00
James Morris
50d5d74d91 Added autofocus to edit when it's on 2022-07-06 16:46:57 +02:00
James Morris
652d9191b5 Basic version of expandable textbox for adding 2022-07-06 16:45:50 +02:00
James Morris
1ac92467b5 Renamed form component again, now to separate from edit for now 2022-07-06 15:46:04 +02:00
James Morris
c7bc1f9b8d Fixed up a merge for forms 2022-07-06 15:42:42 +02:00
James Morris
cd85b7cad9 Updated forms and tweaks with styles 2022-07-06 15:41:47 +02:00
Hannah Wolfe
1e9b5d6bcf Added commented out Form component using hooks
- demoing how to use useState and function components to keep the code minimal
2022-07-06 15:18:56 +02:00
James Morris
22c99f3b31 Commented out reply component as we won't get to it yet 2022-07-06 15:10:21 +02:00