Allow remember of the selected console
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- react, typescript
- Domain
- frontend
Research direction
Read the Accessconsole component and trace how its internal selected console type is changed through setType. Add the requested callback behavior so consumers can receive the selected type for persistence in localStorage. Done when the callback is invoked with the user-selected console type and existing console selection still works.
Written by the indexing model from the issue text.
Description
In cockpit-machines we would like to remember the selected setting in the Accessconsole component, as this is internal state we would like to have a callback for setType which will be called with the then user selected console type.
That would allow us to retrieve the selected type state from outside the component and save it in localStorage in Cockpit-machines.
Jira Issue: PF-2015
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from patternfly/react-console
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
patternfly/react-console#88 · 4 comments ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 42/100
patternfly/react-console#62 ·
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
patternfly/react-console#61 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 20/100
patternfly/react-console#24 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
patternfly/react-console#18 ·
All issues in patternfly/react-console
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
0xMiden/bridge-portal#132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:tools bug good first issue help wanted priority:P2
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
TaewoooPark/Motifcode#14 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
newrelic-experimental/preflight#793 · 1 comment ·