forked from github/plane
0a617eec26
* 🔧 chore: Update revalidate option and add useEffect hook in PageDetailsPage component - Set the `revalidate` option to `false` in the `commonSwrOptions` object. - Add an `useEffect` hook that calls the `mutatePageDetails` function with specific options. - Inside the `useEffect` hook, set `revalidate` to `true`, `populateCache` to `true`, and define a rollback function for error handling. - If an error occurs during the rollback, display an error alert message using the `actionCompleteAlert` function. - In the `updatePage` function, ensure that `workspaceSlug`, `projectId`, and `pageId` are all defined before proceeding. * ♻️ refactor: Update code styling for inline code in CoreEditorExtensions In the `packages/editor/core/src/ui/extensions/index.tsx` file, the code for inline code styling in the CoreEditorExtensions component has been updated. Previously, it was set to `false`, but now it is defined as an object with specific HTML attributes. The code styling includes a rounded-md background, custom primary color, margin, padding, font styling, and disabling spellcheck. This change improves the visual appearance and readability of inline code elements in the editor. |
||
---|---|---|
.. | ||
components | ||
constants | ||
contexts | ||
helpers | ||
hooks | ||
layouts | ||
lib | ||
pages | ||
public | ||
services | ||
store | ||
styles | ||
types | ||
.env.example | ||
.eslintrc.js | ||
.prettierignore | ||
.prettierrc | ||
Dockerfile.dev | ||
Dockerfile.web | ||
google.d.ts | ||
manifest.json | ||
next-env.d.ts | ||
next.config.js | ||
package.json | ||
postcss.config.js | ||
sentry.client.config.js | ||
sentry.edge.config.js | ||
sentry.properties | ||
sentry.server.config.js | ||
tailwind.config.js | ||
tsconfig.json |