Commit Graph

197 Commits

Author SHA1 Message Date
lvuch e2acd90db3 add checkbox story 2020-04-21 10:37:46 -07:00
Cody Jackson 4014751a1b Fixing up ingress pages
- Fixed a number of unhandled exceptions
- Fixes some issues with rules vs backend property references
- Made pages more consistent with mocks

rancher/dashboard#272
2020-04-21 10:27:30 -07:00
Vincent Fiduccia 047d292fc6
Update LabeledSelect.vue 2020-04-20 12:05:52 -07:00
Vincent Fiduccia 720ba27d44
Merge pull request #524 from mantis-toboggan-md/bugfix-workload-detail-top
Bugfix workload detail top
2020-04-20 12:02:18 -07:00
Vincent Fiduccia 1a65d4e250
Merge pull request #519 from codyrancher/warnings
Fixing warnings
2020-04-20 11:59:54 -07:00
Nancy Butler fb26c1b7ca add description to WL detail
refactor nodeAffinity in workload create
2020-04-20 09:36:52 -07:00
Cody Jackson c5052b7cb7 Fixing warnings
This fixes runtime and lint warnings. It also makes the linter
treat warnings as errors now so we'll stop checking in code that has
warnings.

If you want to avoid prs with warnings consider adding a
'yarn lint' or 'yarn build' to .git/hooks/pre-push.
2020-04-16 13:35:34 -07:00
Cody Jackson e93b6f08cb Updating configMaps to be better inline with mocks
rancher/dashboard#265
2020-04-16 12:17:55 -07:00
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