Open dnmeid opened 2 weeks ago
1) This behaviour is consistent with how things behave elsewhere. But yeah this is much costlier to do than dragging actions around so would make sense to defer
2) It's using a modal that predates this list, its the same one that has been around for a while in the button view. I'm not opposed to editing it inline though. I have been expecting there to be more things added to that modal over time, so I don't want to remove it entirely.
3) See the discussion https://github.com/bitfocus/companion/pull/2689#issuecomment-1897493024 for why this is a modal (TLDR is to allow adding multiple pages at the same point easily)
4) I'm not opposed to changing that
5) I decided to start nudging users to give their pages a name. Of course you don't have to do it, but I think it is a good idea to prompt users to do it, both for their own sanity and so that we can provide a useful list of pages. Considering that pages can now be moved around, having none of them named makes it incredibly hard to find anything.
Pages always had a name of PAGE
unless the user changed it. In a couple of places this value was interpreted as being the default so was handled specially (I don't remember what of that logic was changed)
6) It is supposed to be showing them all, and I'm pretty sure was working at some point
Adding many pages fast is absolutely something we want to have. But as far as I see it the modal doesn't make it any faster. Overall it makes it slower. Assume you want to add three pages. With modal you have to click on the + to open modal, click two times on + in modal, click on add = 4 clicks. Without modal you click three times on a + = 3 clicks. Additionally with the modal you need to reposition your mouse at least two times, without a modal zero times. When you want to add only one page there are 2 clicks with modal and one click without. So in any case the modal doesn't give any benefit. Especially if the + is changed to "add below" there is no mouse repositioning needed between clicks and that will be a lot faster, more intuitive and generally should modals be avoided. The current modal only has an advantage if you want to add AND name pages because you are saving the click on the rename button. But this advantage is lost with the linline name editing like I propose in 2.
I agree that page names are useful and especially if you can reorder the pages it helps a lot if you have an identifier. But giving any page a default name doesn't help to tackle this. Again I find that annoying, especially because now you have to actively remove the default name and replace it with a useful name. That just doesn't make sense.
I think it would be more encouraging to have the inline name editing and show a placeholder like "Name this page...". As a placeholder this text would show up in grey and only if the field is empty and out of focus.
Also in dropdowns like "jump to page", there is absolutely no advantage of showing "1 PAGE", "2 PAGE", "3 PAGE"... over "1", "2", "3"...
And no, pages did not always had a name of PAGE. Initially pages only had a number and the possibility to give them a name had been introduced later. By that time the page name entry used PAGE
as a placeholder. The special treatment is the page number button, it shows PAGE + page number if the page doesn't have a name or the page name is PAGE (because we recoginzed that there was no way of removing a page name and so many people wanted to go back to default by reentering the placeholder text) and it shows the page name if there is a diferent name.
Is this a bug in companion itself or a module?
Is there an existing issue for this?
Describe the bug
I had the chance to play a little bit with the reorderable pages and it seems not production ready yet. There are a few things I like to mention:
Steps To Reproduce
No response
Expected Behavior
No response
Environment (please complete the following information)
Additional context
No response