stackabletech / stackabletech/cockpit

Filebrowser: User Settings Page

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1
Forks
0
Avg merge
22h 6m
Merged PRs (30d)
12

Description

Add a settings page that saves user preferences to localStorage. It should have a general section and then sections that pertain to different apps inside of this frontend (trino, file browser). Currently, there's two options that would be on that page:

  1. Toast duration: The duration a toast notification is on screen before it fades. This is currently a magic number set to 5 seconds.
  2. Tab restore: Tab restore is currently an environmental variable with an option to restore the previously opened tabs by clicking the notification in time. Instead of needing to click, it should be an option in the preferences to automatically open the recent tab session.

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 by tracing the existing toast duration and tab-restore behavior in the frontend, then identify how the Trino and file-browser sections are structured. Define the preference values in localStorage and verify that both options persist, affect their respective behavior, and are available under the appropriate general or app-specific section.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.