Commit Graph

485 Commits

Author SHA1 Message Date
Jono M
0d8eb203bf
Updated AdminX search to use centralised configuration (#17106)
refs https://github.com/TryGhost/Team/issues/3349
2023-06-27 08:09:12 +12:00
Jono M
fdef6a30ab
Fixed default recipients behaviour when deselecting all tiers (#17133)
refs https://github.com/TryGhost/Team/issues/3349
2023-06-27 07:56:17 +12:00
renovate[bot]
0a6b3d6b99 Update dependency vite-plugin-commonjs to v0.8.0 2023-06-26 08:51:09 +02:00
Jono M
9e325d6b38
Added tests for user management (#17128)
refs https://github.com/TryGhost/Team/issues/3349
2023-06-26 15:12:46 +12:00
renovate[bot]
1cbbe91a63 Update dependency flexsearch to v0.7.31 2023-06-23 15:04:18 +02:00
Daniel Lockyer
8c5e2a53a9 Moved Admin-X-Settings to apps/ folder
refs https://github.com/TryGhost/Toolbox/issues/594

- we're moving all the external apps into a different folder so we can
  keep `ghost/` for internal code
2023-06-23 14:37:39 +02:00
renovate[bot]
9e6c800e38 Update dependency webpack-cli to v5 2023-06-23 08:29:15 +02:00
Simon Backx
9135ca92e0 Added Playwright test for comment reply pagination
refs https://github.com/TryGhost/Team/issues/3504
2023-06-22 19:09:21 +02:00
Simon Backx
8d6fb51908 Added Playwright tests to comments-ui
refs https://github.com/TryGhost/Team/issues/3504

Not complete yet, but contains the basic structure and a few tests that work and should run in CI.
2023-06-22 15:06:13 +02:00
Simon Backx
ab86e0d901 Removed Sentry and unused data options from comments-ui
refs https://github.com/TryGhost/Team/issues/3504

- Sentry was never setup and we don't use it
- Styles have been moved to inline JS styles (no separate css file generated)
- App version was never used
- Improved current script tag detection
2023-06-22 15:06:13 +02:00
Michael Barrett
a79035c2f6
🐛 Fixed portal free trial message incorrectly showing (#17095)
no issue

Fixed portal free trial message incorrectly showing when signing up for
free. Message was showing due to `pageQuery` erroneously not being
passed down the call stack to `getSiteProducts`
2023-06-22 13:38:33 +01:00
renovate[bot]
e723365cd5 Update storybook monorepo to v7.0.23 2023-06-22 12:31:42 +02:00
Simon Backx
098d2ad3d9 Updated comments-ui eslint rules
refs https://github.com/TryGhost/Team/issues/3504

- Use same rules as signup-forms
- Updates files for the new rules
2023-06-22 10:39:39 +02:00
Daniel Lockyer
dfd5c50b80
Configured yarn dev to allow starting Comments-UI
refs https://github.com/TryGhost/Toolbox/issues/400

- this allows for easier development with Comments-UI
2023-06-22 10:23:05 +02:00
Daniel Lockyer
130c9c3c6f
Updated test:unit script for Comments-UI
refs https://github.com/TryGhost/Toolbox/issues/400

- this package won't pass tests on Node 16 because of the use of
  `fetch`, but that's ok because we publish using Node 18 anyway
- this switches the test command to just ensuring the package can build
2023-06-22 10:01:07 +02:00
Daniel Lockyer
8fc09b9433
Removed unneeded files
refs https://github.com/TryGhost/Toolbox/issues/400

- these files are no longer needed now the package is in the monorepo
2023-06-22 09:57:43 +02:00
Daniel Lockyer
5da9264ea7
Updated lockfile
- removed the imported one from comments-ui repo
2023-06-22 09:51:25 +02:00
Daniel Lockyer
36af781a67
Migrated code + history from Comments-UI
refs https://github.com/TryGhost/Toolbox/issues/400

- this moves comments-ui into the monorepo to aid with the development
  workflow
2023-06-22 09:48:32 +02:00
Simon Backx
60f969c9c2 Locked resolutions of tiptap and prosemirror 2023-06-22 08:35:17 +02:00
Simon Backx
fbd268272a Fixed linting issues 2023-06-21 17:25:47 +02:00
Daniel Lockyer
346b9ff9e2 Added missing dependencies
- both eslint and jsdom are needed to correctly run linting + tests
2023-06-21 17:22:07 +02:00
Daniel Lockyer
fcce6d8519 Removed react-scripts dependency
refs 13d3d0cde6

- this is no longer needed because we've migrated to Vite
2023-06-21 17:19:14 +02:00
Daniel Lockyer
2df3caa159 Removed use of Cypress eslint plugin
refs 13d3d0cde6

- we removed cypress in the referenced commit so this is no longer
  needed
2023-06-21 17:18:00 +02:00
Simon Backx
0f86300757 Added missing changes from previous commit
no issue

Updated package and yarn.lock
2023-06-21 15:37:12 +02:00
Simon Backx
13d3d0cde6 Migrated from Webpack to Vite and updated dependencies
refs https://github.com/TryGhost/Team/issues/3504

- Removed Cypress. Tests will get replaced by Playwright
- Removed unused files and HTML files
- Updated scripts to work similar to Portal, Signup-Form
- Updated to pinned dependencies and removed unused dependencies
2023-06-21 15:28:01 +02:00
renovate[bot]
a441d9dab3 Update dependency react-error-overlay to v6.0.11 2023-06-21 14:43:21 +02:00
renovate[bot]
7a7013dc9c Update dependency bson-objectid to v2.0.4 2023-06-21 14:43:08 +02:00
renovate[bot]
2666b2cec4 Update dependency source-map-explorer to v2.5.3 2023-06-21 14:42:51 +02:00
renovate[bot]
bc0a741df4 Update dependency cypress to v10.11.0 2023-06-21 14:42:39 +02:00
renovate[bot]
777ea0912c Update dependency minimist to v1.2.8 2023-06-21 12:46:16 +02:00
renovate[bot]
ddec966e5d Update dependency tailwindcss to v3.3.2 2023-06-21 12:46:05 +02:00
renovate[bot]
e98d9e3f3c Update dependency chokidar to v3.5.3 2023-06-21 12:41:49 +02:00
renovate[bot]
6e0e9e02ca Update dependency postcss to v8.4.24 2023-06-21 12:41:39 +02:00
renovate[bot]
e8f5ea0f33 Update dependency serve-handler to v6.1.5 2023-06-21 12:41:12 +02:00
Daniel Lockyer
8d611112a1 Updated Renovate config to quietJS
- this is our homegrown Renovate preset that should keep things quiet around here
2023-06-21 12:35:40 +02:00
Daniel Lockyer
08aef4fbb4 Pinned dependencies
- this is an app so we want to pin dependencies to ensure we know what
  version they're using
2023-06-21 12:26:56 +02:00
renovate[bot]
94242ec627 Update dependency @testing-library/react to v12.1.5 2023-06-21 12:19:41 +02:00
renovate[bot]
5a426e5575 Update dependency @testing-library/jest-dom to v5.16.5 2023-06-21 12:17:06 +02:00
renovate[bot]
7a7629620b Add renovate.json 2023-06-21 12:15:03 +02:00
Hannah Wolfe
3a58b6402a Update dependency eslint-plugin-ghost to v3.2.0
refs: https://github.com/TryGhost/Toolbox/issues/595

- Adds custom rules for node assert
- Enforces assert/strict as an error
2023-06-21 10:34:37 +01:00
Sodbileg Gansukh
19b8bd2b50 Released Announcement-Bar v1.1.6 2023-06-21 17:04:56 +08:00
Sodbileg Gansukh
c1cd18b526 Added correct cursor style to announcement bar links 2023-06-21 17:03:58 +08:00
Hannah Wolfe
6161f94910
Updated to use assert/strict everywhere (#17047)
refs: https://github.com/TryGhost/Toolbox/issues/595

We're rolling out new rules around the node assert library, the first of which is enforcing the use of assert/strict. This means we don't need to use the strict version of methods, as the standard version will work that way by default.

This caught some gotchas in our existing usage of assert where the lack of strict mode had unexpected results:
- Url matching needs to be done on `url.href` see aa58b354a4
- Null and undefined are not the same thing,  there were a few cases of this being confused
- Particularly questionable changes in [PostExporter tests](c1a468744b) tracked [here](https://github.com/TryGhost/Team/issues/3505).
- A typo see eaac9c293a

Moving forward, using assert strict should help us to catch unexpected behaviour, particularly around nulls and undefineds during implementation.
2023-06-21 09:56:59 +01:00
Simon Backx
3e932458a4 Released Signup Form v0.1.3 2023-06-21 10:48:22 +02:00
Simon Backx
40f71cb79b 🐛 Fixed accessibility issue with hidden success message in signup form
refs https://ghost.slack.com/archives/CTH5NDJMS/p1686928938857799

The button read 'Subscribe email sent' on screen readers.
2023-06-21 10:38:27 +02:00
Daniel Lockyer
1be11e4648
Fixed include path for signup-form translations
- this fixes the path after we moved the signup-form folder between
  workspace folders
2023-06-21 09:12:28 +02:00
renovate[bot]
e3c9af380c Update dependency @storybook/testing-library to v0.2.0 2023-06-21 08:12:26 +02:00
Daniel Lockyer
5c4ef092b6 Updated vitest to v0.32
refs https://github.com/TryGhost/Ghost/pull/16949
refs https://github.com/vitest-dev/vitest/releases/tag/v0.32.0

- contains a switch from `@vitest/coverage-c8` to `@vitest/coverage-v8`
  as this is now required in 0.32
2023-06-20 14:54:04 +02:00
renovate[bot]
ea3ab6beb6 Update dependency @vitejs/plugin-react to v4.0.1 2023-06-20 08:09:23 +02:00
Daniel Lockyer
2173fd9ef9 Moved signup-form to apps/ folder
refs https://github.com/TryGhost/Toolbox/issues/594

- we're moving all the standalone apps to a separate folder to keep them
  out of the core code and easier to find
2023-06-19 09:43:33 +02:00