Commit Graph

26 Commits

Author SHA1 Message Date
Saranya Jena 673a368454
Analytics graphs (#2892)
* Added radial chart in analytics

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* Added backend API for schedule stats

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* Prepended result and rounded of values for monthly data

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* Added documentation, filtering for weekly and hourly workflow schedule data

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* Graph WIP, query added, data format typed and formatting fixed

Signed-off-by: Vansh Bhatia <vansh@chaosnative.com>

* Added frontend integration for schedule stats graph

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* Backend - Schedule stats bug fixed and Run stats included in the same query

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* Added frontend integration for run stats graph

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* resolved merge conflicts

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* fixed the import error in backend

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* deleted unused file

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* Changed the variables' names

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* Added interfaces from litmus-ui

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

Co-authored-by: Vansh Bhatia <vansh@chaosnative.com>
Co-authored-by: arkajyotiMukherjee <arko@chaosnative.com>
2021-06-14 23:02:00 +05:30
Ishan Gupta 3ef78a10e3
(analytics): Frontend updates for Application dashboard and data source CRUD v2 (#2890)
* Updating frontend for analytics/monitoring app. dashboard CRUD-v2
* removing dev setup changes, updated dashboard links and added portal-dashboards.
* Fixing deep-scan issues.
* Minor fix
* fix package-lock
* fixing package-lock using lts of node & npm via nvm

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
2021-06-14 14:23:58 +05:30
Vansh Bhatia a5aef8c798
Overview tab(Analytics) v2 (#2887)
* Overview Tab analytics, Header + sidebar UI updates

Signed-off-by: Vansh Bhatia <vansh@chaosnative.com>
2021-06-14 11:25:23 +05:30
Sarthak Jain ac00e474f3
List workflow optimization (#2882)
* Optimized ListWorkflow query in backend and frontend along with minor style changes

Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>

* generated go.sum

Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>

* Added filter to filter out removed workflows

Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>

* Added condition to check empty workflows

Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>
2021-06-11 13:42:12 +05:30
Amit Kumar Das 0a7e623356
chore(litmus-portal): Added sync and terminate workflow feature and minor ux fixes (#2878)
* Added sync and terminate workflow and checks for upload manifest

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* Fixed the delete schedule/workflow mutation

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* Added minor UX fixes

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* Minor styles fix

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-06-10 23:23:05 +05:30
Arkajyoti Mukherjee aa5fe68456
Enhancement: Moving pagination, sorting and filtering of workflow runs table to the backend (#2829)
* added pagination for QueryWorkflowRuns

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* filtering workflowRuns based on workflowRunIDs

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* changed the API for getWorkflowRuns in frontend

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* added pagination for frontend and refactored code to accomodate the changes

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* Added Sorting and Filtering

Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>

* sorting added from backend api call

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* filtering removed from frontend and used backend APIs to filter data

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* typed execution data in backend and sent common metadata from execution data in workflowruns hence reducing the data size in frontend; sorting based on workflowrun phase done in backend

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* changing resiliency score to null in case of running workflows

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* WIP: filtering and sorting done, pagination remaining

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* pagination completed in database

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* reverted ID -> String changes

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* changed the sortStage

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* Added condition to check no workflows

Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>

* Pagination bug fix (#1)

* bug fix trails #1

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* reverting local dev changes

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* fixed the workflow subscription bugs...EVERYTHING FINALLY WORKS

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* removed comments from config

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* resolved review comments: translations, formatting and removing binary file

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* fixed some bugs and added Execution data to types.go

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* go fmt project

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

Co-authored-by: SarthakJain26 <sarthak@chaosnative.com>
2021-06-07 11:05:45 +05:30
Amit Kumar Das fcdfecf8a1
chore(litmus-portal): Added pre-defined workflows in myhub and minor bug fix (#2837)
* Added pre-defined experiments in myhub and bug fix
* Minor change in query name

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-05-27 11:21:20 +05:30
Amit Kumar Das 26d5bbb3c3
type(bug-fix): Added kubeobj fix for namespace mode, agent-config fix and isCustomworkflow field for template (#2832)
* Added kubeobj fix for namespace mode, agent-config fix and isCustomworkflow field
* Added authorization for api

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-05-26 14:28:42 +05:30
Amit Kumar Das 74113278bd
Added pre-defined experiment from default chaos hub and workflow_name label in chaos engine (#2791)
* Addpre-defined experiments from default chaos hub and workflow name label
* Minor change

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-05-13 14:55:08 +05:30
Ishan Gupta bb6772d604
(Portal - Analytics/Monitoring): Removing data mapping and filtering, adding new typed queries & fixing minor style issues (#2787)
* removed chaos selection table, mongoDB and prometheus data mapping from frontend and interleaving for chaos events.
* minor fix
* updates
* adding seriesList API
* Removed unused variable.
* schema update
* minor updates for styles
* normalised schema
* Updates after review.
* minor fixes

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
2021-05-13 12:47:44 +05:30
Amit Kumar Das ba744c5139
chore(litmus-portal): Added image registry frontend integration (#2786)
* Added image registry frontend integration
* Added constants
* Added network-policy
* Minor translatin fix
* Minor changes

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-05-13 10:43:59 +05:30
Amit Kumar Das fad3a04e60
chore(litmus-portal): Added subject and context fields while workflow creation and fixed some minor bugs (#2747)
* Added subject and context while workflow creation and minor bug fixes

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* Fixed deepscan issue and minor changes

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* Minor fix

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* Minor style fix

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-04-28 11:55:59 +05:30
Vansh Bhatia 1ef73b53e3
New Home Pages & App Layout changes (#2687)
* New Home pages WIP

Signed-off-by: Vansh Bhatia <vansh@chaosnative.com>

* New app layout updated

Signed-off-by: Vansh Bhatia <vansh@chaosnative.com>

* All components added, fixed file names, deleted unused code,new home pages stable + backend data integration for components

Signed-off-by: Vansh Bhatia <vansh@chaosnative.com>

* New home pages + API integration

Signed-off-by: Vansh Bhatia <vansh@chaosnative.com>

* Fixed DeepScan Issue

Signed-off-by: Vansh Bhatia <vansh@chaosnative.com>

Co-authored-by: Saranya-jena <saranya@chaosnative.com>
2021-04-12 20:38:19 +05:30
Amit Kumar Das f2f0e2a2de
chore(litmus-portal): Added save template functionality, delete template and minor fixes (#2680)
* Added save template functionality in frontend 💾
* Minor alert and translation fix
* Fixed stepper labels issue
* minor fix
* minor translation fix

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-04-12 12:48:33 +05:30
Saranya Jena 6d8ee05b14
Added modal(ui) for save template, litmusManifestTemplate query (#2671)
Signed-off-by: Saranya-jena <saranya@chaosnative.com>
2021-04-11 13:56:50 +05:30
Ishan Gupta d5173bf1c1
(litmus-portal): Graph pop out mode, state-less prometheus queries for chaos events, mongoDB resync updates removed, optimization of analytics code for monitoring, reducing heap-size usage, time range / refresh rate selection and chaos metrics on graphs with selection module. (#2593)
* Added clean up feature for disabled workflow events.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* temp-no-push

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* optimizations and state-less chaos events

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* Updating prometheus query sync logic

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* expand button working

Signed-off-by: Ritik Srivastava <ritik.srivastava@mayadata.io>

* styling for grids

Signed-off-by: Ritik Srivastava <ritik.srivastava@mayadata.io>

* translations added for tooltip

Signed-off-by: Ritik Srivastava <ritik.srivastava@mayadata.io>

* config reset

Signed-off-by: Ritik Srivastava <ritik.srivastava@mayadata.io>

* Adding refresh rate selector and basic time range selector with some state management fixes.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* minor fix

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* styling fixes for card background in dashboard graphs

Signed-off-by: Ritik Srivastava <ritik.srivastava@mayadata.io>

* reset config

Signed-off-by: Ritik Srivastava <ritik.srivastava@mayadata.io>

* Adding initial event mapping with refresh rate and time range selection fixes.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* minor fix

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* added filtering for chaos metrics.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* minor fixes

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* minor fix

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* enabled real time updates.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* minor fix

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* minor fix

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* fixes

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* Fixes for events.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* linting fixes.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* minor fix.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* minor fix.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* minor fix.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* fixes

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* minor fix

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* color fixes.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* reverting to old package lock file.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* fixes after review.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* adding constants also removed uneccesary style classes.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* divided index into modules for the page.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* fixes after review.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* moving component overrides to tsx files from styles.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* minor NaN% fix.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* removed an unused variable.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* fix after review.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

Co-authored-by: Ritik Srivastava <ritik.srivastava@mayadata.io>
2021-04-06 13:35:07 +00:00
Sayan Mondal 95740a6072
chore(litmus-v2): Merge branch Litmus v2 to master (#2619)
* Upgraded to Litmus-UI

* Upgraded to Litmus-UI

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* Added select agents screen (#2453)

* Added select agents screen
* Minor fix

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* chore(litmus-portal): Added predefined template screens and workflow settings modal (#2455)

* Added predefined template screens and workflow settings modal
* Fixed deepscan issues
* Added experiment image

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* chore(litmus-portal): Switch Buttons to Litmus-ui Buttons (#2456)

* Use litmus-ui ButtonOutlined
* Use litmus-ui ButtonFilled
* Implement requested changes

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>

* Updated Logic for Workflow Settings + Accordions + Added Alerts (#2464)

* Workflow UX Update 1
* Added Alerts

Signed-off-by: Sayan Mondal <sayan.mondal@mayadata.io>

* Added Litmus Stepper and created onNext handler from Child Component

Signed-off-by: Sayan Mondal <sayan.mondal@mayadata.io>

* Added Inital UI Changes for v2 workflow representation screens. (#2475)

* Added Inital UI Changes for workflow Repr. screens.
* Added Logs Modal and restructured the code.
* Resolved Some of the issues.
* Fixed Deepscan issues.

Signed-off-by: Jonsy13 <vedant.shrotria@mayadata.io>

* Added Workflow Settings Details Modification + Navigation (#2502)

* Added Workflow Settings Details Modification + Navigation

Signed-off-by: Sayan Mondal <sayan.mondal@mayadata.io>

* chore(litmus-portal): Add Add Probe modal (#2491)

* Add AddProbe modal
* Add AddProbe translations
* Fix checks
* Make probe inputs dynamic

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>

* Added Myhub option and gql queries to fetch the chaosengine and experiment YAML (#2518)

* Added Myhub option and added queries to fetch the chaosengine and experiment YAML
* Minor changes and added text in translations
* Minor change in myhub query

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* Fix BCH duplication issues (#2525)

* Fix BCH duplication issues

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>

* Optimized Workflow Settings and Tune Workflow (#2524)

* Fixed DeepScan + Added a localforage model + Tune Workflow Update
* Removing Cypress from Frontend
* Updating litmus-ui to 1.0.2 and removing cypress from tsconfig
* Updating litmus-ui to v1.0.3
* Updated translations for View YAML

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* chore(litmus-portal-v2): Updated the tune workflow table, added vertical stepper and connected the probes modal (#2537)

* Added tune workflow table functionality and connected the probes modal
* Minor CSS fix

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* Added YAML Generation (#2554)

* Added YAML Generation

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* Updated the YAML generation utility (#2559)

* Updated the YAML generation utility

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* Populating Custom Chaos Table

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* Fixed Adding Experiment data to Table Bug 🐛

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* Added Redux state for Manifest only + Fixed Roll back local forage persistance ❤🩹 (#2573)

* Added Redux state for Manifest only + Fixed Roll back local forage persistance ❤🩹
* Resolved comments  
*  Removed === true from isCustom check 

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* Refactored the v2 workflow representation screen (#2565)

* Refactored the v2 workflow changes.
* Made height of modal fixed.
* Changed workflowRun ID to be taken from localforage.
* Made required changes.

Signed-off-by: Jonsy13 <vedant.shrotria@chaosnative.com>

* chore(litmus-portal): Added vertical stepper, logic to add ChaosEngine changes and updated weight slider component (#2577)

* Added vertical stepper and logic to add ChaosEngine changes
* Removed weights from redux state

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* chore(v2): Extracted Experiment details and Fixed workflow preview render 🛠️ (#2584)

*  Experiment details extracted 
* Added custom workflow checker 🔐
* Fixed Rendering 🛠

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* Added probe deletion logic and minor fix (#2591)

* Added probe deletion logic and minor fix

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* chore(litmus-v2): Updated manifest saving logic to save updated ChaosEngine and reflect on Table 🌻 (#2592)

* 📋 Table Saved when rolling back
* Updated code to latest v2 and fixed Predefined workflow table saving
* Removed a redundant useEffect

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* chore(litmus-portal): Integrated the Probes modal and updated the vertical stepper (#2610)

* Added probes integration with the manifest
* Added probe properties popover and minor fix
* Minor fix

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* chore(Dagre Graph): Added Basic Workflow Preview and install-experiment steps for Predefined Workflows 🖼️ (#2611)

* 😻 Added Workflow Preview
* 😻 Added install-experiment steps and Styled Workflow Preview
* Adding Basic Workflow Preview
* Updated to latest litmus-v2 and renamed variable

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* chore(v2): Added Workflow Scheduling and UI Fixes 📆 (#2618)

* Schedule and Verify basic
* Added basic scheduling 🥳
* 🤩 Modified v2 UI pages 🤩

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* Updated package-lock and removed is-path-inside

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

Co-authored-by: Amit Kumar Das <40661238+amityt@users.noreply.github.com>
Co-authored-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Co-authored-by: VEDANT SHROTRIA <40681425+Jonsy13@users.noreply.github.com>
Co-authored-by: Amit Kumar Das <amitkumar.das@mayadata.io>
2021-03-31 17:27:51 +05:30
Vansh Bhatia bb1cc78596
Url switching (#2582)
* WIP-1 URL alpha-preview

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* added project url

Signed-off-by: Saranya-jena <saranya.jena@mayadata.io>

* minor change

Signed-off-by: Saranya-jena <saranya.jena@mayadata.io>

* Removed header, added App.tsx routing, removed redux userData dependency debt, refactored GQL queries

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* Stable commit, added queryParams in URL, Home page up

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* Stable commit v2, all pages fetch projectID from URL

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* Stable commit v2.1, added missing fetches for projectID from URL

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* Stable commit v3, pages fetch for projectRole from URL

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* URL changes completed, linter warnings fixed, header WIP

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* Fixed app root layout, added scrollbar, added sidebar animations, header UI WIP-> dropdown added

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* Header UI complete, added Loader for project Dropdown, profile dowpdown and logout functionalities added, refactored userAvatar -> userInitials and added documentation

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* Project URL switching completed, added most intermediate routes, fixed modal bug

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* minor link update

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* updated role passing in targets, fixed sidebar highlighting, breadcrumbs styles

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* merged master into urlSwitching, fixed breadcrumb logic, removed redux dependency from analytics

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* merged master into urlSwitching, fixed breadcrumb logic, removed redux dependency from analytics

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* fixed project updation issue; added types to jwt object

Signed-off-by: arkajyotiMukherjee <arkajyoti.mukherjee@mayadata.io>

* New header designs implemented, fixed app color, removed hardcoded hex values, added translations

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* Removed App-styles.ts, added search params in analytics, removed hardcoded hex values

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* Fixed UI for edit user section on settings page

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* fix for image paths in header

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* Added translations

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

* Minor fix

Signed-off-by: Vansh Bhatia <vansh.bhatia@mayadata.io>

Co-authored-by: Saranya-jena <saranya.jena@mayadata.io>
Co-authored-by: arkajyotiMukherjee <arkajyoti.mukherjee@mayadata.io>
2021-03-22 13:15:08 +05:30
Arkajyoti Mukherjee eb5559a45a
Change the method of connection to a cluster agent using litmusctl (#2544)
* Change the method of connection to a cluster agent using litmusctl and refactored the code for targets page

Signed-off-by: arkajyotiMukherjee <arkajyoti.mukherjee@mayadata.io>

* Added React.FC type to target component and used history API instead of window

Signed-off-by: arkajyotiMukherjee <arkajyoti.mukherjee@mayadata.io>

* implemented review changes

Signed-off-by: arkajyotiMukherjee <arkajyoti.mukherjee@mayadata.io>
2021-03-15 18:01:19 +05:30
Ishan Gupta ca67015ada
(litmus-portal) feat.- Analytics frontend updates and monitoring for v2 (#2499)
* Analytics frontend initial commit

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* npm install fix

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* linting fixes

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* updated to analytics-frontend

Signed-off-by: Ritik Srivastava <ritik.srivastava@mayadata.io>

* fixing deepscan issues

Signed-off-by: Ritik Srivastava <ritik.srivastava@mayadata.io>

* pannelContent updated, also styling fix for overviewTab tables

Signed-off-by: Ritik Srivastava <ritik.srivastava@mayadata.io>

* colour fixes

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* iconButton removed from overview tables

Signed-off-by: Ritik Srivastava <ritik.srivastava@mayadata.io>

* reset config file

Signed-off-by: Ritik Srivastava <ritik.srivastava@mayadata.io>

* part-1 of fixing deepScan issues

Signed-off-by: Ritik Srivastava <ritik.srivastava@mayadata.io>

* part-2 of fixing deepScan issues

Signed-off-by: Ritik Srivastava <ritik.srivastava@mayadata.io>

* reset config file

Signed-off-by: Ritik Srivastava <ritik.srivastava@mayadata.io>

* part2 fixing deepScan

Signed-off-by: Ritik Srivastava <ritik.srivastava@mayadata.io>

* fixing pannel length logic

Signed-off-by: Ritik Srivastava <ritik.srivastava@mayadata.io>

* bug fixes

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* minor fix

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

Co-authored-by: Ritik Srivastava <ritik.srivastava@mayadata.io>
2021-03-05 16:16:49 +05:30
Saranya Jena 7556baf628
Added frontend integration for teaming (#8)
Signed-off-by: Saranya-jena <saranya.jena@mayadata.io>
2021-03-02 22:43:10 +05:30
OUM NIVRATHI KALE 471654357d
targets table bug fixes (#2486)
Signed-off-by: oumkale <oum.kale@mayadata.io>
2021-03-02 17:51:30 +05:30
Amit Kumar Das 3f7eb3eaaf
Integrated Enable/Disable GitOps functionality in frontend (#2466)
Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>
2021-02-24 23:22:16 +05:30
Amit Kumar Das 9d7b1e4045
Added private hub icons and minor fix (#2421)
* Added private hub icons and minor fix
* Fixed deepscan issue

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>
2021-01-28 16:44:20 +05:30
Amit Kumar Das d03c09168b
chore(litmus-portal: frontend): Added private hub support and crud operation in myhub (#2402)
* Added private hub support and crud operation in myhub

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* Minor fixes

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>

* Fixed deepscan issue

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>
2021-01-28 14:29:24 +05:30
Sayan Mondal 7137a69fc7
Polishing UI, Adding Delete Schedule Modal + Disable Back button on Editing a Schedule + Minor UI Bug Fixes (#2398)
* Adding Edit Schedule Feature
* Polishing UI, Adding Delete Schedule Modal + Disable Back button on edit schedule
* Minor UI bug fixes

Signed-off-by: Sayan Mondal <sayan.mondal@mayadata.io>
2021-01-13 11:40:00 +05:30