Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert to legacy discover table and add toggle to new discover table (o…
…pensearch-project#5789) * basic table working Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * basic styling Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * fix header column style Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * correctly display optional col header actions Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * move col to the right or left if applicable Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * add cell filter for and filter out buttons Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * add cell action on doc table, half working on toggle columns Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * sorting Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * Add toggling between legacy and new table According to opensearch-project#5739, add toggle using storage. Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * get rid of the console log Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * optimize cell filter logics Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * add more refactoring Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * remove an used line Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * some more table cell optimization Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * Initial UI fixes (opensearch-project#5758) Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * Table optimization with lazy loading (opensearch-project#5760) Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * [Discover with Legacy Table] fix copy issue and open feedbacks in a new tab (opensearch-project#5761) * add a colon (:) after the key * ensure there's a space between each key-value pair * allow feedback url to open in a new tab Signed-off-by: Anan Z <ananzh@amazon.com> * [Discover] Fix more UI (opensearch-project#5764) Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * [Discover] Fixes table optimization (opensearch-project#5763) * [Discover] Fixes table optimization Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * improved loader Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> --------- Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * Change sort icon according to current sort conditions (opensearch-project#5772) Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * fix breadcrumb navigation (opensearch-project#5773) Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * Add pagination to discover embeddable (opensearch-project#5770) * Add pagination Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * fix an errir Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * small change Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * fix errors Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> --------- Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * [Discover] Prevent wrapping of time series cells (opensearch-project#5779) Signed-off-by: Miki <miki@amazon.com> * Vertically align the text in QueryStringInputUI with other elements on the page (opensearch-project#5780) Signed-off-by: Miki <miki@amazon.com> * Use `ouiCodeFont` in Discover and reduce text size (opensearch-project#5783) Also: * Fix react `key` errors * vertically align source cells * Clamp the height of the cells * Make sure time-series column never grows Signed-off-by: Miki <miki@amazon.com> * [Discover] Display filter buttons at top right of the cell (opensearch-project#5784) Signed-off-by: Miki <miki@amazon.com> * [Discover] Vertically align the details toggle button (opensearch-project#5785) Signed-off-by: Miki <miki@amazon.com> * [Discover] Fix overflow of the expanded document (opensearch-project#5788) * Fix vertical alignment of expand details button Fix colspan of details cells Signed-off-by: Miki <miki@amazon.com> * Fix overflow problem of detailed doc Signed-off-by: Miki <miki@amazon.com> --------- Signed-off-by: Miki <miki@amazon.com> * update feedback msg (opensearch-project#5787) Signed-off-by: Anan Z <ananzh@amazon.com> * Resolve sort, default sort and short dot (opensearch-project#5771) Signed-off-by: Anan Z <ananzh@amazon.com> Signed-off-by: Anan Zhuang <ananzh@amazon.com> * [Discover] Fixes pagination style (opensearch-project#5778) * fixes pagination style Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * style-lint fix Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * fix react warning for unnecessary prop Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * Show total hit count and pass services in embeddable Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * removed unnecessary div Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> --------- Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> Signed-off-by: Anan Zhuang <ananzh@amazon.com> Co-authored-by: Anan Zhuang <ananzh@amazon.com> * add changelog Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * fix table column error Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * Fix pagination edge case Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * Routing for surrounding doc link should work without a question mark appending to the end (opensearch-project#5776) * routing for surrounding doc should work without ? Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * change path to not include appstate Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * delete optional app state for single doc link too Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> --------- Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * type fixes (opensearch-project#5795) Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * Update toggle to button (opensearch-project#5808) Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * Adds support for line count (opensearch-project#5814) Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * Add swith to datagrid table and fix ciGroup1 (opensearch-project#5816) * add swith to datagrid table and fix ciGroup1 Signed-off-by: Anan <ananzh@amazon.com> * fix ciGroup7 Signed-off-by: Anan Z <ananzh@amazon.com> * fix ciGroup6 Signed-off-by: Anan Z <ananzh@amazon.com> --------- Signed-off-by: Anan <ananzh@amazon.com> Signed-off-by: Anan Z <ananzh@amazon.com> * add missing snapshot (opensearch-project#5818) Signed-off-by: Anan Z <ananzh@amazon.com> * fix pluign ftr tests (opensearch-project#5821) Signed-off-by: Anan Z <ananzh@amazon.com> * update snapshot (opensearch-project#5824) Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * Fix functional 3 and 4 for discover legacy (opensearch-project#5822) * fix 3 and 4 Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * fix functional 3 and 4 Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * dashboard expect Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> --------- Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * Solve cigroup 7 flakiness (opensearch-project#5826) * test hover Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * comment out other ci to speed up Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * uncomment Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> --------- Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> * [Discover] Simplify feedback modal (opensearch-project#5837) * Simplify feedback modal Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * renames datagrid settng to newDiscover setting Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * removes sub module from branch Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> --------- Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * Persist line height (opensearch-project#5836) Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * Update table revert changelog (opensearch-project#5835) * Update table revert changelog updates changelog <!-- List any issues this PR will resolve. Prefix the issue with the keyword closes, fixes, fix --> <!-- Example: closes opensearch-project#1234 or fixes <Issue_URL> --> <!-- Attach any relevant screenshots. Any change to the UI requires an attached screenshot in the PR Description --> <!-- Please provide detailed steps for validating your changes. This could involve specific commands to run, pages to visit, scenarios to try or any other information that would help reviewers verify the functionality of your change --> - [ ] All tests pass - [ ] `yarn test:jest` - [ ] `yarn test:jest_integration` - [ ] New functionality includes testing. - [ ] New functionality has been documented. - [ ] Update [CHANGELOG.md](./../CHANGELOG.md) - [ ] Commits are signed per the DCO using --signoff * revert dependency change Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * nit Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * update changelog Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> --------- Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> * fix table height persist on context page Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> --------- Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com> Signed-off-by: Ashwin P Chandran <ashwinpc@amazon.com> Signed-off-by: Anan Z <ananzh@amazon.com> Signed-off-by: Miki <miki@amazon.com> Signed-off-by: Anan Zhuang <ananzh@amazon.com> Signed-off-by: Anan <ananzh@amazon.com> Co-authored-by: Ashwin P Chandran <ashwinpc@amazon.com> Co-authored-by: Anan Zhuang <ananzh@amazon.com> Co-authored-by: Miki <miki@amazon.com> Co-authored-by: Ganesh0107 <ganesh.gopal@freshworks.com>
- Loading branch information