CSCfi / CSCfi/rems

Refactor status-flags/enabled-toggle and status-flags/archived-toggle components

Open
#3,061 0 comments 0 reactions 0 assignees View on GitHub
Easy Technical Debt
Dominant language
Clojure
Stars
66
Forks
28
Avg merge
7d 4h
Merged PRs (30d)
2

Description

- [ ] Refactor both `rems.administration.status-flags/enabled-toggle` and `rems.administration.status-flags/archived-toggle` to accept single argument map `:opts` instead of positional args
- [ ] Rename both components to include `-button` suffix

Contributor guide

Open the contributing guide

Research direction

Search for the `rems.administration.status-flags/enabled-toggle` and `rems.administration.status-flags/archived-toggle` components and their call sites. Update both to accept a single `:opts` map, rename them with the `-button` suffix, and verify that all references use the new names and argument form.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
frontend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.