Text this: Design and analysis of clinical trials with time-to-event endpoints