PromucFlow_constructor/app/client/cypress/support
akash-codemonk f669954873
chore: update omnibar to work with docusaurus site (#18146)
Fixes #17501 

New index will be used once the algolia keys are updated https://github.com/appsmithorg/keys/pull/10

## Description

- Update algolia index name and keys. 
- Removed [app/client/gitbook-algolia-lambda.js](https://github.com/appsmithorg/appsmith/pull/18146/files#diff-cd4ea8ae515ff25aaad99dc86059b65cc9b67edcde4eb261e1e456497b6957d3). It is being replaced by [website/omnibar-algolia-index.js](https://github.com/appsmithorg/appsmith-docs/pull/564/files#diff-a3f32686fd88fe5556e1dec268d0fa72ddd30a7ca05af48e2d55f1a811acd2c0). 
- Fixes video and list styles of content shown in the omnibar. 
- Videos on docs.appsmith.com are wrapped in a `videoembed` tag so have updated the regex for the same. 
- Image urls also sometimes include algolia highlight tags which makes the url invalid have removed the same 
https://github.com/appsmithorg/appsmith/pull/18146/files#diff-0e7cdbf77157af62f50ece962a8d4e381b2c070c2453123e8a713298f9640e25R126.
- Docusaurus https://docusaurus.io/docs/markdown-features/admonitions have a different syntax have updated the regex to parse the same. https://github.com/appsmithorg/appsmith/pull/18146/files#diff-0e7cdbf77157af62f50ece962a8d4e381b2c070c2453123e8a713298f9640e25R154

TLDR
Make omnibar work with the new docs site.

## How Has This Been Tested?

- Manual

### Test Plan
> Add Testsmith test cases links that relate to this PR

### Issues raised during DP testing
https://github.com/appsmithorg/appsmith/issues/17501#issuecomment-1307043824

## Checklist:
### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or manual QA
- [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2022-11-21 08:25:33 +00:00
..
Objects chore: update omnibar to work with docusaurus site (#18146) 2022-11-21 08:25:33 +00:00
Pages fix: Fix response header issues (#17717) 2022-11-19 19:29:15 +05:30
AdminSettingsCommands.js feat: Introduce admin settings to left bottom pane (#17060) 2022-09-26 19:38:32 +05:30
ApiCommands.js chore: Fixing lint errors in the Cypress code base (#16504) 2022-09-03 23:57:41 +05:30
commands.js feat: [Context Switching]: Change focus target and fix cursor position (#17794) 2022-11-15 11:50:18 +05:30
Constants.js perf: Widget re-rendering refactor (#14485) 2022-08-19 15:40:36 +05:30
dataSourceCommands.js feat: merge GraphQL plugin to release (#16554) 2022-09-09 21:29:47 +05:30
gitSync.js test: Fix flaky git tests (#16675) 2022-09-12 08:59:06 +05:30
index.js test: Script updates for flaky tests (#16631) 2022-09-12 09:48:44 +05:30
queryCommands.js test: Script updates for flaky tests (#16558) 2022-09-07 23:55:55 +05:30
themeCommands.js Automated tests for Postgres Datatype - JSON type (#14796) 2022-07-06 11:24:00 +05:30
timeout.js fix: Text getting clipped for Italic font in Table Widget V1 (#15549) 2022-08-16 11:12:31 +05:30
widgetCommands.js feat: [Context Switching]: Change focus target and fix cursor position (#17794) 2022-11-15 11:50:18 +05:30
WorkspaceCommands.js test: Add cypress tests for leave workspace flow (#17354) 2022-10-13 12:14:39 +00:00