You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To recap: Items are a specific type of Node containing data and methods, with no inherent UI. Item UI handlers are clients that will register to handle the UI for that specific type of item globally, and have access to all the methods. Item acceptors can be created to temporarily capture those items with full access to all the nodes. Item UI handlers decide when to capture the items into the acceptors.
The Launcher Item type would be a unified representation of an app to launch.
Its data would contain FreeDesktop Application Desktop file's fields including:
Name: human-readable name
Exec: command to run to launch the app
Categories: list of categories for app launchers to filter
Icon: 2D (or potentially 3D) icon
Pros:
Unified representation of a common concept meaning stability and reliability instead of the alternative, a rough spec based on pulse senders/receivers
Lets people design universal UIs that can take in app launchers like grabbing an app from a list and dropping it on a dock
Ensures consistent behavior for launching apps when they're outside the launcher
Cons:
Hard to update, breaking changes affect everything
Making non-global UIs for objects that represent apps to launch would require hacks with item acceptors, doable reliably but an extra layer of indirection
More specified in core means more rigid structure
This is the first RFC for Stardust, feel free to comment if you don't understand the concepts or have suggestions for a different format.
The text was updated successfully, but these errors were encountered:
To recap: Items are a specific type of Node containing data and methods, with no inherent UI. Item UI handlers are clients that will register to handle the UI for that specific type of item globally, and have access to all the methods. Item acceptors can be created to temporarily capture those items with full access to all the nodes. Item UI handlers decide when to capture the items into the acceptors.
The Launcher Item type would be a unified representation of an app to launch.
Its data would contain FreeDesktop Application Desktop file's fields including:
Pros:
Cons:
This is the first RFC for Stardust, feel free to comment if you don't understand the concepts or have suggestions for a different format.
The text was updated successfully, but these errors were encountered: