[client] refactoring: view names as constants