Commit Graph

76 Commits

Author SHA1 Message Date
James Morris
feae7836d7 Lots of little action tweaks 2022-07-06 12:16:29 +02:00
James Morris
7b424800aa Added back in the refactor of actions into components 2022-07-06 11:48:25 +02:00
James Morris
16279da1ac Merging in some changes to close dropdown along other 2022-07-06 11:48:25 +02:00
Simon Backx
121f1711cd Added 'show comment' implementation for admins 2022-07-06 11:45:45 +02:00
Simon Backx
7570b2ef04 Added check to hide more button without actions 2022-07-06 11:39:33 +02:00
Simon Backx
cc32b55ee9 Fixed context menu closing after actions 2022-07-06 11:32:56 +02:00
Simon Backx
1be6d305a0 Added close method to context menus 2022-07-06 11:31:01 +02:00
Simon Backx
03ab129380 Wired up deleting comments 2022-07-06 11:27:03 +02:00
Simon Backx
f711498a3e Wired up hiding comments admin API endpoint
no issue

The endpoint is not yet implemented on the backend, so it doesn't work yet.
2022-07-06 11:13:03 +02:00
James Morris
19ac2765e2 Added in a fake like along with dropdown together 2022-07-06 11:05:13 +02:00
James Morris
eec31572db Added in general styles to the dropdown 2022-07-06 10:47:57 +02:00
Simon Backx
d5c98b1002 Added admin to the shared context 2022-07-06 10:12:24 +02:00
James Morris
8aebf187f9 Little adjustment to dropdown placement and tiny tweaks 2022-07-06 10:10:08 +02:00
James Morris
af56ecf5ef Fixed an avatar component bug with multiple users 2022-07-06 10:02:02 +02:00
James Morris
73e6e053eb Refactored and cleaned up avatar component 2022-07-06 09:50:16 +02:00
Simon Backx
172bbc07c6 Added basic context aware context menus 2022-07-06 09:39:35 +02:00
Simon Backx
5479993c96 Fixed up getInitials helper 2022-07-06 09:28:05 +02:00
Simon Backx
9e445b8307 Added basic context menu button that doesn't work yet 2022-07-06 09:24:33 +02:00
James Morris
63050013ca Removed some unneeded bits 2022-07-06 08:09:59 +01:00
James Morris
7493cda1a6 Working avatars for comments but needs refactor 2022-07-05 16:49:18 +01:00
Peter Zimon
3161196554 Refined button 2022-07-05 17:35:58 +02:00
Simon Backx
f839931548 Added wip context menu 2022-07-05 17:32:51 +02:00
Peter Zimon
6079142f54 Added line-height to textarea 2022-07-05 17:30:00 +02:00
Peter Zimon
a54e1f0d12 Cleanup 2022-07-05 17:26:12 +02:00
Peter Zimon
5b4dbb34fc Added important to reset 2022-07-05 17:00:27 +02:00
James Morris
ce54fb4e36 Tiny tweaks for weeks 2022-07-05 15:44:40 +01:00
James Morris
68b7fe2e6b Small style tweaks for left aligned better 2022-07-05 15:43:30 +01:00
Peter Zimon
cc58f97e1a Copy update 2022-07-05 16:38:06 +02:00
Simon Backx
3522ee6ee1 Added whitespace and newline support 2022-07-05 16:37:32 +02:00
Peter Zimon
81db05a3ac Removed outline from focused textarea 2022-07-05 16:34:12 +02:00
Peter Zimon
45172d875a Hid auth iframe 2022-07-05 16:30:16 +02:00
Peter Zimon
870639db94 Updated dark mode styles 2022-07-05 16:26:51 +02:00
Simon Backx
0390995d76 Fixed pagination after new comments are added 2022-07-05 16:24:30 +02:00
Simon Backx
5841241a42 Fixed adding comments order 2022-07-05 16:10:24 +02:00
Simon Backx
fdeed0eeec Fixed comments order 2022-07-05 16:08:13 +02:00
Peter Zimon
771fd15f27 Applied dark mode to form 2022-07-05 16:05:17 +02:00
Peter Zimon
736d07fbd0 Added some dark styles 2022-07-05 15:56:53 +02:00
Simon Backx
4de5c7a64b Added API connection to add and view comments 2022-07-05 15:53:28 +02:00
Simon Backx
74defe9e0c Ignore admin api errors + added relative time formatting 2022-07-05 15:45:16 +02:00
Peter Zimon
c4c8e1ea62 Added contrast detection 2022-07-05 15:39:07 +02:00
Fabien "egg" O'Carroll
ea531e8c19 Added initial support for the Admin API
refs https://github.com/TryGhost/Team/issues/1664

This allows us to have access to the currently logged in admin user as well as
future access to show and hide comments via the Admin API.
2022-07-05 15:33:55 +02:00
James Morris
19493073f6 Tiny little tweaky things 2022-07-05 14:32:45 +01:00
Simon Backx
a40f8f114b Connected comments to real API endpoints 2022-07-05 15:30:09 +02:00
James Morris
de06441c5d Removed the public main again 2022-07-05 14:27:01 +01:00
James Morris
103c812758 Added more styles to get something a little nicer going 2022-07-05 14:22:02 +01:00
James Morris
6b2b22f9f3 Fixed up merged styles and added in a few more for fun 2022-07-05 14:21:02 +01:00
James Morris
f0f544d03d Merged with new styles 2022-07-05 14:18:14 +01:00
Peter Zimon
ebca33f561 Deleted main.css 2022-07-05 15:10:07 +02:00
Peter Zimon
dd5b870239 Added main.css to gitignore 2022-07-05 14:30:27 +02:00
Simon Backx
65ac303308 Added basic pagination and API mocking 2022-07-05 14:27:06 +02:00