-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Codify state icons in a separate module (#1186)
This PR defines process state icons in a separate common module and utilizes them throughout the app.
- Loading branch information
1 parent
7cdec52
commit d1aae33
Showing
6 changed files
with
54 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
from .process import QeAppWorkChainSelector, WorkChainSelector | ||
from .state import STATE_ICONS | ||
from .tree import SimplifiedProcessTree, SimplifiedProcessTreeModel | ||
|
||
__all__ = [ | ||
"STATE_ICONS", | ||
"QeAppWorkChainSelector", | ||
"SimplifiedProcessTree", | ||
"SimplifiedProcessTreeModel", | ||
"WorkChainSelector", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
STATE_ICONS = { | ||
"created": "🚀", | ||
"waiting": "⏳", | ||
"queued": "⏳", | ||
"paused": "⏸", | ||
"running": "▶️", | ||
"finished": "✅", | ||
"failed": "❌", | ||
"killed": "☠️", | ||
"excepted": "⚠️", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters