@danhachuel/thunderbolt 0.7.3 → 0.7.4

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.
Files changed (2) hide show
  1. package/app/main.py +7 -4
  2. package/package.json +1 -1
package/app/main.py CHANGED
@@ -2668,12 +2668,15 @@ def render_channels():
2668
2668
 
2669
2669
  with import_tab:
2670
2670
  st.caption("A pesquisa pública funciona sem API Key. A Data API é opcional e fica disponível numa opção separada para métricas oficiais.")
2671
- source = st.text_input("URL, handle ou ID do canal", placeholder="https://youtube.com/@seucanal", key="youtube_channel_source")
2672
- lookup_cols = st.columns(2)
2671
+ lookup_cols = st.columns([2.2, 1.0], gap="medium")
2673
2672
  with lookup_cols[0]:
2674
- lookup_mode = st.radio("Método de consulta", ["Página pública — sem API Key", "YouTube Data API — API Key opcional"], horizontal=True, key="youtube_channel_lookup_mode")
2673
+ source = st.text_input("URL, handle ou ID do canal", placeholder="https://youtube.com/@seucanal", key="youtube_channel_source")
2675
2674
  with lookup_cols[1]:
2676
- st.caption("Os canais cadastrados são apresentados apenas em lista.")
2675
+ lookup_mode = st.selectbox(
2676
+ "Método de consulta",
2677
+ ["Página pública — sem API Key", "YouTube Data API — API Key opcional"],
2678
+ key="youtube_channel_lookup_mode",
2679
+ )
2677
2680
  col1, col2 = st.columns([1, 1])
2678
2681
  with col1:
2679
2682
  if st.button("Buscar no YouTube", type="primary", width="stretch", key="youtube_channel_lookup"):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danhachuel/thunderbolt",
3
- "version": "0.7.03",
3
+ "version": "0.7.04",
4
4
  "description": "Thunderbolt — interface local para operação de canais faceless e motor MoneyPrinterTurbo",
5
5
  "license": "MIT",
6
6
  "main": "scripts/cli.mjs",