Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Low-hanging fruits missing adapters #12

Open
6 tasks
tinchodias opened this issue Oct 1, 2024 · 2 comments
Open
6 tasks

Low-hanging fruits missing adapters #12

tinchodias opened this issue Oct 1, 2024 · 2 comments
Labels
good first issue Good for newcomers

Comments

@tinchodias
Copy link
Contributor

  •  SpLinkPresenter
  •  SpStatusBarPresenter
  •  SpNumberInputFieldPresenter
  • SpSearchInputFieldPresenter
  • SpSliderPresenter
  • SpAthensPresenter
@tinchodias
Copy link
Contributor Author

For an eventual new contributor, I can give some hints on how to start:

Pick one of the presenters, for example SpLinkPresenter. Start by looking for references in the image, and create a small script in a Workspace that creates it with basic properties, and see how it looks/behaves in Morphic backend (the default one).

Second, convert the script to open in the Spec-Toiplo backend. The script would look like:

app := SpApplication new 
  useBackend: #Toplo;
  yourself.

link := SpLinkPresenter newApplication: app.

"... set properties in the link ..."

link open

Close the debugger... you will have to create a class named SpToploLinkAdapter. This class is a good base: SpToploLabelAdapter. It might be a good reference to browse the implementation in the Morphic backend: SpMorphicLinkAdapter.

@tinchodias tinchodias added the good first issue Good for newcomers label Oct 1, 2024
@tinchodias tinchodias mentioned this issue Oct 1, 2024
@Ducasse
Copy link

Ducasse commented Oct 1, 2024

Cool!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants