-
Notifications
You must be signed in to change notification settings - Fork 3
add: plug script #224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add: plug script #224
Conversation
Published docs preview URL: https://devrev-preview-256af9b4-4a02-4719-b462-d04ded2d307d.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-67a0d454-2983-4221-8191-ac9a61e323c5.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-d858d899-59e7-4741-87ce-f375fbe233f5.docs.buildwithfern.com |
…d data - Changed the app ID assignment in the Plug SDK initialization to retrieve the ID from the fetched data instead of using an environment variable. - Updated the `getPageData` function to include the `plug` object containing the ID fetched from the Sanity database.
Published docs preview URL: https://devrev-preview-ec14afe9-bf06-4cdd-9136-06058269cc82.docs.buildwithfern.com |
- Introduced a new `Search` component to facilitate search functionality. - Integrated the `Search` component into the main application, replacing the existing search button with the new component. - Ensured the search button is rendered only if certain conditions are met, enhancing the application's dynamic behavior.
Published docs preview URL: https://devrev-preview-879fbc0b-0606-468e-8099-b54e02b0a631.docs.buildwithfern.com |
- Commented out the initialization code for the `ThemeSwitch` and `search-component-wrapper` to streamline the rendering process. - This change prepares the code for potential future enhancements without removing the existing structure.
Published docs preview URL: https://devrev-preview-949b2cd0-1d02-455b-af90-16c23bd7719d.docs.buildwithfern.com |
- Removed commented-out code for `theme-switch` initialization and adjusted the rendering logic for the `Search` component. - The `Search` component is now directly appended to the `searchWrapper`, enhancing the structure and clarity of the rendering process.
- Eliminated the unused sidenav code related to the search bar to enhance code clarity and maintainability. - This change contributes to a cleaner rendering process in the main application.
Published docs preview URL: https://devrev-preview-92140dfd-cba3-44c7-b814-6631ae6ee386.docs.buildwithfern.com |
- Replaced the search button with the search component by targeting the parent element of the button. - Enhanced the rendering logic to ensure the search component is integrated correctly within the sidebar. - This change improves the clarity and maintainability of the rendering process.
Published docs preview URL: https://devrev-preview-89f4a408-286e-401e-a5d5-498c3aef5a46.docs.buildwithfern.com |
- Commented out the rendering logic for the `Search` component and `ThemeSwitch` to streamline the integration process. - This change maintains the existing structure while preparing for potential future enhancements.
Published docs preview URL: https://devrev-preview-af638685-5929-43fd-98c3-295dd69f278f.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-908457ae-69ca-4d56-ad06-9cb463c4c632.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-b7eaaf74-0f09-4c6c-9859-c164866fe632.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-9e3ce727-1e0d-4dd4-b75c-eb53ed817cbb.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-96c9b055-06bc-4c0b-8ded-9761e9045fea.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-896c816d-3971-40ec-a54d-aa6dfa6985c3.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-01a59178-2648-4ecd-8760-ab7176cf81d5.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-1c6658a8-dcc0-4751-82ed-5d65e9f9ca95.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-392d9a45-a781-4253-816c-0a8f3048e72e.docs.buildwithfern.com |
…tch and search components in main application
Published docs preview URL: https://devrev-preview-669b9ae6-328a-44a4-9d2c-83fc0931f623.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-3cedd810-dbbd-4ea2-9e81-aae8214b4bf8.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-8368ca70-de73-4b45-8cb6-04e11934b47c.docs.buildwithfern.com |
…s in main application
Published docs preview URL: https://devrev-preview-568bfd6b-b9aa-4497-a9f6-ac94ac6ca304.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-bfe558f3-07f8-42ec-938b-0159e502b088.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-ea4c8035-be2f-42cc-8fde-e089eef10156.docs.buildwithfern.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does CMD + K
work ???
did you try searching ???
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM...
work item: https://app.devrev.ai/devrev/works/ISS-154344