Commit Graph

796 Commits

Author SHA1 Message Date
Thomas Zerr
b8191dec2e Update support link 2024-08-19 14:45:28 +02:00
Tarik Gürsoy
797bda4bbb Add statistics for diffs (added, deleted, modified)
Extend the diff result from the diff command to include modified,
added and deleted file count and add DiffStats component to
ui-components.

Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
2024-08-01 16:54:40 +02:00
Tarik Gürsoy
5d50e2fe05 Export diffdropdown
Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
2024-07-11 17:00:34 +02:00
Viktor Egorov
4b1052c8f6 dropdown for changesetdetails
Pushed-by: Viktor Egorov<viktor.egorov-extern@cloudogu.com>
Co-authored-by: Viktor<viktor.egorov@triology.de>
2024-07-10 10:11:17 +02:00
Thomas Zerr
783a065a77 Change icon for details button
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
2024-07-05 12:54:46 +02:00
Eduard Heimbuch
79326f3c1b Fix highlighting for search results which were not marked properly
Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
2024-06-24 10:54:37 +02:00
Eduard Heimbuch
728915fe1c Prevent hiding the inner content on diffs without content
. This breaks the file comments on empty files in the review plugin.

Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Committed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
2024-06-10 15:45:46 +02:00
Florian Scholdei
59238eb0ea Fix mirror tag import
Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
2024-05-29 08:47:19 +02:00
Viktor Egorov
c8ef99cf07 Add option to hide whitepace changes in diffs
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>


Reviewed-by: Florian Scholdei <florian.scholdei@cloudogu.com>
2024-05-14 11:33:48 +02:00
Laura Gorzitze
f811831858 Fix mirror tag component to show color respective to synchronisation status
Adjust component used for mirror tag in Respository-Mirror-Plugin to display a wider range of colors in order to display color respective to synchronisation status

Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Co-authored-by: Laura Gorzitze<laura.gorzitze@cloudogu.com>
Pushed-by: Laura Gorzitze<laura.gorzitze@cloudogu.com>
Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
2024-05-08 13:47:24 +02:00
Viktor Egorov
cdbf86b8c9 Add option to mark whitespace characters in diffs
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-04-26 15:15:52 +02:00
Florian Scholdei
3773d77889 Add possibility to specify StickyHeader top position of Diff component 2024-04-22 18:04:26 +02:00
Rene Pfeuffer
c6126e4702 Mind offset for top navigation bar on scrolling
This fixes the issue, that links to anchor tags in&#10;markdown documents have been scrolled a bit too far,&#10;so that the targeted element ended up below the&#10;navigation bar. Now, the height of the navigation&#10;bar is taken into account.

Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-03-14 15:05:11 +01:00
Thomas Zerr
96801d75f2 New extension point (for readme) in code overview
The readme files should be rendered in the code overview below
the file tree and not in a separate page. To render the readme file,
a new extension point was added. The order of items in the side
menu also got changed.
2024-03-07 14:11:00 +01:00
Viktor Egorov
c42def0f7f Sort global config and repository config the same way
Adds a new option to configuration entry binding to improve sorting
and sorts global and repository configuration likewise.

Pushed-by: Viktor Egorov<viktor.egorov-extern@cloudogu.com>
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: vegorov<viktor.egorov@triology.de>
2024-03-04 08:01:13 +01:00
Eduard Heimbuch
89c4a20dd5 Add namespace owner on namespace creation
Namespace owner may see the namespace configuration page.

Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-02-08 14:18:16 +01:00
Laura Gorzitze
d8e1f2d739 Cleanup Code
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2024-02-06 14:54:00 +01:00
Tarik Gürsoy
3ffbdd8d17 Move frontendcomponents into ui-core
The new architecture has been implemented.

Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Committed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Committed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>


Reviewed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2024-01-24 10:38:17 +01:00
Florian Scholdei
7f0da35659 Mail validation in frontend and backend unified
Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
2024-01-09 16:53:18 +01:00
Florian Scholdei
ec0e1ec320 Constant navigation width independent of content
Fixes issues that occurred after #224.

Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
2024-01-08 09:52:03 +01:00
Eduard Heimbuch
abe0a62cb4 Fix markdown image links for relative paths on branches with '/' 2023-12-14 14:55:21 +01:00
Florian Scholdei
75695f9fb1 Convert truthy value to true and reintroduce PrimaryContentColumn sizing
Fixes issues that occurred after #224.
2023-12-14 09:01:48 +01:00
Eduard Heimbuch
96c4bec5b9 Add max width for primary columns 2023-12-12 14:29:44 +01:00
Florian Scholdei
bb88ba28ed URI encode branch of images in markdown files
Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
2023-12-12 13:12:05 +01:00
Florian Scholdei
72886bd204 Save collapse status of secondary navigation
Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
Co-authored-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
Committed-by: Florian Scholdei<florian.scholdei@cloudogu.com>
2023-12-12 09:18:50 +01:00
Eduard Heimbuch
cf4d9cf20f 3.x
Committed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Committed-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
2023-11-30 17:02:44 +01:00
Eduard Heimbuch
774d7f5fb1 Apply test-ids for all stages except production 2023-11-24 11:10:59 +01:00
Tarik Gürsoy
9dd6aeea5e Diff path line break
A line break has been added to the diff path, so that it always displays the full path and filename

Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Pushed-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
2023-11-07 09:06:09 +01:00
Konstantin Schaper
14ee5daa00 fix unnecessary scrollbar showing up in markdown views with code tags
Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Pushed-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com>
Co-authored-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
2023-11-07 08:59:39 +01:00
Konstantin Schaper
37fbce1496 Checkbox and Chipinput have been improved, and a button has been added
Pushed-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
Co-authored-by: Konstantin Schaper<konstantin.schaper@cloudogu.com>
Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com>
2023-10-09 11:56:24 +02:00
Konstantin Schaper
0c055ca6df Add new api for interactive card details
Committed-by: Rene Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-09-21 11:26:41 +02:00
Renovate Bot
a608a0df80 Update dependency @radix-ui/react-dropdown-menu to v2.0.5 (develop) - abandoned
Squash commits of branch renovate/develop-radix-ui-react-dropdown-menu-2.x:

- Update dependency @radix-ui/react-dropdown-menu to v2.0.5

| datasource | package                       | from  | to    |
| ---------- | ----------------------------- | ----- | ----- |
| npm        | @radix-ui/react-dropdown-menu | 2.0.1 | 2.0.5 |

- Fix snapshots

Committed-by: Rene Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-09-13 09:14:18 +02:00
René Pfeuffer
2c04b124f0 Fix snapshots 2023-09-07 09:46:39 +02:00
Konstantin Schaper
c6c344dc23 update storyshots 2023-09-06 11:15:08 +02:00
Konstantin Schaper
fa536b9768 Create atomic design page template for master-detail views 2023-09-06 10:00:00 +02:00
Thomas Zerr
cb845bee34 Components that are now deprecated are marked as such 2023-09-05 08:53:03 +02:00
Renovate Bot
9d88503fbf Update dependency @headlessui/react to v1.7.17 (develop)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@headlessui/react](https://github.com/tailwindlabs/headlessui) | dependencies | patch | [`1.7.15` -> `1.7.17`](https://renovatebot.com/diffs/npm/@headlessui%2freact/1.7.15/1.7.17) |
| [@headlessui/react](https://github.com/tailwindlabs/headlessui) | dependencies | minor | [`1.6.6` -> `1.7.17`](https://renovatebot.com/diffs/npm/@headlessui%2freact/1.6.6/1.7.17) |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIwLjAuMC1zZW1hbnRpYy1yZWxlYXNlIiwidXBkYXRlZEluVmVyIjoiMC4wLjAtc2VtYW50aWMtcmVsZWFzZSIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AifQ==-->


Committed-by: Laura Gorzitze <laura.gorzitze@cloudogu.com>
Co-authored-by: Laura Gorzitze <laura.gorzitze@cloudogu.com>
2023-09-04 13:41:03 +02:00
Eduard Heimbuch
cd59873638 Switch repo overview layout to cards
Squash commits of branch feature/repo_overview_cards:

- Switch repo overview layout to cards

- wip

- Merge branch 'develop' into feature/repo_overview_cards

- Fix collapsible

- Fix collapsible

- Fix styling

- Merge branch 'develop' into feature/repo_overview_cards

- Fix type for collapsible

- Add changelog

- Update storyshots

- Merge branch 'develop' into feature/repo_overview_cards



Committed-by: Thomas Zerr <thomas.zerr@cloudogu.com>
Co-authored-by: tzerr <thomas.zerr@cloudogu.com>
2023-08-28 13:53:36 +02:00
Eduard Heimbuch
20d728981f Revert collapsible namespaces 2023-08-23 15:09:49 +02:00
Rene Pfeuffer
cf08f96643 Fix label for copy button
Squash commits of branch bugfix/fix_copy_button_label:

- Fix label for copy button



Committed-by: Thomas Zerr <thomas.zerr@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-08-23 11:34:43 +02:00
Eduard Heimbuch
2efcbfa759 Improve repository overview
- Sort repositories alphanumerically case insensitive per namespace
- Make the namespaces collapsible and store the collapsed state in local storage

Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2023-08-22 19:59:53 +02:00
Florian Scholdei
9c0d064491 Programmatically accessible subheadings in footer
Squash commits of branch bugfix/accessibility_programmatic_subheader:

- Remove redundant section

- Make subheadings in footer programmatically accessible

- Add changelog entry

- Update storyshots



Committed-by: Philipp Ahrendt <philipp.ahrendt@cloudogu.com>
2023-08-22 12:01:31 +02:00
Tarik Gürsoy
9b5e8b1d67 Bugfix Typo in Diff Load Lines
A typo was fixed by adding an additional check to see if we have 1 or more than 1 lines to load

Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: tarik-guersoy <tarik.guersoy@cloudogu.com>
2023-08-16 13:53:46 +02:00
Konstantin Schaper
3256aef7fb Fix copying source code in Firefox incorrectly adding extra line breaks
There is an open bug in Firefox which causes extra line breaks to appear when copying if the selection contains a `span` with the `user-select: none;` styles.
This workaround removes this style and displays the line number in a `::before` instead. This has the same effect of the user not being able to select it and it also doesn't show up in multi-line selections but prevents Firefox from interpreting it incorrectly.

Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2023-07-06 14:56:57 +02:00
Eduard Heimbuch
bc2a599b2c Introduce new combobox and make it work with chip input
We introduced a new accessible combobox component. This component is based on headless ui and made compatible with our components and forms. Also we replaced the outdated `Autocomplete` component with the new combobox.

Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>

Reviewed-by: Florian Scholdei <florian.scholdei@cloudogu.com>
2023-06-19 13:04:26 +02:00
Konstantin Schaper
c0eb470253 allow lazy markdown view to support className 2023-06-01 11:14:17 +02:00
Konstantin Schaper
b812922142 Implement namespace configurations & permissions
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>

Reviewed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2023-05-25 18:51:29 +02:00
Florian Scholdei
05bc61ab1b Use forwardRef in FileInput
Committed-by: Rene Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-05-04 08:22:02 +02:00
Eduard Heimbuch
a185cc7d16 Optimize config form and binder 2023-04-19 11:52:22 +02:00
Rene Pfeuffer
8eb2687e10 Fix branch and tag name validation
The validation for branch and tag names has been
too limited. This led to errors in the frontend for
branches, that had been created using the
cli tools for git or hg but have not been seen as
valid by SCM-Manager.

To fix this, the patterns to validate branch and
tag names are relaxed and relate to the git
rules (https://git-scm.com/docs/git-check-ref-format).
Because these rules could not be expressed
using regular expressions alone, in addition
possible exceptions will be handled in the
git branch and tag commands.

Committed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2023-04-05 11:45:15 +02:00