feat(web): English paths, and a portfolio that updates itself
/cartera, /explorar and /p/:key/proponer are /portfolio, /explore and /p/:key/propose now, like every other path; the Spanish ones redirect, so links already shared keep working. Settings sections go by ?section= with English names. The portfolio reads itself again, quietly, when a ticket, sprint or release of the projects shown changes, when my projects change, or when the live connection comes back; «En directo» replaces the refresh button. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -169,7 +169,7 @@ export class GetShowcaseQueryHandler
|
||||
})),
|
||||
proposals: {
|
||||
open: project.acceptsProposals,
|
||||
path: project.acceptsProposals ? `/p/${project.key}/proponer` : null,
|
||||
path: project.acceptsProposals ? `/p/${project.key}/propose` : null,
|
||||
top: [...proposals.items]
|
||||
.sort((a, b) => b.votes - a.votes)
|
||||
.slice(0, 10)
|
||||
|
||||
@@ -361,7 +361,7 @@ class ShowcaseProposalsDto {
|
||||
@ApiProperty({
|
||||
type: String,
|
||||
nullable: true,
|
||||
example: '/p/WEB/proponer',
|
||||
example: '/p/WEB/propose',
|
||||
description: 'The form in the web app, while it takes them',
|
||||
})
|
||||
path!: string | null;
|
||||
|
||||
Reference in New Issue
Block a user