Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Implement saving/loading of persistent values to configure multiple views

Open
#192 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
desktop

Research direction

Start by reading include/polyscope/persistent_value.h and tracing how persistent values are created and accessed. Define the in-memory serialization format and the scope of the stored state before implementing configuration save/load; consider GUI buttons only after the core behavior is specified and testable.

Written by the indexing model from the issue text.

Description

enhancement

Desired workflow: The user programmatically configures several "views" of their data, each of which corresponds to a different collection of settings (stuff which is enabled, etc). The user wants to quickly switch between these views without clicking a bunch.

How to get there: We could get this fairly easily by leveraging the persistent value caches. Work items would be:

  • define a serialization format for persistent values (in-memory for now)
  • add a storeConfiguration() function or something, which saves the state of all persistent values to an internal list
  • add a loadConfiguration() function which restores persistent values
  • buttons in the GUI, etc

This has significant overlap with things we would want to do regardless to enable serialization more broadly.

Dominant language
C++
Stars
2.2k
Forks
242
Avg merge
11m
Merged PRs (30d)
1

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.

More from nmwsharp/polyscope

All issues in nmwsharp/polyscope

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.