Repository navigation
Commit ede24f0
Follow ~/.python_search/theme in ps_ui; remove the Python terminal UI (#64)
* Follow ~/.python_search/theme in ps_ui; remove the Python terminal UI
ps_ui now picks dark/light from ~/.python_search/theme (after PS_UI_THEME,
before the time-of-day fallback), re-read every frame so a running daemon
switches live when a system-wide theme switch writes the file.
The Kitty-based term_ui and its supporting modules (QueryLogic, BM25 search,
search actions, Python themes) are removed; `python_search search` / `pys`
now open ps_ui.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* CI: install Python 3.12 before poetry install
The ubuntu-22.04 runner ships Python 3.10, which the project's
python = ">=3.12,<=3.14" constraint rejects, so the Tests workflow has
failed at poetry install on every run since September.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* Regenerate poetry.lock
CI's poetry install refused the stale lock file (pyproject.toml changed
significantly since poetry.lock was last generated).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* Drop getch and refresh poetry.lock
getch 1.0 is a Python 2 C extension that no longer builds on 3.12, and only
the removed terminal UI used it. poetry.lock was also out of sync with
pyproject.toml (missing pysimplegui), which made `poetry install` abort in CI.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* CI: write python_search config before running tests
Tests import SystemPaths, which requires PYTHON_SEARCH_PATH in
~/.config/python_search/config.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* CI: configure PYTHON_SEARCH_PATH and an entries project before pytest
SystemPaths and the entries loader raise when ~/.config/python_search/config
or current_project are missing, so test collection errored on the runner.
Point them at the checkout and at a project made from the bundled template.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* CI: install ripgrep for the entry editor tests
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* CI: run tests on ubuntu-24.04
ubuntu-22.04's apt ripgrep (13.0) fails to find the entry key declaration
in test_entries_editor_finds_key_declaration_not_other_mentions; 24.04
ships 14.1.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* Escape entry keys for ripgrep, not Python re
re.escape also escapes spaces, and ripgrep < 14 (Ubuntu 22.04's 13.x) rejects
"\ " as an unrecognized escape, so edit_key found nothing for any key with a
space and fell back to the default file. Escape only Rust regex metacharacters.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent a70a2b3 commit ede24f0
23 files changed
Lines changed: 88 additions & 1350 deletions
File tree
- .github/workflows
- python_search
- apps
- theme
- entry_capture
- search/search_ui
- rust
- ps-core/src
- ps-ui/src
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
30 | | - | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
38 | 52 | | |
39 | 53 | | |
40 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 22 | | |
35 | 23 | | |
36 | | - | |
| 24 | + | |
37 | 25 | | |
38 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
103 | 97 | | |
104 | 98 | | |
105 | 99 | | |
| |||
144 | 138 | | |
145 | 139 | | |
146 | 140 | | |
147 | | - | |
148 | | - | |
| 141 | + | |
149 | 142 | | |
150 | 143 | | |
151 | 144 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
71 | | - | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | | - | |
78 | | - | |
79 | | - | |
| 78 | + | |
This file was deleted.
This file was deleted.
Whitespace-only changes.
This file was deleted.
0 commit comments