-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
x thread
#37
Comments
These are some pretty neat ideas! for the thread command I like the interactive mode for creating a thread and I'm thinking about making it a separate command to be just I also like the color feature when exceeding the tweet limit and I'm gonna implement it. About for That said, I'm planning to change the structure of the whole tool to be more professional and add some features to be more complete instead of just posting a simple tweet. first I would change the
So, the only required flag is I might as well include an optional flag
you might as well make an alias for So now we have 3 main commands
any changes to the current commands or suggestions for new commands are welcomed Thanks for your contribution |
I agree with mostly everything you said but I have a couple remarks: I would love to preserve the option to tweet like Additionally you can add simply
Option B
That would initiate the same interactive mode we mentioned earlier. So you could do Either option is fine, the numbers give you the same number of keys for all the options, but the other one feels more interactive and inviting, and probably both can be combined now that I think of it. And of course TUI's have so many possibilities and are a slippery slope that may overcomplicate the project depending of what you want, but since you like Go, I suggest taking a look at https://github.com/charmbracelet/bubbletea Regarding the options of scheduling, which I don't need but totally understand others might, I want to point out that it creates some complications when designing the UX, for instance, if creating threads is mainly interactive, params are stale and can not be used, or have to be used before knowing if you actually are sending it or not, feels a bit odd, perhaps scheduling only being available for regular tweets or replies which are more simple is totally fine for now, just be aware of this. I would also say that if you are going to implement scheduling one feature that I don't know if it's implemented or not would be a character check instead of just failing to send, so that it fails right when you make the schedule tweet command, not when it tries to send it and fails(assuming char length error). Let me know what you think ;) |
For the non-params thing, I was following the syntax of the GitHub CLI tool if you are familiar with it. For example, it creates a GitHub repo like this I also agree with you the For the TUI About scheduling tweets idk I feel like I want to post something but I don't feel like posting it now, maybe in a few hours. Or, maybe I want to schedule something to be posted every day at a specific time. Some people may use the tool for advertising as example, on an enterprise level. This would be helpful and easily automated to post on its own when linked with some other software. Also, I don't understand how the conflict is gonna happen in threads while scheduling tweets. Can you clarify? how params are could stale and what params exactly are you talking about? The initial idea was for regular tweets but might extend to threads as well. So, How exactly could this be odd? No, character length checking is not implemented yet, but for sure I'm going to implement all sorts of validation before scheduling to be sure that the tweet is valid. I might also add a check for X Premium users and based on that I would add the necessary configurations for the logged-in user. All that said, It's going to be shipped with the text turning red feature when exceeding the limit we talked about later. |
My point: if you preserve
Let me recap to make clear what I mean:
Then imagine you wanted to combine the 2, you gotta first think of the scheduling and then on the content of the thread, it's backwards to me, in fact until I wrote every piece of the thread I don't even know if I want to publish it. so in my mind, doing So it makes more sense to me, that interactive mode... let's you specify the schedule... interactively through another option in the interactive flow... just like you can press a keyword/option for sending, appending a new one or aborting, you can just have another one for scheduling. Also, addressing your scheduling design, let me give you my thoughts there too.
I think you can combine all this into one and do better parsing, I've seen plenty examples For instance I much rather have a single param for scheduling that I have to remember that let's me:
I think So tweeting hello world next monday becomes I see perhaps some problems if people want to use any param inside the tweet for a completely unrelated reason, but that could be handled by forcing the use of And of course, all this may be a bit too much to implement, so can be incrementally adopted, I just think 1 single param for scheduling is better than 3, both for a cleaner code base, to streamline usage and to remember easily. Also, every time I think of scheduling I remember this which seems to me an amazing UX, just in case you want to consider. |
I envision 2 possibilities for threads.
If you press enter it prompts you:
I'd replace the
-t
command with this functionality and just tweet without any param like currently does but it's not documented btw.May be feasible to implement color highlight when going above max char.
x -r "text"
So you can:
x "Hello"
x -r "world!"
Hello tweet 1/2
world! tweet 2/2
x -r [id] "text"
Which can be combined with
x "Hello world!"
~> outputing the IDThe text was updated successfully, but these errors were encountered: