Commit Graph

13 Commits

Author SHA1 Message Date
Westly Wright 09ea85c9f0
New Select Components
Coalesce all v-select usage into one of three new select, labeled select, and multi-select components.
Additionally this updates the dropdown button component to use the
v-select lib as well.
Formatting on files i've touched.
Add translations where I found them missing in components I touched.
Fixes a lot of bugs related to dropdowns.

refactor vue select

focusing labeled select

update namespace filter to form select

update product switcher to use select

update workspace filter to use select

select should have no default placement otherwise dd is attached to body

combining and cleaning up select styles

header filter styling issues

more style cleanup

no longer need weird z-indexing after fixing dd's

lighten up scrollbar for dropdowns & dark theme

padding cleanup for header dd's

fix workload ports

input with select should use labled select or select if no label

All labeled select components using labels, otherwise select

min width and hide broswer clear button

style cleanup

Default searchable to false unless >= 10 options

rebase fixes

wip new dd button

change button dd to click action instead of nested templates

rebasing issue

close on select

remove button dropdown from keyvalue

wip

remove old button dropdown

more cleanup

fix bug where inline options would recompute

Fix borders for new style

product menu

remove button dropdown from list masthead

new namespace design

fix padding on apps nav
2020-11-23 09:24:55 -07:00
Cody Jackson b22f3a6e30 Improving the edit and view pages of ingress
- Move the default backend tab to be after rule
- Validation of the "target service" should be a tool tip and color
- Putting a "/" de-focuses
- Combine the rule and certs into one table instead of multiple boxes, need a name

rancher/dashboard#1755
2020-11-03 12:37:05 -07:00
Cody Jackson cca7a7914d Adding more versioning support to ingress
- default backend was renamed from backend to defaultBackend
- backend schema was changed to have nested port and service name

rancher/dashboard#1634
2020-10-27 13:21:38 -07:00
Cody Jackson 0c04da8eec Adding pathType to ingress rules
Creating an ingress in k8s 1.19 was failing because we didn't
have pathType. This adds the new option as an InputWithSelect.
Because this field is present in 1.18 I'm showing this field for
all implementations.

I also fixed a small issue under DefaultBackend where
selecing a TargetService was removing the port label. The
label field was just missing from the LabeledSelect component.

rancher/dashboard#1634
https://github.com/rancher/dashboard/issues/1301#issuecomment-705052366
2020-10-20 14:44:02 -07:00
Cody Jackson 501a2bf8d8 Adding a tooltip to target service
- Added a tooltip to LabeledInput and LabeledSelect
- We now show the warning border and tooltip when a target service doesn't exist

https://github.com/rancher/dashboard/pull/816#issuecomment-655670728
2020-08-21 16:26:11 -07:00
Cody Jackson 94ebf0783e Updating ingress page to include new requests
- Enable freeform target service
- Add status support to LabeledSelect
- Indicate that the target service isn't one of the existing options with LabeledSelect warning status
- Update text

https://github.com/rancher/dashboard/issues/272#issuecomment-642436439
2020-08-20 15:12:01 -07:00
lvuch 33984ca71e workload tab cleanup 2020-08-18 12:09:12 -07:00
Cody Jackson a20acbed5f Making ingress path editable
Path could be created but not edited. update() wasn't being called from the path input field.

There was also an issue with calling Object.keys on a potentially undefined object that was resolved.

rancher/dashboard#756
2020-07-22 12:31:58 -07:00
Cody Jackson 827f4b5a3f Implementing the new Ingress requirements and bugfixes
rancher#272
2020-06-08 09:55:45 -07:00
lvuch bc31166d8c ingress edit 2020-05-29 14:16:25 -07:00
Cody Jackson dfb3ed18bd Updating Ingress to implement new requirements
rancher/dashboard#272
2020-05-12 16:38:13 -07:00
Cody Jackson ab70740ff9 Disable editing a constraint's constraint template
Editing a constraint's constraint template would require us to delete
the existing constraint and create a new one transactionally. Since
the backend doesn't support this transaction of we're disabling the ability
to edit which template is being used.

I also noticed a number of inconcictencies and poor behaviors
with the LabeledSelect component so I went ahead and made
it consistent with LabeledInput.
- The search field switched to a color distinct from the rest of the container
  when disabled and hovered.
- There wasn't a focus outline.
- The size was slightly different because it was in a container
- There was a distinct background color around the arrow indicator

rancher/dashboard#433
2020-04-24 16:25:01 -07:00
Vincent Fiduccia a8d75a2091
nav-tree -> type-map, remove versions from all the types and filenames 2020-03-10 17:33:53 -07:00