Comments (12)
I don't quite understand this. Could you please explain further?
from filer.
(What's below applies equally to the 'test sections' ("When").
With the "Add" button, you can add actions in the "Do" section of the rule window. After you've added a few, you can't remove e.g. the second action after you added a third. The "Remove" button always deletes the last added action.
Also, you cannot change their order. Though that's maybe not as important, I dunno...
I suppose "+" and "-" buttons to the right of the text field of an action instead of the "Add/Remove" buttons could work. Then you can exactly say which action to remove or where to add a new one (below the one you clicked the "+").
That way, re-arranging also becomes tolerable, by "+" a new action where you need it and copy&pasting and then removing the action you like to move.
from filer.
We can remove (and add after) the row in which the text field has the keyboard focus. That way, we wouldn't have to add the "+" and "-" button. What do you think?
from filer.
I'd prefer the +/- buttons because it's so much more obvious.
The +/- widget that's used in the Screen preferences would do nicely. If the rest of the buttons ("Type", "is" etc.) were BPopUpMenus instead of those misused BButtons, we could have a slick GUI. :)
from filer.
I am thinking about redesigning this window and make it a BColumnListView if the class can be extended to support additional ColumnTypes. If feasible, a +/- button for every row would look repetitive? Wouldn't it better to have one +/- button below the view?
from filer.
I'm not sure you can put popup menus into a "cell" of a BColumnListView. And I don't know if a BColumnListView is really suited for this. Mabe if you could create a crude mockup...
I was imagining something more like the "Find.." by attibute panel, only with those +/- buttons at each row instead of the remove/add buttons below. The Find... panel too, suffers from the you-can-only-add/remove-from-the-bottom-of-the-list...
from filer.
Never mind. I thought it would be easy to add new column types to ColumnTypes.cpp.
I was thinking about making the Test view (the When box) a list view with one test per row. Then the user would be able to navigate to any row using the up/down arrow keys. The current row would be highlighted, so one pair of add/remove buttons below the list view would work. (Add would mean insert before the current row.) Same with the Do box.
from filer.
A BListView-like approach:
The highlighted row can change with a mouse click or the up/down keys, and a vertical bar can be added to scroll the rows.
I guess it would be tedious, if not terribly difficult, to implement this comparing to using a +/- button for each row.
from filer.
I still prefer the +/- buttons for every row. Even if you put a "knobbly" widget like the Deskbar tray has to move the Deskbar to different locations, it's not obvious that you can re-order rows and how.
It's also better suited for keyboard navigation.
from filer.
This issue can be closed as it's fixed by @humdingerb with 33c22ea.
from filer.
Not really. This tickets is about re-arranging the test/actions in the "Edit rule" window.
Frankly, I think it's too much hassle to implement. And now that we can add/remove specific rows of tests/actions with the +/- buttons, I don't see such a pressing need for it...
from filer.
Oops! I got the two mixed up.
from filer.
Related Issues (20)
- Add icon-button to specific tests to open file dialogs
- Replace Add/Remove buttons in AutoFiler tab to +/- buttons HOT 1
- File dialogs for folder-only selection should hide all files HOT 1
- Remove SQLite.
- Change file panel titles HOT 6
- Update and add more translations HOT 43
- doesn't build on x86_64 (gcc5)
- Filer crash immediately HOT 24
- gcc5 linker fails when linking AutoFiler
- Need to make v1.2.0 backward compatible with v1.1.0 wrt AutoFilerFolders
- Conflict window: also shows location HOT 6
- Order of the tabs should follow the workflow HOT 2
- Beautfy the Conflict window HOT 2
- Crash on ignore conflicting file when multiple rules HOT 11
- Drag&drop behaviour and file panel modes/filters HOT 26
- Untyped files (on non-BFS partitions) in the file panel HOT 11
- Filer Zone replicant doesn't work well with Shelves different from Desktop
- Crash on rule involving attr checks
- Remove SQLite dependency
- Crashing Filer 1.2.2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filer.