forked from gitbucket/gitbucket
-
Notifications
You must be signed in to change notification settings - Fork 0
RefactoringPlan
Naoki Takezoe edited this page Sep 22, 2013
·
20 revisions
We are planning cleaning up and refactoring our code in 1.5. So we are listing tasks about that at this page.
- DONE Session keys should be managed at one place.
- Lock keys for LockUtil should be managed at one place.
-
DONE Should we introduce some control facilities such as
usingordefining? - Should we provide
@errorhelper?
@error("mailAddress")
will generate
<span id="error-mailAddress" class="error"></span>
-
DONE Use
.stringinstead of<strong>in view. -
DONE
repo/commit.scala.htmlandpulls/files.scala.htmlhave same html fragment. -
DONE
admin/users/group.scala.htmlandsettings/collaborators.scala.htmlhave same JavaScript fragment for user name completion field. -
DONE
pulls/compare.scala.htmlandpulls/commits.scala.htmlhave same html fragment. - If the form have multiple actions, we want to use the formaction of HTML5.
- DONE The following code is used in many places. So it should be provided by implicit conversion for HttpServletRequest.
val paths = request.getRequestURI.substring(request.getContextPath.length).split("/")
- Use
helper/dropdown.scala.htmlinstead of direct Bootstrap use. - Header of the issue list and the pull request list have same html fragments (Open/Close and Sort).