Git Product home page Git Product logo

layowt's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @josh-yates
  • ๐Ÿ‘€ Iโ€™m interested in DevOps, Automation and web development
  • ๐ŸŒฑ Iโ€™m currently learning Svelte and Playwright

layowt's People

Contributors

josh-yates avatar

Stargazers

 avatar

Watchers

 avatar  avatar

layowt's Issues

Tab removal issue

Repro:

  • Start with empty layowt
  • Add content to first pane
  • Create new tab
  • Add content to first pane of new tab
  • Switch to first tab and remove

Issue:

  • Remaining tab remains 'unselected' and the removed tab's content is displayed
  • Re-rendering only occurs when clicking on the remaining tab

Export / import layowts

Ability to save layowts as JSON, and import layowts from JSON file (adding to existing layowts).

Tab colour setting

The setting for tab colour has been temorarily removed due to the end command causing an error in Windows Terminal

Powershell - escape semicolon for multiple commands

Powershell supports running multiple commands in sequence by separating them with a semicolon. Currently windows terminal will think these are commands for itself and try to run the commands separately in new tabs. By escaping them with a backlash (eg pwd \; ls) it will run multiple commands correctly.

Consider having an 'Escape characters' checkbox in a pane (maybe under an advanced settings dropdown) which is on by default and controls this. We may wish to escape other characters in the future, eg. double quotes.

Pane removal issue

Repro:

  • Start with empty layowt
  • Split right, then split new pane down
  • Remove the top-right pane

Issue:

  • Both the top-right and bottom-right panes are removed from the command (and local storage)
  • There is a small right pane left in the UI

Save layouts

Save layout to browser storage. Prefer auto saving over manually saving. Extend saving to support multiple named layouts.

Global settings

Add support for global settings, eg. the user's colour schemes and available shells. Use this information for defaults and auto-suggestions when configuring a pane. Consider allowing the user to import their settings.json file and extract these values.

Clone panes

Ability to clone a pane's command and settings when splitting right / down

'Remove' button opens menu for child pane

  • Split the first pane
  • Add a title to the newly created pane and close its menu
  • Open the menu for the first pane and click 'Remove'
  • The remaining pane has its menu open

We need to close the menu before the 'remove' event is dispatched.

Improve approach to reactivity

In App.svelte, we use an object called update to force a refresh of the grid layout and generated command. There must be a cleaner approach to this in Svelte.

Support -s parameter

  • Basic: inputs in pane settings for width and height
    • Use %
    • Investigate min and max values
    • Input may have to be readonly if parent pane, as -s seems to apply to child panes. It should still reflect the percentage that this pane will take up in width and height
  • Draggable bar

Launch as admin

Related to #5

Have a 'Launch as admin' setting, effectively wrapping command in Start-Process powershell -Verb RunAs 'wt...'. Escape spaces in fields with `

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.