gitlab-org--gitlab-foss/app/assets/javascripts
Jason Lee 1974087114 Avoid render edit_form in each notes.
Use RJS to render edit note feature.

Before:

```
Rendered projects/notes/_note.html.haml (27.9ms)
Rendered projects/_zen.html.haml (0.3ms)
Rendered projects/notes/_hints.html.haml (0.7ms)
Rendered projects/_md_preview.html.haml (3.9ms)
Rendered projects/notes/_edit_form.html.haml (6.9ms)
Rendered projects/notes/_note.html.haml (17.7ms)
Rendered projects/_zen.html.haml (0.3ms)
Rendered projects/notes/_hints.html.haml (0.6ms)
Rendered projects/_md_preview.html.haml (3.4ms)
Rendered projects/notes/_edit_form.html.haml (7.0ms)
```

After:

```
Rendered projects/notes/_note.html.haml (13.8ms)
Rendered projects/notes/_note.html.haml (7.1ms)
Rendered projects/notes/_note.html.haml (9.5ms)
Rendered projects/notes/_note.html.haml (8.5ms)
```

This change reduce at least 6ms * N ('N' - number of notes).
2015-11-12 13:16:35 +08:00
..
behaviors Check originalEvent.repeat *and* event.repeat 2015-10-07 17:59:10 -04:00
blob Persist blob editor's value on submit, not on click 2015-10-31 16:08:34 +01:00
ci Fix small CI UI regressions 2015-10-23 11:45:45 +02:00
commit Fixed JS issue with diff image loading 2015-03-26 21:08:17 +00:00
extensions Remove unused showAndHide, simpleFormat, and linkify functions 2015-06-02 20:32:07 -04:00
lib
activities.js.coffee Fix tab toggle on activity 2015-09-03 19:27:13 +02:00
admin.js.coffee Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
api.js.coffee Big refactoring of issues filters 2015-03-26 19:13:49 -07:00
application.js.coffee fixed positioning of hamburger menu on header 2015-10-09 14:05:55 +11:00
aside.js.coffee Create Aside js class for handling all sidebars in UI for mobile devices 2015-02-21 22:01:27 -08:00
autosave.js.coffee Properly handle autosave local storage exceptions. 2015-03-07 11:27:39 +01:00
branch-graph.js.coffee do not prepend relative_url_root to avatar 2015-04-20 09:52:03 +02:00
calendar.js.coffee Improvements to profile page UI 2015-11-04 14:13:25 +01:00
commit.js.coffee Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
commits.js.coffee Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
confirm_danger_modal.js.coffee Fix "Cannot move project" error message from popping up after a successful project transfer 2015-04-20 12:46:02 -07:00
copy_to_clipboard.js.coffee Add copy_to_clipboard JS 2015-10-23 15:29:09 +02:00
dashboard.js.coffee Cleanup after removing group tab from dashboard aside 2015-03-10 13:27:58 -07:00
diff.js.coffee Gitlab Issue 707: Indent unfolded code 1 character 2015-07-22 09:58:17 -04:00
dispatcher.js.coffee Add release description to new tag form 2015-11-05 14:03:48 +01:00
dropzone_input.js.coffee Apply syntax highlighting to Markdown previews 2015-09-10 15:38:24 -04:00
flash.js.coffee Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
gfm_auto_complete.js.coffee Show warning when a comment will add 10 or more people to the discussion. 2015-06-05 12:07:13 +02:00
group_avatar.js.coffee Only run avatar chooser Js on pages that need it 2014-10-21 10:46:55 +02:00
groups.js.coffee Only run avatar chooser Js on pages that need it 2014-10-21 10:46:55 +02:00
groups_select.js.coffee Group selectbox js 2014-12-30 11:46:48 +02:00
importer_status.js.coffee Style improvements to import page 2015-03-12 10:04:09 -07:00
issuable_context.js.coffee Fix IssuableContext javascript 2015-09-18 16:35:38 -04:00
issuable_form.js.coffee Move duplicate js functionality into IssuableForm 2015-06-25 16:17:06 +02:00
issue.js.coffee Update tests and use js-issuable class for context form 2015-06-26 15:05:30 +02:00
issues.js.coffee Implement merge requests search 2015-03-12 16:20:58 -07:00
labels.js.coffee Remove disableButtonIf[Any]EmptyField calls from forms 2015-06-26 22:07:59 -04:00
line_highlighter.js.coffee Apply new design to files page 2015-10-13 16:41:48 +02:00
merge_request.js.coffee Show the first tab automatically on MergeRequests#new 2015-07-18 18:05:07 -04:00
merge_request_tabs.js.coffee Prevent a JS error in MergeRequestTabs 2015-10-14 15:01:25 -04:00
merge_request_widget.js.coffee Improve error message when merging fails 2015-10-01 09:45:47 +03:00
merge_requests.js.coffee Implement merge requests search 2015-03-12 16:20:58 -07:00
milestone.js.coffee Add assignee icon to milestone merge requests. 2015-03-06 14:08:40 +01:00
namespace_select.js.coffee Only run namespace select js when needed 2014-10-21 22:54:22 +02:00
network.js.coffee Awesome shortcuts for GitLab 2014-09-01 11:49:17 +02:00
notes.js.coffee Avoid render edit_form in each notes. 2015-11-12 13:16:35 +08:00
pager.js.coffee Allow user to specify content he wants to see on project page 2015-07-13 18:24:15 +02:00
profile.js.coffee Simplify the javascript behavior for Preference updating 2015-06-13 17:58:17 -04:00
project.js.coffee Added Global to the drop downs and updated the label of the button to show the current level instead of Notifications 2015-09-16 19:46:24 -05:00
project_avatar.js.coffee Fix tests, merge conflicts, some minor issues and make the project avatar feature mergable 2015-01-24 18:51:16 +01:00
project_fork.js.coffee Improve fork to namespaces feature 2014-11-14 16:06:39 +02:00
project_import.js.coffee Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
project_members.js.coffee Use same layout and interactivity for project members as group members. 2015-03-15 13:55:57 +01:00
project_new.js.coffee Remove disableButtonIf[Any]EmptyField calls from forms 2015-06-26 22:07:59 -04:00
project_show.js.coffee Cleanup and some test fixes after refactoring project home page 2015-07-08 16:55:04 +02:00
projects_list.js.coffee Make some visual improvements to dashboard page after we moved activity 2015-08-25 15:23:25 +02:00
protected_branches.js.coffee Improve protected branches page UX 2015-03-25 22:45:58 -07:00
search_autocomplete.js.coffee Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
shortcuts.js.coffee Awesome shortcuts for GitLab 2014-09-01 11:49:17 +02:00
shortcuts_dashboard_navigation.js.coffee Typo -- findAndollowLink -> findAndFollowLink 2015-04-07 11:03:48 -04:00
shortcuts_issuable.coffee Javascripts don't need to require jquery or bootstrap explicitly 2015-05-28 18:22:32 -04:00
shortcuts_navigation.coffee Added builds view 2015-10-14 17:28:38 +02:00
shortcuts_network.js.coffee Awesome shortcuts for GitLab 2014-09-01 11:49:17 +02:00
sidebar.js.coffee Fix toggle of sidebar 2015-04-22 16:48:39 +03:00
stat_graph.js.coffee Export all coffee classes with @ 2014-10-20 23:03:33 +02:00
stat_graph_contributors.js.coffee Javascripts don't need to require jquery or bootstrap explicitly 2015-05-28 18:22:32 -04:00
stat_graph_contributors_graph.js.coffee Fix graph width on different screen sizes 2015-06-11 23:00:38 +02:00
stat_graph_contributors_util.js.coffee Group project contributions by both name and email. 2015-05-25 15:43:22 +02:00
subscription.js.coffee improve UI 2015-03-17 17:11:57 +02:00
syntax_highlight.coffee Add specs for syntax_highlight JS 2015-09-10 15:38:24 -04:00
tree.js.coffee Fix search in Files 2015-10-06 11:43:32 +03:00
user.js.coffee Improve projects list 2015-03-04 17:22:55 -08:00
users_select.js.coffee Fix bug preventing invite by e-mail 2015-08-21 13:47:56 -07:00
wikis.js.coffee Validate wiki page creation 2015-05-26 19:01:11 +02:00
zen_mode.js.coffee Remove style attribute from textarea during ZenMode activation 2015-09-04 18:01:36 -04:00