cjm-transcript-source-select 0.0.25__tar.gz → 0.0.27__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cjm_transcript_source_select-0.0.25/cjm_transcript_source_select.egg-info → cjm_transcript_source_select-0.0.27}/PKG-INFO +3 -3
- cjm_transcript_source_select-0.0.27/cjm_transcript_source_select/__init__.py +1 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/components/local_files.py +5 -3
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/components/preview_panel.py +5 -3
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/components/selection_queue.py +3 -1
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/components/source_browser.py +6 -4
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/components/step_renderer.py +5 -3
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27/cjm_transcript_source_select.egg-info}/PKG-INFO +3 -3
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select.egg-info/requires.txt +2 -2
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/pyproject.toml +2 -2
- cjm_transcript_source_select-0.0.25/cjm_transcript_source_select/__init__.py +0 -1
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/LICENSE +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/MANIFEST.in +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/README.md +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/_modidx.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/components/__init__.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/components/helpers.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/html_ids.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/models.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/routes/__init__.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/routes/core.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/routes/filtering.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/routes/init.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/routes/local_files.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/routes/queue.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/routes/source_browser.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/routes/tabs.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/services/__init__.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/services/source.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/services/source_utils.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select/utils.py +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select.egg-info/SOURCES.txt +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select.egg-info/dependency_links.txt +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select.egg-info/entry_points.txt +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/cjm_transcript_source_select.egg-info/top_level.txt +0 -0
- {cjm_transcript_source_select-0.0.25 → cjm_transcript_source_select-0.0.27}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cjm-transcript-source-select
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.27
|
|
4
4
|
Summary: FastHTML source selection component for transcript decomposition workflows, with federated database browsing, drag-drop ordering, and keyboard navigation.
|
|
5
5
|
Author-email: "Christian J. Mills" <9126128+cj-mills@users.noreply.github.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -29,8 +29,8 @@ Requires-Dist: cjm_source_provider
|
|
|
29
29
|
Requires-Dist: cjm_fasthtml_interactions
|
|
30
30
|
Requires-Dist: cjm_fasthtml_viewport_fit
|
|
31
31
|
Requires-Dist: cjm_fasthtml_virtual_collection
|
|
32
|
-
Requires-Dist: cjm_fasthtml_sortable_queue>=0.0.
|
|
33
|
-
Requires-Dist: cjm_fasthtml_design_system>=0.0.
|
|
32
|
+
Requires-Dist: cjm_fasthtml_sortable_queue>=0.0.13
|
|
33
|
+
Requires-Dist: cjm_fasthtml_design_system>=0.0.8
|
|
34
34
|
Dynamic: license-file
|
|
35
35
|
|
|
36
36
|
# cjm-transcript-source-select
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.0.27"
|
|
@@ -20,6 +20,8 @@ from cjm_fasthtml_daisyui.components.feedback.alert import alert, alert_colors
|
|
|
20
20
|
from cjm_fasthtml_daisyui.utilities.semantic_colors import bg_dui, text_dui, border_dui
|
|
21
21
|
from cjm_fasthtml_daisyui.utilities.border_radius import border_radius
|
|
22
22
|
|
|
23
|
+
from cjm_fasthtml_design_system.text_tiers import text_tiers
|
|
24
|
+
|
|
23
25
|
# Tailwind utilities
|
|
24
26
|
from cjm_fasthtml_tailwind.utilities.spacing import p, m
|
|
25
27
|
from cjm_fasthtml_tailwind.utilities.sizing import w, h, max_h, min_w, min_h
|
|
@@ -124,7 +126,7 @@ def _render_external_sources_list(
|
|
|
124
126
|
Div(
|
|
125
127
|
Span(path.name, cls=combine_classes(grow(), truncate, font_size.sm, font_family.mono)),
|
|
126
128
|
Button(
|
|
127
|
-
lucide_icon("x", size=icons.icon_button, cls=
|
|
129
|
+
lucide_icon("x", size=icons.icon_button, cls=text_tiers.tertiary),
|
|
128
130
|
cls=combine_classes(buttons.item_remove, shrink._0),
|
|
129
131
|
hx_post=remove_url,
|
|
130
132
|
hx_vals=json.dumps({"db_path": db_path}),
|
|
@@ -193,11 +195,11 @@ def _render_local_files_browser(
|
|
|
193
195
|
return Div(
|
|
194
196
|
P(
|
|
195
197
|
"Local file browser not configured",
|
|
196
|
-
cls=combine_classes(
|
|
198
|
+
cls=combine_classes(text_tiers.muted, text_align.center)
|
|
197
199
|
),
|
|
198
200
|
P(
|
|
199
201
|
"Missing render function",
|
|
200
|
-
cls=combine_classes(
|
|
202
|
+
cls=combine_classes(text_tiers.subtle, text_align.center, font_size.sm)
|
|
201
203
|
),
|
|
202
204
|
cls=combine_classes(
|
|
203
205
|
p(8), flex_display, flex_direction.col, justify.center, items.center, h.full,
|
|
@@ -16,6 +16,8 @@ from cjm_fasthtml_daisyui.components.data_display.collapse import (
|
|
|
16
16
|
)
|
|
17
17
|
from cjm_fasthtml_daisyui.utilities.semantic_colors import text_dui
|
|
18
18
|
|
|
19
|
+
from cjm_fasthtml_design_system.text_tiers import text_tiers
|
|
20
|
+
|
|
19
21
|
# Tailwind utilities
|
|
20
22
|
from cjm_fasthtml_tailwind.utilities.spacing import p, m
|
|
21
23
|
from cjm_fasthtml_tailwind.utilities.sizing import w, max_h
|
|
@@ -48,7 +50,7 @@ def _render_preview_panel(
|
|
|
48
50
|
empty_content = Div(
|
|
49
51
|
"Select a row to preview content",
|
|
50
52
|
cls=combine_classes(
|
|
51
|
-
|
|
53
|
+
text_tiers.subtle,
|
|
52
54
|
italic,
|
|
53
55
|
p.y(8),
|
|
54
56
|
text_align.center
|
|
@@ -60,7 +62,7 @@ def _render_preview_panel(
|
|
|
60
62
|
# Job ID header
|
|
61
63
|
H3(
|
|
62
64
|
preview_record_id,
|
|
63
|
-
cls=combine_classes(font_size.xs, font_family.mono,
|
|
65
|
+
cls=combine_classes(font_size.xs, font_family.mono, text_tiers.muted, m.b(2))
|
|
64
66
|
),
|
|
65
67
|
# Text content with scroll
|
|
66
68
|
Div(
|
|
@@ -81,7 +83,7 @@ def _render_preview_panel(
|
|
|
81
83
|
Span("Content Preview", cls=str(font_weight.semibold)),
|
|
82
84
|
Span(
|
|
83
85
|
f"({preview_record_id[:12]}...)" if preview_record_id and len(preview_record_id) > 12 else f"({preview_record_id})" if preview_record_id else "",
|
|
84
|
-
cls=combine_classes(font_size.xs, font_family.mono,
|
|
86
|
+
cls=combine_classes(font_size.xs, font_family.mono, text_tiers.muted, m.l(2))
|
|
85
87
|
) if preview_record_id else None,
|
|
86
88
|
cls=combine_classes(collapse_title, font_size.sm)
|
|
87
89
|
),
|
|
@@ -21,6 +21,8 @@ from cjm_fasthtml_tailwind.core.base import combine_classes
|
|
|
21
21
|
|
|
22
22
|
from cjm_fasthtml_daisyui.utilities.semantic_colors import text_dui
|
|
23
23
|
|
|
24
|
+
from cjm_fasthtml_design_system.text_tiers import text_tiers
|
|
25
|
+
|
|
24
26
|
from cjm_fasthtml_sortable_queue.config import SortableQueueConfig
|
|
25
27
|
from cjm_fasthtml_sortable_queue.html_ids import SortableQueueHtmlIds
|
|
26
28
|
from cjm_fasthtml_sortable_queue.models import SortableQueueUrls
|
|
@@ -54,7 +56,7 @@ def _render_queue_empty() -> Any: # Empty state element
|
|
|
54
56
|
"""Render the custom empty state for the source selection queue."""
|
|
55
57
|
return P(
|
|
56
58
|
"Select transcriptions from the browser",
|
|
57
|
-
cls=combine_classes(
|
|
59
|
+
cls=combine_classes(text_tiers.muted, text_align.center, font_size.md, p(4))
|
|
58
60
|
)
|
|
59
61
|
|
|
60
62
|
# %% ../../nbs/components/selection_queue.ipynb #17uipzddaut
|
|
@@ -25,6 +25,8 @@ from cjm_fasthtml_daisyui.components.feedback.tooltip import (
|
|
|
25
25
|
)
|
|
26
26
|
from cjm_fasthtml_daisyui.utilities.semantic_colors import text_dui, border_dui
|
|
27
27
|
|
|
28
|
+
from cjm_fasthtml_design_system.text_tiers import text_tiers
|
|
29
|
+
|
|
28
30
|
# Tailwind utilities
|
|
29
31
|
from cjm_fasthtml_tailwind.utilities.spacing import p, m
|
|
30
32
|
from cjm_fasthtml_tailwind.utilities.sizing import w, min_h, max_w
|
|
@@ -80,7 +82,7 @@ def _render_grouping_selector(
|
|
|
80
82
|
return Div(
|
|
81
83
|
Label(
|
|
82
84
|
"Group by:",
|
|
83
|
-
cls=combine_classes(font_size.sm,
|
|
85
|
+
cls=combine_classes(font_size.sm, text_tiers.secondary, m.r(2))
|
|
84
86
|
),
|
|
85
87
|
Select(
|
|
86
88
|
Option("Audio File", value="media_path", selected=grouping_mode == "media_path"),
|
|
@@ -240,7 +242,7 @@ def _render_record_cell(
|
|
|
240
242
|
if key == "date":
|
|
241
243
|
return Span(
|
|
242
244
|
format_date(record.get("created_at", "")),
|
|
243
|
-
cls=combine_classes(font_size.xs,
|
|
245
|
+
cls=combine_classes(font_size.xs, text_tiers.tertiary),
|
|
244
246
|
)
|
|
245
247
|
|
|
246
248
|
if key == "audio":
|
|
@@ -286,9 +288,9 @@ def render_source_empty() -> Any: # Empty state component
|
|
|
286
288
|
"""Render empty state when no transcription sources are available."""
|
|
287
289
|
return Div(
|
|
288
290
|
P("No transcription sources found",
|
|
289
|
-
cls=combine_classes(
|
|
291
|
+
cls=combine_classes(text_tiers.muted, font_size.lg)),
|
|
290
292
|
P("Add transcription plugins or external databases to see sources here.",
|
|
291
|
-
cls=combine_classes(
|
|
293
|
+
cls=combine_classes(text_tiers.subtle, font_size.sm)),
|
|
292
294
|
cls=combine_classes(
|
|
293
295
|
p(8), flex_display, flex_direction.col,
|
|
294
296
|
justify.center, items.center, grow(),
|
|
@@ -18,6 +18,8 @@ from cjm_fasthtml_daisyui.components.navigation.tabs import tabs, tabs_styles, t
|
|
|
18
18
|
from cjm_fasthtml_daisyui.utilities.semantic_colors import bg_dui, text_dui, border_dui, ring_dui, shadow_dui
|
|
19
19
|
from cjm_fasthtml_daisyui.utilities.border_radius import border_radius
|
|
20
20
|
|
|
21
|
+
from cjm_fasthtml_design_system.text_tiers import text_tiers
|
|
22
|
+
|
|
21
23
|
# Tailwind utilities
|
|
22
24
|
from cjm_fasthtml_tailwind.utilities.spacing import p, m
|
|
23
25
|
from cjm_fasthtml_tailwind.utilities.sizing import w, h, min_h, min_w
|
|
@@ -168,10 +170,10 @@ def _render_selection_stats(
|
|
|
168
170
|
return Div(
|
|
169
171
|
Span(
|
|
170
172
|
f"Total: {total_words:,} words from {source_count} source{'s' if source_count != 1 else ''}",
|
|
171
|
-
cls=combine_classes(font_size.sm,
|
|
173
|
+
cls=combine_classes(font_size.sm, text_tiers.secondary)
|
|
172
174
|
) if source_count > 0 else Span(
|
|
173
175
|
"Select sources to continue",
|
|
174
|
-
cls=combine_classes(font_size.sm,
|
|
176
|
+
cls=combine_classes(font_size.sm, text_tiers.muted)
|
|
175
177
|
),
|
|
176
178
|
id=SelectionHtmlIds.SELECTION_STATS,
|
|
177
179
|
hx_swap_oob="true" if oob else None,
|
|
@@ -480,7 +482,7 @@ def render_selection_step(
|
|
|
480
482
|
H2("Select Source Material", cls=combine_classes(font_size._3xl, font_weight.bold)),
|
|
481
483
|
P(
|
|
482
484
|
"Choose transcription sources to decompose into a structural spine.",
|
|
483
|
-
cls=combine_classes(
|
|
485
|
+
cls=combine_classes(text_tiers.secondary, m.b(4))
|
|
484
486
|
),
|
|
485
487
|
),
|
|
486
488
|
hints_trigger,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cjm-transcript-source-select
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.27
|
|
4
4
|
Summary: FastHTML source selection component for transcript decomposition workflows, with federated database browsing, drag-drop ordering, and keyboard navigation.
|
|
5
5
|
Author-email: "Christian J. Mills" <9126128+cj-mills@users.noreply.github.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -29,8 +29,8 @@ Requires-Dist: cjm_source_provider
|
|
|
29
29
|
Requires-Dist: cjm_fasthtml_interactions
|
|
30
30
|
Requires-Dist: cjm_fasthtml_viewport_fit
|
|
31
31
|
Requires-Dist: cjm_fasthtml_virtual_collection
|
|
32
|
-
Requires-Dist: cjm_fasthtml_sortable_queue>=0.0.
|
|
33
|
-
Requires-Dist: cjm_fasthtml_design_system>=0.0.
|
|
32
|
+
Requires-Dist: cjm_fasthtml_sortable_queue>=0.0.13
|
|
33
|
+
Requires-Dist: cjm_fasthtml_design_system>=0.0.8
|
|
34
34
|
Dynamic: license-file
|
|
35
35
|
|
|
36
36
|
# cjm-transcript-source-select
|
|
@@ -12,7 +12,7 @@ license = {text = "Apache-2.0"}
|
|
|
12
12
|
authors = [{name = "Christian J. Mills", email = "9126128+cj-mills@users.noreply.github.com"}]
|
|
13
13
|
keywords = ['nbdev', 'jupyter', 'notebook', 'python']
|
|
14
14
|
classifiers = ["Natural Language :: English", "Intended Audience :: Developers", "Development Status :: 3 - Alpha", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only"]
|
|
15
|
-
dependencies = ['cjm-plugin-system', 'cjm-transcription-plugin-system', 'cjm-fasthtml-app-core', 'cjm-fasthtml-daisyui', 'cjm_fasthtml_lucide_icons', 'cjm_fasthtml_file_browser>=0.0.17', 'cjm_fasthtml_keyboard_navigation>=0.0.20', 'duckdb', 'pandas', 'cjm_workflow_state', 'cjm_source_provider', 'cjm_fasthtml_interactions', 'cjm_fasthtml_viewport_fit', 'cjm_fasthtml_virtual_collection', 'cjm_fasthtml_sortable_queue>=0.0.
|
|
15
|
+
dependencies = ['cjm-plugin-system', 'cjm-transcription-plugin-system', 'cjm-fasthtml-app-core', 'cjm-fasthtml-daisyui', 'cjm_fasthtml_lucide_icons', 'cjm_fasthtml_file_browser>=0.0.17', 'cjm_fasthtml_keyboard_navigation>=0.0.20', 'duckdb', 'pandas', 'cjm_workflow_state', 'cjm_source_provider', 'cjm_fasthtml_interactions', 'cjm_fasthtml_viewport_fit', 'cjm_fasthtml_virtual_collection', 'cjm_fasthtml_sortable_queue>=0.0.13', 'cjm_fasthtml_design_system>=0.0.8']
|
|
16
16
|
|
|
17
17
|
[project.urls]
|
|
18
18
|
Repository = "https://github.com/cj-mills/cjm-transcript-source-select"
|
|
@@ -25,6 +25,6 @@ cjm_transcript_source_select = "cjm_transcript_source_select._modidx:d"
|
|
|
25
25
|
version = {attr = "cjm_transcript_source_select.__version__"}
|
|
26
26
|
|
|
27
27
|
[tool.setuptools.packages.find]
|
|
28
|
-
include = ["cjm_transcript_source_select"]
|
|
28
|
+
include = ["cjm_transcript_source_select*"]
|
|
29
29
|
|
|
30
30
|
[tool.nbdev]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.0.25"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|