Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] Acceleration Actions Implementation (#1540)
* Refactor the icon clicks and introduce vacuum to flyout inside icon Signed-off-by: Ryan Liang <[email protected]> * Add vacuum icon for acceleration table Signed-off-by: Ryan Liang <[email protected]> * Add DELETE ui flow for acceleration table only Signed-off-by: Ryan Liang <[email protected]> * Add VACUUM flow to acceleration table only Signed-off-by: Ryan Liang <[email protected]> * Handle skip index naming in overlay Signed-off-by: Ryan Liang <[email protected]> * Refactor the overlay logic a bit in acceleration table class Signed-off-by: Ryan Liang <[email protected]> * Use util function for creating displayIndexName in overlay Signed-off-by: Ryan Liang <[email protected]> * Add delete flow for acceleration table 0 Signed-off-by: Ryan Liang <[email protected]> * Bond refresh logic when delete was successful Signed-off-by: Ryan Liang <[email protected]> * Add vacuum flow for acceleration table Signed-off-by: Ryan Liang <[email protected]> * Rename the class into acceleration operations Signed-off-by: Ryan Liang <[email protected]> * Switch the acc flyout icon into broom Signed-off-by: Ryan Liang <[email protected]> * add vacuum on acc flyout 0 Signed-off-by: Ryan Liang <[email protected]> * Change to closing overlay immediately after clicking confirm Signed-off-by: Ryan Liang <[email protected]> * Add flyout reset and fix the confirm behavior Signed-off-by: Ryan Liang <[email protected]> * add vacuum on acc flyout final Signed-off-by: Ryan Liang <[email protected]> * Add close flyout after the succeed status check Signed-off-by: Ryan Liang <[email protected]> * Add teh refresh in acc flyout and trigger after delete/vacuum Signed-off-by: Ryan Liang <[email protected]> * remove comment Signed-off-by: Ryan Liang <[email protected]> * Mini refactor on load status in operation class Signed-off-by: Ryan Liang <[email protected]> * Fix the mv flow Signed-off-by: Ryan Liang <[email protected]> * Remove the sql definition tab Signed-off-by: Ryan Liang <[email protected]> * Correct the visualization of show refresh interval in flyout Signed-off-by: Ryan Liang <[email protected]> * Update the show time logic with refresh + time zone localization Signed-off-by: Ryan Liang <[email protected]> * Define the behavior of refresh icon in both table and flyout Signed-off-by: Ryan Liang <[email protected]> * Update teh acc table test to fix the build Signed-off-by: Ryan Liang <[email protected]> * Update utils to consume the sync action Signed-off-by: Ryan Liang <[email protected]> * Add sync flow to table behavior but with fail status Signed-off-by: Ryan Liang <[email protected]> * Add sync flow to detail flyout but with fail status Signed-off-by: Ryan Liang <[email protected]> * Add the restriction for only sync active acceleration Signed-off-by: Ryan Liang <[email protected]> * Fix the navigate to datasource link Signed-off-by: Ryan Liang <[email protected]> * Implement the single toast control for each status Signed-off-by: Ryan Liang <[email protected]> * Fix keep pulling after switch rendering Signed-off-by: Ryan Liang <[email protected]> * Fix types Signed-off-by: Ryan Liang <[email protected]> * Remove the sql definition class Signed-off-by: Ryan Liang <[email protected]> * Add basic tests for acceleration overlay Signed-off-by: Ryan Liang <[email protected]> * Add basic tests for acceleration operation Signed-off-by: Ryan Liang <[email protected]> * Remove console log Signed-off-by: Ryan Liang <[email protected]> * Remove refresh icon in utils Signed-off-by: Ryan Liang <[email protected]> * Remove the final status check for sync action Signed-off-by: Ryan Liang <[email protected]> * remove unnecessary check Signed-off-by: Ryan Liang <[email protected]> * remove stable datasource from dependencies array Signed-off-by: Ryan Liang <[email protected]> * Resolve conflicts Signed-off-by: Ryan Liang <[email protected]> * Fix lint Signed-off-by: Ryan Liang <[email protected]> * Fix type in types Signed-off-by: Ryan Liang <[email protected]> * Finalize the name for skipping index Signed-off-by: Ryan Liang <[email protected]> * Refactor testing constants Signed-off-by: Ryan Liang <[email protected]> * Upadate the class prop to remove unused index name Signed-off-by: Ryan Liang <[email protected]> --------- Signed-off-by: Ryan Liang <[email protected]> (cherry picked from commit 376fde4) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information