Skip to content

Sharing Sessions#208

Draft
cb341 wants to merge 10 commits intomainfrom
feature/support-query-parameters
Draft

Sharing Sessions#208
cb341 wants to merge 10 commits intomainfrom
feature/support-query-parameters

Conversation

@cb341
Copy link
Copy Markdown
Contributor

@cb341 cb341 commented Mar 8, 2026

Session Sharing

I think this could be a useful feature for meetings / pair programmings and spontanous code reviews.
One person defines a session and shares it with members, ensuring consistent tracking of sessions.

Implementation done by Opus 4.6

1. Define Session 2. Copy Session 3. Prefill Session
CleanShot X 2026-03-08 18 22 46 CleanShot X 2026-03-08 18 22 53 CleanShot 2026-03-08 at 18 31 15@2x

It is also possible to copy a past session:
CleanShot 2026-04-22 at 15 23 28

@cb341 cb341 self-assigned this Mar 8, 2026
@cb341 cb341 changed the title Feature/support query parameters Sharing Sessions Mar 8, 2026
Comment thread assets.src/src/redmine-tracky/controllers/form-controller.ts Outdated
Comment thread assets.src/src/redmine-tracky/controllers/issue-completion-controller.ts Outdated
Comment thread assets.src/src/styles/timer_container.scss Outdated
@cb341 cb341 marked this pull request as ready for review March 8, 2026 17:34
@cb341 cb341 marked this pull request as draft March 8, 2026 17:36
Comment thread app/views/timer_sessions/_timer_container.html.erb Outdated
Comment thread app/views/timer_sessions/_timer_container.html.erb Outdated
Comment thread assets.src/src/redmine-tracky/controllers/form-controller.ts Outdated
Comment thread assets.src/src/redmine-tracky/controllers/form-controller.ts
Comment thread assets.src/src/redmine-tracky/controllers/form-controller.ts Outdated
Comment thread assets.src/src/redmine-tracky/controllers/form-controller.ts Outdated
Comment thread assets.src/src/redmine-tracky/controllers/form-controller.ts Outdated
}, 0)
}

private prefillField(urlParams: URLSearchParams, param: string, target: HTMLInputElement): boolean {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private prefillField(urlParams: URLSearchParams, param: string, target: HTMLInputElement): boolean {
private isPrefillField(urlParams: URLSearchParams, param: string, target: HTMLInputElement): boolean {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or

Suggested change
private prefillField(urlParams: URLSearchParams, param: string, target: HTMLInputElement): boolean {
private shouldPrefillField(urlParams: URLSearchParams, param: string, target: HTMLInputElement): boolean {

Comment on lines +32 to +36
const flash = document.createElement('div')
flash.id = flashId
flash.className = 'flash notice'
flash.textContent = message
container.prepend(flash)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the downside of having the prefill logic in the frontend.
We need to duplicate logic for rendering flashes.

Luckily it is not that much code.

@cb341 cb341 force-pushed the feature/support-query-parameters branch from 4c870fa to 53c7df0 Compare April 22, 2026 13:32
@cb341 cb341 force-pushed the feature/support-query-parameters branch from b4cb708 to 633f563 Compare April 22, 2026 15:39
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.

1 participant