dashboard/app: split overly long function
dashboard/app: split overly long function

Update #538

xairy/syzkaller,google/syzkaller,google/syzkaller,xairy/syzkaller,google/syzkaller,xairy/syzkaller,google/syzkaller,xairy/syzkaller,google/syzkaller,xairy/syzkaller,google/syzkaller,xairy/syzkaller,google/syzkaller,xairy/syzkaller