feat: definido projeto com uma sequência e múltiplos arquivos de m

- definido projeto com uma sequência e múltiplos arquivos de mídia
- criada persistência de projeto com uma sequência e seleções de faixas e clipes
- criada guia Projeto para selecionar sequência, faixas e clipes do Premiere
- adicionada gravação das seleções da guia Projeto no SQLite

Resumo:
- 10 arquivos alterados
- 4 novos
- 6 modificados
- 0 removidos

 6 files changed, 71 insertions(+), 2 deletions(-)

Arquivos:
  - .jhonny/analises.db
  - CONTEXT.md
  - code/cep-plugin/index.html
  - code/cep-plugin/main.js
  - code/engine/persistencia/__init__.py
  - code/engine/persistencia/esquema.py
  - code/cep-plugin/abas/
  - code/engine/persistencia/repositorio_de_projetos.py
  - code/engine/registrar_projeto_de_edicao.py
  - code/engine/testes/test_repositorio_de_projetos.py
This commit is contained in:
João Henrique
2026-09-10 13:22:15 -04:00
parent a9e5b5ff58
commit a4286bbd8a
10 changed files with 329 additions and 2 deletions
+4 -1
View File
@@ -243,6 +243,7 @@ function stepState(n) {
// ---- Tabs ----
function switchTab(name) {
var tabs = [
{ key: "projeto", panel: "tabProjeto", btn: "tabBtnProjeto" },
{ key: "scanner", panel: "tabScanner", btn: "tabBtnScanner" },
{ key: "refinar", panel: "tabRefinar", btn: "tabBtnRefinar" },
{ key: "silence", panel: "tabSilence", btn: "tabBtnSilence" },
@@ -265,6 +266,7 @@ function switchTab(name) {
btn.setAttribute("aria-selected", String(active));
});
if (name === "models") renderModelList();
if (name === "projeto") projetoListarSequencias();
if (name === "silence") { syncTranscribeModelSelect(); syncLanguageInfo(); renderizarTiposDeVideoParaEdicao(); }
if (name === "settings") renderEditorPersonalities();
if (name === "scanner") { renderScannerTranscriptionOptions(); loadScannerProfile(); renderScannerHuggingFaceStatus(); scannerListarAnalisesExistentes(); }
@@ -947,6 +949,7 @@ var ANALISE_STATUS_SCRIPT = "/Volumes/Merongo/SISTEMAS/GENIAL SISTEMAS/Jhonny/co
var ANALISE_PREVIEW_SCRIPT = "/Volumes/Merongo/SISTEMAS/GENIAL SISTEMAS/Jhonny/code/engine/consultar_preview_de_falantes.py";
var REGISTRAR_EDICAO_SCRIPT = "/Volumes/Merongo/SISTEMAS/GENIAL SISTEMAS/Jhonny/code/engine/registrar_edicao.py";
var CARREGAR_PLANO_SCRIPT = "/Volumes/Merongo/SISTEMAS/GENIAL SISTEMAS/Jhonny/code/engine/carregar_plano_de_edicao.py";
var REGISTRAR_PROJETO_SCRIPT = "/Volumes/Merongo/SISTEMAS/GENIAL SISTEMAS/Jhonny/code/engine/registrar_projeto_de_edicao.py";
var planoEditorialIdCarregado = null;
var retakesCasoAtual = null;
var retakesGrupos = [];
@@ -4129,7 +4132,7 @@ function downloadModel(model, btn, approxMB) {
(function init() {
// A identificação de locutores pertence ao Scanner; abrir nele evita que o
// painel pareça travado na etapa antiga de edição de vídeo.
switchTab("scanner");
switchTab("projeto");
// Set the default temp dir in the input field
document.getElementById("tempDir").value = tempDir;