matter-labs / matter-labs/block-explorer
Renaming to isPrividium
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 139
- Forks
- 145
- Avg merge
- 8h 3m
- Merged PRs (30d)
- 3
Description
### 🌟 Feature Request
#### 📝 Description
Rename the computed property 'prividium' to 'isPrividium' in the Prividium Block Explorer component. This change affects the boolean computed property that determines the Prividium state and should be aligned between backend and frontend Prividium implementations.
#### 🤔 Rationale
This renaming follows better naming conventions for boolean properties by using the 'is' prefix. This makes the code more readable and self-documenting, as it clearly indicates that the property returns a boolean value.
#### 📋 Additional Context
_Originally posted by @JackHamer09 in https://github.com/matter-labs/block-explorer/pull/430#discussion_r2098646458_
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.
Research direction
No file or test is named. Start by searching the Prividium Block Explorer component for the computed property `prividium` and trace its frontend and backend usages. Done means the property and all references use `isPrividium`, with the existing Prividium state behavior preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100