- uploads de imagem passam a usar o nome real/sanitizado do arquivo em
files/devhub - o menu suspenso de imagens reaproveitadas passa a refletir esse nome legível
- quando já existir arquivo com o mesmo nome e mesmo conteúdo, o DevHub reutiliza o arquivo
- quando já existir arquivo com o mesmo nome e conteúdo diferente, o DevHub cria sufixo incremental (
-2,-3, etc.) - observação: arquivos antigos já gravados com nome técnico/hash permanecem assim; o nome original não existia salvo para migração automática
This package is a simplification baseline for Dev Hub.
- Workspace remains the source of truth for project files.
- Dev Hub becomes a lighter publication bridge.
- Git Portfolio remains the public presentation layer, including GitHub, GitLab, and custom items.
- ACP rewritten into a smaller shell inspired by Git Portfolio.
- Project editor reduced to the core public fields that map directly to Git Portfolio custom items.
- Workspace project list and lightweight publication actions stay visible side by side.
- Roadmap rewritten around simplification instead of adding more editorial surface.
This package is intentionally conservative in the UI layer. It keeps the existing backend bridge code, but presents a smaller ACP focused on recognition, review, draft, and publish actions.
Project enters Workspace → Dev Hub recognises and normalises metadata → Git Portfolio publishes the public card.
- Prefills the main project URL and homepage from
devhub.json,project.json,composer.json, orpackage.jsonwhen available. - Keeps the current image when saving metadata without uploading a new file again.
- Reuses the same physical upload filename for identical images to reduce duplicate files in
files/devhub.
- Corrige o salvamento de metadados sem novo upload de imagem.
- Trata corretamente o caso sem arquivo selecionado no campo de imagem.
- Preserva a imagem atual ao editar e salvar outros metadados.
- Clarifies in the ACP that the main project URL is the primary card/title link used by Git Portfolio when present.
- Distinguishes the homepage field as a secondary link for site, docs, demo, or landing page.
- Adds direct open links in the editor for the current main URL and homepage.
- ACP copy refined to better explain primary URL, homepage, and image reuse.
- Added an uploaded-image picker with previews so existing Dev Hub images can be reused without sending the same file again.
- Preserved the current image when saving metadata without a new upload and allowed the selected existing image to become the active image.
- Replaced the uploaded-image gallery with a dropdown selector and live preview.
- Added safer preview handling so broken image references do not break the editor view.
- Kept image reuse flow lightweight while preserving the current image until a new one is saved.
- Corrige erro SQL ao verificar referências de imagens em
devhub_project_links. - A checagem agora usa
COUNT(*)e só consultadraft_metadataquando a coluna existir.
- Corrige a pré-visualização dinâmica de imagem no ACP com normalização de URLs locais e teste de carregamento antes de trocar a imagem exibida.
- Mantém a prévia atual visível quando a nova imagem falha ao carregar.
- Switched Dev Hub managed images to a public proxy endpoint so previews no longer depend on direct access to
files/devhub. - Normalized old local image references to the new public image endpoint.
- Improved local image validation and filename handling for shared-image checks, cloning and dropdown selection.