etherscan-labels icon indicating copy to clipboard operation
etherscan-labels copied to clipboard

[QOL] Rework label ignore list to be flexible instead of hardcoded

Open brianleect opened this issue 3 years ago • 1 comments

Problem: Existing label ignore list is hardcoded to skip manually reviewed large number labels we deem unnecessary.

When new labels are added it requires users to manually add label name to hardcoded ignore list or spend a lot of time scraping an irrelevant label which may add unnecessary friction to usage

Soln: A better implementation would be to

  1. User defined value IGNORE_IF_EXCEED requested at runtime or config
  2. Extraction of token and account value for label during label cloud reading
  3. If it value from 2. exceed IGNORE_IF_EXCEED skip label

brianleect avatar Feb 23 '23 16:02 brianleect

Very weird that I'm unable to get the text from the element. If anyone can fix this it'll be a great QOL addition lol

brianleect avatar Mar 26 '23 19:03 brianleect