Commit Graph

642 Commits

Author SHA1 Message Date
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
Peter Zimon
c6fb93d280 Updated Tailwind config 2022-07-05 14:19:05 +02:00
James Morris
aaff736673 Basic components added with basic styling 2022-07-05 11:46:55 +01:00
Simon Backx
5ad294d630 Fixed wrong data attribute used for site url 2022-07-05 12:13:20 +02:00
Simon Backx
6933994738 Fixed comments not working for members without a name 2022-07-05 11:58:01 +02:00
Rishabh
1164bacd24 Added tailwind watch for dev mode
- adds auto compile for tailwind in dev mode
2022-07-05 11:53:27 +02:00
Simon Backx
d0acbad698 Renamed customIFrame component to ShadowRoot 2022-07-05 11:49:36 +02:00
Simon Backx
7e9b2d544c Replaced iframe with shadow DOM
no issue

- Instead of an iframe tag, we use the shadow DOM to separate CSS.
- The CSS is fully isolated, except for inherited properties. To fix that, we needed to add `:host { all: initial; }` to the CSS.
2022-07-05 11:46:14 +02:00
Peter Zimon
1504e84c7e Fixed commentbox not injected 2022-07-05 11:34:51 +02:00
Peter Zimon
eb10f02e5f Fixed local dev env crashing 2022-07-05 11:22:48 +02:00
Peter Zimon
ea54c073c3 Updated default Tailwind styles 2022-07-05 10:54:27 +02:00
Peter Zimon
93e7376403 Updated iframe size 2022-07-05 10:43:10 +02:00
Simon Backx
e76a62b34a Removed temporary inline styles 2022-07-05 10:40:26 +02:00
Simon Backx
710c265601 Added basic member authentication
refs https://github.com/TryGhost/Team/issues/1664

- Added basic API handling
- Added member authentication
- Basic avatar with form
- Setup sentry
2022-07-05 10:38:39 +02:00
Peter Zimon
0eeff657de Updated frame styles 2022-07-05 10:34:22 +02:00
Peter Zimon
32c396d75b Added Tailwind CSS 2022-07-05 10:15:12 +02:00
Simon Backx
6f0defc6a1 Added AppContext and basic Form component 2022-07-04 17:23:01 +02:00
Simon Backx
fccc18f51c Updated comment box location 2022-07-04 16:12:43 +02:00
Rishabh
aeb644cf84 Fixed lint 2022-07-04 16:00:02 +02:00
Rishabh
c71db17200 Fixed tests 2022-07-04 15:59:11 +02:00
Simon Backx
a47dc6b7c2 Replaced portal wording 2022-07-04 15:33:51 +02:00
Simon Backx
70da7e2331 Replaced portal wording in terminal output 2022-07-04 15:32:35 +02:00
Rishabh
6082a1a932 Updated dev url
refs https://github.com/TryGhost/Team/issues/1664
2022-07-04 15:22:10 +02:00
Rishabh
4e17ab2368 Updated default dev port for comments script
refs https://github.com/TryGhost/Team/issues/1664
2022-07-04 15:19:49 +02:00
Rishabh
cc4eda6478 Added custom build setup
refs https://github.com/TryGhost/Team/issues/1664

- overrides webpack config to generate single script for publishing
- adds custom scripts for dev and production mode
2022-07-04 15:15:01 +02:00
Rishabh
59865f1e0f Initial commit 2022-07-04 14:54:12 +02:00
Rishabh
7042386db2 Initialize project using Create React App 2022-07-04 14:53:12 +02:00