Giter Site home page Giter Site logo

ability to rename project about hey_3 HOT 9 OPEN

masukomi avatar masukomi commented on June 19, 2024
ability to rename project

from hey_3.

Comments (9)

maddy020 avatar maddy020 commented on June 19, 2024

Please assign this issue to me

from hey_3.

masukomi avatar masukomi commented on June 19, 2024

All yours maddy. Thanks for pitching in! :D

Please note that main is slightly ahead of the official release. I just haven't released the new stuff because of this fez bug. Until i get that resolved new changes won't be pushed to fez. :/

from hey_3.

masukomi avatar masukomi commented on June 19, 2024

Just to be explicit. I don't think there needs to be a check if the "new name" already exists, but 🤔 I wonder if there should be a check with the user. Something like "Hey, [new name] already exists. Do you want to merge [old name]'s records into it?"

from hey_3.

masukomi avatar masukomi commented on June 19, 2024

Damn. just realized that if the target name exists then you have to repoint all the entity_project to the new project id, and then delete the old project.

I was planning on "merge projects" as a separate ticket, but i think they're ultimately the same thing @maddy020.

Sorry that the complexity of this one is growing. If you just want to do a tiny PR that only renames IF the target name isn't already used I'd be fine with that. I can handle the merge stuff separately.

from hey_3.

masukomi avatar masukomi commented on June 19, 2024

You still planning on poking this @maddy020 ?

from hey_3.

maddy020 avatar maddy020 commented on June 19, 2024

Ohh @masukomi
Forgot about this issue
I got busy in other tasks
Can you please tell me in which file this change is required

from hey_3.

codesections avatar codesections commented on June 19, 2024

Project names should be unique, and can't be "archived",

Should the fix for this issue also add a hey remove project <name> command as well? This would help declutter the output of hey projects when a user no longer cares about a project. It would also make tab-completion more helpful (once #23 is implemented).

edit: Or maybe the command would be hey kill project <name> for consistency with hey kill <name> and hey kill timer <id> ?

from hey_3.

masukomi avatar masukomi commented on June 19, 2024

Sorry been heads down in job-hunt land and accidentally removed "check github notifications" from the main part of my daily checklist... and thus kept forgetting to check 🤦‍♀️

i like hey kill <thing> <identifier> but it introduces other concerns and additional complications. I've documented my thoughts in a project specific version in Issue #34

(now to tackle the open PRs... ;) )

cc @codesections

from hey_3.

masukomi avatar masukomi commented on June 19, 2024

@maddy020 if you're still interested it'd prolly just be a change to the bin/hey for the command and lib/Hey/Project.rakumod for the actual behavior.

from hey_3.

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.