Commit Graph

316 Commits (feat/volumes-spec)

Author SHA1 Message Date
Samuel Rowe f3d56386a5 feat: updated to report error with path
* Fixed incorrect traversal of `errors` object.
 * Updated to render JSX in toast instead of string.
 * Renamed `forms.ts` to `forms.tsx`.
3 years ago
Samuel Rowe fc05b03466 feat: updated `toaster` utility to accept JSX 3 years ago
corpulent 9226684e3b fix: grid updates on other fields, reportErrorsAndSubmit fixes 3 years ago
corpulent a7f69c86e1 fix: initial grid improvements 3 years ago
corpulent b44975aecc fix: minor depends_on bug, readme update 3 years ago
corpulent 0e4f9250d4 feat: github auth 3 years ago
corpulent 9444282fa0 fix: update jsplumb instance
update jsplumb instance on removed connections through forms
3 years ago
corpulent 67a599be95 fix: update depends_on through canvas interaction 3 years ago
corpulent 49fbbc7ca6 fix: on save errors 3 years ago
corpulent ac56dd17b7 fix: userflow improvements 3 years ago
corpulent 6d65534752 fix: layout fixes 3 years ago
corpulent fbf14362f8 fix: branding 3 years ago
corpulent d5f8987e1c fix: random form fixes 3 years ago
corpulent e4c457faaa feat: backend additions for yaml importing 3 years ago
corpulent f37c271581 feat: yaml importing 3 years ago
corpulent ba0eac4c5c feat: basic service forms 3 years ago
corpulent fa23834235 feat: add network and depends_on fields 3 years ago
corpulent 7e8d1a4660 fix: network form reset 3 years ago
Samuel Rowe bf26ee6fc1 feat(frontend): added fields for update config 3 years ago
Samuel Rowe d26f86ce35 feat(frontend): updated form utilities to support `updateConfig` object in service 3 years ago
Samuel Rowe 213c17bf03 feat(frontend): added `updateConfig` to `IEditServiceForm` interface 3 years ago
Samuel Rowe bf7647a5a2 feat(frontend): added fields for rollback config 3 years ago
Samuel Rowe 7c1256a75d feat(frontend): updated form utilities to support `rollbackConfig` object in service 3 years ago
Samuel Rowe 663a1f82e3 feat(frontend): added `rollbackConfig` to `IEditServiceForm` interface 3 years ago
corpulent 7c977eec91 fix: always show version 3 years ago
corpulent 9aa5cc97cf fix: yup error a list of objects 3 years ago
corpulent babfb5c450 fix: set prod server url 3 years ago
Samuel Rowe 9ff63b47f1 feat(frontend): added scroll view to volume modals 3 years ago
Samuel Rowe 8af5150e1f feat(frontend): added scroll view to service modals 3 years ago
Samuel Rowe 22200bd056 feat(frontend): added scroll view to network modals 3 years ago
Samuel Rowe 2f694a7f77 feat(frontend): created `ScrollView` component 3 years ago
Samuel Rowe 3a19164701 feat(frontend): updated to mark `labels[i].value` as optional in network modals 3 years ago
Samuel Rowe d62e548c6f feat(frontend): updated to mark fields as required in network modals 3 years ago
Samuel Rowe 2adeaaddc4 feat(frontend): updated to show toasts in edit volume modal 3 years ago
Samuel Rowe df6d694459 feat(frontend): updated to show toasts in create volume modal 3 years ago
Samuel Rowe 59dffcdd22 feat(frontend): updated to show error toasts for edit network modal 3 years ago
Samuel Rowe 1672bb9210 feat(frontend): updated to show error toasts for create network modal 3 years ago
Samuel Rowe bb9baa6bb0 feat(frontend): updated to show success toasts for create/edit network modals 3 years ago
Samuel Rowe b269fb7e99 feat(frontend): updated to show toasts in edit service modal 3 years ago
Samuel Rowe 3bdf4d3631 feat(frontend): updated to show toasts in create service modal 3 years ago
Samuel Rowe 8981385bec feat(frontend): created `reportErrorsAndSubmit` util function 3 years ago
Samuel Rowe 30fd745c54 fix(frontend): fixed incorrect `newValue` prop for environment form 3 years ago
Samuel Rowe 3e3400d8e0 refactor(frontend): updated service form utils to use `pack*As*` utils 3 years ago
Samuel Rowe 6a61cb135a fix(frontend): fixed incorrect serializing of `build.placement.constraints` and `build.placement.preferences` 3 years ago
Samuel Rowe 4a9738c4b3 feat(frontend): created `packArrayAsStrings` and `packArrayAsObject` utilities 3 years ago
Samuel Rowe 491fea3dce fix(frontend): fixed incorrect serializing of `build.args` and `build.labels` 3 years ago
Samuel Rowe 2cd56ede9a feat(frontend): updated `getFinalValues` to encode `environment` as object 3 years ago
Samuel Rowe 94ea9f71e6 fix(frontend): fixed incorrect usage of `labels` instead of `deploy.labels` in `getFinalValues` 3 years ago
Samuel Rowe c84c91dc20 feat(frontend): added another defensive error `Records` component 3 years ago
Samuel Rowe 73a137bae2 fix(frontend): fixed incorrect logic for extracting arrays/objects in forms 3 years ago
Samuel Rowe a0e400fb4b feat(frontend): updated `getFinalValues` to prune `deploy` object 3 years ago
Samuel Rowe 029cf06c79 feat(frontend): created `pruneNumber` utility function 3 years ago
Samuel Rowe fb4d93d0b4 feat(frontend): fixed bugs in service form utils 3 years ago
Samuel Rowe fbb0593618 feat(frontend): wrapped `handleCreate` in `useCallback` 3 years ago
Samuel Rowe edc01f261b refactor(frontend): remove duplicate `className`implementations 3 years ago
Samuel Rowe 2f727f5bc7 feat(frontend): temporarily made `context` attribute optional service modals 3 years ago
Samuel Rowe 76d4773ff4 feat(frontend): updated to environment in both short and long form for top-level service objects 3 years ago
Samuel Rowe 4c180a8760 feat(frontend): updated to labels in both short and long form for top-level service objects 3 years ago
Samuel Rowe 3117cc2eb9 feat(frontend): added deploy tab to service modals 3 years ago
Samuel Rowe c77ecf29e0 feat(frontend): updated form utilities to support `deploy` object in service modal 3 years ago
Samuel Rowe a65d00c7f8 feat(frontend): add `deploy` attribute to `IEditServiceForm` interface
* Updatd `IService` to make all the attributes in `deploy` optional.
   This change ensures that `IService.deploy` adheres to the specification.
3 years ago
Samuel Rowe 0d76bed1c9 feat(frontend): created `Deploy` component 3 years ago
Samuel Rowe b30ab1ec7f feat(frontend): updated accordion title styling 3 years ago
Samuel Rowe ba96207fb4 refactor(frontend): renamed `IPam` to `IPAM` 3 years ago
Samuel Rowe d4fe50b466 feat(frontend): moved labels form to general tab in networks modal 3 years ago
Samuel Rowe f5c58d247e feat(frontend): updated empty top-level networks label 3 years ago
Samuel Rowe 9bf8980fd7 feat(frontend): moved labels form to general tab in volumes modal 3 years ago
Samuel Rowe 4f759ff3a8 feat(frontend): moved environment form to its own tab 3 years ago
Samuel Rowe 275377e103 feat(frontend): created `Environment` component 3 years ago
Samuel Rowe f9c4d320c4 feat(frontend): moved ports records below container name field in service modal 3 years ago
Samuel Rowe 60301da07b refactor(frontend): updated labels in volumes modal to use `Records` component 3 years ago
Samuel Rowe dca8baf40e feat(frontend): updated to make labels uncollapsible in networks modal 3 years ago
Samuel Rowe 85cdc846e2 feat(frontend): added `collapsible` prop to `Records` component 3 years ago
Samuel Rowe 927757db29 feat(frontend): removed label for protocol toggle group 3 years ago
Samuel Rowe 737293517e feat(frontend): made label optional for toggle groups 3 years ago
Samuel Rowe 30eada6938 feat(frontend): removed fixed modal dimensions
The dimensions were rolled back because the modal will eventually
implement a grid wrap for each form row. Besides, there are plans
to not use modals in the future, instead, use another emerging
design pattern.

The forms rows need to be in a uniform grid. The idea is to implement
the grid on all tabs and it will force the modal into a uniform width,
instead of doing manual hacks. This will also fix responsiveness because
right now all responsive stuff implemented is broken.
3 years ago
Samuel Rowe 7b76da1254 feat(frontend): updated general form of service modal to open ports records by default 3 years ago
Samuel Rowe c62dec1dc6 feat(frontend): updated IPAM form to open aux addresses records by default 3 years ago
Samuel Rowe bcf614c535 feat(frontend): updated `Records` to use `useAccordionState`
* Added `defaultOpen` prop.
3 years ago
Samuel Rowe 2530034b3d feat(frontend): updated `Accordion` to use `useAccordionState`
* Added `id` and `defaultOpen` props.
3 years ago
Samuel Rowe 0f4c60e791 feat(frontend): created `useAccordionState` hook 3 years ago
Samuel Rowe e29b4595c2 refactor(frontend): moved `tabs` constant to form utils 3 years ago
Samuel Rowe 8cdab9c727 feat(frontend): renamed volumes tab as data tab
* Moved environment records to data tab.
3 years ago
Samuel Rowe b649b142ac feat(frontend): moved labels form to general tab 3 years ago
Samuel Rowe 72302c68da feat(frontend): moved environment form to general tab 3 years ago
Samuel Rowe fafe71caaa feat(frontend): removed `referred` prop from `Records` component 3 years ago
Samuel Rowe aee2e07d84 feat(frontend): added build tab to create service modal 3 years ago
Samuel Rowe 06a7158db9 feat(frontend): created `Build` component 3 years ago
Samuel Rowe bc1de05d7f feat(frontend): added label to toggle button group 3 years ago
Samuel Rowe 4859d14422 feat(frontend): fixed height for create service modal 3 years ago
Samuel Rowe 7261903ece feat(frontend): extended service form utilities to support `build` attribute 3 years ago
Samuel Rowe ec6be9e431 feat(frontend): created utilities for serializing and deserializing form states 3 years ago
Samuel Rowe 7a635229ac feat(frontend): updated labels in general form of service modal 3 years ago
Samuel Rowe 24d8adb5f8 feat(frontend): added `build` attribute to `IEditServiceForm` interface
* Updated `build` attribute in `IService` interface to adhere to the specification.
3 years ago
Samuel Rowe e6538a6368 feat(frontend): created `Accordion` component 3 years ago
Samuel Rowe 064123c013 feat(frontend): updated `Records` to be collapsible 3 years ago
Samuel Rowe 968c1ac9bc feat(frontend): updated `Records` to throw error when items is falsy
* This is very useful for debugging issues with forms.
3 years ago
Samuel Rowe 22c9ca3f6e feat(frontend): added `profiles` to `IEditServiceForm` interface
* Marked `profiles` as optional in `IService` interface.
3 years ago
Samuel Rowe 0424141b0d feat(frontend): added `profiles` to form utils for service 3 years ago
Samuel Rowe 12515372e8 fix(frontend): prevented `empty` prop from being forwarded 3 years ago