Commit Graph

299 Commits (feat/form-modal-nav)

Author SHA1 Message Date
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
Samuel Rowe fb614f644e feat(frontend): updated UI of `Record` component 3 years ago
Samuel Rowe dda2173adf feat(frontend): updated UI of `Records` component
* Removed `modal` prop.
3 years ago
Samuel Rowe 9b2ba72671 refactor(frontend): updated general form of service modal to use `Records` component 3 years ago
Samuel Rowe 555a7b2603
Merge pull request #83 from nuxxapp/fix/visual-fixes
Minor HTML / CSS fixes
3 years ago
corpulent 4e69e06e1a feat: added version select 3 years ago
corpulent da415e7e64 fix: html / css fixes, minor typography 3 years ago
corpulent 0a8510d5c6 fix: retain proper node position on volume and service update 3 years ago
Samuel Rowe d05b19839b feat(frontend): prune `environment` in service forms 3 years ago
Samuel Rowe b6ec438d4f fix(frontend): fixed incorrect loading of labels 3 years ago
Samuel Rowe 0a3da96798 fix(frontend): added missing `position` attribute 3 years ago
Samuel Rowe 0b17569f22 feat(frontend): pruned `labels` attribute in all the modals 3 years ago
Samuel Rowe 49af8559bd fix(frontend): removed any casts in form utils 3 years ago
Samuel Rowe 2791d784c1 feat(frontend): pruned `ipam` attribute 3 years ago
Samuel Rowe 20751b84ef feat(frontend): created `IIPAM` interface 3 years ago
Samuel Rowe 4524ec1302 feat(frontend): removed default value for driver field in IPAM form 3 years ago
Samuel Rowe 36353bd7b3 feat(frontend): updated to prune IPAM object in final value 3 years ago
Samuel Rowe 499a28e4c0 feat(frontend): created `pruneObject` and `pruneArray` utilities 3 years ago
Samuel Rowe a3e958b529 feat(frontend): created `IPAMConfig` interface 3 years ago
Samuel Rowe c6f76fa7f3 fix(frontend): updated to prune empty values from final result in network forms 3 years ago
Samuel Rowe bc89bd860a feat(frontend): updated `INetworkTopLevel` interface
* Made `position` optional in `INodeItem`.
3 years ago
Samuel Rowe 6237bc0773 fix(frontend): fixed incorrect encoding of labels in volume forms 3 years ago
Samuel Rowe 7576d1693b fix(frontend): fixed logic for generating final values for volume forms 3 years ago
Samuel Rowe 666dce3ea0 fix(frontend): fixed incorrect encoding of labels in service forms 3 years ago
Samuel Rowe 0ac83d064f fix(frontend): fixed logic for generating final values for service forms 3 years ago
Artem Golub df0b46ce59
Merge pull request #82 from nuxxapp/feat/title
Update document title
3 years ago
Samuel Rowe 89f030a420 feat: udated title for open project 3 years ago
Samuel Rowe a8607588a1 feat: created `useTitle` hook 3 years ago
Samuel Rowe 376dae3edb feat: updated `index.html` title 3 years ago
corpulent b91d8ff850 fix: retain only the key value on update 3 years ago
corpulent 0bf85bfbae fix: retain key and type values on udpate, remove lodash 3 years ago
Samuel Rowe 3f486ed42c fix(frontend): allow empty strings for protocols 3 years ago
Samuel Rowe 21e1c25262 fix(frontend): fixed missing key warning for toggles 3 years ago
Samuel Rowe d727e2c108 feat(frontend): remove default value for protocol 3 years ago
Samuel Rowe b272078f99 feat(frontend): updated toggles to be optionally empty 3 years ago
Samuel Rowe 5f94c1ec62 refactor(frontend): removed unnecessary utility functions 3 years ago
Samuel Rowe 29ed43ce9f feat(frontend): removed default values such as 'unknown' and 'unnamed' 3 years ago
Samuel Rowe 46d03d809a fix(frontend): fixed logic for generating final values for network forms
* Previously, final values were generated by merging with previous state.
   This caused unexpected overwriting of values. Therefore, we do not merge
   states anymore.
3 years ago
Samuel Rowe 2e2349f6ab feat(frontend): updated submit button UI in edit network modal 3 years ago
Samuel Rowe 70ef1e13a7 feat(frontend): updated submit button UI in create network modal 3 years ago
Samuel Rowe 58aba1da61 feat(frontend): updated spacing in general tab of network modal 3 years ago
Samuel Rowe c06b3fe102 feat(frontend): integrated network list in `ModalNetwork` component
* The empty records component is now rendered when no networks are found.
3 years ago
Samuel Rowe 420ccdd2f3 feat(frontend): removed delete button from `EditNetworkModal` component 3 years ago
Samuel Rowe dcc8b57004 feat(frontend): created `NetworkList` component 3 years ago
Samuel Rowe 3c23e902e9 fix(frontend): fixed `getInitialValues` and `getFinalValues` to work with IPAM and labels correctly 3 years ago
Samuel Rowe 6930cda7bd fix(frontend): fixed incorrect tab identifier in edit network modal 3 years ago
Samuel Rowe 8264d6cac8 feat(frontend): updated management networks modal title 3 years ago
Samuel Rowe 5f3a319c36 feat(frontend): created `EmptyNetworks` component 3 years ago
corpulent 6c59f6e18e fix: creating and updating a network 3 years ago
Samuel Rowe f2be93951f feat(frontend): implemented labels form for network modal 3 years ago
Samuel Rowe cd4ed9b98e feat(frontend): implemented IPAM form 3 years ago
Samuel Rowe cbeea12114 feat(frontend): added new capabilities to `Record` component
* Added `records` type and extended `options` to accept `IRecordProps`.
 * Added `renderLayout`, `renderField`, and `renderRemove` props.
3 years ago
Samuel Rowe f42461cf26 feat(frontend): created `Records` component 3 years ago
Samuel Rowe 2ad70f4485 feat(frontend): updated general form to use updated form shape 3 years ago
Samuel Rowe f754218482 feat(frontend): updated create network modal to use new form shape 3 years ago
Samuel Rowe 76aa3cdd29 feat(frontend): updated network modal title 3 years ago
Samuel Rowe 7e2a2ff845 feat(frontend): created network form utils 3 years ago
Samuel Rowe 241d16c16d feat(frontend): created `IEditNetworkForm` and `INetworkNodeItem` interfaces 3 years ago
Samuel Rowe c00d56e0db feat(frontend): created `classNames` utility 3 years ago
Samuel Rowe 07f56a4211 refactor(frontend): renamed `NetworkEdit` to `EditNetworkModal` 3 years ago
Samuel Rowe e45d3c434f refactor(frontend): renamed `NetworkCreate` to `CreateNetworkModal` 3 years ago
Samuel Rowe 749c25784a refactor(frontend): renamed `Network` to `network` 3 years ago
Samuel Rowe c225f6ae10 refactor(frontend): renamed `Service` to `service` 3 years ago
Samuel Rowe 3aec4b7ff3 feat(frontend): marked entry and volume names as required in volume modal 3 years ago
corpulent 6d200522b2 fix: label and env values are not required 3 years ago
corpulent 0e57f543d0 fix: proper formats non required fields 3 years ago
corpulent 67999285da fix: pass onSubmit to parent component and close create modal on create 3 years ago
corpulent 6ab4f321f7 fix: markup and close volume modal on create 3 years ago
corpulent 976553824a fix: preview block markup fixes 3 years ago
corpulent 0369ae25a7 fix: markup fix for service create modal 3 years ago
corpulent 95e3f77911 fix: temporary fix for mobile pan 3 years ago
corpulent 6d574736e8 fix: autocomplete off 3 years ago
corpulent a9642ccf39 fix: css and markup improvements 3 years ago
corpulent b0945e6543 feat: set volume and service to edit on create 3 years ago
corpulent 5faffc20ee fix: pretty error on missing project 3 years ago
corpulent f9eab533ba fix: proper node position on create 3 years ago
corpulent 675f613c04 fix: send string to generate code 3 years ago
corpulent 7efcccc190 fix: branding 3 years ago
Samuel Rowe eff3e26e66 fix(frontend): fixed missing argument to `getInitialValues` in `EditVolumeModal` 3 years ago
Samuel Rowe 51870c9e5f feat(frontend): updated edit volume modal to use new form state shape 3 years ago
Samuel Rowe efba82a1cb refactor(frontend): moved `tabs` constant to form utils 3 years ago
Samuel Rowe 5ab98f7c8e feat(frontend): updated labels in `ModalServiceEdit` component 3 years ago
Samuel Rowe 21f8d324a9 refactor(frontend): renamed `ModalVolumeEdit` to `EditVolumeModal` 3 years ago
Samuel Rowe b2aff6207a feat(frontend): implemented labels form for volume modals 3 years ago
Samuel Rowe 3f3185aabe feat(frontend): updated general form to work with new form shape
* Added CSS for row gap.
3 years ago
Samuel Rowe a7ee6738c3 feat(frontend): updated `CreateVolumeModal` to work with new form shape 3 years ago
Samuel Rowe 46f7e212b8 feat(frontend): created utilities for volume forms 3 years ago
Samuel Rowe e0a81cbeca feat(frontend): created `IEditVolumeForm` interface 3 years ago
Samuel Rowe 61344ff300 refactor(frontend): moved `checkArray` function to utils module 3 years ago
Samuel Rowe c06f688cf3 refactor(frontend): renamed `ModalVolumeCreate` to `CreateVolumeModal` 3 years ago
Samuel Rowe d68de05dc2 refactor(frontend): renamed `Volume` directory to `volume` 3 years ago
Samuel Rowe 5957758f1f feat(frontend): updated `Record` to render toggles
* The `Record` component now accepts `type` and `options` props.
3 years ago
Samuel Rowe 05fe8059f3 feat(frontend): created `Toggle` component 3 years ago
Samuel Rowe 31336c6f55 feat(frontend): implemented Yup port validation 3 years ago
Samuel Rowe 63b9d11491 fix(frontend): fixed issue where error message pushed text field up 3 years ago
Samuel Rowe b66818ec2f refactor(frontend): renamed `InputField.tsx` to `TextField.tsx` 3 years ago
Samuel Rowe beaef44426 fix(frontend): fixed incorrect initial value for new volume record 3 years ago
Samuel Rowe 9a262d67a4 fix(frontend): fixed incorrect initial value for new port record 3 years ago
Samuel Rowe d5720a7bff feat(frontend): added image name and tag attributes to general tab 3 years ago
Samuel Rowe 396a1a61a5 feat(frontend): updated `getInitialValues` to transform values to form state shape
* Renamed `serialize`/`transform` to `getFinalValues`.
3 years ago
Samuel Rowe 9d4db94516 feat(frontend): updated create and edit forms to use `transform` utility 3 years ago
Samuel Rowe a5bc776f85 fix(frontend): fixed incorrect field names in volumes tab 3 years ago
Samuel Rowe 9e8f9e63e7 feat(frontend): created `transform` utility function 3 years ago
Samuel Rowe 14c82fe649 feat(frontend): updated styles for general tab 3 years ago
Samuel Rowe 379de7c3e8 feat(frontend): updated create/edit tab forms to use new state shape 3 years ago
Samuel Rowe cae905bf4e feat(frontend): updated `ModelServiceEdit` component to use form utilities 3 years ago
Samuel Rowe 898f9246f5 feat(frontend): updated `ModelServiceCreate` component to use form utilities 3 years ago
Samuel Rowe 0ce415cb0a feat(frontend): created utilities for create/edit service forms 3 years ago
Samuel Rowe 225e80b8ac feat(frontend): updated `TextField` component 3 years ago
Samuel Rowe e45e686ac7 feat(frontend): updated `Record` component to use `TextField`
* Removed `formik` prop.
3 years ago
Samuel Rowe 6c51e65d3e feat(frontend): created `IEditServiceForm` interface 3 years ago
Samuel Rowe eb3e67d9e5 feat(frontend): updated font style for group title 3 years ago
Samuel Rowe 2c0a0afede feat(frontend): updated icons and labels for actions in canvas editor 3 years ago
Samuel Rowe aab9906be0 feat(frontend): generate random project names 3 years ago
Samuel Rowe cdf81bec72 build(frontend): added `random-words` as dependency 3 years ago
Samuel Rowe 76572fd15f feat(frontend): created ports section to general tab 3 years ago
Samuel Rowe 0acdc82a76 feat(frontend): updated description font size 3 years ago
Samuel Rowe 951da8246c feat(frontend): updated label for new project button 3 years ago