Protector:tool: separate param2 defaults for compatible protector nodes
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by tracing how param2 is cloned between badge and block protector nodes, comparing protector:protect with protector:protect2. Clarify the intended defaults and whether cloning should be configurable; done means each compatible node uses the appropriate param2 behavior without breaking orientation preservation.
Written by the indexing model from the issue text.
Description
Protector nodes that are marked compatible with parent protector should have their own default settings for param2 and also ability to disable param2 cloning.
Currently for example protector:protect does not use param2 but protector:protect2 uses it for orientation.
Should param2 be always 0 for former and only cloned for latter.
Currently cloning param2 from badge to block and vice versa allows keeping orentation of badge even if blocks are placed in between. This can be seen as benefit.
Does having useless param2 on block cause any harm?
- Dominant language
- Lua
- Stars
- 4
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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 mt-mods/protector
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 38/100
All issues in mt-mods/protector
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
api7/lua-resty-saml#62 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nvim-tree/nvim-tree.lua#3357 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
codymikol/multiverse.nvim#320 ·
-
Data Correction tbc
Difficulty 2/5 1-3 hours Newbie friendliness 68/100