Skip to content

Add dedicated task show page#1681

Merged
CloCkWeRX merged 1 commit intofeature/task-custom-fieldsfrom
add-task-show-page-220080762878046059
Apr 12, 2026
Merged

Add dedicated task show page#1681
CloCkWeRX merged 1 commit intofeature/task-custom-fieldsfrom
add-task-show-page-220080762878046059

Conversation

@CloCkWeRX
Copy link
Copy Markdown
Member

This change introduces a dedicated show page for Tasks, bringing them in line with other entities like Leads and Contacts. The show page includes a title bar with actions, a sidebar for metadata and custom fields, and a main area for comments and version history. Task names in all list views are now clickable and navigate to this new show page.


PR created automatically by Jules for task 220080762878046059 started by @CloCkWeRX

- Implement show and versions actions in TasksController
- Add versions member route for Tasks
- Create show, title_bar, sidebar_show, and versions views for Tasks
- Update task list partials to link to the new show page
- Ensure custom fields are displayed in the task sidebar
- Correctly handle sidebar layout and avoid nested links in task lists

Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

#----------------------------------------------------------------------------
def versions
@task = Task.tracked_by(current_user).find(params[:id])
@versions = @task.versions.order('created_at DESC')
TASK_STATUSES.each do |view|
it "should render the requested task as JSON for #{view} view" do
allow(Task).to receive_message_chain(:tracked_by, :find).and_return(task = double("Task"))
allow(task).to receive(:comments).and_return([])
it "should render the requested task as JSON for #{view} view" do
allow(Task).to receive_message_chain(:tracked_by, :find).and_return(task = double("Task"))
allow(task).to receive(:comments).and_return([])
allow(task).to receive(:emails).and_return([])

it "should render the requested task as xml for #{view} view" do
allow(Task).to receive_message_chain(:tracked_by, :find).and_return(task = double("Task"))
allow(task).to receive(:comments).and_return([])
it "should render the requested task as xml for #{view} view" do
allow(Task).to receive_message_chain(:tracked_by, :find).and_return(task = double("Task"))
allow(task).to receive(:comments).and_return([])
allow(task).to receive(:emails).and_return([])
@CloCkWeRX CloCkWeRX merged commit 9e3b13b into feature/task-custom-fields Apr 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants