Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Consider redesign of UI Facade

Aberta
#690 0 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@Danielku15 já está trabalhando nisso.

Desde 29/12/2021.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

As part of https://github.com/CoderLine/alphaTab/pull/689 and along the Android implementations there were some findings on how the UI facade is currently handled. The abstraction towards the UI is designed currently quite generic abstracting UI controls and their actions. This makes it hard to benefit from platform specific UI behaviors. Especially on android realizing a UI with this generic approach will be challenging.

With the new lazy rendering approach we have now a 2-phase pipeline which allows us to handle UI virtualization needs more efficiently without relying on platform limitations.

Most of the current IUiFacade is actually rather a IPlatformFacade a rename would be good.
Secondly the IContainer approach is very generic. It would be better to design an interface which represents the overall UI control with it's functionalities we need like: adding/filling placeholders, listening for scroll events, listening for visibility changes, showing cursor and selection elements.

It is not so different to what is exposed by the current interfaces, but a very concrete representation of the UI control alphaTab needs is better than a general purpose UI abstraction.

Linguagem predominante
TypeScript
Estrelas
1.9k
Forks
297
Merge médio
9h 2min
PRs com merge (30d)
44

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de CoderLine/alphaTab

Todas as issues de CoderLine/alphaTab

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.