The subscriptions page on the account preferences currently lists 4 columns: project, tool, item and the check option.
The item number doesn't tell much. In order to make it useful, I think that you should add also a column with the title of the issue. There's a lot of padding between each column now. If the title is too long, it should be wrapped at a fixed maximum length.
Another annoying issue is that all issues (open and closed) are listed. It would be good to be able to list only the open issues.
Ticket is having link with the ticket number then user can go ahead at check what it is. But merge requests are displaying the title. Therefore can we add title for tickets too to make those two things (MR and Ticket) similar?
your ideas?
Discussion threads also show their title. So it must be some property of the
Artifact
class that some types implement nicely but Ticket doesn't do the way we want. Or perhaps how theMailbox
class which stores all the subscriptions. It would be good to add/update to the ticket logic so it works like the others.Hi.. Dave
I checked this further. Here is how merge request put versioned artifact title
And email subject returns
u'Merge request: ' + self.summary
So in each email we get[allura:git] Merge request: ....
and each subscription we seeMerge request: ......
But in ticket it is different
Versioned artifact doesn't use
email_subject
property.If we do same as MR(putting
title=self.email_subject
) we get something like[allura:tickets] Ticket #323 ...
in email andTicket #323 ...
in subcriptionsOkay. but word
ticket
is repeatingSo I would suggest this
repo model
ticket model
Then both will look same.(We can solve this ticket) and email subjects also remain same
If I'm following everything correctly that sounds good to me. The email subjects are good how they are so you're right that we don't want to change those. Want to make a merge request for it and I can double check everything?
Thanks
Yeah :) added a MR . There was no trouble with unit cases
I've merged the MR. That handles all new subscriptions to tickets.
I'm going to keep this ticket open for the time being though, so we can think about updating the titles for existing ticket subscriptions. That might be nice to do. We'd probably need a script similar to the ones in
scripts/migrations
.Yeah.. okay.. persisted data needs to be changed. I will look existing scripts
Hi.. Dave
Can you check my script here. Probably we need to add to
Upgrade Instructions
in new version I guess. otherwise when user upgrades old data is still thereThanks
Added MR https://forge-allura.apache.org/p/allura/git/merge-requests/307/
I'm updating the title of this ticket so the "NEEDS MIGRATION" wording will appear in our changelog when we make the next release, and remind us to add the migration command to the upgrade instructions. This is what will need to be run:
I've made a merge request at https://forge-allura.apache.org/p/allura/git/merge-requests/309/ to fix the handling of missing data, and should be reviewed.