Commit graph

40 commits

Author SHA1 Message Date
ievgenii vdovenko
e0b2043c71 feature: implements mid trimming long text; implements repo length truncation 2026-01-06 17:54:17 +01:00
ievgenii vdovenko
ba3a08b568 refactoring: moves codemirror scripts to a separate file 2025-12-11 10:41:10 +01:00
RhodeCode Admin
de2720a20a templates: removed utf8 marker for python3 migration 2023-07-17 14:59:08 +02:00
Milka Kuzminski
331492325e pr: small ui fix for grid. 2021-04-13 19:44:10 +02:00
Milka Kuzminski
dd92a641f8 compare-view: fix referenced commits bug 2021-03-18 10:15:54 +01:00
Milka Kuzminski
ce1015425e pull-requests: fixed multiple repetitions of referenced tickets in pull requests summary sidebar. 2021-03-11 22:20:02 +01:00
Milka Kuzminski
9c33519fcc pull-requests: expose commit versions in the pull-request commit list. Fixes #5642 2020-12-29 08:48:26 +01:00
Marcin Kuzminski
9430615145 pull-requests: overhaul of the UX by adding new sidebar
- sidebar aggregates comments, todos, observers, referenced tickets, and reviewers
- live components push now comments, reviewer presence, and todo live via channelstream
- sidebar is collapsable, and stored in user session
- simplified number of information on the pull request page
- fixed and cleanup of the outdated comments and at version comments that in some cases reported wrong version assignment.
2020-09-01 12:09:40 +02:00
Marcin Kuzminski
e3b079f978 landing-refs: create helpers for landing ref to make clear indication about type/name 2020-06-03 10:59:50 +02:00
Marcin Kuzminski
293a3535ae pull-requests: fix way how pull-request calculates common ancestors.
- fixes #5561
- added new preview for size (commits/files) of PRs before opening, this is now based on the special logic that calculates common ancestor and has access to preview diff
- store common ancestor in DB so updates of pull-requests are consistent
2020-05-08 08:43:51 +02:00
Marcin Kuzminski
6977177f84 commits/ux: use similar as in files expand/collapse toggle. 2019-12-05 23:07:35 +01:00
Marcin Kuzminski
29038019e8 hovercacrds: added new tooltips and hovercards to expose certain information for objects shown in UI 2019-10-31 17:52:42 +01:00
Marcin Kuzminski
0f7b21778d tests: fixed compare page and related tests.
- wrong display of range
- still unfixed problem with initial compare for GIT
- makes the result more consistent now with better display for new UI.
2019-07-01 10:42:55 +02:00
Daniel Dourvaris
8b219b0804 ui: fixed commit range page 2019-06-26 14:19:38 +02:00
Marcin Lulek
bbb198127c nav: disable options if there aren't any links inside 2019-06-03 13:17:41 +02:00
Liviu
ab181c68d0 fixed compare view layout 2019-05-23 16:19:17 +00:00
Marcin Kuzminski
56e122f07d nav: bring back quick filter and cleanup titles 2019-03-27 14:37:46 +01:00
Liviu
fc77954aa1 ui: bulk changes 2019-03-22 16:11:23 +00:00
Marcin Kuzminski
2300f4cb50 commits: unified expand commit logic and UI.
- also added cursor for whole clickable element not just the arrow.
2018-11-02 09:27:06 +01:00
Marcin Kuzminski
35b019d65a icons: make expand icon same as before 2018-10-26 16:32:05 +02:00
Marcin Kuzminski
f5e1dbecb4 ui: dropped the custom font in favor of builtin ones.
- this is faster to load/display and produces less problems with UI on multiple platforms
- fixed few ui elements after changes
2018-10-26 12:31:21 +02:00
Daniel Dourvaris
94d74336d1 diffs: introducing diff menu for whitespace toggle and context changes 2018-10-23 17:02:26 +02:00
Marcin Kuzminski
d793ec4f31 core: stop using deprecated .revision 2018-10-01 15:57:56 +02:00
Marcin Lulek
e9f80c1525 diffs: added handy quick file selector in diffs views. 2018-10-01 10:15:33 +02:00
Marcin Kuzminski
9af96347d2 issue-trackers: cache the fetched issue tracker paterns before loop iteration in summary and compare. 2017-12-07 12:38:57 +01:00
Marcin Kuzminski
93c5a7f9c5 compare: migrated code from pylons to pyramid views. 2017-07-26 13:28:45 +02:00
Marcin Kuzminski
8efc4d92c5 repo-commits: ported changeset code into pyramid views.
- refactored part of naming to use commit_id instead of revision
- renamed some parts to repo_commits instead of changeset without breaking backward compat
- small improvements and fixes for tests
2017-07-24 17:04:14 +02:00
Marcin Kuzminski
a9064c5007 translation: unified usage of pluralize function ungettext.
- now it's consistent _ungettext for pylons and pyramid
- will allow easier migration to full pyramid codebase
2017-07-24 10:00:06 +02:00
Marcin Kuzminski
bd1e865c9c pull-request: extended default reviewers functionality.
- added mandatory reviewers JS logic Fixes: #4219
- added option to forbid author to be a reviewer via JS/Frontend checks. Fixes #5190
- added option to forbid adding new reviewers except those defined. Fixes #5208
2017-05-29 20:10:17 +02:00
Marcin Kuzminski
a24ca60752 comments: fixed compare view comments. 2017-01-11 14:03:18 +01:00
Marcin Kuzminski
89e2586781 templating: use .mako as extensions for template files. 2017-01-04 22:13:57 +01:00
Marcin Kuzminski
3ca1cc3b64 comments: improved comments form layout.
- changed to be made to support comments types
- cleaner UI
2017-01-04 14:58:06 +01:00
Marcin Kuzminski
2e66f43c00 compare: fixed spacing for common compare commit in PR open compare page. 2016-12-30 14:35:48 +01:00
Marcin Kuzminski
3761402390 pull-requests: updated versioning support.
- each pr version connects invalidated comments to it
- in version list we show number of comments made on each version
- show all outdated comments even for deleted files
- linkify outdated comments to first one
- added auto-collapse of commit range if they are more than 5
- styling changes, wide mode improvements
2016-12-30 12:11:15 +01:00
Marcin Kuzminski
e44090dfe8 diffs: compare overhaul.
- made compare and commit range pages more consistent with other commit diff pages
- removed mergerly, closes #4665. Old diff2way is replaced by new diffs with
  side-by-side mode.
- cleanup button behaviour on compare page. Added help text and
  generally improved UX
- switched file-diffs to compare page with file filter. Part of #4000
- added collapse/expand commits buttons in compare views.
2016-12-22 23:48:05 +01:00
Daniel Dourvaris
1278eec21d ux: make the diffset header more pronounced and show commit details
if a commit is available, also color it orange when a diff has been
limited
2016-10-26 17:55:20 +03:00
Daniel Dourvaris
12ebe4382a diffs: replace compare controller with new html based diffs:
* side/side + unified support
* redesign of diff changes/operations
* added button to see file before the change
* auto collapses large diffs

refs #4232
2016-10-19 14:29:51 +03:00
Daniel Dourvaris
647d54dd0b pullrequests: added peppercorn sequence start/end markers to
commit range list to fix bug where pull requests with multiple
commits were submitting only one commit
2016-10-12 08:21:58 +03:00
Marcin Kuzminski
605b26b460 i18n: replaced fragile extraction of JS translations from an _TM variable.
We replaced it with similar to babel functions _gettext, and _ngettext, that
will prevent UI from breaking in case of untranslated strings. This
also will allow to use babel built in extractors to fetch the translations
stored inside html and JS.
2016-07-03 23:52:22 +02:00
Marcin Kuzminski
9a0d8c0b77 project: added all source files and assets 2016-05-24 15:56:53 +02:00