[Bps-public-commit] App-Changeloggr branch, master, updated. 0eab19bb500471728af6cadef5fd255f3444106e
sartak at bestpractical.com
sartak at bestpractical.com
Tue Jun 30 18:07:07 EDT 2009
The branch, master has been updated
via 0eab19bb500471728af6cadef5fd255f3444106e (commit)
via 3fff462db533b04c1ac3b76c08542d6ba2e2187b (commit)
via fea2b6dc3ca74eaa2ed8a86d13c1f7b0da273315 (commit)
via c2725291618034f92f7d2f4c3af0f7fe36043920 (commit)
from 660fa4df9ee01f77b726f1d8853acb056596bc73 (commit)
Summary of changes:
etc/config.yml | 2 +-
lib/App/Changeloggr/Model/Change.pm | 7 -------
lib/App/Changeloggr/Model/Tag.pm | 11 +++++++++++
lib/App/Changeloggr/View.pm | 1 +
4 files changed, 13 insertions(+), 8 deletions(-)
- Log -----------------------------------------------------------------
commit c2725291618034f92f7d2f4c3af0f7fe36043920
Author: Shawn M Moore <sartak at gmail.com>
Date: Tue Jun 30 17:50:13 2009 -0400
Add tooltip and description fields to tags
diff --git a/etc/config.yml b/etc/config.yml
index 6a2d634..b5005b2 100644
--- a/etc/config.yml
+++ b/etc/config.yml
@@ -14,7 +14,7 @@ framework:
Password: ''
RecordBaseClass: Jifty::DBI::Record::Cachable
User: ''
- Version: 0.0.14
+ Version: 0.0.15
DevelMode: 1
L10N:
PoDir: share/po
diff --git a/lib/App/Changeloggr/Model/Tag.pm b/lib/App/Changeloggr/Model/Tag.pm
index bd1c214..78d3bc5 100644
--- a/lib/App/Changeloggr/Model/Tag.pm
+++ b/lib/App/Changeloggr/Model/Tag.pm
@@ -24,6 +24,16 @@ use App::Changeloggr::Record schema {
is case_sensitive,
ajax validates,
ajax canonicalizes;
+
+ column tooltip =>
+ type is 'text',
+ label is 'Tooltip',
+ since '0.0.15';
+
+ column description =>
+ type is 'textarea',
+ label is 'Description',
+ since '0.0.15';
};
sub validate_text {
commit fea2b6dc3ca74eaa2ed8a86d13c1f7b0da273315
Author: Shawn M Moore <sartak at gmail.com>
Date: Tue Jun 30 17:52:30 2009 -0400
Render as textarea, not type is textarea
diff --git a/lib/App/Changeloggr/Model/Tag.pm b/lib/App/Changeloggr/Model/Tag.pm
index 78d3bc5..fbe3adc 100644
--- a/lib/App/Changeloggr/Model/Tag.pm
+++ b/lib/App/Changeloggr/Model/Tag.pm
@@ -31,7 +31,8 @@ use App::Changeloggr::Record schema {
since '0.0.15';
column description =>
- type is 'textarea',
+ type is 'text',
+ render as 'textarea',
label is 'Description',
since '0.0.15';
};
commit 3fff462db533b04c1ac3b76c08542d6ba2e2187b
Author: Shawn M Moore <sartak at gmail.com>
Date: Tue Jun 30 18:03:59 2009 -0400
Don't limit the columns that Change->prioritized_tags returns
diff --git a/lib/App/Changeloggr/Model/Change.pm b/lib/App/Changeloggr/Model/Change.pm
index 4ec3029..613e5d3 100644
--- a/lib/App/Changeloggr/Model/Change.pm
+++ b/lib/App/Changeloggr/Model/Change.pm
@@ -140,13 +140,6 @@ sub prioritized_tags {
value => $self->id,
);
- $tags->column(
- column => 'text',
- );
- $tags->column(
- column => 'hotkey',
- );
-
# In order to pull out the hotkey, we need to group by it in Postgres
$tags->group_by(
function => 'main.text,main.hotkey',
commit 0eab19bb500471728af6cadef5fd255f3444106e
Author: Shawn M Moore <sartak at gmail.com>
Date: Tue Jun 30 18:04:15 2009 -0400
Display tooltip on tags
diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index 95194bf..55b6238 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -281,6 +281,7 @@ sub show_vote_form {
class => "vote",
label => $label,
key_binding => $valid_tag->hotkey,
+ tooltip => $valid_tag->tooltip,
onclick => [
{ submit => $vote, refresh_self => 1 },
{ refresh => 'score' },
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list