Private Issues, Web UI: List the private issues in its separate section #495

Open
opened 2026-04-07 03:26:15 +00:00 by t0xic0der · 4 comments
Member

Summary

Private Issues, Web UI: List the private issues in its separate section

Details

Private Issues, Web UI: List the private issues in its separate section

Associated with issue forge/forge#442

### Summary Private Issues, Web UI: List the private issues in its separate section ### Details Private Issues, Web UI: List the private issues in its separate section Associated with issue forge/forge#442
t0xic0der added this to the Backlog project 2026-04-07 03:26:16 +00:00
t0xic0der modified the project from Backlog to Sprint 18 2026-04-07 10:15:53 +00:00
Author
Member

We need to complete forge/forge#464 before we start with this.

We need to complete forge/forge#464 before we start with this.
Author
Member

I made some headway with the frontend implementation 😭

image

I do not like it though. It is very experimental. We could prolly do it better.

The new issue button does not work for now. Or at least, how I want it.

The count bubble is visible only to those who have the necessary access.

Other authenticated user can view that panel but this would up empty.

image

For users opening a private issue there, only their count would be shown.

While the repo owner or those having the access, get to see everything.

The issue index is also shared with the normal publicly visible issues.

You wanna see the code changes? Nope, still some polishing needed.

I made some headway with the frontend implementation 😭 ![image](/attachments/4f00df06-20e6-4c2e-829d-ed0615b76797) I do not like it though. It is very experimental. We could prolly do it better. The new issue button does not work for now. Or at least, how I want it. The count bubble is visible only to those who have the necessary access. Other authenticated user can view that panel but this would up empty. ![image](/attachments/6b71e20a-12f9-487d-9f3a-0f6cfec7e1b3) For users opening a private issue there, only their count would be shown. While the repo owner or those having the access, get to see everything. The issue index is also shared with the normal publicly visible issues. You wanna see the code changes? Nope, still some polishing needed.
Author
Member

I am retaining the issue ticket assigned points for now on an evaluation.

For what its worth, this implementation has too many moving pieces to tackle before it becomes functional.

image

Following the conversation with @ryanlerch from this morning's meeting, we would want to have a common listing for both public issues and private issues. Depending on the access levels, all the issue tickets (including public and private) should be visible to the owners and maintainers, the private issue ticket reporters should see the public tickets and only the private tickets that they opened or are involved in, and the third person should see only the public tickets. The count shown on the tab headers inside the pill also needs to be modified to reflect the same and those within the open, closed and all sections need to be changed too.

Fingers crossed.

I am retaining the issue ticket assigned points for now on an evaluation. For what its worth, this implementation has too many moving pieces to tackle before it becomes functional. ![image](/attachments/ec51a1fc-126d-471c-9a03-8a84f9a4e4e1) Following the conversation with @ryanlerch from this morning's meeting, we would want to have a common listing for both public issues and private issues. Depending on the access levels, all the issue tickets (including public and private) should be visible to the owners and maintainers, the private issue ticket reporters should see the public tickets and only the private tickets that they opened or are involved in, and the third person should see only the public tickets. The count shown on the tab headers inside the pill also needs to be modified to reflect the same and those within the open, closed and all sections need to be changed too. Fingers crossed.
Member

we would want to have a common listing for both public issues and private issues

Hmm, I would like this too, but: Because public and private issues are in separate tables, querying either are separate activities. I.e., right now there’s no way to say “give me public and private issues from the point of view of this user, paginated” in one go. I can think of several approaches to tackle this, all with their own downsides 😉:

  • Refactor pagination: instead of expressing “give me page number X of pages of size Y”, you would say “give me Y results with and index > Z”, where index is the user-visible number of an issue. The big downside is that we would lose the notion of “page” because indexes are shared between issues and pull requests, e.g. 20 consecutive issues would usually take up more indexes than 20. I don’t think that upstream would accept this.
  • Make a join over the results of queries to both tables in one query. This could work because both tables have the same structure if you ignore the order of columns, but we would essentially have to bypass the ORM and hand-craft the query, which makes it much harder to maintain. Also, I think it’s likely to have a negative impact on query performance.
> we would want to have a common listing for both public issues and private issues Hmm, I would like this too, but: Because public and private issues are in separate tables, querying either are separate activities. I.e., right now there’s no way to say “give me public and private issues from the point of view of this user, paginated” in one go. I can think of several approaches to tackle this, all with their own downsides 😉: - Refactor pagination: instead of expressing “give me page number X of pages of size Y”, you would say “give me Y results with and index > Z”, where index is the user-visible number of an issue. The big downside is that we would lose the notion of “page” because indexes are shared between issues and pull requests, e.g. 20 consecutive issues would usually take up more indexes than 20. I don’t think that upstream would accept this. - Make a join over the results of queries to both tables in one query. This could work because both tables have the same structure if you ignore the order of columns, but we would essentially have to bypass the ORM and hand-craft the query, which makes it much harder to maintain. Also, I think it’s likely to have a negative impact on query performance.
humaton modified the project from Sprint 19 to Sprint 20 2026-05-05 10:19:29 +00:00
humaton modified the project from Sprint 20 to Sprint 21 2026-05-18 10:16:07 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
forge/forge#495
No description provided.