Page MenuHomePhabricator

Workboards - add column detail page
ClosedPublic

Authored by btrahan on Mar 26 2014, 8:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 3:44 PM
Unknown Object (File)
Wed, Apr 24, 10:27 PM
Unknown Object (File)
Tue, Apr 9, 9:12 AM
Unknown Object (File)
Apr 2 2024, 4:53 AM
Unknown Object (File)
Apr 2 2024, 4:53 AM
Unknown Object (File)
Apr 2 2024, 4:53 AM
Unknown Object (File)
Apr 1 2024, 1:06 PM
Unknown Object (File)
Mar 31 2024, 11:14 AM
Subscribers

Details

Reviewers
epriestley
Commits
Restricted Diffusion Commit
rP655ac9927fa4: Workboards - add column detail page
Summary

followup to D8544. This ends up creating an editor + transactions to get the job done.

Test Plan

made a column - saw a nice created transaction. edited the name - saw a nice name edit. deleted the column - saw a deleted transaction, updated "deleted" ui, and hte action change to activate. "Activated" the column and saw a transaction and updated UI. Tried to delete a column with tasks in it and got an error.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan retitled this revision from to Workboards - add column detail page.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added a reviewer: epriestley.
src/applications/project/storage/PhabricatorProjectColumnTransaction.php
8

think we should have a TYPE_TASK and log a transcation for tasks leaving / entering? This seemed somewhat useful to me

  • when encountering the error cases since tasks that aren't somehow active are otherwise buried relative to the column.
  • when using columns as some "collection of meaning" beyond the workboard this history could be interesting

Seemed outside scope of this diff so I held it. Candidate for next diff or next next diff if you think we should do it.

epriestley edited edge metadata.

Nice!

I think TYPE_TASK might be useful, but those specific use cases don't seem super amazing to me (but I'm not sure I fully understand the error case -- I think that's mitigated by more filtering options for the board down the road, though?). One thing I'd worry about is that this page might get 900000 pages long and require that we build history paging/etc., although that's obviously not too hard.

Maybe hold it for now and we'll put it in the next^5 diff or something if it's more clearly useful?

src/applications/project/storage/PhabricatorProjectColumn.php
19

Hmm, I would expect us to still need this when, e.g., viewing a project board for the first time so it implicitly creates the "Default" column, at a minimum?

This revision is now accepted and ready to land.Mar 26 2014, 8:49 PM
btrahan edited edge metadata.

un-remove setName('') call for default case; upgrade $old === null to !strlen($old) to handle new default in transaction code.

btrahan updated this revision to Diff 20454.

Closed by commit rP655ac9927fa4 (authored by @btrahan).