Commit Graph

57 Commits

Author SHA1 Message Date
Florian Scholdei
33f7dd994a Fix navbar at the top of the page (#2128) 2022-10-11 16:01:22 +02:00
Florian Scholdei
1f5ebc04d6 Arrow icon of secondary navigation is inconsistent (#2060)
The toggle icon in the secondary navigation points in the wrong direction.
In the changeset and code view, the current status is displayed with the icon. This should also be the case for this component.
2022-06-08 13:36:16 +02:00
Eduard Heimbuch
c8207d89da Fix routing for entity names with parenthesis (#1998)
If entities like users, groups or repository namespaces contains parenthesis the frontend router gets confused and doesn't work properly. To fix this issue we escape the chars in the url which may cause such problems because they are reserved by the http url schema.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
Co-authored-by: Florian Scholdei <florian.scholdei@cloudogu.com>
2022-04-13 13:06:02 +02:00
Konstantin Schaper
4d203ff36f codify extension points docs (#1947)
This pull request converts the current incomplete textual documentation of the available frontend extension points to in-code definitions that act both as documentation and as type helpers for improving overall code quality. All extension points available in the SCM-Manager core are now available, but no plugin was updated and only those parts of the core codebase had the new types added that did not require runtime changes. The only exception to this is the breadcrumbs, which was a simple change that is fully backwards-compatible.
2022-03-29 15:04:14 +02:00
Eduard Heimbuch
289175331f Fix es lint errors and warnings and enforce es lint as build breaker. (#1878)
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2021-12-09 09:12:02 +01:00
Eduard Heimbuch
5eb1d9cd22 Clean up html structure (#1869)
Fix different html syntax errors to improve a11y.
2021-11-29 13:57:05 +01:00
Eduard Heimbuch
6f61fefec5 Improve a11y (#1841)
Improve accessibility by removing unnecessary tags without hrefs. Also remove many eslint errors and warnings.
2021-11-04 09:16:08 +01:00
Sebastian Sdorra
0efdd2a483 Add experimental high contrast mode (#1845)
Add an experimental high contrast color theme to SCM-Manager. The high contrast mode uses a dark background and color with a high contrast for a better accessibility.
The change adds the theme to ui-styles and theme switcher to the storybook of ui-components.
2021-11-04 08:33:11 +01:00
Florian Scholdei
b896df5046 Add alternative text to controls to allow screen readers to read them aloud (#1840)
Add alternative text to controls to allow screen readers to read them aloud.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-11-03 10:11:40 +01:00
Florian Scholdei
2cb006d040 Replace styled-components with bulma helpers (#1783)
Use Bulma helpers whenever possible instead of custom styled components.
This pull request replaces primarily color definitions, spacing and flex instructions.
2021-09-15 17:40:08 +02:00
Sebastian Sdorra
91fec0f478 Add detailed search result ui (#1738)
Add a dedicated search page with more results and different types.
Users and groups are now indexed along with repositories.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-07-28 11:19:00 +02:00
Eduard Heimbuch
cd6e624e61 Small header (#1721)
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-07-07 16:26:58 +02:00
Sebastian Sdorra
b975fb655d Feature/global notifications (#1646)
Add global notifications
2021-05-05 14:43:16 +02:00
Konstantin Schaper
cf2e0b6f2b Collapse external nav links correctly in a menu (#1596) 2021-03-17 19:45:15 +01:00
Konstantin Schaper
3a8d031ed5 Introduce stale while revalidate pattern (#1555)
This Improves the frontend performance with stale while
revalidate pattern.

There are noticeable performance problems in the frontend that
needed addressing. While implementing the stale-while-revalidate
pattern to display cached responses while re-fetching up-to-date
data in the background, in the same vein we used the opportunity
to remove legacy code involving redux as much as possible,
cleaned up many components and converted them to functional
react components.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-02-24 08:17:40 +01:00
Eduard Heimbuch
1e1b73ace5 Feature/import navigation lock (#1536)
Use navigation lock on repository import to prevent that the current user accidentally leaves the page and aborts the running import.
2021-02-16 11:35:06 +01:00
Florian Scholdei
57c9484d41 Enrich styleguide with new features, rules and changes
The styleguide for usage of visual elements has not been updated for a long time. In the course of this story it should be adapted to the current standards and rules. In addition, heavy violations were rectified directly.
2021-01-28 12:46:42 +01:00
Konstantin Schaper
97f0ebe6d7 add from query parameter to login link 2020-09-01 09:24:13 +02:00
Eduard Heimbuch
c1cfff603b fix review findings 2020-08-12 10:05:36 +02:00
Eduard Heimbuch
6ab80236f7 change cypress tests to ui only 2020-08-10 11:36:46 +02:00
Eduard Heimbuch
4c9e96f7e2 add anonymous mode for webclient / change footer and redirects if user is anonymous / add login button if user is anonymous 2020-08-03 17:53:10 +02:00
René Pfeuffer
34b04b0ccd Fix formatting 2020-06-18 07:40:23 +02:00
Sebastian Sdorra
ac9f7914ae removed unused imports 2020-06-18 07:40:23 +02:00
Sebastian Sdorra
dcac6b3f22 fixed active state of sub navigation items, which are using activeWhenMatch 2020-06-18 07:39:35 +02:00
Sebastian Sdorra
a470831bf8 separate ExternalLink from ExternalNavLink 2020-05-19 12:55:41 +02:00
Florian Scholdei
15347e23f6 Secondary menu no longer scrolls beyond a certain screen size in order to be able to display all elements 2020-04-23 00:16:56 +02:00
Eduard Heimbuch
fd94746a98 reformat components with prettier 2020-03-31 17:11:16 +02:00
Sebastian Sdorra
5015c4d133 fixed missing default value for activeOnlyWhenExact on NavLink 2020-03-31 12:02:30 +02:00
Sebastian Sdorra
5889e834c2 allow collapse on sub navigations too 2020-03-31 11:15:01 +02:00
Sebastian Sdorra
13633fb57e un collapse menu on each interaction with it 2020-03-31 11:00:07 +02:00
Sebastian Sdorra
2821005d8c handling collapse state in a more simple and consistence way 2020-03-31 08:26:01 +02:00
Sebastian Sdorra
daa272b4fc expand menu if SubNavigation is opened, even if it is inside an ExtensionPoint 2020-03-30 15:04:00 +02:00
Florian Scholdei
b438cbdebc Fix behavior of secondary navigation and content (with different display sizes) 2020-03-25 15:35:46 +01:00
Florian Scholdei
f1b34eb502 Changeover to MIT license (#1066)
* prepare license-maven-plugin for license migration
* added license mapping for tsx files and added some more excludes
* Changeover to MIT license
* Fix build problems
* Delete old remaining licenses
* Add more exclude path for license checker
* Rename included netbeans license, add exclude .m2/repository/
* Specify .m2 exclude because not only repository/, also wrapper/ must match
* Add .cache/ exclude for license check
* Modify formatting of license in java classes to comply with convention and IDE
* Add IntelliJ documentation for license configuration
* Update CHANGELOG.md
* Exclude tmp/workspace/ dir for license check
* Edit README.md

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-03-23 15:35:58 +01:00
René Pfeuffer
c4a6f5a978 Rename subnavigation component 2020-03-11 16:30:48 +01:00
René Pfeuffer
163b1be93b Introduce dedicated component for secondary navigation 2020-03-11 13:25:53 +01:00
Eduard Heimbuch
13799044bd use position sticky to avoid css glitches // cleanup 2020-03-10 10:45:37 +01:00
Eduard Heimbuch
2db6980098 fix toggle button position 2020-03-09 14:03:01 +01:00
Sebastian Sdorra
700615f7d0 merge repository heads 2020-03-05 11:13:56 +01:00
Sebastian Sdorra
35152610bc find active child to figure out if the section is collapsible 2020-03-05 11:07:02 +01:00
Eduard Heimbuch
028b562387 align icon center in menu toggle button 2020-03-05 08:53:11 +01:00
Sebastian Sdorra
89bc3dcc91 allow SubNavigation to collapse menu 2020-03-04 15:59:41 +01:00
Eduard Heimbuch
e110033e3b fix review findings 2020-03-02 14:13:51 +01:00
Eduard Heimbuch
5624717bc0 merge with default 2020-02-28 15:13:22 +01:00
Eduard Heimbuch
4df33fcc73 fix styling 2020-02-28 14:58:56 +01:00
Eduard Heimbuch
d59778c3bd fix secondary navigation responsiveness 2020-02-27 16:41:19 +01:00
Eduard Heimbuch
f9b680f548 fix responsiveness for section 2020-02-27 10:00:29 +01:00
Eduard Heimbuch
7232815900 use react context to toggle collapsable repository menu 2020-02-26 10:41:39 +01:00
Eduard Heimbuch
eee6cad1d3 make repository navigation fixed // add title for collapsed navigation items 2020-02-25 17:15:23 +01:00
Eduard Heimbuch
7fe8b58e7d make secondary navigation collapsable // save collapse status in local storage 2020-02-25 09:49:23 +01:00