vycdev / vycdev/Kromacut

Persist 3D camera mode preference

Open Beginner friendly
#33 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
278
Forks
31
Avg merge
13h 32m
Merged PRs (30d)
4

Description

The new 3D camera toggle from #32 stores the selected camera mode only in React state, so Kromacut resets to perspective mode after refresh or app restart.

This is optional and should not block #32, but it would be nice to persist the user's preferred 3D camera mode because some users may prefer orthographic as their default.

Expected behavior:

  • User switches between Perspective and Orthographic.
  • Kromacut saves that choice.
  • Refreshing or reopening the app restores the selected camera mode.

A small localStorage-backed preference such as kromacut:3d-camera-mode with perspective | orthographic should be enough.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the 3D camera toggle and its React state implementation from issue #32, then trace where the selected mode is read when the 3D view opens. Store the preference under kromacut:3d-camera-mode and verify that switching modes persists after refresh and app restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, threejs, typescript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.