Skip to content

Add options bar widgets for tools to control tool behavior #184

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

Closed
2 of 3 tasks
TrueDoctor opened this issue Jun 12, 2021 · 0 comments · Fixed by #283
Closed
2 of 3 tasks

Add options bar widgets for tools to control tool behavior #184

TrueDoctor opened this issue Jun 12, 2021 · 0 comments · Fixed by #283
Assignees
Labels
Web Involves web programming (TypeScript, Svelte, CSS)
Milestone

Comments

@TrueDoctor
Copy link
Member

TrueDoctor commented Jun 12, 2021

We need to implement a system for manipulating tool options such as stroke width and fill.
We will eventually replace this with a more sophisticated system supporting plugins as well.

The idea is to use Vue to render the input widgets in the viewport options bar and (at least for now) just generate update messages for tool options akin to the way colors are currently updated.

  • The tool-specific options bar content (basically a container <div v-if="...">...</div>)
  • A unified approach to routing options changes to the backend, and the state of those options back to the frontend
  • A proof-of-concept implementation for setting the number of sides on the N-gon of the Shape Tool

Blocked on #190.

Complexity 3
JS, Rust

@TrueDoctor TrueDoctor added Available Architecture Involves architecture or engineering work or discussion Web Involves web programming (TypeScript, Svelte, CSS) labels Jun 12, 2021
@TrueDoctor TrueDoctor added this to the Sprint 5 (current) milestone Jun 12, 2021
@TrueDoctor TrueDoctor removed Architecture Involves architecture or engineering work or discussion Time Sensitive labels Jun 12, 2021
@Keavon Keavon changed the title Add bootleg tool property system for tool settings Add bootleg tool property system for tool options Jun 13, 2021
@Keavon Keavon added the Feature label Jun 13, 2021
@Keavon Keavon changed the title Add bootleg tool property system for tool options Add options bar widgets for tools to control tool behavior Jun 13, 2021
@Keavon Keavon added the P-High label Jun 13, 2021
@Keavon Keavon added Blocked and removed Available labels Jun 13, 2021
@Keavon Keavon added Available and removed Blocked labels Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Web Involves web programming (TypeScript, Svelte, CSS)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants