Commit Graph

107 Commits

Author SHA1 Message Date
Vincent Fiduccia 31ea3b138e
Eslint changes new nuxt defaults want 2020-05-28 14:22:52 -07:00
Vincent Fiduccia fe42beff67
Flag component, bugs 2020-05-19 17:54:01 -07:00
Cody Jackson 875310197f Fixing generic list page use of masthead
The routes were erroneously being wrapped in an object.
2020-05-19 17:15:39 -07:00
Cody Jackson 4e6632096e Making a number of OPA fixes
- Constraint YAML cancel button will take you back to the constraint
page.
- Updated the mastheads of constraint and template.
- Constraint Create as Yaml now works
- Constraints and templates can be cloned now.

rancher/rancher#523
rancher/rancher#622
rancher/rancher#398
2020-05-18 18:21:26 -07:00
Nancy a7b199bd61
Update index.vue
#662
2020-05-18 14:04:55 -07:00
Cody Jackson b148470fa0 Fix create buttons
Create buttons were still using a relative url instead of a location.
This switches over to locations so we don't get end up with
/dashboard/dashboard/

rancher/dashboard#657
2020-05-15 11:32:07 -07:00
Vincent Fiduccia 2ebcbfed86
Hide create buttons if user doesn't have permission 2020-05-13 17:44:43 -07:00
Vincent Fiduccia 04b3ae12ae
Merge pull request #624 from lvuch/lh-0507
node detail, scroll helper
2020-05-08 11:14:26 -07:00
lvuch 9a1d3d6f72 620 598 2020-05-07 19:28:49 -07:00
Cody Jackson 0d1969048f Updating the Node pages to reflect the new requirements
rancher/dashboard#241
2020-05-06 10:22:11 -07:00
Westly Wright 986f2794f5
design changes for cluster overview infobox/infoboxcluster
Pulls basic info out into detail top.
Drops node info except total cluster which moves to detail top.
Changes InfoBoxCluster to use grid instead of flex. I did not change the main
InfoBox styles because I think flex may work better in most cases as we may not
know how many colums we have. This columns are set on the cluster info though so
defining a grid layout makes more sense and also lays out better.

rancher/rancher#580
2020-04-30 12:20:00 -07:00
Vincent Fiduccia 4198fb3ad7
Merge pull request #579 from westlywright/cluster.provider
Better parsing for a cluster provider info
2020-04-30 12:29:01 -05:00
Vincent Fiduccia 967c775b81
Merge pull request #576 from mantis-toboggan-md/masthead
masthead changes
2020-04-30 12:25:04 -05:00
Westly Wright d98ffb4585
Better parsing for a cluster provider info
rancher/dashboard#478
2020-04-28 14:36:32 -07:00
lvuch 7c53eea152 577 2020-04-28 14:04:22 -07:00
Nancy Butler f9ce86791c masthead 2020-04-28 13:03:53 -07:00
Vincent Fiduccia 19648c0cd3
Merge pull request #555 from codyrancher/no-console
Enabling no-console rule for eslint
2020-04-26 14:52:36 -05:00
Nancy Butler 84e79ea2b8 fix linting errors 2020-04-24 13:23:46 -07:00
Nancy Butler b8a996c43f revert NameNsDescription and filter annotations, labels in create-edit-view 2020-04-24 12:04:15 -07:00
Nancy Butler 6249c766ab placeholder visibility
secret type display in edit form

add custom secret types

description as prop in namens

secret styling

service account link in list view for service acct token secrets
2020-04-24 12:04:15 -07:00
Cody Jackson 00476e5cb9 Enabling no-console rule for eslint
This will automate checking for stray console errors so they don't need to be
checked for in PRs.
2020-04-24 10:37:10 -07:00
Vincent Fiduccia 153ac7dcda
Drop recent types 2020-04-20 14:33:41 -07:00
Vincent Fiduccia 26029bfad7
Merge pull request #516 from codyrancher/node-buttons
Enabling the ability to mark types and both immutable and unCreatable
2020-04-15 11:49:44 -07:00
Cody Jackson 8e15841d81 Enabling the ability to mark types and both immutable and unCreatable
This is to support special types like Node where the user shouldn't be able
to create the resource through normal means.

rancher/dashboard#507
2020-04-15 11:12:18 -07:00
Cody Jackson 2cc259d241 Remove new yaml serialization
Adding serialization to the scope of the currently pr has become
slightly unwieldy. I'm going to put the serialization into a separate
pr.
2020-04-15 10:00:09 -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 f569963666
Remove namespaceSuffixOnCreate option 2020-04-14 15:58:30 -07:00
Vincent Fiduccia 57dbad7e0b
Merge pull request #512 from lvuch/lh-storybook
storybook class
2020-04-14 15:21:32 -07:00
lvuch 5eab0ccb7e storybook class 2020-04-13 15:23:43 -07:00
Westly Wright e3f3427941
add missing opa translations 2020-04-13 12:44:09 -07:00
Nancy Butler 654aa72163 workload action menu 2020-04-09 11:27:18 -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
Westly Wright 63779a1d1a
Cluster dashboard overview feedback
Add exact to type (link) component

Live data format for events

Pretty cluster providers

Add ago suffix to LiveDate

tweak events headers

remove unneeded suffix

change to unhealthy nodes

only show constraints with violations on overview

ignore tern port files

overview detail gatekeeper disabled bugs

Update percentage bar to take in percentage value

tweak exponents and fix issue wiht max/min

change cluster events default sort

update comments for defaultSortby

cluster infobox feedback

Pass nodes down to InfoBoxCluster to parse only worker nodes info

fix engine config translations

node counts infobox cluster

alignment issues

review feedback

lint warnings
2020-04-02 11:17:22 -07:00
lvuch dc46e0c356 463 2020-04-01 15:32:04 -07:00
lvuch 7293e5d5f3 454 issues 2020-03-31 21:02:31 -07:00
Cody Jackson 681ae70c55 Adding a messaging to constraint template deletion
We don't want the user to delete constraint templates if the templates
are being used by existing constraints. This provides a message and
disables the delete button if the user attempts to delete a template
that's currently in use.

rancher/dashboard#375
2020-03-30 14:48:07 -07:00
Vincent Fiduccia 7fee03ad61
Project/NS view, bugs, namespaced vs cluster filter, ?limit= query parm 2020-03-30 02:57:50 -07:00
Vincent Fiduccia 5e8b70118d
Merge branch 'master' into lh-0320 2020-03-27 12:38:03 -07:00
Vincent Fiduccia 1af317ee53
Merge pull request #440 from westlywright/opa.feedback
Handle disable at the route level and recreate a new gatekeeper app
2020-03-27 12:35:36 -07:00
Westly Wright 76efe4d9d1
remove console log 2020-03-27 11:23:29 -07:00
Westly Wright 527a64d99f
Handle disable at the route level and recreate a new gatekeeper app
so you can re-enable without having to refresh the page

rancher/dashboard#394
2020-03-27 10:51:34 -07:00
Cody Jackson be4ec21e08 Ensure a lack of annotations doesn't prevent constraints from rendering
This ensures we don't attempt to access the description annotation
from the constraints page unless the annotations are present.

rancher/dashboard#383
2020-03-27 10:00:17 -07:00
Vincent Fiduccia 6ea4938171
Fix workload filtering 2020-03-26 21:45:53 -07:00
Vincent Fiduccia 457489f814
Navigation, take 6.. action 2020-03-26 16:49:20 -07:00
Vincent Fiduccia 1e3e1b600f
SortableTable Pagination 2020-03-25 20:10:29 -07:00
lvuch 9f5a22a20f 417 wip 2020-03-25 15:26:51 -07:00