Giter Club home page Giter Club logo

Comments (22)

simjnd avatar simjnd commented on May 14, 2024 11

I think that both should be cool: having both a "Hide Block" option (simply visually removes it, like a finer grained CTRL + L), and a "Delete Block" (erases it from history, an easy way to cleanup misspelled commands and such from your history so that it doesn't pollute your CTRL + R)

EDIT: Noticed this request is very similar to #23

from warp.

zachlloyd avatar zachlloyd commented on May 14, 2024 7

Right, one feature we could easily add here is the ability to collapse blocks, so you can just see the input and not the output. We could do it globally or on a per block basis.

Curious if this would be useful.

from warp.

LosManos avatar LosManos commented on May 14, 2024 4

I have 3 use cases:

  • Remove a block with a password in it.
    This does not happen very often and can require some more complex user interaction, like clicking.
    [remove a block and from history]

  • Hide a block which I don't care about any more. For example a file listing; it takes up a lot of space and when I am finished with said file name the listing is of no value any more. The same when I list my kubernetes pods. When I have checked the presence or name of the pod the list is of little use. So I'd like to just hide it.
    This happens quite often; even very often. The best solution, for me that is, is to have a shortcut.
    [hide a block]

  • Remove a block with speling eror in, like a mistyped command.
    This happens wy to offten. So a shortcut would be prefereble. preferebel. referable.
    I'd like to remove it from history in the same keystroke. No reason to have to search or arrow-up through erroneous commands.
    [remove a block and from history]

from warp.

gavrilikhin-d avatar gavrilikhin-d commented on May 14, 2024 4

Are there any ETAs for this feature? It's been 3 years. Doesn't look like a reasonable time for such a simple feature

from warp.

braykov avatar braykov commented on May 14, 2024 3

I instinctively went to the menu to delete a block. This is because I was imputing my password with the -p flag of some tool. I wanted this totally removed/deleted from screen and history too.

from warp.

donaldguy avatar donaldguy commented on May 14, 2024 2

on Discord, @s278gupt, shared some mock-ups of

Deleting/Hiding:
image

As well as

Collapsing:
image

As I (amongst other things) described in #23 (and Zach mentioned above)

from warp.

yarseyah avatar yarseyah commented on May 14, 2024 2

I found this issue as I was looking for a way to delete a block that contained passwords too.

I'm sure I could purge everything, but given I use a tool to generate passwords and licences, it would be better to have the level of control such that I could delete things I don't ever want preserved.

from warp.

narner avatar narner commented on May 14, 2024 1

Oooh good question; I think more like just not to see the block in a pane --- I've only just started using Warp, but I can easily see something where it would be useful to have different panes with different blocks depending not the context.

from warp.

Mbladra avatar Mbladra commented on May 14, 2024 1

I'd just like to add to this that frequently use CMD + L in OSX terminal as part of my workflow to peek the output of a certain command, without having it persist on my screen - I find it incredibly useful.
For the time being I'll probably stick with my existing terminal setup because I use CMD + L so often, but would love to see it added to warp!

from warp.

LosManos avatar LosManos commented on May 14, 2024 1

@pnlinh Your question does not belong to this issue really but here is the answer:
You have a kebab menu with what you seek.
image

from warp.

avanavana avatar avanavana commented on May 14, 2024 1

I would really love to see a "delete block(s)" feature.

Everybody knows ctrl+k / clear terminal, but sometimes you get junk blocks or make a mistake, or you just want to clear one or a few items from your terminal history, and—especially because in Warp you can select blocks, you should be able to delete them. The blocks paradigm is similar to code blocks in IPYNB/Jupyter notebooks as well—which allow you to delete blocks. This would be a very natural feature. I completely expected it to already be implemented in Warp, and I was surprised when I selected multiple blocks and then went to the blocks menu, looking for this feature, and selected "Clear Blocks", when it just cleared my terminal. The wording "clear blocks", especially in the context of having one or more blocks selected, gives the impression that the selected blocks will be deleted from the terminal, and does not give the impression of "clear the whole terminal", which in most terminals is called "clear terminal". Alternatively, using the block paradigm, one might expect such a command to be labeled "Clear all blocks".

from warp.

gagata avatar gagata commented on May 14, 2024

hey @narner mind giving more context on the feature request? do you just not want to see the block or do you want to completely 'erase it' from the history?

from warp.

gagata avatar gagata commented on May 14, 2024

I just noticed that #46 duplicates this task. will keep this one, since it has more discussion already

from warp.

elviskahoro avatar elviskahoro commented on May 14, 2024

Linking:

from warp.

elviskahoro avatar elviskahoro commented on May 14, 2024

@manuelblancovalentin
From #493

More general:

Ability to delete/hide any block you want. Just click on it and either hide after 2-click or click the three buttons of the menu and then select "hide".

from warp.

dannyneira avatar dannyneira commented on May 14, 2024

Thanks for letting us know @braykov, we will post updates here. We appreciate your patience.

from warp.

owenblacker avatar owenblacker commented on May 14, 2024

Right, one feature we could easily add here is the ability to collapse blocks, so you can just see the input and not the output. We could do it globally or on a per block basis.

Curious if this would be useful.

I would absolutely love this. It's the one thing I keep going to do (over and over again) and then remembering isn't a supported functionality.

from warp.

dannyneira avatar dannyneira commented on May 14, 2024

Hey Folks, CMD-K clears all the blocks in a session, there isn't a way to delete individual blocks at this time, but the shortcut should help with the use case for the time being.

from warp.

pnlinh avatar pnlinh commented on May 14, 2024

Hi all, I can't find the way to delete shared block. Is there any other way to delete it?
image

from warp.

pnlinh avatar pnlinh commented on May 14, 2024

@pnlinh Your question does not belong to this issue really but here is the answer: You have a kebab menu with what you seek. image

@LosManos It works. Thank you

from warp.

wmcnamee-coreweave avatar wmcnamee-coreweave commented on May 14, 2024

similarly, sometimes I want to print a piece of sensitive information, for troubleshooting purposes, but then make the output disappear (permanently) without closing and re-opening my terminal.

from warp.

seanparkross avatar seanparkross commented on May 14, 2024

+1
If I screw something up in a video demo I want to delete the block and do it again, in context of all the blocks before it. Not need to open a new tab and recreate everything again. It would be a game changer for me.

Even Hide Block would work 🥺

from warp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.