User:Dria/Feature page query examples
New feature pages
- The old feature pages worked well enough to get us through our first release cycle in the new Train Model world, but they fundamentally kinda sucked.
- I learned a lot in the process, and I've now launched the second version of the system, which includes a more logical page structure and uses much smarter tools. It's still the wiki, but it's the wiki with a couple of completely badass add-ons (this one, and this one).
- The most important benefits are:
- New feature pages can be created and edited using a simple web form
- The resulting feature pages support database-like queries for automatically generating lists, alternate views, and etc.
In other words: we no longer have to manually update release trackers, feature lists, or our own custom lists, because we can just build custom queries to do all of these things for us.
Forms? In a wiki?
It's true! Here's a demo!
- Go here: Feature page demo
- Click the "Edit with form" link at the top
- Gasp with surprise and delight
Any feature page created with the new system will have the "Edit with form" link at the top. I strongly suggest you use the form because editing the raw text is significantly crappier and more error prone.
Migrating the old to the new
Unfortunately, the old pages don't work with the new system at all -- and we can't use the form to edit/update them -- so all still-relevant feature pages need to be migrated to the new system. I'm in the process of doing this, but if you would like to migrate your own please feel free. Ping me (Deb) if you have questions.
Creating new feature pages
Do you want to create a new feature page? It's super easy!
- Go here: Features/Create_new
- Follow the directions (4 steps, very simple)
- Ta dah!
The new system allows us query the feature pages and return results based on a variety of queryable properties in the pages themselves.
Here are some example queries and their output. Feel free to "edit" any of these pages to check out the source code for the queries -- they're simple and powerful.
- Firefox Desktop feature list
- Release Tracking table for Firefox 7: Mobile
- Mobile UX Team feature list
- Security Team tracking list
- Platform team list
- Product team tracking list
- ...more to come as I experiment a little
For more information about queries, see the add-on's query documentation.
If you have any questions, ping Deb in IRC, IM, or email.
Turns out this system is easy to tweak and augment. If you have a particular thing you would like to do with these, or some bits of data you would like to add to the pages, ping me (Deb) and I'll see what we can do.