-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project names as uniq identifiers #5
Comments
Oh, I was totally unaware of the customer name scope, interesting! I don't have a feeling about the ergonomics of the workflow here, do you mind answering some questions about it?
|
|
Hey! Sorry, I've been a bit unresponsive, a lot happening at work. I'll have time now, however, to chip away at this consistently! |
Thanks for the update! Tried to play around with it, but I can't figure out how to specify the client in the TOML-file. Could you give me a quick example? |
aha, the missing docs strike again! Here's an example: x = {project = 'test', client = 'ACME'} |
Thx for the example! But when I put this in my config:
miteclock throws an error:
Any idea? |
"If" I understand your code correctly, you are using the filedname "client_name" in your test data. But the mite.api returns the field as "customer_name". Maybe this is the problem? |
Yes, you're right, I've pushed a fix! |
Do you think the fieldname "customer" would be better than "client"? I was, as usual, trying to save keystrokes, but maybe it's better to stay consistent with mite terminology :) |
Thanks for the fix. It is working now! And yes, I would stay more consistent with the mite terminology. For the documentational aspect: it would be pretty useful (and I guess quiet easy) to change the error from
to something like this:
|
Oki-doki, I'll release those changes next week when I'm back at the computer. Thanks for all the feedback! |
Thanks! Another idea, regarding customers:
It would be good to add another line ala |
Hi @yolk! Thanks very much for all the feedback. I've implemented most of it:
It turned out that suggesting a pattern is not that trivial, so I've left that for a future date. Give release |
Hmm, the way I'm displaying projects right now confuses a colleague of mine who doesn't know about the whole "customer" angle. He thought that "Project name (Customer name)" are all part of the project name. I think we can solve this with some documentation as well as better markup |
miteclock expects project names to be uniq in mite. But this isn't the case. A lot of mite.users use the same project name for different projects per customer.
For example:
It would be very helpful to have a simple way to specify the customer name in a project shortcut.
Alternatively, why not ask on first usage (instead of the error message shown above) which project from which customer to use and store it in the config file?
Also
m status
only shows the project name. It would be helpful to also show the customer. The name of the customer is included in the project.json ascustomer_name
.The text was updated successfully, but these errors were encountered: