Commit Graph

27 Commits

Author SHA1 Message Date
Florian Scholdei
16960d742e High contrast mode findings (#1892)
Fixes most of the flaws in high contrast mode.
2021-12-16 17:54:39 +01: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
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
Konstantin Schaper
d6e36e7145 implement react-query for all content views (#1708)
Implements react-query and replaces direct apiClient usage for sources, annotate and history content views.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-06-23 14:14:56 +02:00
Florian Scholdei
e55ba52ace Show source code controls even if a file is not present (#1680)
This fix preserves the context and shows the error in the component where normally the content of the file is displayed, so that you can still change the branch and the path.
2021-06-02 15:27:41 +02:00
Eduard Heimbuch
89e938c6d7 Encode revision for extension point to fix breaking change (#1585)
Encode revision on extension points to fix a breaking change which slipped through with release 2.14.0.
2021-03-16 08:39:31 +01:00
Florian Scholdei
bafe84b79a Fix wrapping of title and actions in source view (#1569)
The title of a file and the action buttons had to share the space. Now the title takes it needs and the actions move down if necessary. This behavior is similar to the list of files in changeset view (content component).
2021-03-04 09:54:08 +01:00
Florian Scholdei
8e2c2aaa5e Prevent breadcrumb overflow and shrink large elements (#1563)
- Restore left margin on copy permalink
- Move slash to the right to make it resemble the console
- Shrink large elements
- Add new storyshot
- Fix separation of toggle icon and file title
2021-03-03 10:57: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
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
Florian Scholdei
e141e33aa3 Clarify prop usage by renaming in more self-evident name 2020-10-21 12:23:58 +02:00
Florian Scholdei
6024d8c3e1 Unify title usage within an area 2020-10-21 10:47:05 +02:00
Florian Scholdei
27d4b0a755 Fix review findings 2020-10-20 10:18:44 +02:00
Florian Scholdei
c366203d1f New Fullscreen component 2020-10-14 22:48:10 +02:00
René Pfeuffer
92d7b7703a Add "annotations" button to sources view 2020-06-12 17:27:32 +02: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
Eduard Heimbuch
b8fb08a500 decode branch/revision in content detailsView 2020-01-17 08:12:37 +01:00
Eduard Heimbuch
28f1319935 expose baseurl in SourceExtensions for breadcrumb 2020-01-09 13:43:04 +01:00
Eduard Heimbuch
4e23fd95ab add breadcrumb to fileViewer 2020-01-09 09:34:40 +01:00
Florian Scholdei
0100e290ae Small typo 2019-12-19 15:06:33 +01:00
Rene Pfeuffer
cf9d1edb70 Make partial file attributes explicit. 2019-12-18 11:48:17 +01:00
Eduard Heimbuch
4f17bc6b1c refactor backend for modifyCommand / add sourceExtension for plugins 2019-10-30 12:59:54 +01:00
Florian Scholdei
db075974db Migrate react-i18next translate components 2019-10-23 15:47:08 +02:00
Sebastian Sdorra
4bb8e6153b apply eslint and prettier rules 2019-10-21 10:57:56 +02:00
Sebastian Sdorra
490418d06e apply prettier, removed flow related config and added tsconfig 2019-10-20 18:02:52 +02:00
Sebastian Sdorra
6e7a08a3bb use reflow to migrate from flow to typescript 2019-10-19 16:38:07 +02:00