plane/web
M. Palanikannan 0a617eec26
🔧 fix: Pages mutation on component mount (#3230)
* 🔧 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.
2023-12-26 16:45:00 +05:30
..
components style: create webhook page to modal (#3223) 2023-12-26 13:28:47 +05:30
constants chore: resolve priority sorting order (#3141) 2023-12-15 17:37:37 +05:30
contexts chore: format all files in monorepo (#3054) 2023-12-10 15:50:45 +05:30
helpers fix: custom theme validation added (#3246) 2023-12-26 13:11:59 +05:30
hooks fix: spreadsheet layout sub-issues property update (#3110) 2023-12-13 23:07:26 +05:30
layouts chore: disable API calls for un-authorized users (#3144) 2023-12-17 00:35:53 +05:30
lib fix: posthog events trigger in staging (#3220) 2023-12-22 14:05:17 +05:30
pages 🔧 fix: Pages mutation on component mount (#3230) 2023-12-26 16:45:00 +05:30
public chore: image file update, icon consistency, bug fixes and code refactor (#3107) 2023-12-13 23:03:54 +05:30
services chore: issue link mobx integration (#3072) 2023-12-11 22:26:29 +05:30
store fix: bug fixes & improvements (#3159) 2023-12-18 14:59:25 +05:30
styles [refactor] Editor code refactoring (#3194) 2023-12-22 18:10:18 +05:30
types chore: workspace roles (#3024) 2023-12-07 19:59:35 +05:30
.env.example chore: configurations (#3059) 2023-12-11 14:32:28 +05:30
.eslintrc.js chore: eslint config package fixes (#2165) 2023-09-13 12:06:17 +05:30
.prettierignore chore: format all files in monorepo (#3054) 2023-12-10 15:50:45 +05:30
.prettierrc fix: Implementing mobx, refactoring service layer and rewriting components (#2441) 2023-10-15 23:50:12 +05:30
Dockerfile.dev fix: environment file missing for space (#3105) 2023-12-14 16:18:02 +05:30
Dockerfile.web [chore] Update setup.sh, with removed replacement script & added project-level ENVs (#2115) 2023-09-13 20:21:02 +05:30
google.d.ts New Directory Setup (#2065) 2023-09-03 18:50:30 +05:30
manifest.json New Directory Setup (#2065) 2023-09-03 18:50:30 +05:30
next-env.d.ts New Directory Setup (#2065) 2023-09-03 18:50:30 +05:30
next.config.js fix: adding additional headers to restrict iframe 2023-12-20 13:49:17 +05:30
package.json fix: upgrading lucide react dependency (#3057) 2023-12-10 17:54:36 +05:30
postcss.config.js feat: Editor Core Packaging and Restructuring (#2358) 2023-10-13 12:05:49 +05:30
sentry.client.config.js New Directory Setup (#2065) 2023-09-03 18:50:30 +05:30
sentry.edge.config.js New Directory Setup (#2065) 2023-09-03 18:50:30 +05:30
sentry.properties New Directory Setup (#2065) 2023-09-03 18:50:30 +05:30
sentry.server.config.js New Directory Setup (#2065) 2023-09-03 18:50:30 +05:30
tailwind.config.js feat: Editor Core Packaging and Restructuring (#2358) 2023-10-13 12:05:49 +05:30
tsconfig.json New Directory Setup (#2065) 2023-09-03 18:50:30 +05:30