Code refactor, Lint and add functionalities to filter item detail by type & status