Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

The misguided overlay tag API #3223

Closed
baconpaul opened this issue Nov 24, 2020 · 0 comments · Fixed by #3630
Closed

The misguided overlay tag API #3223

baconpaul opened this issue Nov 24, 2020 · 0 comments · Fixed by #3630
Labels
Code Refactoring General code refactoring and cleanup issues like names, unused variables, warnings, fixme
Milestone

Comments

@baconpaul
Copy link
Collaborator

overlay tag is a string where we compare with literals all over the code base.

It's fine for the small use cases in 18 but is obviously a crap API

Fix this early in 19

@baconpaul baconpaul added the Bug Report Item submitted using the Bug Report template label Nov 24, 2020
@baconpaul baconpaul added this to the 1.9.0 milestone Nov 24, 2020
@mkruselj mkruselj added Code Refactoring General code refactoring and cleanup issues like names, unused variables, warnings, fixme and removed Bug Report Item submitted using the Bug Report template labels Nov 24, 2020
baconpaul added a commit to baconpaul/surge that referenced this issue Jan 14, 2021
editorOverlay is now a list so you can have multiple, and the
tags which identify it are an enum so you know the overlay classes
and can write less buggy code, and generallly everything is better.

Although there is inevitably more work we want to do on overlays
and positioning, this commit makes the API a good enough starting
point to add other overlays, so it Closes surge-synthesizer#3223
baconpaul added a commit to baconpaul/surge that referenced this issue Jan 27, 2021
editorOverlay is now a list so you can have multiple, and the
tags which identify it are an enum so you know the overlay classes
and can write less buggy code, and generallly everything is better.

Although there is inevitably more work we want to do on overlays
and positioning, this commit makes the API a good enough starting
point to add other overlays, so it Closes surge-synthesizer#3223
baconpaul added a commit that referenced this issue Jan 27, 2021
editorOverlay is now a list so you can have multiple, and the
tags which identify it are an enum so you know the overlay classes
and can write less buggy code, and generallly everything is better.

Although there is inevitably more work we want to do on overlays
and positioning, this commit makes the API a good enough starting
point to add other overlays, so it Closes #3223
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Refactoring General code refactoring and cleanup issues like names, unused variables, warnings, fixme
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants