feat: context menu for secondary actions in collection, environment and team components - #2005
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
@drop="dragging = false"
|
@drop="dragging = false"
|
||||||
@dragleave="dragging = false"
|
@dragleave="dragging = false"
|
||||||
@dragend="dragging = false"
|
@dragend="dragging = false"
|
||||||
|
@contextmenu.prevent="$refs.options.tippy().show()"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="cursor-pointer flex px-4 items-center justify-center"
|
class="cursor-pointer flex px-4 items-center justify-center"
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
@drop="dragging = false"
|
@drop="dragging = false"
|
||||||
@dragleave="dragging = false"
|
@dragleave="dragging = false"
|
||||||
@dragend="dragging = false"
|
@dragend="dragging = false"
|
||||||
|
@contextmenu.prevent="$refs.options.tippy().show()"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="cursor-pointer flex px-4 items-center justify-center"
|
class="cursor-pointer flex px-4 items-center justify-center"
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
@dragover.stop
|
@dragover.stop
|
||||||
@dragleave="dragging = false"
|
@dragleave="dragging = false"
|
||||||
@dragend="dragging = false"
|
@dragend="dragging = false"
|
||||||
|
@contextmenu.prevent="$refs.options.tippy().show()"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="cursor-pointer flex px-2 w-16 items-center justify-center truncate"
|
class="cursor-pointer flex px-2 w-16 items-center justify-center truncate"
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
@drop="dragging = false"
|
@drop="dragging = false"
|
||||||
@dragleave="dragging = false"
|
@dragleave="dragging = false"
|
||||||
@dragend="dragging = false"
|
@dragend="dragging = false"
|
||||||
|
@contextmenu.prevent="$refs.options.tippy().show()"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="cursor-pointer flex px-4 items-center justify-center"
|
class="cursor-pointer flex px-4 items-center justify-center"
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
@drop="dragging = false"
|
@drop="dragging = false"
|
||||||
@dragleave="dragging = false"
|
@dragleave="dragging = false"
|
||||||
@dragend="dragging = false"
|
@dragend="dragging = false"
|
||||||
|
@contextmenu.prevent="$refs.options.tippy().show()"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="cursor-pointer flex px-4 items-center justify-center"
|
class="cursor-pointer flex px-4 items-center justify-center"
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
@dragover.stop
|
@dragover.stop
|
||||||
@dragleave="dragging = false"
|
@dragleave="dragging = false"
|
||||||
@dragend="dragging = false"
|
@dragend="dragging = false"
|
||||||
|
@contextmenu.prevent="$refs.options.tippy().show()"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="cursor-pointer flex px-2 w-16 items-center justify-center truncate"
|
class="cursor-pointer flex px-2 w-16 items-center justify-center truncate"
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<div class="flex items-stretch group">
|
<div
|
||||||
|
class="flex items-stretch group"
|
||||||
|
@contextmenu.prevent="$refs.options.tippy().show()"
|
||||||
|
>
|
||||||
<span
|
<span
|
||||||
class="cursor-pointer flex px-4 items-center justify-center"
|
class="cursor-pointer flex px-4 items-center justify-center"
|
||||||
@click="toggleShowChildren()"
|
@click="toggleShowChildren()"
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<div class="flex items-stretch group">
|
<div
|
||||||
|
class="flex items-stretch group"
|
||||||
|
@contextmenu.prevent="$refs.options.tippy().show()"
|
||||||
|
>
|
||||||
<span
|
<span
|
||||||
class="cursor-pointer flex px-4 items-center justify-center"
|
class="cursor-pointer flex px-4 items-center justify-center"
|
||||||
@click="toggleShowChildren()"
|
@click="toggleShowChildren()"
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<div class="flex items-stretch group">
|
<div
|
||||||
|
class="flex items-stretch group"
|
||||||
|
@contextmenu.prevent="$refs.options.tippy().show()"
|
||||||
|
>
|
||||||
<span
|
<span
|
||||||
class="cursor-pointer flex px-2 w-16 items-center justify-center truncate"
|
class="cursor-pointer flex px-2 w-16 items-center justify-center truncate"
|
||||||
:class="getRequestLabelColor(request.method)"
|
:class="getRequestLabelColor(request.method)"
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex items-stretch group">
|
<div
|
||||||
|
class="flex items-stretch group"
|
||||||
|
@contextmenu.prevent="$refs.options.tippy().show()"
|
||||||
|
>
|
||||||
<span
|
<span
|
||||||
class="cursor-pointer flex px-4 items-center justify-center"
|
class="cursor-pointer flex px-4 items-center justify-center"
|
||||||
@click="$emit('edit-environment')"
|
@click="$emit('edit-environment')"
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="border border-divider rounded flex flex-col flex-1">
|
<div
|
||||||
|
class="border border-divider rounded flex flex-col flex-1"
|
||||||
|
@contextmenu.prevent="!compact ? $refs.options.tippy().show() : null"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="flex flex-1 items-start"
|
class="flex flex-1 items-start"
|
||||||
:class="
|
:class="
|
||||||
|
|||||||
Reference in New Issue
Block a user