Back to the video

The State of Wagtail: 2019

Transcript

By Speaker 1, Speaker 2. From Wagtail Space US 2019. Published September 19, 2019.

Watch the video Markdown version 6,608 words · auto-generated · en

Summary

Tom Dyson reviews Wagtail’s growth over the previous year, including its rising adoption, expanding core team and community, improved support, Draftail, accessibility work, and contributions from projects such as CodeRed CMS. He also identifies unresolved challenges: frontend and admin UI architecture, diversity, deployment, and adapting to how journalists and editors create content, illustrated by prototypes importing from Google Docs and live updates from Slack. He argues that the next stage should focus on accessibility, headless CMS support, a stronger authoring interface, more community events, and deciding whether a major modernisation is needed for Wagtail 3.0.

Transcript

Automatically transcribed, so expect mistakes in names and technical terms. Filler words are removed.

0:00 Introduction and Roadmap

Speaker 1

So I want to talk about I'm just gonna give just an overview of both where we're at with Wagtail and how the last year has been and how the next year might be. And I for those of you who were here last year I did I did something similar. So you someone asked me last night if I kind of made any promises about where we were gonna be and whether or not I was gonna have to kind of confess that we hadn't achieved any of you is that somebody watching the screen

Speaker 2

Apparently we're having audio issues on the screen.

Speaker 1

Just testing now? Seems to be better. Stop in chat, some test. Mute guess nine. Yeah.

Speaker 2

Okay, hopefully people in the streaming world can now hear us.

Speaker 1

Okay.

Speaker 2

Alright, let's give that a try. Sorry about that.

1:04 Wagtail’s Growth and Adoption

Speaker 1

Thanks, Tim. So I'm gonna I'm gonna break this up into three sections What's going well, what's not going so well, and then what's coming next. And I want to start with the positive stuff. And there's a lot more positive stuff than negative stuff. And one of the first things is that can everyone see the screens okay? We don't need it we don't need the third screen too. One of the things that's been really lucky for us as Wagtail as in the Wagtail community is that we picked Python for and Django when we when we first created Wagtail in 2014 and Python was you know was

still the amazing language as it is today but I haven't done a very good job with showing the axes here, but it was, you know, it wasn't it wasn't it wasn't like one of kind of primary development languages. In the last two or three years, Python's really taken off. So you might be aware that Python is now the fastest growing language. And that's not actually not driven so much because of web development, it's because of data science and machine learning, two of the kind of most interesting, exciting parts of computer science. Where Python has become almost the lingua franca. And that's great for us because we're kind of, you know, we're we're riding this wave of Python popularity. And at the same time, you know, in the in the in the Django community, we don't like to talk about winners and losers. We're all kind of you know inclusive and friendly.

But there you know there were some other Django based CMSs, but there still are some great Django CMSs, but Wagtail sometime in the last year overtook the others, particularly have used the this you know the somewhat flawed Git stop GitHub star metric. And so we're now the most popular Python CMS in the world's most popular language, which feels like a you know good place to be. And we have some we have some really big name users. I probably mentioned some of these last time and there are some new ones. I was at I was at Django Con US in San Diego last year and someone stopped me in the corridor and said thank you for Django. I always feel a bit embarrassed when people say that because this is You know, it's really

this it's very little to do with me, but anyway, of course I accepted his thanks. And he was from Apple and they are, you know, this is they're they he showed me and this is not a kind of big public facing site that they're allowed to talk about, but he showed me how they're using Wagtail. And you know, this it's just amazing to be stopped in a corridor by someone from Apple. And then, you know, we I probably spoke last time about Google who use Wagtail quite widely now on their big public facing websites like google. blog and cloud dot google. And the NHS National Health Service, it's been a really big deal for us, based in the UK. This is the world's fifth biggest employer. At Torchbox we focus on nonprofit clients, so people making the world a better place. And that's generally quite a risk-averse sector.

And for us When the NHS very publicly moved their main website, NHS. uk to Wagtail, which was described as the biggest public sector migration in the UK. That was a big kind of shift for us in the way that Wagtail was perceived, particularly in our sector I also used to talk about NASA. They were kind of early adopters with some of their sites, but actually they've they've they've they're doing more and more and I was lucky enough to be at the Jet Propulsion Laboratory last year who are adopting Wagtail for their main website. And these are just incredible names. It's incredible to be able to talk about people like this. Mozilla, I want there's kind of a few people I want to want to draw out, particularly Mozilla, and we have Alan here from

Mozilla Foundation, who if you want to meet him will say nice things about Wagtail in the break. And they are I mean the I guess unlike some of the others, Mozilla are using Wagtail, but they're also doing it in a you know in a kind of typically Mozilla way where everything is open source and they are really interested and willing in contributing to the project in which is which is fantastic. We're we're actually working with Mozilla at the moment on a on a new donations project. So this is gonna be for donate. mozilla. org which you know takes in that's that's like where most of Mozilla's coming funding comes from and we're building on Wagtail but and it's going to end up being a really a really nice fast focused platform for taking donations that's going to be used by Mozilla

but Mozilla are you know donating donate. Mozilla. org as well. So for any other organization that's taking Mozilla that's taking donations they're going to be able to use this package. And that's you know just like the dream of open source that you get paid to build something for someone and then make it available for the whole community to use. And then lastly there are lots of governments around the world using Wagtail, but They're the UK and the US ones I want to bring out in particular, not you know partly because of their because I'm obviously from the UK and you're mainly from the US, but The US government is it's the US government agencies and particular Consumer Finance Protection Bureau who are represented here today, I think, by nine people. Is that right? So yeah. And they are also running a really impressive open source project.

6:25 Release Features and Authoring Tools

Speaker 1

So if you want to know how to build a big Wagtail site with a lot of data and a kind of and you want to see a big project evolve, then you should just star them on GitHub because their project happens in a very expert and public way. And but the really big thing for us is that they've also been supporting Wagtail through the skills of their staff and we have two members of CFPB on the Wagtail core team And so in the last year we've also we've also had some big features and it's sometimes hard to pick out the big features because every time we do a release then you know there's loads of stuff. comes in from community and obviously some features mean more to some people than others but we I think we've done a really good job of keeping on top of release versions so we we're always like in sync with the Django versions

And similarly with Python, we were you know very quick with Python 3. 7 support. DraftTale was one of the big improvements in the last year in Wagtail, so this is the rich text editor. Before we were using something called hello. js. We kind of want to constantly focus on making the best possible authoring experience. And it turns out that quite a lot of that is about handling rich text and you know things that you might not think about when you're first designing a content management system about the experience of copying content from a Word document and pasting it in and thinking about what information you want to keep and what you and how that should be discarded and lots of little subtle edge cases around that. And In the end, it turned out that HaloJS was a good place for us to start, but there were some flaws that

are shared by lots of the kind of rich text editors that you get in content management systems. And so we have introduced a new rich text editor. It's called DraftTale. That development was led almost completely and delivered almost completely by my colleague Thibault, who's here and is going to be talking to us later. It's a really amazing achievement and it's also available, you know, it's as a package to use outside Wagtail in other in other platforms. Salior is a e-commerce engine some of you may be familiar with. Pretty cool e-commerce product, open source. And they're also using DraftTale, which is been good for us to see. The starter page, this is something that was started actually last Jang, last Wagtail Space. Here in Philadelphia last year. Tim led on this and there were a group of people here who did this. And some of you may know that in Django itself that Django has a new starter

page. About maybe eighteen months, two years ago and so we kind of r replicated that with Wagtail. And it was it's kinda nice story behind that because it I mean it's it just it's it makes a much a more interesting experience when you start using Wagtail. You can just get this kind of glossy page and just you have a little bit more of a buzz of excitement when after you've after you've done the kind of five steps to get Wagtail started. But it had it was also nice the way that kind of this particular project worked that it started in a sprint after Wagtail space here in Philadelphia and then it continued in our next event in Minsk in Belarus. and maybe got finished off in Arnhem in the Netherlands and it's just quite cool watching how these projects take off. There's been a lot of focus on accessibility as well.

9:33 Community and Core Team

Speaker 1

There's going to be some talks about this later. Thibaut's going to talk about this. Zarina's going to talk about accessibility. I'm going to talk about a bit more, so I'm going to stop there. But that's that's that's been I think a really important focus of Wagtail's development in the last year. We have I think you know one of the really nice things about Wagto has been that as well as the online communities, we've made a focus we've of meeting up in person, things like this. and you know it's it's wonderful how much you can do on Slack and GitHub and all these other tools that we have available but I think encouraging people to meet in real life Just want, you know, even once a year makes a big difference to how the community feels about itself. And I think so we're we're really happy with the events that we've been having. The core team's been growing as well, so

it was it was a kind of important thing for me coordinating the project at Torchbox that we were not the core the rep the proportion of the core team from people from torchbox should be in a minority. And that happened sort of three or four years ago. And now there's 19 people in the core team of which five are from Torchbox. books and yeah I'm I'm really happy with it with the growing team and it's kind of we have weekly meetings. They used to be in the kind of middle of the day in the UK time every Wednesday but now because we have people across lots of time zones we have to have one in the morning. one in the afternoon and you know even so that means that our kind of friends from Australia have to wake up at some crazy hour but we're very grateful to them. And the community support support's been doing really well. Hopefully some of you who are already involved in Wagtail have

experienced this We had a few channels before, we had kind of email support and Google groups, but we've we've kind of made the we've made an effort to consolidate these on Slack and Stack Overflow. And the Slack channel's really growing and it's really supportive and there are a lot of people now who and it's really nice seeing people who start by asking questions and then a couple of months later they're they're answering questions. And that's lovely to see. But obviously Slack is, you know, is wonderful for those that kind of immediate real-time support, but it's not great for finding the problems that that people have solved in the past and so we're always encouraging people to use Stack Overflow and I want to keep doing that because it just means that you know you know whenever it just whenever we can create an answer to a commonly used question this is going to make things simpler for people.

11:55 Packages and the Wagtail Ecosystem

Speaker 1

In the long run. But I'm really happy with how community support has developed and improved over the last year. And part of that has been contributions as well. So there are loads now of fantastic packages for Wagtail that are actively developed and maintained. They have great documentation and tests. I won't go through all of these now, but I will just mention Whiteel Woosh people know or Whooshes. It's like if you if you don't want to install If you want really good search but you don't want to install Elasticsearch, then Woosh is a Django package or a Python package that that gives it 's a bit like kind of SQLite, but for search engine. And this is a new search backend for Wagtail. Wagtail Review is another really interesting one. This one came out of a project that was commissioned by the National Health Service.

I'm gonna demo something slightly about this later. Another really big thing that's happened this year is code red CMS. Anyone who's who's familiar here with code red? apart from the two of the creators who are here. Code Red is a really interesting project and it was something I felt like kind of a little bit nervous about it when I when I when I first came across it and it's I guess you could describe it as a sort of distribution of Wagtail. So it's it's a new it's another open source project but it's it's it's like a CMS that sits runs on top of Wagtail And it's I think the use case, and I you know, Vince, you must kind of correct me if I haven't got this right, but I think that the use case is really for people who want to who might have otherwise have used

WordPress and who want to be able to create marketing sites quickly but they want to kind of take advantage of all the things that the Wagtail adds as well. So Wagtail, you know, has a philosophy of make a really clean separation between content and presentation and being completely unopinionated about the front end and how your user experience. should be. But that does mean that you need a developer to make those decisions for you. And Code Red just has a lot of very sensible defaults, which means that you can start a Code Red site and have you know an effective And then if you want, you can kind of, I don't know if this is the right word, but you could sort of eject from code red and just treat it as a normal wagtail project later. And the Code Red team have done a really great job of building this and

iterating quickly and building a community around it. And they're also contributing back upwards into Wagtail. That's been a really positive thing for us. Also, third-party content has improved. So This time, you know, a year ago I'd say most of the content about Torchbox, blog posts and so on were pro about Wagtail were probably coming from Torchbox. And I was really keen that that wasn't and that's clearly not the case anymore. So there 's a lot more about Wagtail that comes from outside TorchBox and that comes from within it. And you know, people who someone who posts who started a Reddit channel, people who are posting blogs. This guy Michael Yin's done a really nice he's done an ebook and he has a really nice tutorial site But the biggest one for me has been this site,

learnwagtail. com, which I hope some of you have seen. And if not, then you should definitely put mark it. LearnWagtail. com is it's a set of videos very professionally produced and it they will they start from like just beginning with wagtail to some really advanced features like how to build headless sites there's a whole set of but there's 5G drawings on headless sites, so there's 40 now and it's I think it's been watched by tens of thousands of hours worth of watching. Is that right, Caleb? And I'm very happy that Kalog is here today and is going to be talking a bit about contributing to Wagtel. And Caleb is joined the Kalog who's who's responsible for Learn Wagtel. As I said join core team and we're really, really grateful for the work designed.

15:45 Lessons from the NPR Pitch

Speaker 1

It's an amazing resource Okay, that's all the good stuff. That's probably not all the good stuff, but that's some of the good stuff that I'm going to talk about. What about some other things? So some of you will know that Torchbox we had we had a really big pitch for NPR. So Mpr, you know, really is this amazing, prestigious organization, and they wanted new CMS for MPR. org and all the all the radio stations and this is a an amazing opportunity for us and for Wagtail. And we got down, we worked shortlisted to final two and it was a huge amount of work. And in the end they didn't they didn't choose Wagtail. And you know that's just like the commercial realities of running an agency and pitching for work that you sometimes you know you invest in pitches and you don't always get them and I understand the reasons that they that they make

for finally making from their decision. But it was it was painful because it would have been such a boost I think particularly here in the US to be able to talk about NPR but also because I think you know if they made another decision then there'd be like tens of people here from NPR today and there would have been a big push in you know wagtail in the in the news and media sector which i think is a particularly interesting place for wagtail to be so That was a shame. But actually some good things came out of this because we had to work really hard for this for this NPR pitch and we had to think hard about the problems that news and media organizations are trying to deal with and we at Torchbox we've built some features for Wagtail and kind of proof of concept stage that would that would help deal with this.

17:15 Content Workflows and Integrations

Speaker 1

And I'm gonna Risk the live demo and see if I can show you one of these now. So let me zoom in a little bit Everyone see the screen okay? So this is this is a proof of concept site that we built for MPR for this pitch and It's a multi-site, so we can run different stations under it. Here's a new section, and then within the new section I now want to add a new page. One thing that we I think we've been aware of for a while, but just kind of came to mind and was brought into focus by doing this project is that while we are trying to make the best authoring experience we can with RightTale, and I talked about how we use DraftTale

and that it's as much as we would like Wagtail to be like the pa the place where people originate content, we know that editors and writers and journalists use other systems. I wonder there's somebody else we who needs a muting to your speakers. Thank you. And the reality is so that people start their content in other places. And we want to think about I guess w when we're when we're thinking about white house design, we want to think about Not just about you know bringing everything into Wagtail, but just thinking about the real world usage. And one of the ways that people write and in fact that we that we write a torchbox

is we might start content in Google Docs or Dropbox Paper or something like that. And then I'll share it with somebody and they'll comment on it and then when we're happy then we'll copy and paste it into our site. So we wanted to kind of think about how we would solve how we would solve that problem. So here I could add a news page as normally, but instead now I'm gonna click, let me just zoom in one more, news page from Google Document. And I think so normally I get an OAuth pop-up from Google from Google, but I've already done that now so I'm I'm logged in. I have access to I don't know tens of thousands of Google documents on in our corporate Google account and now I can search them. So I look for NASA. Amazingly the it's pretty quick the API for Google Docs. It actually feels quicker than using drive. google. com for some reason.

So here's a couple of pieces about NASA and If I click on one, it will open in Google Docs. This is a story from NPR about how NASA will pay you to lie in bed. To see how your body adapts to weightlessness. But you can imagine that I'm I'm I'm writing this piece now as a journalist. And I think, well maybe we should have another header here I thought I'll copy that and maybe I'll make that a massive header That's appropriate. And then you know I might s I might share this with my colleague and they'll suggest some changes and I'll make them. So then I'm I'm I'm ready with in Wagtail and

and I'm gonna import it. So now it's going to the Google API, it's looking at the content, it's extracting a title, there's no kind of published data available in the API. I'm going to pick an author I can take that first line from the summary. So you can see now that it's extracted. Actually that's probably the best one here. It's extracted the content from the document It just noticed there was an inline image. So it's created an image in Wagtail and referenced that here as a stream field block. You might notice this stream field UI is a bit different. So this is using the React Streamfield third-party package. It's found my

hello wagtail space block and so I can preview that now and it's going to render it in the in the template at the front. It's our image and there's our header and so on. And this is a proof of concept, but it it's working pretty well and I haven't found Yeah, too many edge cases where it doesn't work. And feels like this is this is a really interesting way of thinking about how we adapt to real world usage. And I think it's something that's gonna be immediately useful Definitely to us at Torchbox and to many of our clients. And I'm what I'm what I 'm keen to do is the next step is to make this more pluggable at the back end so that you can have different sources that could be Dropbox paper or maybe markdown files in a GitHub repository. or Office 365 if you've used that.

I think just generally this these ideas about how we get content in are interesting. And here's another here's another example. Resurrects again. This next one was not from not from the this is actually came from the Waghouse based in Arnhem in the Netherlands. And this is built around the idea of you know how news sites will often have stories that have been authored ahead of time, but also you might have breaking news. So this is off quite often in common sports, but also like You know, we've got a new Prime Minister in the UK and you know there was sort of on the day he was presenting there's like this kind of rolling coverage in the BBC.

So this is a you know a thought about how to manage so Kern 's just created a new channel in Slack and immediately that Slack that is available that's a new section in Wagtail and now he's gonna write a message. So you imagine you're in a field, you're a journalist, you're talking about Boris Johnson's haircut And you type your title and immediately it's creating Streamfield blocks and publishing them to your page. So you can then go back and edit this in Wagtail. Cool thing that this is all happening quite quickly that you might have missed is that you can also edit. So you know how in Slack you can kind of up arrow and change and that also sends a webhook the edit action. So that we 're going back and fixing that And you can upload images and embeds and so on. So he's put his cat

23:22 Frontend Tooling and Wagtail 3.0

Speaker 1

image and it appears and so I'm yeah, that's really cool. And that's definitely very proof of concept at the moment. But I just I like this idea about thinking about how editors and journalists and authors are working and trying to trying to adapt Wagtail around that Anyway, I feel like I'm slightly, you know, I'm supposed to be talking about the bad things. So another thing that I feel is like is holding us up a bit is the front-end tooling. And this is not my area of expertise, but I know that If you if I look back on the issues on Wagtail, people are saying asking for different ways that that we could present the admin interface. And actually two people from City of Austin here today are going to be talking a little bit about this. And

often the answer to that is just that it's hard to do that in Whiteel. You know, Whitel is It's built five years ago and the set of technologies that we used to build it then, things like you know, traditional Django templates and jQuery and probably not the set of technologies that we would use if we were going to start right now And that means that there's a lot of work to do in this and you can either try to kind of iteratively clean that up and refactor the CSS. We've made some good headway in that Naomi here is Done a great job of helping with refactoring the CSS. But there's but there's a lot to do on the on building the UI. And we want the UI to be like best in class. So we're I feel like we're at a bit of a crossroads that about do we kind of keep iterating on this and improving it

or do we need to have a kind of clean start? Do we need a like a White Tell 3. 0 that is a modern JavaScript application? an API, which would be a really big piece of work and would have some, you know, would mean that we would break backwards compatibility in a way that we haven't had to before. It would mean a much harder jump, I think, between three two and three than we ever had in the past. But perhaps is necessary if we want to lay the foundations for a good dimensional system that's going to be relevant in the next five and ten years. I'd be really interested to talk to you all about that and while we're here and see what your opinions are. This is a very different point. There's diversity about the community, you know, in common with tech communities everywhere. the majority of people who are kind of involved in White

25:41 Diversity and Deployment

Speaker 1

Tail are male, whites, Western, able -bodied. I must say, you know, here today then I think we if I if we if we had measured this Last year to this year, I think we're everything is going in the right direction. And the Django community is doing well in this front. But I'm also keen that that that Wagtail is, you know, does it is a represents the kind of the diverse communities of people who are in who you know should be involved in technology Deployment, you know, this is a kind of classic Django thing really, but and this is an interesting point we were talking about last night at supper for the organizers at Tim 's that Many of the questions we get on Wagtail Slack and Stack Overflow are about how do I deploy my site.

And the easy answer to give to this is that's not really a Wagtail question, just you know, read the Django documentation But it's quite tempting to do that, but actually I think what we've realized is that it's good that people are asking us this because it means they're coming, they're using Wagtail not just because they're Django developers and they wanted a CMS, but because They they're interested in Wagtail. They like Wagtail for the features that it has. And it means that I guess it's our responsibility to help them get to deployment. launch and there's still I think it's it's still one of the tricky areas of being a Python or a you know Python doing Python on the web that deployment just still isn't as easy as having a folder full of PHP files and pushing them somewhere and having it just run. And this definitely good work happening in this area. It's a Divio

who are represented here by but Joel was Joel have you know really good so they've been they've done a great job of supporting Wagtail and you can talk to Joel if you're interested in DVO services. And you know I think increasingly they're kind of container managed services so where you just have doc file and you push it somewhere getting simpler but I would really like to have a better answer on this. And I'm not sure how much that's a responsibility of Wagtail and Wagtail community, but I feel like whether or not it's our responsibility, it's still an impediment to Wagtail being the next WordPress. So what's next? What's coming up in the next year? There's gonna be more events. So this one, we're gonna have another one in the UK, probably in our Bristol office, to which you're all very welcome.

27:59 Priorities for the Coming Year

Speaker 1

Bristol is a lovely city. There's one there's gonna be one in Cape Town, which is possibly even lovelier than Bristol and definitely has more mountains and oceans. And that's that's gonna be December January, I think. And again, you're all very welcome to that. There's going to be continued focus on accessibility and This is, I think it's a so it's it's wonderful to be able to have this enthusiasm and energy for what's such an important part of the project. And although you know it may not be something that many people in this room will benefit from directly. That it's it's I think it's you know it's it's really key really

critical for us that we do this right and I think we I may have felt two years ago that we were we were quite I'm we were we were pretty good at this but it's become very clear to me that we actually haven't been very good at this and You know, there are a lot of people who are worse than this than us, but you know we don't want to be just like the least worse people. We want to be we want to be doing we want to be the really good people. And So that's kind of the theme of this, particularly I think of tomorrow and sprint on Saturday that we want to, I mean it's not a requirement to work on accessibility folks stuff, but we're really encouraging people to And there's I know there's a lot of people here who are key to do that. So a continued push. One of the things that's been really good for us is that the UK government, so we've been working on a project there for Department of International Trade. They are

29:31 Headless Wagtail and UI Improvements

Speaker 1

Perhaps I think someone said that they're the only the only part of the UK government that's currently growing as we panic about the impending doom of Brexit and the disappearance of our local markets. But they've been they've they're using Wagtail and they have you know there is there's requirements of government departments to provide accessible tools. So they have funded a lot of this that development in the last few months Which has been wonderful and we can thank them publicly for that. The headless model continues to grow. Who here is uses Wagel in a headless way or is interested in doing that? A few people here. And you know, we're noticing in our own among our own clients that this is just becoming more and more popular model. So this is the idea if you're not familiar with it, that that the content management system takes care of the authoring and the workflow process, but some other bit of technology is responsible for delivering it.

And that could be like a React application or Vue or it could be a mobile phone or even another set of Django templates. And that we're no we we're seeing this as a as a more and more common model. And it you know, while it can add cost and expense and complexity in some cases, it often there's some really important advantages in others too. And I think It's really it's gonna be critical for Wagtail to have a good story around headlessness to stay relevant. And actually it's done well. I mean we had a great talk here last year from someone at rice. edu about their headless site and there's some really big successful headless sites out there but also there's some points where Wakehoff hasn't been hasn't worked quite so well. I was going to show you a demo about how we're doing this better already, but I'm about to run out of time.

If anyone's interested in headless stuff, come and see me and I'll I'll show you some examples of this. I think that's going to be a push for the rest of this year too And then an increased UI focus. So whether or not wait we make this kind of the big decision about the you know the move to a more drastic change in three point zero, we particularly at Torchbox are gonna invest in making the UI for Wagtail best in class. And I think that one of the reasons that Wagtail was popular in the first two or three months was because it looked good and it looked better than some of the other content mentioned systems but I think we want to we want to kind of continue on that and not just about how it looks but just thinking about that authoring experience all the time how preview works about the responsiveness I have had to rush through that last bit

because I probably went on too long at the start. I'm out of time now and I think we should move on to the next session. But thank you all very much and please come and talk to me if you have any questions about this. I'm looking forward to the next few days. I'm putting the shapes.