Don't automatically name new pads based on search query
We observed that users frequently created new pads with titles that look a lot like search queries. This pollutes workspaces with empty pads. Worse, these pads have titles optimized for search ranking since they are named after popular queries, so search results quickly become fairly useless. We're not sure exactly what flow leads users to create these pads, but we suspect that they're clicking the "new pad" button on the search results page, which fills in a `title` query param based on the search query. This commit removes the auto-population of the `title` so the new pad will be given the glorious default title of "Untitled."
This commit is contained in:
@@ -146,10 +146,6 @@ var padtopbar = (function() {
|
||||
}
|
||||
}
|
||||
|
||||
createpadentry.on('input', function() {
|
||||
$('#createpadentry-hidden').val(createpadentry.val());
|
||||
});
|
||||
|
||||
createpadentry.on('focus', function() {
|
||||
createpadentry.parent().addClass('search-focused');
|
||||
});
|
||||
|
||||
@@ -83,8 +83,6 @@
|
||||
'data-modal': "#page-login-box",
|
||||
tooltip: N_('New Hackpad')
|
||||
}); %>
|
||||
<input id="createpadentry-hidden" name="title"
|
||||
value="<%=request.params.q%>" type="hidden"/>
|
||||
</form>
|
||||
<form id="createpadform2" action="/ep/pad/newpad">
|
||||
<div id="createpadbox">
|
||||
|
||||
Reference in New Issue
Block a user