Commit Graph

45 Commits

Author SHA1 Message Date
Richard Cox 8da7f96fa8 Fix display of white space in list of resources to delete 2021-03-18 10:16:48 +00:00
Richard Cox a4fd45a297 Fix another linting error 2021-03-18 09:48:34 +00:00
Richard Cox 6c2536c7e9 Fix linting, this brings back the white space issue 2021-03-12 18:52:24 +00:00
Richard Cox a3fc34a8f0 Updates after review with Neil
- state resource name to delete
- remove oxford comma and whitespace around other commas
- use bold text instead of links for resource list
2021-03-12 16:40:58 +00:00
Richard Cox 4807dfa442 Request confirmation of a random resource when deleting multiple resources
- when deleting multiple resources, and confirm enabled, prompt for a random resource name for confirmation
- random resource name will always be visible, for the case where there are more than 5 to delete
- Improved process to declare which resource requires confirmation
- i10n'd some text
2021-03-09 17:14:33 +00:00
Richard Cox e4fd49f054 Prompt Remove: Only enable Delete button when delete is valid
- Previously button was enabled when confirm value was invalid and warned on submit
- We now only enable the button when all resources can be deleted and the confirm value is valid
- Also fix translation for missing Internal/External IP value in Node table
2021-02-08 16:32:22 +00:00
Nancy Butler f2f3aff26a btn error on name confirm 2021-01-06 09:07:25 -07:00
lvuch 20c4e3a4b2 2130 card actions 2020-12-31 09:41:25 -07:00
Vincent Fiduccia b846b8a5df
Merge pull request #2063 from codyrancher/node-delete-modal
Deleting a node required name confirmation now
2020-12-22 12:19:04 -07:00
lvuch 262492d045 more modal 2020-12-17 15:45:40 -07:00
lvuch 03102210fe 1795 2020-12-17 15:41:33 -07:00
Cody Jackson 603c4b6039 Deleting a node required name confirmation now
rancher/dashboard#1269
2020-12-10 23:59:10 -07:00
Nancy Butler 4af85594b2 add asyncButton to promptRemove 2020-12-04 13:05:50 -07:00
Cody Jackson 52bdaa5fc6 Preventing receiver deletion when a route depends on the receiver
- Also updated some of the styling on the PromprRemove with help of Lauren.
   - Added spacing between sections
   - Removed the warning styling
   - Added spacing between the action buttons
   - Aligned the action buttons to the right

   rancher/dashboard#1707
2020-11-30 15:03:44 -07:00
Nancy Butler 63b3441194 fix slot names 2020-11-24 08:47:24 -07:00
Vincent Fiduccia 2539416013
Merge pull request #1854 from lvuch/lh-1116
wip modal delete
2020-11-23 11:51:53 -07:00
Vincent Fiduccia d4e48fdc11
Load the component 2020-11-23 11:38:58 -07:00
Nancy Butler b3f449c2de warn for deletion of any scan profile 2020-11-20 14:31:10 -07:00
Cody Jackson dcad01a17a Moving gatekeeper-constraint to be a spoofedType 2020-11-17 23:14:40 -07:00
lvuch 4f4b8ed2e6 wip modal delete 2020-11-17 10:44:43 -07:00
Cody Jackson 95976411ba Adding alertmanager Receiver type
To support receiver types I made it so that we can spoof types which
have any form we specify here in the UI. It will be useful for alertmanager
Routes and I think it could also be useful for things like OPA constraints
and workloads if we wish to update those.

rancher/dashboard#1238
2020-10-23 10:43:57 -07:00
Westly Wright 9ec62cb69c
update delete modal resource link
from non-nuxt link out to resource in api -> nuxt-link to resource in dashboard

rancher/dashboard#1405
2020-10-13 16:26:18 -07:00
Vincent Fiduccia ce75c172c9
Assign clusters to workspace & label them 2020-10-02 02:54:01 -07:00
Cody Jackson e036ef7145 Correctly resetting the error member when closing
rancher/dashboard#1270
2020-09-28 16:30:08 -07:00
lvuch 5fb5b6fc73 resolve 1235 2020-09-14 13:38:06 -07:00
Nancy Butler 032015a2cb use new var for alternative click event 2020-07-31 13:24:14 -07:00
Vincent Fiduccia 12202a0aa8
App launch wizard 2020-07-22 03:56:06 -07:00
Vincent Fiduccia d50ab5ec70
i18n support for type names, combine singular&pluralLabelFor 2020-07-22 03:55:41 -07:00
Nancy Butler add8b1b910 command-click to bypass prompt remove 2020-06-25 15:35:12 -07:00
Nancy Butler 06196f67f9 change and more grammar 2020-06-25 15:35:12 -07:00
Nancy Butler 9125af515b plus n more for many-resource delete 2020-06-25 15:35:12 -07:00
Nancy Butler 2a612a98d3 remove modal styling 2020-06-25 15:35:12 -07:00
Nancy Butler b01463c125 redirect from resource-specifc page after deleting that resource 2020-06-23 12:11:34 -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
Westly Wright 80a41056c0
lint 2020-03-18 16:15:04 -07:00
lvuch a73d4f214b 381 opa. still needs banner styles 2020-03-17 15:52:19 -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
Vincent Fiduccia 1d81de8fc6
Move tree to vuex state 2020-03-07 03:42:40 -07:00
Vincent Fiduccia bd0bd00841
Move the rest of friendly to type-config 2020-02-20 15:46:40 -07:00
Vincent Fiduccia 19239b5212
More unified nav, less friendly mapping 2020-02-20 11:11:23 -07:00
Vincent Fiduccia c31f9b27ef
Move /components/cru -> /edit and /components/detail to /detail 2019-12-12 17:21:51 -07:00
Nancy Butler 896d8d0153 namespace edit goes to corrrect page 2019-12-09 09:54:48 -07:00
Nancy Butler a0b400a5c9 bulk delete 2019-12-03 17:28:39 -07:00
Nancy Butler 33e0cce337 only require nameconfirm for namesapce and stacks 2019-11-19 10:33:50 -07:00
Nancy Butler 1e7457841a open modal to confirm resource delete 2019-11-19 10:17:02 -07:00