Commit Graph

21 Commits

Author SHA1 Message Date
Christian Günter
0fa50309a1 Staging smaller chunks of code like git add -p (#1842)
* Staging smaller chunks of code like git add -p

With this commit a new feature which works similar to git add -p
is added. We are now able to patch, which means that we can
commit on line basis. And are not restricted anymore to commit
only on file basis.

* move get_page_patch to stage page

* Refactor JS

* Refactor JS
2018-09-08 08:58:25 +02:00
Christian Guenter
dfb63d16c2 Improved hotkey handling
With this commit the hotkey 'd' for diff always shows the
global diff. Previously only the last file diff was shown.
We changed the implementation so that the first matched href
specified by the hotkey is called.
2018-08-29 12:35:09 +02:00
Christian Guenter
98cae2c9fd Introduce global hotkeys
With this commit we are able to define global hotkeys. Which means
that the hotkey is active on all pages. The global hotkeys are
defined in ZCL_ABAPGIT_GUI_PAGE=>GET_HOTKEY_ACTIONS. The first
globally defined hotkey is the hotkey overview with the default
hotkey '?' assigned to it. This was previously hard coded in the js.
2018-08-18 06:57:25 +02:00
Christian Günter
f46e1e1c59 Fix close hotkey overview popup #1833 (#1835)
* Fix close hotkey overview popup

* Add text how to close hotskeys overview
2018-08-17 13:34:09 +02:00
Christian Guenter
5c2a646809 Hotkey overview
After this commit is applied one can open the hotkey overview
with '?'.
2018-08-17 09:26:12 +02:00
Christian Günter
fc1df4b9ee Introduce customizable hotkeys #1728 (#1820)
* Introduce customizable hotkeys

With this commit customizable hotkeys are introduced. They can
be defined in the user specific settings. Currently we support
only one letter keybindigs e.g. 's', 't' or 'x' and no modifiers.

Every page in the UI can decide which actions it offers for the
hotkeys. Therefore we introduce the interface ZIF_ABAPGIT_GUI_PAGE_HOTKEY
with the method GET_HOTKEY_ACTIONS. At this point in time only
the main page offers actions for hotkeys, but the mechanism works
already for all pages. New actions for hotkeys can be defined
easily.

Hotkeys are only available for installed abapGit repositories.
Because we need to detect the classes which implement the above
mentioned interface and it seems that there is no easy way to do
that for local classes. Maybe we can add it later when we know more.

We don't supply default key bindings. So it is totally up to the
user to define them.

* provide default hotkeys
2018-08-16 06:32:03 +02:00
Christian Günter
ff4d126856 Vimium like link hint navigation #1706 (#1729)
* Vimium like link hint navigation

After this commit is applied, the link hint navigation can be used.
The feature can be activated and configured in the user settings.
Role model is the link hint navigation in the Google Chrome plugin
Vimium.

* refactoring: introduce KeyNavigation prototype

* refactoring: introduce LinkHints prototype
2018-08-04 07:36:28 +02:00
Christian Guenter
6dfb6316c6 Repository overview page 2018-07-01 16:47:28 +02:00
Christian Guenter
319abf5b7b redesign create tag page 2018-06-06 14:20:22 +02:00
Alexander Tsybulsky
6383326d92 #1014 stage can filter by username now 2017-10-21 18:34:26 +02:00
sbcgua
30f89dc9b5 Merge remote-tracking branch 'origin/news_announcement' into news2 2017-04-09 21:33:06 +03:00
Alexander Tsybulsky
be79b3234a page_diff UX filter finalizing 2017-03-10 22:14:03 +02:00
Alexander Tsybulsky
08b167cdd3 page_diff UX filter part2 2017-03-10 22:13:42 +02:00
Alexander Tsybulsky
63a71f15fb page_diff UX filter part1 2017-03-10 22:12:37 +02:00
Bohdan
2f680d80a7 fixing of issues, small renamings 2017-03-02 11:48:54 +02:00
Bohdan
702c67f378 news_announcement
Initial commit of news announcement feature.
2017-03-01 15:07:39 +02:00
sbcgua
5f7a18328c stage JS: performance on high numbers of lines 2017-02-18 20:06:19 +02:00
sbcgua
abead4084e stage JS: cell click calls command (if single) 2017-02-18 10:06:21 +02:00
sbcgua
9014797903 Stage page UX improvements #610
- filtering objects / add selected / counters
- better UI, css
- JS refactor
2017-02-13 13:49:19 +02:00
sbcgua
bf9142bb1b finetune and refactor JS #374 2016-11-27 10:41:29 +02:00
sbcgua
d84e1b1500 common js asset #374 2016-11-27 00:29:46 +02:00