Commit Graph
4 Commits
Author SHA1 Message Date
calisto-mathias 78c0fc35a7 Find Panel: Implement Folder Filtering
This commit introduces folder filtering to the Find Panel and associated
results window.

--> Features:
	--> Directory Selection: Users can select directories using the
	"Select a Directory..." option, now available in the same menu
	as volume selection.

	--> File Panel Integration: Upon selecting this option, a File
	panel will appear, displaying only folders or symlinks to
	folders for selection.

	--> Folder Filter Management: Selected Folders are shown in the
	same menu, with the corresponding menu item marked. Clicking on
	the menu item removes the folder filter.

	--> Recursive Search: The folder filters are combined using the
	OR method. Results will show items from any selected folder,
	recursively checking all subfolders.

--> Bug Fixes
	--> Resolved an issue with the saving functionality when resetting
	volumes or loading a query.

Change-Id: I8eaab6ad8ebd3de09944a8bcf03f100c451225ae
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7845
Reviewed-by: Niels Sascha Reedijk <[email protected]>
2024-08-14 19:19:10 +00:00
calisto-mathias 9e875c1998 Find Panel: Implement Menu Bar
This commit introduces enhancements to the Find Panel, focusing
on improving user experience and functionality. The primary
changes include:

1. Menu Bar Integration
 - Added a Menu Bar and migrated the more-options section into this
   Menu Bar for a more organized and intuitive interface.

2. Saving a Query
 - Save as Option: This allows users to save a query to any location
   on their storage drive. A save panel enables marking the saved
   query as a template or a query file.

 - Save Option: Treats Queries and templates as documents, enabling users
   to override changes to the file without opening the Save as Panel
   repeatedly. Context-sensitive activation of this option is also enabled.

3. Opening a Query:
 - Users can open a query via the Find Panel, which brings up a File Panel for
   Selection, streamlining query/query template management.

4. Templates Menu:
 - Provides a convenient way to select templates. Newly saved templates
   immediately updated in this menu.

5. Options Menu:
 - Clear Templates: Deletes all the templates from the filesystem and
   refreshes the template menu.

 - Clear History: Deletes either all query files or only temporary query
   files from the filesystem.

6. Improved User Flow For Saving Queries:
 - Queries are treated similarly to document files, containing properties
   specific to the search. Users can override and save details using the
   same file.

7. History Menu:
 - The History menu has also been moved into the menu bar. Here it is
   segregated into temporary and saved query files. This is helpful to
   slowly shift the chain of thought to only show the saved queries in the
   history menu.

Summing up, these changes aim to shift parts of the Find Panel into the
Menu Bar, fitting it along the newer design. It also adds in the required
features to treat queries and query template files as mutable documents
which can be easily saved or retrieved.

Change-Id: I9c13ddd77a7628a0440e59c57b6bb22dab6437c0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7817
Reviewed-by: Niels Sascha Reedijk <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2024-07-14 16:58:20 +00:00
Calisto Mathias d62ce6347f Device Tab View: Remove Unnecessary Tab View By Replacing it with required Properties View
* Deleted all the unnecessary lines of code and replaced the tab view with its direct child view.
Also changed the MessageReceived Functions in order to incorporate the change.

[Review 1]: Added the required Whitespace

Fixes #18213

Change-Id: Ibe4e1c2e3cb3acca58b3cb76f93c8184157d3cfe
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7489
Reviewed-by: waddlesplash <[email protected]>
2024-02-28 23:19:23 +00:00
Calisto Mathias ffa42ceaf7 MediaPlayer Settings: Fix Misalignment Issue for 2nd and 3rd Checkboxes
* Replace GridLayout Implementation with the GroupLayout In order to fix the misalignment issues

It seemed that the GridLayout implementation for the alignment was causing issues in the position of the
two checkboxes. Replacing this implementation with the GroupLayout class fixes this issue in a rather
simple way. Made a certain fix (upon reading the review) in order to incorporate the fix for all font
sizes as well :)

[Review-nephele]: Removed the unwanted tab-space according to the rules listed in the style guide :)

Fixes #10475

Change-Id: Ic6804cf6c3d20261ab00ce4abd130c46e304e881
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7481
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
2024-02-28 23:19:23 +00:00