I have recently got position of software development team leader. This is my first time handling a team of 6 members. A few members of the team were my colleagues before becoming their team leader. I have observed that some members do not have simple tendency to stop and wait till dependent task of other members are finished and integrated. What they want is to leave office on time, no matter what happens. They do not feel any responsibility for their task. Some of those members are old colleagues who are still not taking any task seriously, even if project deployment is due in a few days.
Please guide me how to handle this team? Am I doing something wrong? Usually I do not go harsh on anyone. I fear due to a couple of members, all other members will start behaving the same.
The company offers comp-off for extra work time.
What if a task is assigned to a member, 8 hours are allocated to finish it (including buffer). I could see that member is passing their time on their mobile the whole time and at the end of the day comes with excuses like, it is very tough, it won't be possible to finish the task today. I know the given task will not take more than 4 hours and the member has skills to achieve it.
A few of our tasks are related to data fetching API and some are web development. When both tasks are ready, the web page needs to be integrated with API, and in some cases data might need to be modified to accommodate the web design. This is integration which depends on both colleagues.