Samuel Rowe
b269fb7e99
feat(frontend): updated to show toasts in edit service modal
2 years ago
Samuel Rowe
3bdf4d3631
feat(frontend): updated to show toasts in create service modal
2 years ago
Samuel Rowe
8981385bec
feat(frontend): created `reportErrorsAndSubmit` util function
2 years ago
Samuel Rowe
5c4a595b3b
Merge pull request #85 from nuxxapp/feat/docker-compose-spec
...
Implement remaining fields from Docker Compose specification (part 1)
2 years ago
Samuel Rowe
30fd745c54
fix(frontend): fixed incorrect `newValue` prop for environment form
2 years ago
Samuel Rowe
3e3400d8e0
refactor(frontend): updated service form utils to use `pack*As*` utils
2 years ago
Samuel Rowe
6a61cb135a
fix(frontend): fixed incorrect serializing of `build.placement.constraints` and `build.placement.preferences`
2 years ago
Samuel Rowe
4a9738c4b3
feat(frontend): created `packArrayAsStrings` and `packArrayAsObject` utilities
2 years ago
Samuel Rowe
491fea3dce
fix(frontend): fixed incorrect serializing of `build.args` and `build.labels`
2 years ago
Samuel Rowe
2cd56ede9a
feat(frontend): updated `getFinalValues` to encode `environment` as object
2 years ago
Samuel Rowe
94ea9f71e6
fix(frontend): fixed incorrect usage of `labels` instead of `deploy.labels` in `getFinalValues`
2 years ago
Samuel Rowe
c84c91dc20
feat(frontend): added another defensive error `Records` component
2 years ago
Samuel Rowe
73a137bae2
fix(frontend): fixed incorrect logic for extracting arrays/objects in forms
2 years ago
Samuel Rowe
a0e400fb4b
feat(frontend): updated `getFinalValues` to prune `deploy` object
2 years ago
Samuel Rowe
029cf06c79
feat(frontend): created `pruneNumber` utility function
2 years ago
Samuel Rowe
fb4d93d0b4
feat(frontend): fixed bugs in service form utils
2 years ago
Samuel Rowe
fbb0593618
feat(frontend): wrapped `handleCreate` in `useCallback`
2 years ago
Samuel Rowe
edc01f261b
refactor(frontend): remove duplicate `className`implementations
2 years ago
Samuel Rowe
2f727f5bc7
feat(frontend): temporarily made `context` attribute optional service modals
2 years ago
Samuel Rowe
76d4773ff4
feat(frontend): updated to environment in both short and long form for top-level service objects
2 years ago
Samuel Rowe
4c180a8760
feat(frontend): updated to labels in both short and long form for top-level service objects
2 years ago
Samuel Rowe
3117cc2eb9
feat(frontend): added deploy tab to service modals
2 years ago
Samuel Rowe
c77ecf29e0
feat(frontend): updated form utilities to support `deploy` object in service modal
2 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.
2 years ago
Samuel Rowe
0d76bed1c9
feat(frontend): created `Deploy` component
2 years ago
Samuel Rowe
b30ab1ec7f
feat(frontend): updated accordion title styling
2 years ago
Samuel Rowe
ba96207fb4
refactor(frontend): renamed `IPam` to `IPAM`
2 years ago
Samuel Rowe
d4fe50b466
feat(frontend): moved labels form to general tab in networks modal
2 years ago
Samuel Rowe
f5c58d247e
feat(frontend): updated empty top-level networks label
2 years ago
Samuel Rowe
9bf8980fd7
feat(frontend): moved labels form to general tab in volumes modal
2 years ago
Samuel Rowe
4f759ff3a8
feat(frontend): moved environment form to its own tab
2 years ago
Samuel Rowe
275377e103
feat(frontend): created `Environment` component
2 years ago
Samuel Rowe
f9c4d320c4
feat(frontend): moved ports records below container name field in service modal
2 years ago
Samuel Rowe
60301da07b
refactor(frontend): updated labels in volumes modal to use `Records` component
2 years ago
Samuel Rowe
dca8baf40e
feat(frontend): updated to make labels uncollapsible in networks modal
2 years ago
Samuel Rowe
85cdc846e2
feat(frontend): added `collapsible` prop to `Records` component
2 years ago
Samuel Rowe
927757db29
feat(frontend): removed label for protocol toggle group
2 years ago
Samuel Rowe
737293517e
feat(frontend): made label optional for toggle groups
2 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.
2 years ago
Samuel Rowe
7b76da1254
feat(frontend): updated general form of service modal to open ports records by default
2 years ago
Samuel Rowe
c62dec1dc6
feat(frontend): updated IPAM form to open aux addresses records by default
2 years ago
Samuel Rowe
bcf614c535
feat(frontend): updated `Records` to use `useAccordionState`
...
* Added `defaultOpen` prop.
2 years ago
Samuel Rowe
2530034b3d
feat(frontend): updated `Accordion` to use `useAccordionState`
...
* Added `id` and `defaultOpen` props.
2 years ago
Samuel Rowe
0f4c60e791
feat(frontend): created `useAccordionState` hook
2 years ago
Samuel Rowe
e29b4595c2
refactor(frontend): moved `tabs` constant to form utils
2 years ago
Samuel Rowe
8cdab9c727
feat(frontend): renamed volumes tab as data tab
...
* Moved environment records to data tab.
2 years ago
Samuel Rowe
b649b142ac
feat(frontend): moved labels form to general tab
2 years ago
Samuel Rowe
72302c68da
feat(frontend): moved environment form to general tab
2 years ago
Samuel Rowe
fafe71caaa
feat(frontend): removed `referred` prop from `Records` component
2 years ago
Samuel Rowe
aee2e07d84
feat(frontend): added build tab to create service modal
2 years ago