Commit Graph

339 Commits

Author SHA1 Message Date
Cody Jackson fea71ffae2 Refactored YAML editing to better support parameters
We needed a way to support arbitrarily complex parameters in both
type and nesting level. As a temporary solution I enabled the user
to toggle between a key value component and a yaml editor.

To enable this I refactored ResourceYaml into a composable YamlEditor
component that can be used elsewhere.

rancher/dashboard#388
rancher/dashboard#380
2020-04-15 09:53:24 -07:00
Vincent Fiduccia efe807032f
Finish combining ResourceDetail/Yaml and workload flow 2020-04-14 16:16:11 -07:00
Vincent Fiduccia 09df5918db
Move the rest of workloads into standard _resource 2020-04-14 16:16:11 -07:00
Vincent Fiduccia 22f4ef977b
Unify Resource(Detail|Yaml) headers and behaviors 2020-04-14 16:16:10 -07:00
Vincent Fiduccia 191cb7ca6e
Continue moving workloads 2020-04-14 16:16:10 -07:00
Vincent Fiduccia 4bc1321dab
Edit project of namespaces, bugs
- Edit project on namespace
- Certificate fields need to be multiline
- Create-edit-view creates metadata.(annotations, labels) automatically and cleans up on save if empty so you don't have to check if they're there.
- Form components should have a focus() instead of reaching into each other's $refs
- LabeledSelect takes and emits the value, not the `{label: x, value: y}` object.
- Resource names are almost never editable after create
- NameNsDescription takes a resource and manages setting name/ns/description on it itself.
- TextAreaAutoGrow should resize on file input
2020-04-14 16:16:10 -07:00
Vincent Fiduccia 961e793b70
Merge pull request #513 from mantis-toboggan-md/bugfix-labeledselect
use label as default label key
2020-04-13 17:09:04 -07:00
Nancy Butler 9fbf26a959 use label as default label key 2020-04-13 16:28:12 -07:00
Vincent Fiduccia d46427a93a
Merge pull request #511 from codyrancher/namespace-filter
Namespace filtering and type editing
2020-04-13 15:07:31 -07:00
Cody Jackson 30cc6e3053 Namespace filtering and type editing
- Make system namespaces a part of the excluded namespaces match by default.
- Remove system namespaces from the options of namespace match
- Ensure that the types are getting edited appropriately.

rancher/dashboard#455
rancher/dashboard#503
2020-04-13 14:53:21 -07:00
Vincent Fiduccia dfc39deef2
Merge pull request #501 from mantis-toboggan-md/bugfix-wl-env-variables
fix workload env variables
2020-04-13 14:38:41 -07:00
Nancy Butler 4b8659c158 fix env variables 2020-04-10 12:07:17 -07:00
Vincent Fiduccia cf8c918a40
Merge pull request #494 from codyrancher/node
Making updates to the node resource
2020-04-09 14:19:09 -07:00
Cody Jackson 7a3c09dcc4 Making updates to the node resource
Added a custom edit
Made a few modifications to the detail
Converted into a virtualType to remove import and create from the list page

rancher/dashboard#241
2020-04-09 13:51:04 -07:00
Nancy Butler 654aa72163 workload action menu 2020-04-09 11:27:18 -07:00
Vincent Fiduccia 966f35978b
Merge pull request #475 from mantis-toboggan-md/bugfix-secret-create
fix secret create
2020-04-09 00:53:50 -07:00
Westly Wright 46bae959ae
Storybook updates
storybook configuration

remove backgrounds for themes addon

update storybook deps

Convert design system stories to mdx

fix qoutes

fix name on consumption gauge story

Clean up stories

clean up stories

Stubbed stories

Welcome stories

upgrade to @next storybook version and remove strbk@addon-centered

add tbd

remove stories

Add knobs

remove stubbed stories

Knobs in percentage circle

storybook buttons example

Minor storybook updates
2020-04-08 10:30:42 -07:00
lvuch fcbd68e0b5 477 2020-04-06 15:57:22 -07:00
Nancy Butler f872cd0c3c fix secret create 2020-04-03 12:07:51 -07:00
Nancy Butler d18bd41dab workload detail and create bugfixes 2020-04-02 11:37:39 -07:00
lvuch 7293e5d5f3 454 issues 2020-03-31 21:02:31 -07:00
lvuch 1d053a0340 454 2020-03-31 16:07:58 -07:00
Cody Jackson 1a5d557d07 Adding enforcement action param to constraints
rancher/dashboard#390
2020-03-26 10:56:37 -07:00
Vincent Fiduccia 7054082ed3
Merge pull request #423 from vincent99/master
SortableTable Pagination
2020-03-25 20:13:51 -07:00
Vincent Fiduccia b87e2d76e1
Support modifiers on Checkbox click 2020-03-25 20:08:03 -07:00
Cody Jackson a84968ef68 Fix Selectors according to the selected operation
The set operators should not have a values field when getting saved.

rancher/dashboard#404
2020-03-25 15:29:17 -07:00
lvuch 43e6133638 401 2020-03-19 15:29:28 -07:00
lvuch 63d892414c opa changes 2020-03-19 14:47:48 -07:00
Vincent Fiduccia fab595d82f
Project picker/filter, standalone steve 2020-03-17 23:07:33 -07:00
Westly Wright babfdc08cb
Merge pull request #364 from codyrancher/opa-rewrite
Updated the gatekeeper constraints and templates
2020-03-16 11:21:33 -07:00
Cody Jackson 7d7e3b60b7 Updated the gatekeeper constraints and templates
this should better reflect the new Mocks.

rancher/dashboard#305
2020-03-15 01:34:30 -07:00
Westly Wright 75aefef462
Fix padding for labeled input with type number 2020-03-13 14:02:09 -07:00
Vincent Fiduccia d9a8cafab5
Support nesting types for Gatekeeper 2020-03-05 17:27:50 -07:00
Nancy Butler 09ec9c4405 ingress detail
add ingress to side nav
2020-03-04 15:07:20 -07:00
Cody Jackson 9284b51ed0 Switch from scope to slot-scope
Switching because scope is deprecated.
2020-03-03 15:55:35 -07:00
Nancy Butler efa1679245 create ingress 2020-03-03 14:18:58 -07:00
Cody Jackson 1265853652 Implement the view, create and edit pages for constraints
This implementst the view, create and edit pages for the
gatekeeper constraints. The constraint templates weren't
touched since we intend to only use the yaml editor.

rancher/dashboard#307
2020-03-02 12:43:39 -07:00
Vincent Fiduccia 3f971c2a10
Merge pull request #337 from lvuch/lh-0226
321 continued
2020-02-28 21:46:16 -08:00
lvuch d46c20ace0 321 continued 2020-02-28 15:30:21 -07:00
Nancy Butler 4588e974b1 fix double footer
radio button group keyboard accessibility

keyboard accesibility for tabs
2020-02-28 11:53:54 -07:00
Vincent Fiduccia 4d367d925a
Merge pull request #332 from lvuch/lh-0226
321
2020-02-27 13:38:33 -07:00
Lauren Harden ebb14a5e00
Merge branch 'master' into lh-0226 2020-02-27 13:32:33 -07:00
lvuch 2105433200 321 2020-02-27 13:30:35 -07:00
Nancy Butler b77fad0eec endpoints in workload list instead of ports
focus on name field in NameNSDescription initially

focus type field when value from resource added

remove button for values from resource
2020-02-27 12:59:20 -07:00
Nancy Butler ff66f63cba workload detail
workload create/edit bugfixes
2020-02-26 09:37:19 -07:00
Vincent Fiduccia 0042b8202b
Make workloads show up 2020-02-25 13:36:57 -07:00
Nancy Butler 50a9f35973 . 2020-02-24 09:45:00 -07:00
Nancy Butler de6bb37fa8 mode prop passed to all tab inputs 2020-02-24 09:45:00 -07:00
Nancy Butler 003cfac85d fix editing 2020-02-24 09:45:00 -07:00
Nancy Butler 6eba4f6eff workload create/edit
workload list individually;
2020-02-24 09:45:00 -07:00
Vincent Fiduccia bd0bd00841
Move the rest of friendly to type-config 2020-02-20 15:46:40 -07:00
Vincent Fiduccia 459a090bfb
Cleanup from split 2020-02-20 11:07:14 -07:00
lvuch 7e6d33cca3 264 fixes 2020-02-14 13:43:58 -07:00
Nancy Butler 0e6b4b1fc5 secret UX fixes 2020-02-10 10:49:04 -07:00
Nancy 205b468523 remove console log from sortabletable headers
added click-expand component for big table values

 minor chage to secrets list view

fix external link formatter

 radio button/group accessibility

 namensdescription restyle

create secrets
2020-01-30 17:46:22 -07:00
Nancy Butler bab8bcebfb move enabled/disabled badge state func to users model 2020-01-24 09:56:02 -07:00
Westly Wright fc1b08521f
Inject webpack rules into webpack config rather than overwrite. 2020-01-20 10:18:50 -07:00
Nancy Butler 0229b79292 storybook webpack conf for aliased paths 2020-01-17 14:03:22 -07:00
Westly Wright da186d5759
Add Storybookjs (#285)
* update deps

* Add storybookjs and setup config

* Change scss import paths to absolute paths for Storybook to work

* Add storybookjs centered addon

* Add storybookjs backgrounds and tweak body styles

* Add storybookjs docs addon

* Enable better nesting config

* add design systems

* Change app css import location

* package update

* roll back to previous lint versions for upgrade error & fix lint err
2020-01-17 10:09:11 -07:00
Nancy Butler 5d3ded9e57 remove injected prop 2020-01-16 17:36:37 -07:00
Nancy Butler 9842768b3c make disableInputs prop reactive 2020-01-16 16:37:11 -07:00
Vincent Fiduccia bc652f8d15
Reorganize eslint 2019-12-19 10:38:46 -07:00
Nancy Butler 5cb875cd84
change targetNamespace to targetServiceNamespace 2019-12-12 17:21:55 -07:00
Vincent Fiduccia c31f9b27ef
Move /components/cru -> /edit and /components/detail to /detail 2019-12-12 17:21:51 -07:00
Vincent Fiduccia aa947cc2cf
Merge pull request #231 from rancher/bugfix-external-service
external service points to app/version not service
2019-12-11 11:47:56 -07:00
Nancy Butler 82d01ed99f external service points to app/version not service 2019-12-11 11:23:54 -07:00
Nancy Butler 6b89441acb focus name field in namespace create component 2019-12-10 18:10:35 -07:00
Nancy Butler a25faeb906 router edit/view repopulates correctly 2019-12-10 18:10:08 -07:00
Nancy Butler 60ebe3f7e4 prepend slash on router path matching 2019-12-10 18:10:08 -07:00
Nancy Butler 41b64584e8 create service image/repo toggle preserves input fields 2019-12-10 18:10:08 -07:00
Nancy Butler b0b828e927 NameNSDescription ns dropdown alphabetical 2019-12-10 18:10:08 -07:00
Nancy Butler c6aa0ebb0b fix-222-chromefirefox-differences 2019-12-10 18:10:08 -07:00
Vincent Fiduccia 44c343cabf
Merge pull request #229 from rancher/namespace-edit
namespace edit/cone
2019-12-10 18:07:06 -07:00
Nancy Butler 896d8d0153 namespace edit goes to corrrect page 2019-12-09 09:54:48 -07:00
lvuch 99ed0d8895 215 one more thing 2019-12-06 13:41:39 -07:00
lvuch 5faf295922 215 2019-12-06 13:31:33 -07:00
Nancy Butler 252f9fee16 fix input type in select/input combo 2019-12-05 16:12:40 -07:00
Vincent Fiduccia ba6bef3eac
Merge pull request #211 from lvuch/master
186 borders on inputs
2019-12-05 13:35:41 -07:00
lvuch 532f638958 181 2019-12-05 12:28:15 -07:00
lvuch 552d55dc74 186 borders on inputs 2019-12-05 12:27:26 -07:00
Nancy Butler 386776f64f pd and es creation
es name and namespace

build from git

puase rollout pauses rollout
2019-12-05 10:36:46 -07:00
Vincent Fiduccia 9d7f4ca921
Merge pull request #205 from vincent99/master
Fix Github setup some more
2019-12-04 16:48:11 -07:00
Vincent Fiduccia 944ce76345
Merge pull request #191 from rancher/bugfix-download-bulk
bulk delete
2019-12-04 16:04:12 -07:00
Vincent Fiduccia 32155859a9
ConfigMap vs Secret base64 2019-12-04 15:56:39 -07:00
lvuch 08b407540c external services fixes 2019-12-04 11:29:32 -07:00
Nancy Butler a0b400a5c9 bulk delete 2019-12-03 17:28:39 -07:00
Vincent Fiduccia 1e6608ad01
Merge pull request #178 from lvuch/lh-1203
button, alignment and checkbox issues
2019-12-03 14:27:50 -07:00
Vincent Fiduccia 40c170a0f5
Merge pull request #177 from rancherlabs/namespace-crud
namespace create
2019-12-03 13:08:52 -07:00
lvuch 7d077d80c3 resolve create cancel 163 2019-12-03 12:39:49 -07:00
Nancy Butler 082c4057fc namespace create 2019-12-03 12:26:20 -07:00
lvuch 004b53ad1b 162 fix for checkboxes 2019-12-03 11:21:00 -07:00
Nancy Butler ef037f3008 create new NS in other create forms 2019-11-27 11:42:56 -07:00
Nancy Butler 3e8773a866 Accessible custom checkboxes w/ indeterminate state 2019-11-25 10:08:08 -07:00
Nancy Butler ed15c21396 preserve uuid to allow reordering route rules 2019-11-14 16:43:13 -07:00
Vincent Fiduccia 26bbd9d30d
Weight when defining service 2019-11-14 16:03:26 -07:00
Vincent Fiduccia 6b3dd3cefd
Fix namespace filtering 2019-11-13 17:56:41 -07:00
Vincent Fiduccia 8f17ded686
Merge pull request #95 from rancherlabs/bugfix-dropdown-height
router form fixes
2019-11-13 14:44:15 -07:00
Nancy Butler 7be14cd55b fix height of dropdown in router form, make string and dropdown icon spin 2019-11-13 14:09:08 -07:00
Nancy Butler 7c6c86466f default ns and hide additional form fields 2019-11-13 13:11:41 -07:00
Vincent Fiduccia a45ddc2dc0
Add port to service demo 2019-11-12 21:57:46 -07:00
Nancy Butler 97d99dda5e 'discover rio' page 2019-11-11 10:01:17 -07:00
Vincent Fiduccia 6a3efbbc83
Better setup 2019-11-11 01:55:29 -07:00
Vincent Fiduccia 557e4a4727
Don't reload after cancel 2019-11-06 18:37:03 -07:00
Vincent Fiduccia fd89433a56
Git repo picker flow 2019-11-06 01:35:41 -07:00
lvuch 53e63e84fa btn accent bg 2019-11-05 16:04:16 -07:00
lvuch b15c35b5ff add and remove buttons 2019-11-05 15:46:36 -07:00
Vincent Fiduccia c296db6f16
Merge pull request #49 from rancherlabs/create-route
fix remove button
2019-11-05 13:51:06 -07:00
Vincent Fiduccia 62017b8d78
Merge pull request #47 from lvuch/lh-1105
button and input sizing fixes
2019-11-05 13:50:07 -07:00
Nancy Butler 1fd77db973 fix remove button 2019-11-05 13:45:59 -07:00
lvuch cf806c9ada button and input sizing fixes 2019-11-05 13:37:45 -07:00
Nancy Butler 688f26c987 click away from select 2019-11-05 11:40:13 -07:00
Nancy Butler b4348d0fc2 remove button for weighted destinations 2019-11-04 16:00:53 -07:00
lvuch bf3d0e2c84 polish 2019-11-04 15:36:54 -07:00
Vincent Fiduccia 3717ecbc07
Public Domains 2019-11-04 15:27:31 -07:00
Vincent Fiduccia f29445770f
Optional namespace and extra column 2019-11-04 15:27:30 -07:00
Nancy Butler bd4a0bfac6 fix reordering 2019-11-04 13:27:02 -07:00
Nancy Butler aeb4ca4a8c input with select in keyvalue 2019-11-01 15:11:33 -07:00
Nancy Butler 289b80c7ea dropdown string input 2019-11-01 15:11:33 -07:00
Nancy Butler 1c592e19d9 accually post 2019-11-01 15:11:33 -07:00
Nancy Butler 1dd502a28d gather data
toggle switch

traffic headers
2019-11-01 15:11:33 -07:00
Vincent Fiduccia 688fff9b5f
Merge pull request #27 from vincent99/master
Nav
2019-10-30 16:22:41 -07:00
lvuch be37c6af49 button styling 2019-10-30 14:44:19 -07:00
Vincent Fiduccia 15abff67cb
Local login, start setup flow 2019-10-29 19:03:43 -07:00
Vincent Fiduccia b6a1e6a929
Merge branch 'master' into lh-1028 2019-10-28 15:25:49 -07:00
lvuch b9bdeb47f0 columns and service page 2019-10-28 14:58:03 -07:00
lvuch b18ad2ac84 minor sizing adjustments 2019-10-28 12:04:52 -07:00
Vincent Fiduccia 434329b04a
CRUD Service 2019-10-28 02:22:27 -07:00
Vincent Fiduccia 797ed2ee7a
Service Networking and HealthCheck 2019-10-23 16:10:18 -07:00
Vincent Fiduccia 9650479036
Rearrange for building on CDN 2019-10-22 14:43:26 -07:00
Vincent Fiduccia 718b5c5adc
Edit Service 2019-10-14 17:48:17 -07:00
Vincent Fiduccia 29f84969c1
Services 2019-10-11 11:48:36 -07:00
Vincent Fiduccia b530db815f
More crud 2019-10-09 10:47:55 -07:00
Vincent Fiduccia 6ebb4bf25b
Start create service 2019-10-01 13:07:18 -07:00
Vincent Fiduccia e8a21d42bc
Secrets 2019-10-01 02:22:25 -07:00
Vincent Fiduccia 44e1a93b94
Form elements, Config map CRUD 2019-09-30 15:21:07 -07:00
Vincent Fiduccia 1cf60e28a1
Move around things that aren't utils 2019-09-27 22:59:20 -07:00
Vincent Fiduccia bb5ace21c1
Config Map editor 2019-09-26 15:48:26 -07:00
Vincent Fiduccia 20640bcf4c
KeyValue, Cluster switch/import 2019-09-24 15:35:10 -07:00
Vincent Fiduccia 2237bef8ef
Form components 2019-09-24 00:17:02 -07:00