Interactive mode doesn't show subdirectories #32

Closed
opened 2025-10-30 23:22:32 +01:00 by maciek · 5 comments
Contributor

I've found a regression introduced in 0.30 (from #24). Tested on Python docs layout (PL project):

% uvx --from 'potodo==0.30' potodo --interactive
Choose a directory                                                                                                                                                                                                                       
>     python-docs-pl                                                                                                                                                                                                                     
  [q] Quit                                                                                                                                                                                                                               
(Press "/" to search)                                                                                                                                                                                                                    
[q]: Quit                                                                                                                                                                                                                                

Whereas 0.25:

% uvx --from 'potodo==0.25' potodo --interactive
Installed 9 packages in 18ms
Choose a directory                                                                                                                                                                                                                       
>     using                                                                                                                                                                                                                              
      whatsnew                                                                                                                                                                                                                           
      reference                                                                                                                                                                                                                          
      tutorial                                                                                                                                                                                                                           
      installing                                                                                                                                                                                                                         
      deprecations                                                                                                                                                                                                                       
      python-docs-pl                                                                                                                                                                                                                     
      c-api                                                                                                                                                                                                                              
      faq                                                                                                                                                                                                                                
      distributing                                                                                                                                                                                                                       
      howto                                                                                                                                                                                                                              
      library                                                                                                                                                                                                                            
      extending                                                                                                                                                                                                                          
  [q] Quit                                                                                                                                                                                                                               
(Press "/" to search)                                                                                                                                                                                                                    
[q]: Quit                                                                                                                                                                                                                                
I've found a regression introduced in 0.30 (from #24). Tested on Python docs layout (PL project): ``` % uvx --from 'potodo==0.30' potodo --interactive Choose a directory > python-docs-pl [q] Quit (Press "/" to search) [q]: Quit ``` Whereas 0.25: ``` % uvx --from 'potodo==0.25' potodo --interactive Installed 9 packages in 18ms Choose a directory > using whatsnew reference tutorial installing deprecations python-docs-pl c-api faq distributing howto library extending [q] Quit (Press "/" to search) [q]: Quit ```
Owner

What about just dropping interactive mode? I've never seen someone using it.

What do you think?

What about just dropping interactive mode? I've never seen someone using it. What do you think?
Author
Contributor

Now we have two functionalities connected with URLs: displaying reservations and interactive mode which allows to "reserve" a resource.

Do you propose dropping both of them?

I think pragmatically it makes sense, because they are very project-specific, and may add maintenance burden 👍

Now we have two functionalities connected with URLs: displaying reservations and interactive mode which allows to "reserve" a resource. Do you propose dropping both of them? I think pragmatically it makes sense, because they are very project-specific, and may add maintenance burden 👍
Owner

I just propose dropping the interactive mode. Displaying reservations is still useful: maybe almost 0 project are opening issues to tell about a reservation, but displaying a reservation when a PR is opened make sense.

It could be rephrased though, instead of "reserved by {user}" we could have "{user} is working on it", or just link to the PR/issue.

I just propose dropping the interactive mode. Displaying reservations is still useful: maybe almost 0 project are opening issues to tell about a reservation, but displaying a reservation when a PR is opened make sense. It could be rephrased though, instead of "reserved by {user}" we could have "{user} is working on it", or just link to the PR/issue.
Owner

cf. #33

cf. #33
Author
Contributor

It could be rephrased though, instead of "reserved by {user}" we could have "{user} is working on it", or just link to the PR/issue.

I like the link option, as it could be modified for Transifex to link to resource translation -- that was my motivation/intention for the PR #26.

> It could be rephrased though, instead of "reserved by {user}" we could have "{user} is working on it", or just link to the PR/issue. I like the link option, as it could be modified for Transifex to link to resource translation -- that was my motivation/intention for the PR #26.
mdk closed this issue 2025-11-18 07:11:22 +01:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AFPy/potodo#32
No description provided.