- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 6.2k
Closed
Labels
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
Plan
After #24056, we have our own ScopedTemplate, which supports context functions.
This is a plan for next steps:
- Wait for enough time to test and verify that our ScopedTemplateis stable enough- Maybe in about one month, use the edge build on gitea.com to eat our own dogfood
- If there is anything wrong:
- If it is fixable, improve the ScopedTemplate
- If it is unfixable, revert to Golang's html/template(pity.....)
 
 
- If Golang supports context function officially soon, switch to the official solution.
Then, if everything is fine:
- Make localeuse context function as the first refactoring step (maybe it, or maybe some other simple functions)
- (TBC)
silverwindsilverwind
Metadata
Metadata
Assignees
Labels
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.