plane/web/pages
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
..
[workspaceSlug] 🔧 fix: Pages mutation on component mount (#3230) 2023-12-26 16:45:00 +05:30
accounts style: email placeholder changed across the platform (#3206) 2023-12-22 18:10:21 +05:30
god-mode chore: format all files in monorepo (#3054) 2023-12-10 15:48:10 +05:30
installations/[provider] chore: format all files in monorepo (#3054) 2023-12-10 15:48:10 +05:30
invitations chore: format all files in monorepo (#3054) 2023-12-10 15:48:10 +05:30
onboarding chore: format all files in monorepo (#3054) 2023-12-10 15:48:10 +05:30
profile fix: overflow issues in the profile settings layout (#3163) 2023-12-17 00:21:03 +05:30
workspace-invitations chore: update get invitation details endpoint (#2902) 2023-12-07 19:59:35 +05:30
_app.tsx [refactor] Editor code refactoring (#3194) 2023-12-22 18:10:18 +05:30
_document.tsx fix: project states fixes (#2731) 2023-11-08 20:31:46 +05:30
_error.tsx chore: format all files in monorepo (#3054) 2023-12-10 15:48:10 +05:30
404.tsx fix: removed unused packages and upgraded to next 14 (#2944) 2023-12-07 19:59:35 +05:30
create-workspace.tsx chore: format all files in monorepo (#3054) 2023-12-10 15:48:10 +05:30
index.tsx fix: implementing layouts using _app.tsx get layout method. (#2620) 2023-11-02 23:57:44 +05:30