question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature requests and suggestions

See original GitHub issue

This tool has great potential. Here are some features I could think of.

  • Resolving multiple files with the same extension(Not sure if it’s already supported) If a folder has .js and .jsx and has been imported without extension, resolve order matters here. Make it configurable, optionally use butler.config.js?

  • Watch mode?

    • Need to rethink performance issues as we are reading and modifying most of the files on every run
    • When to really move the file in watch mode? ‎
  • Dry run Potentially there will be too many folders/files movement, this might not be what the user always wants by default. There should be a way to see what happens before it actually happens. I could think of two options(Note: we already have information about this in the graph).

    • Print visual diff in the terminal before applying the changes(maybe too long for large projects)
    • Move files and folders and prompt user do you want to keep the changes, If no, revert the changes

These features are already suggested, but, re-adding here with a bit more context.

  • Ignore directories/files/regex pattern Some tools like next.js and Gatsby depend on the folder structure. Allow skipping some of the folders and files(#11)

  • Support running programmatically Allow running via node(or any other tool) for flexibility. also, we might need some sort of config file like butler.config.js(oh, no, another config file?)(#8)

We can also have a GitHub project board where we can track progress. I’m really excited about the future of this project 🎉

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:5
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
benawadcommented, Feb 18, 2020

We are using git mv, so I think that should prevent any merge conflicts related to the file being moved/renamed. Haven’t tested that yet though, so not 100% sure.

0reactions
sQVecommented, Feb 22, 2020

@ganapativs Squashing is not relevant in your example. Squashing problems will occur when you branch from a commit that later in time gets squashes - for example a feature branch that is based on another feature branch. What your example is explaining is just a simple merge conflict due to two parts changing the same thing. This is nothing that we’ll be able to solve and will have to be handled manually.

What we do is make the merge conflicts easier by marking moved files as moved in Git.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Requests: What are they and how to manage them
Feature requests are a form of product feedback you may frequently encounter as a SaaS product manager. They typically come in the form...
Read more >
7 Useful Tips to Manage Feature Requests - Craft.io
1. Put everything in one place · 2. Create a system for receiving and managing feature requests · 3. Respond – personally, promptly...
Read more >
How to manage feature requests & product feedback ... - Convas
Tips to manage feature requests · 1. Make it easy for your customers to give you feedback · 2. Gather all your feature...
Read more >
What Is a Feature Request? Definition and Examples - Airfocus
A feature request is a comment, message, or ask from a user to implement a specific feature into your product. Feature requests can...
Read more >
How To Manage Feature Requests [Template included]
This guide will teach you everything about feature requests – how to process them, manage them, respond to them, prioritize them – so...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found